/* Modern Premium SaaS Portfolio CSS (Stripe, Linear, Apple Inspired) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Fira+Code:wght@400;500&display=swap');

:root {
    /* Fonts */
    --font-sans: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;
    --font-mono: 'Fira Code', monospace;

    /* Light Theme (Default) */
    --bg-primary: #ffffff;
    --bg-secondary: #fafbfc;
    --bg-tertiary: #f3f4f6;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-tertiary: #94a3b8;
    
    --accent-color: #2563eb;
    --accent-gradient: linear-gradient(135deg, #2563eb, #10b981);
    --accent-glow: rgba(37, 99, 235, 0.15);
    
    --border-color: rgba(15, 23, 42, 0.08);
    --border-color-glow: rgba(37, 99, 235, 0.2);
    
    --card-bg: rgba(255, 255, 255, 0.7);
    --card-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
    --card-shadow-hover: 0 20px 40px -15px rgba(0, 0, 0, 0.08), 0 1px 10px rgba(0, 0, 0, 0.03);
    
    --nav-bg: rgba(255, 255, 255, 0.75);
    --pill-bg: #e2e8f0;
    
    --badge-available-bg: #ecfdf5;
    --badge-available-text: #059669;
}

[data-theme="dark"] {
    /* Dark Theme */
    --bg-primary: #080b11;
    --bg-secondary: #0f131a;
    --bg-tertiary: #161b24;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-tertiary: #64748b;
    
    --accent-color: #60a5fa;
    --accent-gradient: linear-gradient(135deg, #3b82f6, #10b981);
    --accent-glow: rgba(59, 130, 246, 0.25);
    
    --border-color: rgba(255, 255, 255, 0.08);
    --border-color-glow: rgba(96, 165, 250, 0.3);
    
    --card-bg: rgba(15, 19, 26, 0.75);
    --card-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(0, 0, 0, 0.3);
    --card-shadow-hover: 0 20px 45px -12px rgba(0, 0, 0, 0.7), 0 1px 15px rgba(59, 130, 246, 0.1);
    
    --nav-bg: rgba(8, 11, 17, 0.75);
    --pill-bg: #1e293b;
    
    --badge-available-bg: rgba(16, 185, 129, 0.1);
    --badge-available-text: #34d399;
}

/* Global Reset & Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    transition: background-color 0.4s ease, border-color 0.4s ease, color 0.2s ease;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

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

/* Soft Floating Background Shapes */
.bg-blob-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.35;
    animation: floatBlob 25s infinite alternate ease-in-out;
}

[data-theme="dark"] .bg-blob {
    opacity: 0.18;
    filter: blur(140px);
}

.bg-blob-1 {
    width: 45vw;
    height: 45vw;
    background: radial-gradient(circle, #3b82f6 0%, transparent 80%);
    top: -10vw;
    left: -10vw;
    animation-delay: 0s;
}

.bg-blob-2 {
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, #10b981 0%, transparent 80%);
    top: 10vh;
    right: -10vw;
    animation-delay: 5s;
}

.bg-blob-3 {
    width: 35vw;
    height: 35vw;
    background: radial-gradient(circle, #8b5cf6 0%, transparent 80%);
    bottom: 20vh;
    left: 25vw;
    animation-delay: 10s;
}

@keyframes floatBlob {
    0% {
        transform: translate(0px, 0px) scale(1);
    }
    33% {
        transform: translate(30px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.95);
    }
    100% {
        transform: translate(0px, 0px) scale(1);
    }
}

/* Stripe/Linear style subtle grid pattern */
.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--border-color) 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: 0.5;
    z-index: -1;
    pointer-events: none;
}

/* Glassmorphism Floating Navbar */
.navbar-premium {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 1200px;
    background: var(--nav-bg);
    border: 1px solid var(--border-color);
    border-radius: 99px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 10px 24px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar-brand .logo-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.95rem;
    font-weight: bold;
}

.navbar-brand span {
    color: #10b981;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 28px;
    align-items: center;
}

.nav-link-item {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    position: relative;
    padding: 6px 0;
}

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

.nav-link-item:hover {
    color: var(--text-primary);
}

