@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Space+Grotesk:wght@500;700&display=swap');

/* Color Variables & Design Tokens */
:root {
    --bg-color: #060913;
    --bg-secondary: #0b1120;
    --card-bg: rgba(15, 23, 42, 0.65);
    --card-hover-bg: rgba(30, 41, 59, 0.85);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(0, 242, 254, 0.35);
    --accent-color: #00f2fe;
    --accent-secondary: #3b82f6;
    --accent-violet: #8b5cf6;
    --accent-emerald: #10b981;
    --accent-glow: rgba(0, 242, 254, 0.3);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --glass-blur: 16px;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-elastic: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--accent-color), var(--accent-secondary));
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

::selection {
    background: var(--accent-color);
    color: #000;
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-violet), var(--accent-secondary));
    z-index: 2000;
    transition: width 0.1s ease-out;
}

/* General Reset & Layout */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: auto !important; /* Managed by Lenis */
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.65;
    overflow-x: hidden;
    cursor: none;
    -webkit-font-smoothing: antialiased;
}

/* Digital Noise Texture */
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("https://grainy-gradients.vercel.app/noise.svg");
    opacity: 0.04;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: overlay;
}

/* Custom Interactive Cursor */
.custom-cursor {
    width: 32px;
    height: 32px;
    border: 1.5px solid var(--accent-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: width 0.25s ease, height 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
    will-change: transform;
    left: 0;
    top: 0;
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    box-shadow: 0 0 10px var(--accent-color);
    will-change: transform;
    left: 0;
    top: 0;
}

.custom-cursor.hover {
    width: 52px;
    height: 52px;
    background-color: rgba(0, 242, 254, 0.12);
    border-color: var(--accent-color);
    box-shadow: 0 0 25px var(--accent-glow);
}

a, button, .btn, .project-card, .skill-tag-item, .dot, .social-icon, .soft-skill-chip {
    cursor: none;
}

/* Canvas & Animated Background Elements */
.bg-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.lake-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -5;
    pointer-events: none;
    opacity: 0.45;
    filter: blur(5px);
}

.network-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -4;
    pointer-events: none;
    opacity: 0.55;
}

.bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 242, 254, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 242, 254, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), black 0%, transparent 45%);
    -webkit-mask-image: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), black 0%, transparent 45%);
}

.mouse-glow {
    position: fixed;
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.09) 0%, rgba(59, 130, 246, 0.03) 40%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    transform: translate(-50%, -50%);
    transition: opacity 0.5s ease;
}

.blob {
    position: absolute;
    width: 45vw;
    height: 45vw;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.12;
    animation: moveBlob 22s infinite alternate ease-in-out;
}

.blob-1 {
    top: -15%;
    left: -10%;
    background: var(--accent-color);
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    background: var(--accent-violet);
    animation-delay: -7s;
}

.blob-3 {
    top: 40%;
    left: 30%;
    background: var(--accent-secondary);
    animation-delay: -14s;
}

@keyframes moveBlob {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    50% { transform: translate(6%, 8%) scale(1.08) rotate(10deg); }
    100% { transform: translate(-6%, -6%) scale(0.92) rotate(-10deg); }
}

/* Layout Container */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 110px 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

/* Typography & Headings */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-tag {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-color);
    letter-spacing: 4px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 0.75rem;
    background: rgba(0, 242, 254, 0.08);
    padding: 0.3rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(0, 242, 254, 0.2);
}

h2 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 0.8rem;
    color: #ffffff;
    letter-spacing: -1px;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.text-gradient {
    background: linear-gradient(135deg, #00f2fe 0%, #3b82f6 50%, #8b5cf6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Glassmorphism Cards */
.glass {
    background: var(--card-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--border-color);
    border-radius: 24px;
    transition: var(--transition-smooth);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.glass:hover {
    border-color: rgba(0, 242, 254, 0.3);
    box-shadow: 0 20px 50px rgba(0, 242, 254, 0.1);
}

/* Buttons System */
.btn {
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition-elastic);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-secondary));
    color: #060913;
    box-shadow: 0 10px 25px rgba(0, 242, 254, 0.3);
    font-weight: 700;
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 242, 254, 0.45);
    color: #000;
}

.btn-outline {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.btn-outline:hover {
    background: rgba(0, 242, 254, 0.1);
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 242, 254, 0.2);
}

