:root {
    --primary-color: #FD6F00;
    --bg-dark: #0A0A0A;
    --bg-card: rgba(30, 30, 30, 0.6);
    --text-white: #FFFFFF;
    --text-semi: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Glassmorphism Utility */
.glass {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}

/* Typography */
h1,
h2,
h3 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

p {
    color: var(--text-semi);
}

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

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

nav.scrolled {
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    padding: 12px 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-semi);
    font-weight: 500;
    transition: var(--transition);
}

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

.btn-nav {
    padding: 10px 24px !important;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: fit-content;
}

.nav-links .btn-nav:hover {
    color: white !important;
}

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

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

.hero-layout {
    display: flex;
    align-items: center;
    gap: 48px;
}

.profile-img-container {
    flex-shrink: 0;
}

.profile-img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 4px solid var(--primary-color);
    object-fit: cover;
    box-shadow: 0 0 30px rgba(253, 111, 0, 0.2);
    transition: var(--transition);
}

.profile-img:hover {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 0 40px rgba(253, 111, 0, 0.4);
}

.hero-text {
    flex: 1;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(253, 111, 0, 0.1);
    color: var(--primary-color);
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
}

h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 24px;
}

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

.hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    max-width: 600px;
}

.btn {
    display: inline-block;
    padding: 16px 32px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(253, 111, 0, 0.3);
    color: white;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--glass-border);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-color);
}

.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

@media (max-width: 480px) {
    .hero-btns {
        justify-content: center;
    }
}

/* Sections */
section {
    padding: 100px 0;
}

.section-head {
    text-align: center;
    margin-bottom: 64px;
}

.section-head h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

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

.project-card {
    position: relative;
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
}

.project-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #1a1a1a;
}

.project-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    height: 100%;
}

.project-slider::-webkit-scrollbar {
    display: none;
}

.project-slider img {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    scroll-snap-align: start;
    transition: transform 0.5s ease;
}

.project-card:hover .project-slider img {
    transform: scale(1.05);
}

/* Slider Controls */
.slider-nav {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.slider-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transition: var(--transition);
}

.slider-dot.active {
    background: var(--primary-color);
    width: 16px;
    border-radius: 4px;
}

.project-info {
    padding: 24px;
}

.project-info-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.project-link {
    color: var(--primary-color);
    transition: var(--transition);
    display: flex;
    align-items: center;
    opacity: 0.8;
    position: relative;
    z-index: 10;
}

.project-card:hover .project-link {
    opacity: 1;
}

.project-card:hover .project-link svg {
    transform: scale(1.3) translate(2px, -2px);
}

.project-tags {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.tag {
    font-size: 0.8rem;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    white-space: nowrap;
}

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

.timeline-item {
    margin-bottom: 48px;
    position: relative;
    padding-left: 32px;
    border-left: 2px solid var(--glass-border);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -7px;
    top: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary-color);
}

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

/* Mobile Navigation Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-toggle span {
    width: 30px;
    height: 2px;
    background: var(--text-white);
    transition: var(--transition);
}

/* Hamburger menu active state (X shape) */
.mobile-toggle.toggle-active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-toggle.toggle-active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.toggle-active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Responsive */
@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--bg-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition);
        z-index: 1000;
        padding: 40px;
        gap: 40px;
    }

    .nav-links.active {
        right: 0;
    }

    .hero {
        padding-top: 120px;
        padding-bottom: 60px;
        text-align: center;
    }

    .hero-layout {
        flex-direction: column;
        gap: 32px;
    }

    .profile-img {
        width: 140px;
        height: 140px;
    }

    .hero p {
        margin: 0 auto 40px;
    }

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

/* Glow Effect */
.glow {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(253, 111, 0, 0.15) 0%, transparent 70%);
    z-index: -1;
    filter: blur(40px);
}