.nav-link-item.active {
    color: var(--text-primary);
    font-weight: 600;
}

.nav-link-item.active::after {
    width: 100%;
    left: 0;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Theme Toggle Button */
.theme-toggle-btn {
    background: none;
    border: 1px solid var(--border-color);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    outline: none;
}

.theme-toggle-btn:hover {
    background: var(--bg-tertiary);
    transform: scale(1.05);
}

.theme-toggle-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* Let's Talk CTA button */
.btn-talk {
    background: var(--accent-gradient);
    color: white !important;
    font-weight: 600;
    font-size: 0.88rem;
    padding: 8px 20px;
    border-radius: 99px;
    text-decoration: none;
    box-shadow: 0 4px 15px var(--accent-glow);
    display: inline-flex;
    align-items: center;
    border: none;
    cursor: pointer;
}

.btn-talk:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--accent-glow);
}

/* Hamburger menu button for mobile */
.hamburger-premium {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.hamburger-premium span {
    width: 22px;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Global Content Layout */
.container-premium {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
}

.hero-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.pulse-badge {
    background: var(--badge-available-bg);
    color: var(--badge-available-text);
    padding: 6px 14px;
    border-radius: 99px;
    font-size: 0.82rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: currentColor;
    position: relative;
}

.pulse-dot::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: currentColor;
    top: 0;
    left: 0;
    animation: pulseAnim 1.8s infinite ease-in-out;
}

@keyframes pulseAnim {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(2.4);
        opacity: 0;
    }
}

.hero-title {
    font-family: var(--font-sans);
    font-weight: 800;
    font-size: clamp(2.5rem, 5.5vw, 4.2rem);
    line-height: 1.15;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: -0.03em;
}

.hero-title .gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero-subtitle-container {
    font-size: clamp(1.4rem, 2.5vw, 2.2rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    min-height: 2.8rem;
    display: flex;
    align-items: center;
}

.typing-text {
    color: var(--accent-color);
}

.typing-cursor {
    display: inline-block;
    width: 3px;
    height: 2.2rem;
    background-color: var(--accent-color);
    margin-left: 6px;
    animation: flash 0.8s infinite;
    vertical-align: middle;
}

@keyframes flash {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
    max-width: 540px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

/* Styled Premium Buttons */
.btn-premium {
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
}

.btn-premium-solid {
    background: var(--accent-gradient);
    color: white !important;
    border: none;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-premium-solid:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px var(--accent-glow);
}

.btn-premium-outline {
    background: transparent;
    color: var(--text-primary) !important;
    border: 1px solid var(--border-color);
}

.btn-premium-outline:hover {
    background: var(--bg-tertiary);
    border-color: var(--text-tertiary);
    transform: translateY(-2px);
}

.btn-premium-text {
    background: transparent;
    color: var(--text-secondary) !important;
    border: 1px solid transparent;
}

.btn-premium-text:hover {
    color: var(--text-primary) !important;
    background: var(--bg-tertiary);
    border-radius: 12px;
}

/* Social icons block */
.hero-socials {
    display: flex;
    gap: 16px;
}

.social-icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary) !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon-btn:hover {
    color: var(--text-primary) !important;
    border-color: var(--text-primary);
    background: var(--bg-tertiary);
    transform: translateY(-2px);
}

.social-icon-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* Hero Right: Interactive Code Window & Floating Cards */
.hero-right {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Float Badges */
.floating-badge {
    position: absolute;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 10px 16px;
    box-shadow: var(--card-shadow);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10;
    pointer-events: none;
    animation: floatIcon 6s ease-in-out infinite;
    transition: all 0.3s ease;
}

.floating-badge-avatar {
    top: -24px;
    left: -20px;
    animation-delay: 0s;
}

.floating-badge-exp {
    top: 50%;
    left: -48px;
    transform: translateY(-50%);
    animation-delay: 1.5s;
}

.floating-badge-projects {
    bottom: -15px;
    right: -10px;
    animation-delay: 3s;
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.badge-avatar-img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--bg-primary);
}

.badge-text-title {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text-tertiary);
    text-transform: uppercase;
}

.badge-text-value {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
}