.btn-block {
    width: 100%;
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(50px) scale(0.97);
    filter: blur(4px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }
.reveal-delay-4 { transition-delay: 0.6s; }

/* Side Navigation Bar & Socials */
.side-bar {
    position: fixed;
    left: 2rem;
    bottom: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.side-socials {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.side-socials a {
    color: var(--text-secondary);
    font-size: 1.2rem;
    transition: var(--transition-smooth);
}

.side-socials a:hover {
    color: var(--accent-color);
    transform: translateX(4px) scale(1.2);
}

.side-line {
    width: 1px;
    height: 90px;
    background: linear-gradient(to bottom, var(--accent-color), transparent);
}

.side-text {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 4px;
    color: var(--text-muted);
    font-weight: 700;
}

/* Right Scroll Navigation Dots */
.scroll-dots {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.scroll-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: var(--transition-smooth);
    position: relative;
    text-decoration: none;
}

.scroll-dots .dot.active,
.scroll-dots .dot:hover {
    background: var(--accent-color);
    box-shadow: 0 0 15px var(--accent-color);
    transform: scale(1.4);
}

/* Header & Navbar */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition-smooth);
}

nav.scrolled {
    background: rgba(6, 9, 19, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.nav-logo-img {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 0 8px rgba(0, 242, 254, 0.4));
    transition: var(--transition-elastic);
}

.logo:hover .nav-logo-img {
    transform: rotate(5deg) scale(1.1);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
}

.nav-links {
    display: flex;
    gap: 2.2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-smooth);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition-smooth);
    border-radius: 2px;
}

.nav-links a:hover,
.nav-links a.active {
    color: #ffffff;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.4rem;
    color: var(--text-primary);
    padding: 0.5rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding-top: 130px;
    padding-bottom: 60px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 3.5rem;
    align-items: center;
}

/* Profile Card Styling */
.profile-card-wrapper {
    perspective: 1000px;
}

.profile-card {
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 242, 254, 0.25);
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.8), rgba(6, 9, 19, 0.9));
}

.profile-img-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.profile-img-hero {
    width: 100%;
    height: 380px;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: var(--transition-smooth);
    filter: contrast(1.05) brightness(1.02);
}

.profile-card:hover .profile-img-hero {
    transform: scale(1.04);
}

.profile-badge {
    margin-top: 1rem;
    background: rgba(6, 9, 19, 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-color);
    padding: 0.6rem 1rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
}

.status-dot {
    width: 10px;
    height: 10px;
    background: var(--accent-emerald);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--accent-emerald);
    animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.6; }
}

.status-text {
    color: var(--text-primary);
    font-weight: 600;
}

.hero-card-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.mini-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.mini-stat-num {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-color);
}

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

.mini-stat-divider {
    width: 1px;
    height: 25px;
    background: var(--border-color);
}

/* Hero Content Styling */
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-color);
    background: rgba(0, 242, 254, 0.08);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    border: 1px solid rgba(0, 242, 254, 0.2);
    margin-bottom: 1.2rem;
}

.hero-title {
    font-size: 4.2rem;
    line-height: 1.05;
    margin-bottom: 0.8rem;
    font-family: var(--font-heading);
    letter-spacing: -1.5px;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero-bio {
    font-size: 1.08rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-tech-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 2.2rem;
}

.hero-tech-pills .pill {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.88rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-smooth);
}

.hero-tech-pills .pill:hover {
    border-color: var(--accent-color);
    transform: translateY(-2px);
    background: rgba(0, 242, 254, 0.08);
}

.hero-btns {
    display: flex;
    gap: 1.2rem;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.7;
}

.mouse {
    width: 22px;
    height: 36px;
    border: 2px solid var(--accent-color);
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollMove 2s infinite ease-in-out;
}

@keyframes scrollMove {
    0% { transform: translate(-50%, 0); opacity: 1; }
    100% { transform: translate(-50%, 14px); opacity: 0; }
}

.scroll-text {
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 2.5rem;
}

.summary-card {
    padding: 3rem;
}

.summary-card h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    color: #fff;
}

.summary-card p {
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.02);
    padding: 1rem 1.2rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.highlight-item i {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.highlight-item strong {
    display: block;
    color: #fff;
    font-size: 0.98rem;
}

.highlight-item span {
    color: var(--text-secondary);
    font-size: 0.88rem;
}

.languages-box {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.box-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: #fff;
    display: block;
    margin-bottom: 0.8rem;
}

.lang-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.lang-tag {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.25);
    color: #fff;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.88rem;
}

.lang-tag em {
    color: var(--text-secondary);
    font-style: normal;
    font-size: 0.8rem;
}

.about-side-cards {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card {
    padding: 2rem;
}

.info-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.quick-details-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.quick-details-list li {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.detail-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.detail-val {
    font-size: 0.98rem;
    color: #fff;
    font-weight: 600;
}

.detail-val.link {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.detail-val.link:hover {
    text-decoration: underline;
}

.soft-skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.soft-skill-chip {
    background: rgba(0, 242, 254, 0.06);
    border: 1px solid rgba(0, 242, 254, 0.2);
    color: var(--text-primary);
    padding: 0.5rem 1.1rem;
    border-radius: 14px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-elastic);
}

.soft-skill-chip:hover {
    background: rgba(0, 242, 254, 0.15);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 242, 254, 0.2);
}

.soft-skill-chip i {
    color: var(--accent-color);
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.skill-category {
    padding: 2.2rem;
    display: flex;
    flex-direction: column;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.8rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid var(--border-color);
}

.category-icon {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.frontend-icon {
    background: rgba(0, 242, 254, 0.15);
    color: var(--accent-color);
}

.backend-icon {
    background: rgba(139, 92, 246, 0.15);
    color: var(--accent-violet);
}

.database-icon {
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent-emerald);
}

.tools-icon {
    background: rgba(59, 130, 246, 0.15);
    color: var(--accent-secondary);
}

.category-header h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: #fff;
}

.category-sub {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.skill-tag-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 0.65rem 1.2rem;
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: var(--transition-elastic);
}

.skill-tag-item i {
    font-size: 1.1rem;
}

.skill-tag-item:hover {
    background: rgba(0, 242, 254, 0.1);
    border-color: var(--accent-color);
    transform: translateY(-4px) scale(1.06);
    box-shadow: 0 10px 20px rgba(0, 242, 254, 0.2);
}

/* Experience Section Timeline */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 28px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-color), var(--accent-violet), transparent);
}