.badge-text-value span {
    color: #10b981;
}

/* Code Editor Window */
.code-window {
    width: 100%;
    max-width: 440px;
    background: #0d1117;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.3);
    font-family: var(--font-mono);
}

.code-header {
    background: #161b22;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.code-dots {
    display: flex;
    gap: 8px;
}

.code-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot-red { background-color: #ff5f56; }
.dot-yellow { background-color: #ffbd2e; }
.dot-green { background-color: #27c93f; }

.code-title {
    margin-left: 20px;
    font-size: 0.75rem;
    color: #8b949e;
}

.code-body {
    padding: 24px;
    font-size: 0.82rem;
    color: #c9d1d9;
    line-height: 1.6;
}

/* Syntax Highlight Colors */
.syntax-keyword { color: #ff7b72; }
.syntax-class { color: #f2cc60; }
.syntax-property { color: #79c0ff; }
.syntax-string { color: #a5d6ff; }
.syntax-comment { color: #8b949e; }
.syntax-indent { margin-left: 20px; }
.syntax-indent-2 { margin-left: 40px; }

/* Section Header Styles */
.section-tag {
    color: var(--accent-color);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 12px;
    display: inline-block;
    padding: 4px 14px;
    background: var(--badge-available-bg);
    border-radius: 99px;
}

.section-title-premium {
    font-family: var(--font-sans);
    font-weight: 800;
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.section-subtitle-premium {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 50px;
}

.section-padding {
    padding: 100px 0;
}

/* Portfolio Timeline Journey Section */
.journey-grid {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 60px;
    align-items: start;
}

/* Left Profile Card */
.profile-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 32px;
    box-shadow: var(--card-shadow);
    text-align: center;
}

.profile-avatar-container {
    width: 140px;
    height: 140px;
    margin: 0 auto 20px;
    border-radius: 20px;
    overflow: hidden;
    border: 3px solid var(--bg-primary);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.profile-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.profile-role {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.profile-info-table {
    width: 100%;
    border-collapse: collapse;
}

.profile-info-row {
    border-top: 1px solid var(--border-color);
}

.profile-info-row td {
    padding: 12px 0;
    font-size: 0.88rem;
    text-align: left;
}

.profile-info-row td:first-child {
    color: var(--text-tertiary);
    font-weight: 500;
}

.profile-info-row td:last-child {
    color: var(--text-primary);
    font-weight: 600;
    text-align: right;
}

.focus-highlight {
    color: #10b981 !important;
}

/* Right Timeline Layout */
.timeline-container {
    position: relative;
    padding-left: 40px;
}

.timeline-line {
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 11px;
    width: 2px;
    background-color: var(--border-color);
}

.timeline-item {
    position: relative;
    padding-bottom: 48px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-node {
    position: absolute;
    left: -40px;
    top: 2px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--bg-primary);
    border: 2px solid var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    color: var(--accent-color);
}

.timeline-node svg {
    width: 12px;
    height: 12px;
    fill: currentColor;
}

.timeline-content {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--card-shadow);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    align-items: start;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-2px);
    box-shadow: var(--card-shadow-hover);
    border-color: var(--border-color-glow);
}

.timeline-header-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.timeline-tag {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-color);
    background: var(--badge-available-bg);
    padding: 3px 10px;
    border-radius: 99px;
    align-self: flex-start;
}

.timeline-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
}

.timeline-desc {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.timeline-date {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-tertiary);
    text-align: right;
    white-space: nowrap;
}

/* Projects Section */
.projects-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    padding: 8px 20px;
    border-radius: 99px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    color: var(--text-primary);
    background: var(--bg-secondary);
    border-color: var(--text-tertiary);
}

.filter-btn.active {
    background: var(--accent-gradient);
    color: white;
    border: none;
    box-shadow: 0 4px 15px var(--accent-glow);
}

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

.project-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--card-shadow-hover);
    border-color: var(--border-color-glow);
}

.project-img-container {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #0f172a;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.project-overlay-badges {
    position: absolute;
    top: 16px;
    left: 16px;
    right: 16px;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.project-badge {
    background: rgba(15, 23, 42, 0.75);
    color: white;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

.project-badge-featured {
    background: #10b981;
}

.project-badge-year {
    background: rgba(15, 23, 42, 0.6);
}

.project-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-card-tech-badge {
    color: var(--accent-color);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.project-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.project-card-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1;
}

.project-minor-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.minor-badge {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    font-size: 0.72rem;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 99px;
}

.project-card-footer {
    display: flex;
    gap: 12px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.btn-card-primary {
    flex-grow: 1;
    background: var(--accent-gradient);
    color: white !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 10px 16px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: 0 4px 12px var(--accent-glow);
    transition: all 0.3s ease;
}

.btn-card-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px var(--accent-glow);
}

.btn-card-icon {
    width: 38px;
    height: 38px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-secondary) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-card-icon:hover {
    color: var(--text-primary) !important;
    border-color: var(--text-tertiary);
    background: var(--bg-tertiary);
    transform: translateY(-2px);
}

.btn-card-icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 56px;
    align-items: center;
}

.about-left-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 24px;
    box-shadow: var(--card-shadow);
}

.about-img-frame {
    border-radius: 16px;
    overflow: hidden;
    height: 320px;
    margin-bottom: 24px;
}

.about-img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-bio {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.about-ticks {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.tick-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-primary);
}

.tick-item svg {
    width: 18px;
    height: 18px;
    color: #10b981;
    flex-shrink: 0;
}

/* Skill progress bars */
.about-right-skills {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.skill-bar-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.skill-bar-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-primary);
}

.skill-bar-label-percent {
    color: var(--accent-color);
}

.skill-bar-track {
    width: 100%;
    height: 8px;
    background: var(--bg-tertiary);
    border-radius: 99px;
    overflow: hidden;
    position: relative;
}

.skill-bar-fill {
    height: 100%;
    background: var(--accent-gradient);
    border-radius: 99px;
    width: 0; /* Animated dynamically on reveal */
    transition: width 1.5s cubic-bezier(0.1, 0.8, 0.3, 1);
}

/* Contact Section */
.contact-container {
    max-width: 700px;
    margin: 0 auto;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 48px;
    box-shadow: var(--card-shadow);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-row-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group-premium {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label-premium {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: left;
}

.form-input-premium {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    padding: 12px 18px;
    border-radius: 10px;
    font-family: var(--font-sans);
    font-size: 0.92rem;
    color: var(--text-primary);
    outline: none;
    width: 100%;
}

.form-input-premium:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.btn-submit-premium {
    background: var(--accent-gradient);
    color: white;
    border: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 4px 15px var(--accent-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-submit-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--accent-glow);
}

/* Footer style */
.footer-premium {
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
    margin-top: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copy {
    font-size: 0.88rem;
    color: var(--text-tertiary);
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-link-item {
    font-size: 0.88rem;
    color: var(--text-secondary) !important;
    text-decoration: none;
}

.footer-link-item:hover {
    color: var(--text-primary) !important;
}

/* Section reveal animations */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Back to Top button */
.back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent-gradient);
    color: white;
    border: none;
    box-shadow: 0 4px 15px var(--accent-glow);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    z-index: 99;
    transform: translateY(10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.back-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* Hidden projects filtering state */
.project-card.filtered-out {
    display: none;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    .hero-left {
        align-items: center;
    }
    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-buttons {
        justify-content: center;
    }
    .journey-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .floating-badge-avatar {
        left: 20px;
    }
    .floating-badge-exp {
        left: 0;
    }
}

@media (max-width: 768px) {
    .navbar-premium {
        padding: 10px 16px;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--bg-secondary);
        border: 1px solid var(--border-color);
        border-radius: 20px;
        flex-direction: column;
        padding: 24px;
        box-shadow: var(--card-shadow);
        z-index: 999;
        gap: 16px;
    }
    .nav-links.active {
        display: flex;
    }
    .hamburger-premium {
        display: flex;
    }
    /* Mobile style for timeline */
    .timeline-content {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .timeline-date {
        text-align: left;
    }
    .contact-row-two {
        grid-template-columns: 1fr;
    }
    .contact-container {
        padding: 28px 20px;
    }
}