.timeline-item {
    position: relative;
    padding-left: 80px;
}

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

.timeline-content {
    padding: 2.5rem;
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.badge {
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.25rem 0.8rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.badge-primary {
    background: rgba(0, 242, 254, 0.15);
    color: var(--accent-color);
    border: 1px solid rgba(0, 242, 254, 0.3);
}

.badge-secondary {
    background: rgba(255, 45, 32, 0.15);
    color: #ff4d4d;
    border: 1px solid rgba(255, 45, 32, 0.3);
}

.timeline-header h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #fff;
}

.company-name {
    color: var(--accent-color);
    font-size: 1rem;
    font-weight: 600;
    margin-top: 0.2rem;
}

.timeline-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-size: 0.88rem;
    color: var(--text-muted);

}

.timeline-bullets {
    margin-left: 1.2rem;
    color: var(--text-secondary);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.timeline-bullets li strong {
    color: var(--accent-color);
}

.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.timeline-tags span {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.8rem;
    padding: 0.2rem 0.75rem;
    border-radius: 50px;
}

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

.project-card {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.project-img-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.project-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid rgba(0, 242, 254, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--accent-color);
    transition: var(--transition-elastic);
}

.project-card:hover .project-icon-box {
    transform: scale(1.1) rotate(5deg);
    background: var(--accent-color);
    color: #060913;
    box-shadow: 0 0 20px var(--accent-glow);
}

.project-badge {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-violet);
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    text-transform: uppercase;
}

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

.tech-pill {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--accent-color);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.2rem 0.7rem;
    border-radius: 50px;
}

.project-info h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: #fff;
}

.project-info p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.8rem;
}

.project-links {
    margin-top: auto;
}

.project-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-smooth);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
}

.project-link:hover {
    color: var(--accent-color);
    border-color: var(--accent-color);
    background: rgba(0, 242, 254, 0.08);
}

/* Education & Certifications Grid */
.edu-cert-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.block-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.education-timeline {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.edu-card {
    padding: 1.8rem;
}

.edu-year {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.4rem;
}

.edu-card h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 0.3rem;
}

.edu-school {
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: block;
    margin-bottom: 1rem;
}

.score-badge {
    background: rgba(0, 242, 254, 0.15);
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.3rem 0.9rem;
    border-radius: 50px;
    display: inline-block;
}

.score-badge.outline {
    background: rgba(255, 255, 255, 0.03);
    border-color: var(--border-color);
    color: var(--text-secondary);
}

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

.cert-card {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.cert-icon {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.cert-card h4 {
    font-size: 0.98rem;
    color: #fff;
    margin-bottom: 0.4rem;
    line-height: 1.3;
}

.cert-card p {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* Contact Footer */
footer {
    padding: 100px 0 40px;
    background: linear-gradient(to top, #03050a, var(--bg-color));
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 4rem;
    margin-bottom: 5rem;
}

.contact-sub {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

.contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.contact-icon-bg {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid rgba(0, 242, 254, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 1.2rem;
}

.contact-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.contact-val {
    color: #fff;
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.contact-val:hover {
    color: var(--accent-color);
}

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

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    text-decoration: none;
    transition: var(--transition-elastic);
}

.social-icon:hover {
    background: var(--accent-color);
    color: #060913;
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 0 20px var(--accent-glow);
}

.contact-card-box {
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.contact-card-header i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-card-header h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.contact-card-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.contact-quick-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .hero-grid,
    .about-grid,
    .edu-cert-grid,
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

    .side-bar,
    .scroll-dots {
        display: none;
    }

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

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

    .timeline-dot {
        left: 6px;
    }
}

@media (max-width: 768px) {
    h2 {
        font-size: 2.5rem;
    }

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

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(6, 9, 19, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition-smooth);
        z-index: 999;
    }

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

    .mobile-menu-btn {
        display: block;
        z-index: 1001;
    }

    .nav-btn-desktop {
        display: none;
    }

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

    .hero-btns {
        flex-direction: column;
        width: 100%;
    }

    .hero-btns .btn {
        width: 100%;
    }
}