/* ============================================
   CSS Variables & Base Styles
   ============================================ */
:root {
    /* Colors - Dark Theme */
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-tertiary: #1a1a24;
    --bg-card: #16161e;

    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-muted: #6b6b7b;

    --accent-primary: #6366f1;
    --accent-secondary: #8b5cf6;
    --accent-pink: #ec4899;
    --accent-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);

    --border-color: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.12);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Spacing */
    --section-padding: 120px;
    --container-width: 1200px;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.15);
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Theme transition for key elements */
.navbar,
.section,
.hero,
.hero-gradient,
.hero-grid,
.footer,
.skill-category,
.skill-tag,
.timeline-item,
.education-card,
.certificate-card,
.project-card,
.contact-method,
.calendly-preview,
.btn,
.nav-logo,
.nav-link,
.social-link {
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--accent-secondary);
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   Container & Layout
   ============================================ */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: var(--section-padding) 0;
    position: relative;
}

/* Dynamic first/last section backgrounds */
/* nth-of-type(2) targets the first content section after hero */
main > section:nth-of-type(2) {
    background: linear-gradient(to bottom, var(--bg-primary) 0%, var(--bg-secondary) 30%, var(--bg-secondary) 70%, var(--bg-primary) 100%);
}

main > section:last-of-type {
    background: linear-gradient(to bottom, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-secondary) 100%);
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-normal);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.nav-logo:hover {
    background: var(--bg-card);
    color: var(--accent-primary);
    border-color: var(--accent-primary);
    transform: scale(1.05);
}

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

.nav-link {
    padding: 10px 14px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: 8px;
    transition: all var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    position: relative;
    transition: background var(--transition-fast);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    transition: transform var(--transition-fast);
}

.hamburger::before { top: -7px; }
.hamburger::after { bottom: -7px; }

/* ============================================
   Hero Section
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 120px 24px 200px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(99, 102, 241, 0.15), transparent),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(139, 92, 246, 0.1), transparent),
        radial-gradient(ellipse 50% 30% at 20% 80%, rgba(168, 85, 247, 0.08), transparent);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black, transparent);
}

/* Fade-out overlay at the bottom of hero to blend into next section */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to bottom, transparent, var(--bg-primary));
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: var(--container-width);
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    align-items: center;
    margin-bottom: 180px;
}

.hero-text {
    max-width: 700px;
}

.hero-greeting {
    font-size: 1.1rem;
    color: var(--accent-primary);
    font-weight: 500;
    margin-bottom: 16px;
    font-family: var(--font-mono);
}

.hero-name {
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #fff 0%, #a0a0b0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Typewriter effect */
.hero-name.typewriter {
    display: block;
    text-align: left !important;
    min-height: 1.2em;
}

.typewriter-text {
    background: linear-gradient(135deg, #fff 0%, #a0a0b0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="light"] .typewriter-text {
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: #1a1a1a;
    background-clip: unset;
}

.typewriter-cursor {
    display: inline;
    background: none;
    -webkit-text-fill-color: var(--accent-primary);
    animation: blink 1s step-end infinite;
    font-weight: 100;
}

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

[data-theme="light"] .typewriter-cursor {
    -webkit-text-fill-color: var(--accent-primary);
    color: var(--accent-primary);
}

.hero-title {
    font-size: clamp(1.25rem, 3vw, 2rem);
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 500px;
    margin-bottom: 32px;
}

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

.hero-social {
    display: flex;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-secondary);
    font-size: 1.1rem;
    transition: all var(--transition-fast);
}

.social-link:hover {
    color: var(--accent-primary);
    border-color: var(--accent-primary);
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.2);
}

.social-icon-img {
    width: 1.1rem;
    height: 1.1rem;
    display: inline-block;
    vertical-align: middle;
    filter: grayscale(100%) brightness(0.7);
    opacity: 0.85;
    transition: all var(--transition-fast);
}

.social-link:hover .social-icon-img {
    filter: grayscale(0%) brightness(1.1);
    opacity: 1;
}

.hero-image {
    width: 350px;
    height: 350px;
}

.hero-image .image-wrapper {
    width: 100%;
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
    border: 2px solid var(--border-light);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hero Right Column - Image + Book CTA */
.hero-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

/* Hero Book CTA */
.hero-book-cta {
    width: 100%;
    max-width: 350px;
}

.book-cta-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(99, 102, 241, 0.1) 100%);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 16px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.book-cta-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.book-cta-btn:hover {
    border-color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.3);
}

.book-cta-btn:hover::before {
    opacity: 1;
}

.book-cta-btn > * {
    position: relative;
    z-index: 1;
}

.book-cta-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    border-radius: 12px;
    font-size: 18px;
    color: white;
    flex-shrink: 0;
}

.book-cta-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.book-cta-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.book-cta-subtitle {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 2px;
}

.book-cta-btn:hover .book-cta-title,
.book-cta-btn:hover .book-cta-subtitle {
    color: white;
}

.book-cta-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 14px;
    color: var(--accent-primary);
    transition: all 0.15s ease;
}

.book-cta-btn:hover .book-cta-arrow {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateX(4px);
}

/* Hero Schedule Card */
.hero-schedule {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    margin: 0 auto;
    z-index: 2;
    width: 100%;
    max-width: 700px;
    padding: 0 24px;
}

.hero-schedule .calendly-preview {
    padding: 24px 32px;
    backdrop-filter: blur(10px);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12) 0%, rgba(99, 102, 241, 0.06) 100%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 60px rgba(99, 102, 241, 0.1);
}

.hero-schedule .calendly-preview-header {
    margin-bottom: 16px;
}

.hero-schedule .calendly-preview-header h3 {
    font-size: 1.1rem;
}

.hero-schedule .calendly-preview-header p {
    font-size: 0.85rem;
}

.hero-schedule .meeting-option {
    padding: 16px 20px;
    gap: 16px;
}

.hero-schedule .meeting-icon {
    width: 36px;
    height: 36px;
}

.hero-schedule .meeting-name {
    font-size: 0.95rem;
}

.hero-schedule .meeting-desc {
    font-size: 0.8rem;
}

/* Scroll Indicator */
.scroll-indicator {
    display: none; /* Hidden - calendly card replaces scroll indicator as bottom CTA */
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes scroll {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn:hover::before {
    opacity: 1;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 35px rgba(99, 102, 241, 0.5), 0 0 20px rgba(139, 92, 246, 0.3);
    color: white;
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-light);
}

.btn-outline:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.2), 0 0 15px rgba(99, 102, 241, 0.1);
    background: rgba(99, 102, 241, 0.05);
}

.btn-outline:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.05rem;
}

/* ============================================
   Section Titles
   ============================================ */
.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 60px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.title-number {
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 500;
    color: var(--accent-primary);
}

.section-title::after {
    content: '';
    flex: 1;
    max-width: 300px;
    height: 1px;
    background: var(--border-color);
}

.subsection-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 60px 0 32px;
    color: var(--text-secondary);
}

/* ============================================
   About Section
   ============================================ */
.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.about-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 20px;
}

.about-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.info-item:hover {
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

.info-item i {
    font-size: 1.25rem;
    color: var(--accent-primary);
    width: 24px;
}

.info-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.info-value {
    display: block;
    font-weight: 500;
    color: var(--text-primary);
}

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

.skill-category {
    padding: 32px;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-category:hover {
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-glow), 0 8px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(-6px);
}

.category-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--bg-tertiary);
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    transition: all var(--transition-fast);
    text-decoration: none;
    cursor: pointer;
    --glow-color: #ec4899;
    /* Clip the offset black SVG icon during hover color trick */
    overflow: hidden;
}

.skill-tag:hover {
    border-color: var(--glow-color);
    color: var(--text-primary);
}

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

.skill-icon-img {
    width: 1rem;
    height: 1rem;
    display: inline-block;
    vertical-align: middle;
    /* Dark mode: colorize SVG using offset shadow trick */
    filter:
        brightness(0) saturate(100%)
        drop-shadow(99px 0 0 var(--glow-color));
    transform: translateX(-99px);
    transition: filter var(--transition-fast);
}

/* Make all skill icons colored by default */
.skill-tag i {
    color: var(--glow-color);
    opacity: 1;
    transition: all var(--transition-fast);
}

/* Brighten and glow on hover - colorize SVG using offset shadow trick */
.skill-tag:hover .skill-icon-img {
    filter:
        brightness(0) saturate(100%)
        drop-shadow(99px 0 0 var(--glow-color))
        drop-shadow(0 0 10px var(--glow-color))
        drop-shadow(0 0 20px var(--glow-color));
    transform: translateX(-99px);
}

.skill-tag:hover i {
    color: var(--glow-color, var(--accent-pink));
    filter: grayscale(0%) drop-shadow(0 0 12px var(--glow-color)) drop-shadow(0 0 20px var(--glow-color));
    opacity: 1;
}

/* ============================================
   Timeline (Experience)
   ============================================ */
.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-primary), var(--accent-secondary));
    border-radius: 2px;
}

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

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

.timeline-marker {
    position: absolute;
    left: -40px;
    top: 8px;
    width: 16px;
    height: 16px;
    background: var(--bg-primary);
    border: 3px solid var(--accent-primary);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.timeline-content {
    padding: 28px;
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-content:hover {
    border-color: var(--accent-primary);
    transform: translateX(8px) translateY(-4px);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(99, 102, 241, 0.15);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.timeline-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.timeline-company {
    font-size: 1rem;
    color: var(--accent-primary);
}

.timeline-company a {
    color: inherit;
}

.timeline-company a:hover {
    text-decoration: underline;
}

.timeline-date {
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.timeline-location {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.timeline-work-type {
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.timeline-work-type i {
    font-size: 0.85rem;
}

.timeline-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.timeline-description p {
    margin-bottom: 12px;
}

.timeline-description p:last-child {
    margin-bottom: 0;
}

.timeline-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.tech-tag {
    padding: 4px 12px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 6px;
    font-size: 0.8rem;
    font-family: var(--font-mono);
    color: var(--accent-primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all var(--transition-fast);
    text-decoration: none;
    /* Clip the offset black SVG icon during light mode color trick */
    overflow: hidden;
}

a.tech-tag {
    color: var(--accent-primary) !important;
}

a.tech-tag:hover {
    color: var(--accent-primary) !important;
    background: rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.4);
    cursor: pointer;
}

.tech-skill-link {
    text-decoration: none;
    color: var(--accent-primary);
}

.tech-skill-link:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.4);
}

/* Make tech-tag Font Awesome icons colored by default */
.tech-tag i {
    color: var(--glow-color, var(--accent-primary));
}

.tech-skill-icon {
    width: 0.9rem;
    height: 0.9rem;
    display: inline-block;
    vertical-align: middle;
    /* Dark mode: colorize SVG using offset shadow trick */
    filter:
        brightness(0) saturate(100%)
        drop-shadow(99px 0 0 var(--glow-color, #6366f1));
    transform: translateX(-99px);
}

/* ============================================
   Education Section
   ============================================ */
.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
}

.education-card {
    display: flex;
    gap: 20px;
    padding: 28px;
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.education-card:hover {
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-glow), 0 8px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(-6px);
}

.education-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gradient);
    border-radius: 14px;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.education-content {
    flex: 1;
}

.education-degree {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.education-field {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.education-institution {
    font-size: 0.95rem;
    color: var(--accent-primary);
    margin-bottom: 4px;
}

.education-institution a {
    color: inherit;
}

.education-institution a:hover {
    text-decoration: underline;
}

.education-date {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.education-gpa {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.education-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 12px;
}

/* Certificates */
.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.certificate-card {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--bg-tertiary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

.certificate-card:hover {
    border-color: var(--border-light);
}

.certificate-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 10px;
    color: var(--accent-primary);
    flex-shrink: 0;
}

.certificate-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.certificate-issuer {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.certificate-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.certificate-link {
    font-size: 0.85rem;
    color: var(--accent-primary);
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.certificate-link:hover {
    text-decoration: underline;
}

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

.project-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
}

.project-card-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.project-card .project-tech a,
.project-card .project-tech span,
.project-card .project-links a {
    position: relative;
    z-index: 2;
}

.project-card:hover {
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-lg), 0 0 50px rgba(99, 102, 241, 0.25);
    transform: translateY(-8px) scale(1.02);
}

.project-card:hover .project-placeholder {
    color: var(--accent-primary);
    opacity: 0.5;
}

.project-image {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--bg-tertiary);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--text-muted);
    opacity: 0.3;
}

.project-content {
    padding: 24px;
}

.project-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.project-content a {
    color: inherit;
    text-decoration: none;
}

.project-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.project-links {
    display: flex;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.project-links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

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

/* ============================================
   Project Detail Page
   ============================================ */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-primary);
    margin-bottom: 40px;
    transition: color var(--transition-fast);
}

.back-link:hover {
    color: var(--accent-secondary);
}

.project-detail-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 60px;
}

.project-detail-image {
    aspect-ratio: 16/9;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.project-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-detail-info h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.project-detail-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 32px;
}

.project-detail-links {
    display: flex;
    gap: 16px;
}

.project-detail-content {
    display: grid;
    gap: 60px;
}

.project-description {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* Markdown Content Styles */
.markdown-content h1,
.markdown-content h2,
.markdown-content h3,
.markdown-content h4,
.markdown-content h5,
.markdown-content h6 {
    color: var(--text-primary);
    margin-top: 2em;
    margin-bottom: 0.75em;
    line-height: 1.3;
}

.markdown-content h1:first-child,
.markdown-content h2:first-child,
.markdown-content h3:first-child {
    margin-top: 0;
}

.markdown-content h1 { font-size: 2rem; }
.markdown-content h2 { font-size: 1.6rem; border-bottom: 1px solid var(--border-color); padding-bottom: 0.5em; }
.markdown-content h3 { font-size: 1.3rem; }
.markdown-content h4 { font-size: 1.1rem; }

.markdown-content p {
    margin-bottom: 1.2em;
}

.markdown-content ul,
.markdown-content ol {
    margin-bottom: 1.2em;
    padding-left: 1.5em;
}

.markdown-content li {
    margin-bottom: 0.5em;
}

.markdown-content li > ul,
.markdown-content li > ol {
    margin-top: 0.5em;
    margin-bottom: 0;
}

.markdown-content blockquote {
    border-left: 4px solid var(--accent-primary);
    margin: 1.5em 0;
    padding: 1em 1.5em;
    background: var(--bg-tertiary);
    border-radius: 0 8px 8px 0;
    color: var(--text-secondary);
    font-style: italic;
}

.markdown-content blockquote p:last-child {
    margin-bottom: 0;
}

.markdown-content code {
    font-family: var(--font-mono);
    background: var(--bg-tertiary);
    padding: 0.2em 0.4em;
    border-radius: 4px;
    font-size: 0.9em;
    color: var(--accent-primary);
}

.markdown-content pre {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.2em;
    overflow-x: auto;
    margin: 1.5em 0;
}

.markdown-content pre code {
    background: none;
    padding: 0;
    color: var(--text-primary);
    font-size: 0.85em;
    line-height: 1.6;
}

.markdown-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
}

.markdown-content th,
.markdown-content td {
    border: 1px solid var(--border-color);
    padding: 0.75em 1em;
    text-align: left;
}

.markdown-content th {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    font-weight: 600;
}

.markdown-content tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.02);
}

.markdown-content hr {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 2em 0;
}

.markdown-content a {
    color: var(--accent-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.markdown-content a:hover {
    color: var(--accent-secondary);
}

.markdown-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5em 0;
}

.markdown-content strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Code highlighting */
.markdown-content .highlight {
    background: var(--bg-tertiary);
    border-radius: 8px;
    overflow-x: auto;
}

.project-technologies {
    padding: 32px;
    background: var(--bg-tertiary);
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.project-technologies h2 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

@media (max-width: 768px) {
    .project-detail-header {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .project-detail-info h1 {
        font-size: 2rem;
    }

    .project-detail-links {
        flex-wrap: wrap;
    }
}

/* ============================================
   Schedule Section
   ============================================ */
.schedule {
    /* background handled by dynamic first/last section rules */
}

.schedule-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.schedule-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 48px;
}

.calendly-preview {
    position: relative;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(99, 102, 241, 0.05) 100%);
    border: 2px solid rgba(99, 102, 241, 0.3);
    border-radius: 16px;
    overflow: hidden;
    padding: 40px;
}

.calendly-badge {
    position: absolute;
    top: 14px;
    right: -40px;
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
    padding: 5px 50px;
    transform: rotate(45deg);
    box-shadow: 0 2px 8px rgba(20, 184, 166, 0.3);
    z-index: 10;
    text-decoration: none;
    transition: all 0.2s ease;
}

.calendly-badge:hover {
    background: linear-gradient(135deg, #2dd4bf 0%, #14b8a6 100%);
    box-shadow: 0 3px 12px rgba(20, 184, 166, 0.5);
}

.calendly-badge-text {
    color: white;
    font-size: 0.5rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
    text-align: center;
    line-height: 1.2;
}

.calendly-badge-text strong {
    font-weight: 600;
    display: block;
    font-size: 0.65rem;
    text-transform: none;
    letter-spacing: 0;
}

.calendly-preview-header {
    margin-bottom: 32px;
    text-align: center;
}

.calendly-preview-header h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.calendly-preview-header p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.calendly-preview-body {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.meeting-option {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: rgba(99, 102, 241, 0.15);
    border: 2px solid rgba(99, 102, 241, 0.25);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.meeting-option:hover {
    background: rgba(99, 102, 241, 0.25);
    border-color: rgba(99, 102, 241, 0.5);
}

.meeting-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    flex-shrink: 0;
}

.meeting-info {
    flex: 1;
    text-align: left;
}

.meeting-name {
    font-size: 1rem;
    color: var(--text-primary);
    margin: 0;
    font-weight: 600;
}

.meeting-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 4px 0 0 0;
}

.meeting-book {
    padding: 12px 24px;
    background: var(--accent-primary);
    color: white !important;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    flex-shrink: 0;
}

.meeting-book:hover {
    background: var(--accent-secondary);
    color: white !important;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

.meeting-book i {
    color: white !important;
    transition: transform 0.3s ease;
}

.meeting-book:hover i {
    transform: translateX(3px);
}

.calendly-preview {
    margin-bottom: 40px;
}

.schedule-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.benefit-card {
    background: rgba(99, 102, 241, 0.15);
    border: 2px solid rgba(99, 102, 241, 0.25);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: all var(--transition-fast);
}

.benefit-card:hover {
    background: rgba(99, 102, 241, 0.25);
    border-color: rgba(99, 102, 241, 0.5);
    transform: translateY(-4px);
}

.benefit-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-primary);
}

.benefit-card h4 {
    font-size: 1rem;
    color: var(--text-primary);
    margin: 0 0 8px 0;
}

.benefit-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
    /* background handled by dynamic first/last section rules */
}

.contact-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.contact-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 48px;
}

.contact-methods {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex: 0 1 auto;
    min-width: 220px;
    max-width: 320px;
}

.contact-method:hover {
    border-color: var(--accent-primary);
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow), 0 8px 30px rgba(0, 0, 0, 0.2);
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gradient);
    border-radius: 12px;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-info {
    text-align: left;
    min-width: 0;
    flex: 1;
}

.contact-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.contact-value {
    display: block;
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    padding: 40px 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
}

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

.footer-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

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

.footer-links a {
    color: var(--text-muted);
    font-size: 1.1rem;
    transition: color var(--transition-fast);
}

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

/* ============================================
   Animations
   ============================================ */
.animate-fade-in {
    animation: fadeIn 0.8s ease forwards;
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.1s; opacity: 0; }
.delay-2 { animation-delay: 0.2s; opacity: 0; }
.delay-3 { animation-delay: 0.3s; opacity: 0; }
.delay-4 { animation-delay: 0.4s; opacity: 0; }

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Scroll Animations System
   ============================================ */

/* Disable transitions when needed */
.no-transition,
.no-transition * {
    transition: none !important;
}

/* Base state for scroll-triggered animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: var(--stagger-delay, 0s);
}

/* Animated state - element has entered viewport */
.animate-on-scroll.animated {
    opacity: 1;
    transform: none;
}

/* After animation completes, restore normal transitions for hover effects */
.animate-on-scroll.animated {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.3s ease,
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.3s ease,
                background-color 0.3s ease;
    transition-delay: 0s;
}

/* Project cards */
.project-card.animate-on-scroll:not(.animated) {
    transform: translateY(40px) scale(0.95);
    opacity: 0;
}

.project-card.animate-on-scroll.animated {
    transform: none;
    opacity: 1;
}

/* Hover state for animated project cards - needs higher specificity */
.project-card.animate-on-scroll.animated:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-lg), 0 0 50px rgba(99, 102, 241, 0.25);
}

/* Section titles - slide from left */
.section-title.animate-on-scroll:not(.animated) {
    transform: translateX(-30px);
    opacity: 0;
}

/* Skill categories */
.skill-category.animate-on-scroll:not(.animated) {
    transform: translateY(30px) scale(0.98);
    opacity: 0;
}

/* Hover state for animated skill categories */
.skill-category.animate-on-scroll.animated:hover {
    transform: translateY(-6px);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-glow), 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* Timeline items - slide from left */
.timeline-item.animate-on-scroll:not(.animated) {
    transform: translateX(-30px);
    opacity: 0;
}

/* Hover state for animated timeline content */
.timeline-item.animate-on-scroll.animated .timeline-content:hover {
    transform: translateX(8px) translateY(-4px);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(99, 102, 241, 0.15);
}

/* Contact methods */
.contact-method.animate-on-scroll:not(.animated) {
    transform: translateY(30px) scale(0.98);
    opacity: 0;
}

/* Hover state for animated contact methods */
.contact-method.animate-on-scroll.animated:hover {
    transform: translateY(-6px);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-glow), 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* Hero schedule */
.hero-schedule.animate-on-scroll:not(.animated) {
    transform: translateY(40px);
    opacity: 0;
}

/* Calendly preview */
.calendly-preview.animate-on-scroll:not(.animated) {
    transform: translateY(30px) scale(0.98);
    opacity: 0;
}

/* Benefit cards */
.benefit-card.animate-on-scroll:not(.animated) {
    transform: translateY(30px);
    opacity: 0;
}

/* About section elements */
.about-text.animate-on-scroll:not(.animated) {
    transform: translateX(-30px);
    opacity: 0;
}

.about-image.animate-on-scroll:not(.animated) {
    transform: translateX(30px) scale(0.95);
    opacity: 0;
}

.about-stats.animate-on-scroll:not(.animated) {
    transform: translateY(30px);
    opacity: 0;
}

/* Education cards */
.education-card.animate-on-scroll:not(.animated) {
    transform: translateY(30px) scale(0.98);
    opacity: 0;
}

/* Hover state for animated education cards */
.education-card.animate-on-scroll.animated:hover {
    transform: translateY(-6px);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-glow), 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* ============================================
   Empty State
   ============================================ */
.empty-message {
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
    padding: 40px;
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px dashed var(--border-color);
}

/* ============================================
   Responsive Design
   ============================================ */

/* Large Desktop / 4K adjustments */
@media (min-width: 1920px) {
    :root {
        --container-width: 1400px;
    }

    .hero-content {
        gap: 80px;
    }

    .hero-image {
        width: 400px;
        height: 400px;
    }

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

/* Regular Desktop */
@media (max-width: 1200px) {
    .hero-content {
        gap: 40px;
    }

    .hero-image {
        width: 300px;
        height: 300px;
    }

    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 1024px) {
    :root {
        --section-padding: 100px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        margin-bottom: 120px;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-name.typewriter {
        text-align: center !important;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
        padding: 0 20px;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-social {
        justify-content: center;
    }

    .hero-image {
        width: 180px;
        height: 180px;
        margin: 0 auto 24px;
        order: -1; /* Show image above text */
    }

    .hero-image .image-wrapper {
        border-radius: 50%; /* Circular on tablet/mobile */
    }

    .hero-schedule {
        bottom: 60px;
        max-width: 500px;
    }

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

    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    }
}

@media (max-width: 1100px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-secondary);
        flex-direction: column;
        padding: 100px 24px 40px;
        transition: right var(--transition-normal);
        border-left: 1px solid var(--border-color);
    }

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

    .nav-toggle {
        display: block;
        z-index: 1001;
    }

    .nav-toggle.active .hamburger {
        background: transparent;
    }

    .nav-toggle.active .hamburger::before {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active .hamburger::after {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .nav-link {
        padding: 16px;
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
    }

    .hero {
        padding: 100px 20px 40px;
        min-height: auto;
        display: flex;
        flex-direction: column;
    }

    .hero-content {
        margin-bottom: 32px;
    }

    .hero-image {
        width: 140px;
        height: 140px;
        margin: 0 auto 20px;
    }

    .hero-name {
        font-size: clamp(2rem, 10vw, 3.5rem);
    }

    .hero-title {
        font-size: clamp(1rem, 4vw, 1.5rem);
    }

    .hero-schedule {
        position: relative;
        bottom: auto;
        left: auto;
        right: auto;
        max-width: 100%;
        width: 100%;
        padding: 0 16px;
        margin: 0;
        z-index: 1;
    }

    .hero-schedule .calendly-preview {
        border-radius: 16px;
    }

    .hero-schedule .meeting-option {
        flex-direction: row;
        text-align: left;
        gap: 12px;
        padding: 12px 16px;
    }

    .hero-schedule .meeting-info {
        flex: 1;
        text-align: left;
    }

    .hero-schedule .meeting-book {
        width: auto;
        padding: 10px 16px;
        font-size: 0.85rem;
    }

    .hero-schedule .meeting-icon {
        width: 32px;
        height: 32px;
        flex-shrink: 0;
    }

    .hero-schedule .meeting-desc {
        display: none; /* Hide description on small screens to save space */
    }

    .timeline {
        padding-left: 30px;
    }

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

    .timeline-marker {
        left: -30px;
        width: 12px;
        height: 12px;
    }

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

    .timeline-content:hover {
        transform: translateY(-4px);
    }

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

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

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

    .contact-methods {
        flex-direction: column;
        align-items: stretch;
    }

    .contact-method {
        max-width: none;
        width: 100%;
    }

    .schedule-benefits {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .section-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

    .section-title::after {
        max-width: 100px;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 60px;
    }

    .hero {
        padding: 90px 16px 32px;
    }

    .hero-content {
        margin-bottom: 24px;
    }

    .hero-image {
        width: 120px;
        height: 120px;
        margin: 0 auto 16px;
    }

    .container {
        padding: 0 16px;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .btn {
        width: 100%;
        justify-content: center;
        padding: 16px 24px;
    }

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

    .hero-schedule {
        padding: 0 12px;
    }

    .hero-schedule .calendly-preview {
        padding: 14px;
        border-radius: 12px;
    }

    .hero-schedule .calendly-preview-header {
        margin-bottom: 10px;
    }

    .hero-schedule .calendly-preview-header h3 {
        font-size: 0.95rem;
    }

    .hero-schedule .calendly-preview-header p {
        font-size: 0.75rem;
    }

    .hero-schedule .meeting-option {
        padding: 10px 12px;
        gap: 10px;
    }

    .hero-schedule .meeting-icon {
        width: 28px;
        height: 28px;
    }

    .hero-schedule .meeting-name {
        font-size: 0.85rem;
    }

    .hero-schedule .meeting-book {
        padding: 8px 14px;
        font-size: 0.8rem;
    }

    .skill-category {
        padding: 20px;
    }

    .skill-tags {
        gap: 8px;
    }

    .skill-tag {
        padding: 6px 12px;
        font-size: 0.85rem;
    }

    .timeline-content {
        padding: 18px;
    }

    .education-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .education-icon {
        margin: 0 auto;
    }

    .contact-method {
        flex-direction: column;
        text-align: center;
        padding: 16px;
    }

    .contact-info {
        text-align: center;
    }

    .hero-schedule {
        margin: 0;
        padding: 0 16px;
    }

    .hero-schedule .calendly-preview {
        padding: 16px;
    }

    .hero::after {
        display: none;
    }

    .hero-schedule .calendly-preview-header {
        margin-bottom: 12px;
    }

    .hero-schedule .calendly-preview-header h3 {
        font-size: 1rem;
    }

    .hero-schedule .meeting-option {
        flex-direction: column;
        text-align: center;
        gap: 12px;
        padding: 14px;
    }

    .hero-schedule .meeting-info {
        text-align: center;
    }

    .hero-schedule .meeting-book {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
    }

    .schedule-benefits {
        grid-template-columns: 1fr;
    }

    .benefit-card {
        padding: 16px;
    }

    .project-card {
        border-radius: 12px;
    }

    .project-content {
        padding: 16px;
    }

    .project-title {
        font-size: 1.1rem;
    }

    .calendly-preview {
        padding: 24px;
    }
}

/* ============================================
   Theme Toggle Button
   ============================================ */
.nav-actions {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 12px;
}

.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 40px;
    height: 40px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.theme-toggle:hover {
    background: var(--bg-card);
    color: var(--accent-primary);
    border-color: var(--accent-primary);
    transform: scale(1.05);
}

.theme-tooltip {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--bg-card);
    color: var(--text-primary);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
    animation: tooltipFade 1.5s ease forwards;
    z-index: 1001;
}

.theme-tooltip::before {
    content: '';
    position: absolute;
    bottom: 100%;
    right: 12px;
    border: 6px solid transparent;
    border-bottom-color: var(--border-light);
}

.theme-tooltip::after {
    content: '';
    position: absolute;
    bottom: 100%;
    right: 13px;
    border: 5px solid transparent;
    border-bottom-color: var(--bg-card);
}

@keyframes tooltipFade {
    0% {
        opacity: 0;
        transform: translateY(-4px);
    }
    15% {
        opacity: 1;
        transform: translateY(0);
    }
    85% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-4px);
    }
}

.theme-icon {
    width: 20px;
    height: 20px;
    position: absolute;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: scale(0.8);
}

/* Show appropriate icon based on theme */
[data-theme="dark"] .theme-icon-dark,
:root:not([data-theme]) .theme-icon-dark {
    opacity: 1;
    transform: scale(1);
}

[data-theme="normal"] .theme-icon-normal {
    opacity: 1;
    transform: scale(1);
}

[data-theme="light"] .theme-icon-light {
    opacity: 1;
    transform: scale(1);
}

/* ============================================
   Theme Picker Modal
   ============================================ */
.theme-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.theme-modal.active {
    opacity: 1;
    visibility: visible;
}

.theme-modal-content {
    background: linear-gradient(145deg, rgba(30, 30, 35, 0.95), rgba(20, 20, 25, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 28px;
    padding: 48px 56px;
    text-align: center;
    max-width: 480px;
    width: 90%;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset,
        0 0 100px rgba(99, 102, 241, 0.1);
}

.theme-modal.active .theme-modal-content {
    transform: scale(1) translateY(0);
}

.theme-modal-content h2 {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, #a0a0b0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.theme-modal-content > p {
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 36px;
    font-size: 1rem;
}

.theme-options {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.theme-option {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 32px 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 140px;
    overflow: hidden;
}

.theme-option::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.15), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.theme-option:hover::before {
    opacity: 1;
}

.theme-option:hover {
    border-color: rgba(99, 102, 241, 0.5);
    transform: translateY(-6px);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(99, 102, 241, 0.2);
}

.theme-option:active {
    transform: translateY(-2px) scale(0.98);
}

/* Dark option specific */
.theme-option[data-theme="dark"] {
    background: linear-gradient(145deg, rgba(15, 15, 20, 0.8), rgba(25, 25, 35, 0.6));
}

.theme-option[data-theme="dark"]:hover {
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(139, 92, 246, 0.15);
}

/* Light option specific */
.theme-option[data-theme="light"] {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
}

.theme-option[data-theme="light"]:hover {
    border-color: rgba(251, 191, 36, 0.5);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(251, 191, 36, 0.15);
}

.theme-option-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.theme-option-icon svg {
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.theme-option:hover .theme-option-icon svg {
    transform: scale(1.1);
}

.theme-option[data-theme="dark"] .theme-option-icon svg {
    color: #a78bfa;
    filter: drop-shadow(0 0 8px rgba(167, 139, 250, 0.4));
}

.theme-option[data-theme="dark"]:hover .theme-option-icon svg {
    filter: drop-shadow(0 0 16px rgba(167, 139, 250, 0.6));
}

.theme-option[data-theme="light"] .theme-option-icon svg {
    color: #fbbf24;
    filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.4));
}

.theme-option[data-theme="light"]:hover .theme-option-icon svg {
    filter: drop-shadow(0 0 16px rgba(251, 191, 36, 0.6));
}

.theme-option span {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 1;
    letter-spacing: 0.01em;
}

.theme-modal-hint {
    margin-top: 32px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 480px) {
    .theme-modal-content {
        padding: 36px 28px;
    }

    .theme-options {
        flex-direction: column;
        gap: 16px;
    }

    .theme-option {
        width: 100%;
        padding: 24px;
        flex-direction: row;
        justify-content: center;
    }

    .theme-option-icon {
        width: 40px;
        height: 40px;
    }
}

/* ============================================
   Normal Theme - Clean, Readable, In-Between
   Microsoft-inspired with colored skill icons
   ============================================ */
[data-theme="normal"] {
    /* Warm cream/off-white - easy on eyes, not harsh */
    --bg-primary: #faf8f5;
    --bg-secondary: #f3f0eb;
    --bg-tertiary: #e8e4dd;
    --bg-card: #ffffff;

    /* High contrast, very readable dark text */
    --text-primary: #1a1a1a;
    --text-secondary: #3d3d3d;
    --text-muted: #666666;

    /* Microsoft-like blue with teal accent */
    --accent-primary: #0078d4;
    --accent-secondary: #107c6c;
    --accent-tertiary: #5c2d91;

    /* Visible but subtle borders */
    --border-color: #d9d5cf;
    --border-light: #c9c4bc;

    /* Clean shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 0 20px rgba(0, 120, 212, 0.15);
}

/* Navigation - Normal */
[data-theme="normal"] .navbar {
    background: transparent;
}

[data-theme="normal"] .navbar.scrolled {
    background: rgba(250, 248, 245, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

[data-theme="normal"] .nav-logo {
    background: var(--accent-primary);
    border: none;
    color: white;
}

[data-theme="normal"] .nav-logo:hover {
    background: #106ebe;
}

[data-theme="normal"] .nav-link {
    color: var(--text-secondary);
    font-weight: 500;
}

[data-theme="normal"] .nav-link:hover,
[data-theme="normal"] .nav-link.active {
    color: var(--accent-primary);
    background: rgba(0, 120, 212, 0.08);
}

[data-theme="normal"] .theme-toggle {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

[data-theme="normal"] .theme-toggle:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

[data-theme="normal"] .hamburger,
[data-theme="normal"] .hamburger::before,
[data-theme="normal"] .hamburger::after {
    background: var(--text-primary);
}

/* Hero - Normal - warm and inviting */
[data-theme="normal"] .hero {
    background: linear-gradient(180deg, #faf8f5 0%, #f3f0eb 100%);
}

[data-theme="normal"] .hero-gradient {
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(0, 120, 212, 0.08), transparent),
        radial-gradient(ellipse 60% 40% at 20% 80%, rgba(16, 124, 108, 0.06), transparent);
}

[data-theme="normal"] .hero-grid {
    background-image:
        linear-gradient(rgba(0, 120, 212, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 124, 108, 0.04) 1px, transparent 1px);
}

[data-theme="normal"] .hero::after {
    background: linear-gradient(to bottom, transparent, #faf8f5);
}

[data-theme="normal"] .hero-greeting {
    color: var(--accent-secondary);
    font-weight: 600;
}

[data-theme="normal"] .hero-name {
    color: var(--text-primary) !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: var(--text-primary) !important;
}

[data-theme="normal"] .hero-title {
    color: var(--text-secondary) !important;
}

[data-theme="normal"] .hero-subtitle {
    color: var(--text-muted) !important;
    font-weight: 450;
}

/* Buttons - Normal */
[data-theme="normal"] .btn-primary {
    background: var(--accent-primary);
    color: white;
    box-shadow: 0 2px 8px rgba(0, 120, 212, 0.25);
}

[data-theme="normal"] .btn-primary:hover {
    background: #106ebe;
    box-shadow: 0 4px 12px rgba(0, 120, 212, 0.35);
}

[data-theme="normal"] .btn-outline {
    border: 2px solid var(--accent-primary);
    color: var(--accent-primary);
    background: transparent;
}

[data-theme="normal"] .btn-outline:hover {
    background: var(--accent-primary);
    color: white;
}

/* Social Links - Normal */
[data-theme="normal"] .social-link {
    background: var(--bg-card);
    border: 2px solid var(--accent-primary);
    color: var(--accent-primary);
}

[data-theme="normal"] .social-link:hover {
    background: var(--accent-primary);
    color: white;
}

/* Section Backgrounds - Normal */
[data-theme="normal"] .section {
    background: var(--bg-primary);
}

[data-theme="normal"] main > section:nth-of-type(even) {
    background: var(--bg-secondary);
}

/* Section Titles - Normal */
[data-theme="normal"] .section-title {
    color: var(--text-primary);
}

[data-theme="normal"] .section-title::after {
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary), transparent);
}

[data-theme="normal"] .title-number {
    color: var(--accent-primary);
}

/* Cards - Normal - clean white with subtle shadows */
[data-theme="normal"] .education-card,
[data-theme="normal"] .project-card,
[data-theme="normal"] .timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    border-radius: 8px;
}

[data-theme="normal"] .education-card:hover,
[data-theme="normal"] .project-card:hover,
[data-theme="normal"] .timeline-content:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--accent-primary);
}

[data-theme="normal"] .contact-method,
[data-theme="normal"] .info-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

[data-theme="normal"] .contact-method:hover {
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-md);
}

/* Skill Categories - Normal */
[data-theme="normal"] .skill-category {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

[data-theme="normal"] .skill-category:hover {
    box-shadow: var(--shadow-md);
}

[data-theme="normal"] .category-title {
    color: var(--text-primary);
    font-weight: 600;
}

/* ============================================
   SKILL TAGS - Normal - COLORED WITH GLOW!
   Icons show their brand colors by default
   ============================================ */
[data-theme="normal"] .skill-tag {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-weight: 500;
    box-shadow: var(--shadow-sm);
    position: relative;
}

/* Make icons COLORFUL by default - show their brand colors */
[data-theme="normal"] .skill-tag i {
    filter: none !important;
    opacity: 1 !important;
}

/* SVG icons - show in color */
[data-theme="normal"] .skill-icon-img {
    filter: none !important;
    opacity: 1 !important;
}

/* Add subtle glow to skill tags */
[data-theme="normal"] .skill-tag::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(135deg,
        rgba(0, 120, 212, 0.15),
        rgba(16, 124, 108, 0.15),
        rgba(92, 45, 145, 0.1)
    );
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

[data-theme="normal"] .skill-tag:hover::after {
    opacity: 1;
}

[data-theme="normal"] .skill-tag:hover {
    border-color: var(--accent-primary);
    box-shadow:
        var(--shadow-md),
        0 0 20px rgba(0, 120, 212, 0.2);
    transform: translateY(-2px);
}

/* Tech tags in projects/experience - also colorful */
[data-theme="normal"] .tech-tag {
    background: rgba(0, 120, 212, 0.08);
    border: 1px solid rgba(0, 120, 212, 0.2);
    color: var(--accent-primary);
    font-weight: 500;
}

[data-theme="normal"] .tech-skill-icon {
    filter: none !important;
    opacity: 1 !important;
}

/* Timeline - Normal */
[data-theme="normal"] .timeline::before {
    background: var(--accent-primary);
}

[data-theme="normal"] .timeline-marker {
    background: var(--accent-primary);
    border: 3px solid var(--bg-primary);
    box-shadow: 0 0 0 2px var(--accent-primary);
}

[data-theme="normal"] .timeline-title {
    color: var(--text-primary);
    font-weight: 600;
}

[data-theme="normal"] .timeline-company {
    color: var(--accent-primary);
    font-weight: 500;
}

[data-theme="normal"] .timeline-date,
[data-theme="normal"] .timeline-work-type {
    color: var(--text-muted);
}

[data-theme="normal"] .timeline-description {
    color: var(--text-secondary);
    font-weight: 450;
}

/* Education - Normal */
[data-theme="normal"] .education-degree {
    color: var(--text-primary);
    font-weight: 600;
}

[data-theme="normal"] .education-institution {
    color: var(--accent-primary);
}

[data-theme="normal"] .education-field,
[data-theme="normal"] .education-description {
    color: var(--text-secondary);
    font-weight: 450;
}

/* Projects - Normal */
[data-theme="normal"] .project-image {
    background: var(--bg-secondary);
}

[data-theme="normal"] .project-placeholder {
    background: linear-gradient(135deg, rgba(0, 120, 212, 0.1), rgba(16, 124, 108, 0.1));
    color: var(--accent-primary);
}

[data-theme="normal"] .project-title {
    color: var(--text-primary);
    font-weight: 600;
}

[data-theme="normal"] .project-description {
    color: var(--text-secondary);
    font-weight: 450;
}

[data-theme="normal"] .project-links a {
    color: var(--accent-primary);
    font-weight: 500;
}

[data-theme="normal"] .project-links a:hover {
    color: var(--accent-secondary);
}

/* Schedule/Calendly - Normal */
[data-theme="normal"] .calendly-preview {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

[data-theme="normal"] .meeting-option {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
}

[data-theme="normal"] .meeting-option:hover {
    border-color: var(--accent-primary);
    background: var(--bg-card);
}

[data-theme="normal"] .meeting-name {
    color: var(--text-primary);
}

[data-theme="normal"] .meeting-desc {
    color: var(--text-secondary);
}

/* Contact - Normal */
[data-theme="normal"] .contact-text {
    color: var(--text-secondary);
    font-weight: 450;
}

[data-theme="normal"] .contact-icon {
    background: var(--accent-primary);
    color: white;
}

[data-theme="normal"] .contact-label {
    color: var(--accent-primary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
}

[data-theme="normal"] .contact-value {
    color: var(--text-primary);
}

/* About - Normal */
[data-theme="normal"] .about-text {
    color: var(--text-secondary);
    font-weight: 450;
    line-height: 1.8;
}

[data-theme="normal"] .info-label {
    color: var(--accent-primary);
    font-weight: 600;
}

[data-theme="normal"] .info-value {
    color: var(--text-primary);
}

/* Footer - Normal */
[data-theme="normal"] .footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

[data-theme="normal"] .footer-content p {
    color: var(--text-muted);
}

[data-theme="normal"] .footer-links a {
    color: var(--text-muted);
}

[data-theme="normal"] .footer-links a:hover {
    color: var(--accent-primary);
}

/* Nav Menu - Normal */
[data-theme="normal"] .nav-menu {
    background: transparent;
}

@media (max-width: 1100px) {
    [data-theme="normal"] .nav-menu {
        background: var(--bg-card);
        border-left: 1px solid var(--border-color);
        box-shadow: -4px 0 12px rgba(0, 0, 0, 0.08);
    }
}

/* Floating CTA - Normal */
[data-theme="normal"] .floating-cta-btn {
    background: var(--accent-primary);
    box-shadow: 0 4px 16px rgba(0, 120, 212, 0.35);
}

[data-theme="normal"] .floating-cta-btn:hover {
    background: #106ebe;
    box-shadow: 0 6px 20px rgba(0, 120, 212, 0.45);
}

/* Typewriter - Normal */
[data-theme="normal"] .typewriter-text {
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: var(--text-primary);
}

[data-theme="normal"] .typewriter-cursor {
    -webkit-text-fill-color: var(--accent-primary);
    color: var(--accent-primary);
}

/* Body text - Light - slightly bolder for readability */
[data-theme="light"] .about-text,
[data-theme="light"] .timeline-description,
[data-theme="light"] .education-description,
[data-theme="light"] .project-description,
[data-theme="light"] .schedule-description,
[data-theme="light"] .contact-text,
[data-theme="light"] .hero-subtitle {
    font-weight: 450;
}

/* ============================================
   Light Theme - Warm, Colorful & Accessible
   ============================================ */
[data-theme="light"] {
    /* Warm off-white - easy on the eyes */
    --bg-primary: #f8fafc;
    --bg-secondary: #f1f5f9;
    --bg-tertiary: #e2e8f0;
    --bg-card: #ffffff;

    /* Readable dark text with good contrast */
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #64748b;

    /* Vibrant blue & green accents */
    --accent-primary: #2563eb;
    --accent-secondary: #10b981;
    --accent-tertiary: #8b5cf6;

    --border-color: #e2e8f0;
    --border-light: #cbd5e1;

    /* Friendly shadows with color tint */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 20px rgba(37, 99, 235, 0.15);
}

/* Hero Section - Light - Green gradient flowing into About */
[data-theme="light"] .hero {
    background: linear-gradient(180deg, #bbf7d0 0%, #d1fae5 100%) !important;
}

[data-theme="light"] .hero-gradient {
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(16, 185, 129, 0.15), transparent),
        radial-gradient(ellipse 60% 40% at 20% 80%, rgba(5, 150, 105, 0.12), transparent),
        radial-gradient(ellipse 50% 30% at 80% 60%, rgba(52, 211, 153, 0.1), transparent);
}

[data-theme="light"] .hero-grid {
    background-image:
        linear-gradient(rgba(16, 185, 129, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(5, 150, 105, 0.08) 1px, transparent 1px);
}

[data-theme="light"] .hero::after {
    background: linear-gradient(to bottom, transparent, #d1fae5);
}

[data-theme="light"] .hero-greeting {
    color: var(--accent-secondary);
    font-weight: 600;
}

[data-theme="light"] .hero-name {
    color: #1e293b !important;
    background: linear-gradient(135deg, #2563eb, #10b981) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

[data-theme="light"] .hero-title {
    color: #334155 !important;
}

[data-theme="light"] .hero-subtitle {
    color: #475569 !important;
}

/* Navigation - Light */
[data-theme="light"] .navbar {
    background: transparent;
}

[data-theme="light"] .navbar.scrolled {
    background: rgba(248, 250, 252, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .nav-logo {
    background: linear-gradient(135deg, #2563eb, #10b981);
    border: none;
    color: white;
}

[data-theme="light"] .nav-logo:hover {
    background: linear-gradient(135deg, #1d4ed8, #059669);
    color: white;
    transform: scale(1.05);
}

[data-theme="light"] .nav-link {
    color: var(--text-secondary);
    font-weight: 500;
}

[data-theme="light"] .nav-link:hover,
[data-theme="light"] .nav-link.active {
    color: var(--accent-primary);
    background: rgba(37, 99, 235, 0.08);
}

[data-theme="light"] .theme-toggle {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    color: var(--text-secondary);
}

[data-theme="light"] .theme-toggle:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    background: rgba(37, 99, 235, 0.05);
}

[data-theme="light"] .hamburger,
[data-theme="light"] .hamburger::before,
[data-theme="light"] .hamburger::after {
    background: var(--text-primary);
}

/* Social Links - Light - colorful */
[data-theme="light"] .social-link {
    background: var(--bg-card);
    border: 2px solid var(--accent-primary);
    color: var(--accent-primary);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.15);
}

[data-theme="light"] .social-link:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* Buttons - Light - vibrant */
[data-theme="light"] .btn-primary {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    border: none;
}

[data-theme="light"] .btn-primary:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
    transform: translateY(-2px);
}

[data-theme="light"] .btn-outline {
    border: 2px solid var(--accent-primary);
    color: var(--accent-primary);
    background: transparent;
}

[data-theme="light"] .btn-outline:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: white;
}

/* Section Backgrounds - Light - soft rainbow flow */
/* Section gradients by position (not by section type) */
/* This ensures gradients flow correctly regardless of section order */

/* 1st section: soft green to cream */
[data-theme="light"] main > section:nth-of-type(2) {
    background: linear-gradient(180deg, #d1fae5 0%, #fef9c3 100%) !important;
}

/* 2nd section: cream to soft pink */
[data-theme="light"] main > section:nth-of-type(3) {
    background: linear-gradient(180deg, #fef9c3 0%, #fce7f3 100%) !important;
}

/* 3rd section: soft pink to lavender */
[data-theme="light"] main > section:nth-of-type(4) {
    background: linear-gradient(180deg, #fce7f3 0%, #ede9fe 100%) !important;
}

/* 4th section: lavender to light cyan */
[data-theme="light"] main > section:nth-of-type(5) {
    background: linear-gradient(180deg, #ede9fe 0%, #cffafe 100%) !important;
}

/* 5th section: light cyan to soft green */
[data-theme="light"] main > section:nth-of-type(6) {
    background: linear-gradient(180deg, #cffafe 0%, #d1fae5 100%) !important;
}

/* 6th section: soft green to cream */
[data-theme="light"] main > section:nth-of-type(7) {
    background: linear-gradient(180deg, #d1fae5 0%, #fef9c3 100%) !important;
}

/* 7th section: cream to light blue */
[data-theme="light"] main > section:nth-of-type(8) {
    background: linear-gradient(180deg, #fef9c3 0%, #dbeafe 100%) !important;
}

/* Section Titles - Light - with color accent */
[data-theme="light"] .section-title {
    color: var(--text-primary);
}

[data-theme="light"] .section-title::after {
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary), transparent);
}

[data-theme="light"] .title-number {
    color: var(--accent-secondary);
    font-weight: 700;
}

/* Cards - Light - clean with subtle shadows */
[data-theme="light"] .education-card,
[data-theme="light"] .project-card,
[data-theme="light"] .timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border-radius: 12px;
}

[data-theme="light"] .contact-method,
[data-theme="light"] .info-item {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border-radius: 12px;
}

[data-theme="light"] .skill-category {
    background: var(--bg-card);
    border: 2px solid transparent;
    border-image: linear-gradient(135deg, #2563eb, #10b981) 1;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
    border-radius: 16px;
    border-image: none;
    border-color: #e2e8f0;
    position: relative;
    overflow: hidden;
}

[data-theme="light"] .skill-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #10b981, #8b5cf6);
}

[data-theme="light"] .skill-category:hover,
[data-theme="light"] .education-card:hover,
[data-theme="light"] .project-card:hover,
[data-theme="light"] .contact-method:hover,
[data-theme="light"] .timeline-content:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.15);
    transform: translateY(-2px);
}

/* Skills - Light - Colorful by default! */
[data-theme="light"] .category-title {
    color: var(--text-primary);
    font-weight: 600;
}

/* Skill tags - semi-transparent indigo background with black text */
[data-theme="light"] .skill-tag {
    background: rgba(99, 102, 241, 0.18);
    border: 1px solid var(--glow-color);
    color: #1f2937;
    font-weight: 500;
    transition: all 0.15s ease;
}

[data-theme="light"] .skill-tag:hover {
    background: rgba(99, 102, 241, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px color-mix(in srgb, var(--glow-color) 30%, transparent);
}

[data-theme="light"] .skill-tag i {
    filter: none;
    opacity: 1;
    color: var(--glow-color);
}

[data-theme="light"] .skill-icon-img {
    filter:
        brightness(0) saturate(100%)
        drop-shadow(99px 0 0 var(--glow-color));
    transform: translateX(-99px);
    opacity: 1;
}

[data-theme="light"] .tech-skill-icon {
    filter:
        brightness(0) saturate(100%)
        drop-shadow(99px 0 0 var(--glow-color, #6b7280));
    transform: translateX(-99px);
    opacity: 1;
}

/* Timeline - Light - colorful accent */
[data-theme="light"] .timeline::before {
    background: linear-gradient(180deg, #2563eb, #10b981);
}

[data-theme="light"] .timeline-marker {
    background: linear-gradient(135deg, #2563eb, #10b981);
    border: 3px solid white;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

[data-theme="light"] .timeline-title {
    color: var(--text-primary);
    font-weight: 600;
}

[data-theme="light"] .timeline-company {
    color: var(--accent-secondary);
    font-weight: 600;
}

[data-theme="light"] .timeline-date,
[data-theme="light"] .timeline-work-type {
    color: var(--text-muted);
    background: var(--bg-secondary);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.85em;
}

[data-theme="light"] .timeline-description {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Tech tags - styled like dark mode (blue/indigo theme) */
[data-theme="light"] .tech-tag {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: var(--accent-primary);
    font-weight: 500;
    transition: all 0.15s ease;
}

[data-theme="light"] .tech-tag:hover {
    background: rgba(99, 102, 241, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

[data-theme="light"] .tech-tag i {
    filter: none;
    opacity: 1;
    color: var(--glow-color, var(--accent-primary));
}

[data-theme="light"] a.tech-tag {
    color: var(--accent-primary) !important;
}

/* Education - Light */
[data-theme="light"] .education-degree {
    color: var(--text-primary);
}

[data-theme="light"] .education-field,
[data-theme="light"] .education-description {
    color: var(--text-secondary);
}

[data-theme="light"] .education-institution {
    color: var(--accent-primary);
}

[data-theme="light"] .education-date,
[data-theme="light"] .education-gpa {
    color: var(--text-muted);
}

/* Projects - Light - clean cards */
[data-theme="light"] .project-image {
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
}

[data-theme="light"] .project-placeholder {
    background: linear-gradient(135deg, #dbeafe 0%, #d1fae5 100%);
    color: #2563eb;
}

[data-theme="light"] .project-title {
    color: var(--text-primary);
    font-weight: 600;
}

[data-theme="light"] .project-description {
    color: var(--text-secondary);
    line-height: 1.7;
}

[data-theme="light"] .project-links a {
    color: var(--accent-primary);
    background: rgba(37, 99, 235, 0.08);
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 500;
}

[data-theme="light"] .project-links a:hover {
    color: var(--accent-primary);
}

/* Schedule Section - Light */
[data-theme="light"] .calendly-preview {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .calendly-preview-header h3 {
    color: var(--text-primary);
}

[data-theme="light"] .calendly-preview-header p {
    color: var(--text-secondary);
}

[data-theme="light"] .meeting-option {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
}

[data-theme="light"] .meeting-option:hover {
    background: var(--bg-tertiary);
    border-color: var(--accent-primary);
}

[data-theme="light"] .meeting-name {
    color: var(--text-primary);
}

[data-theme="light"] .meeting-desc {
    color: var(--text-secondary);
}

[data-theme="light"] .benefit-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
}

[data-theme="light"] .benefit-card:hover {
    background: var(--bg-card);
    border-color: var(--accent-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .benefit-card h4 {
    color: var(--text-primary);
}

[data-theme="light"] .benefit-card p {
    color: var(--text-secondary);
}

/* Contact - Light - friendly and inviting */
[data-theme="light"] .contact-text {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
}

[data-theme="light"] .contact-label {
    color: var(--accent-primary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

[data-theme="light"] .contact-value {
    color: var(--text-primary);
    font-weight: 500;
}

[data-theme="light"] .contact-icon {
    background: linear-gradient(135deg, #2563eb, #10b981);
    color: white;
}

/* About - Light */
[data-theme="light"] .about-text {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
}

[data-theme="light"] .info-label {
    color: var(--accent-secondary);
    font-weight: 600;
}

[data-theme="light"] .info-value {
    color: var(--text-primary);
}

/* Footer - Light - subtle gradient */
[data-theme="light"] .footer {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, #e0f2fe 100%);
    border-top: 2px solid transparent;
    border-image: linear-gradient(90deg, #2563eb, #10b981, #8b5cf6) 1;
}

[data-theme="light"] .footer-content p {
    color: var(--text-secondary);
}

[data-theme="light"] .footer-links a {
    color: var(--accent-primary);
}

[data-theme="light"] .footer-links a:hover {
    color: var(--accent-secondary);
}

/* Hero Schedule Card - Light */
[data-theme="light"] .hero-schedule .calendly-preview {
    background: var(--bg-card);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12);
    border: 1px solid var(--border-color);
}

/* Nav Menu - Light - transparent on desktop */
[data-theme="light"] .nav-menu {
    background: transparent;
    border-left: none;
}

/* Mobile Nav - Light - clean slide-out */
@media (max-width: 1100px) {
    [data-theme="light"] .nav-menu {
        background: var(--bg-card);
        border-left: 2px solid var(--accent-primary);
        box-shadow: -4px 0 20px rgba(37, 99, 235, 0.1);
    }
}

/* Floating CTA - Light - vibrant gradient */
[data-theme="light"] .floating-cta-btn {
    background: linear-gradient(135deg, #2563eb, #10b981);
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
}

[data-theme="light"] .floating-cta-btn:hover {
    background: linear-gradient(135deg, #1d4ed8, #059669);
    box-shadow: 0 6px 20px rgba(0, 103, 184, 0.4);
}

/* Empty State - Light */
[data-theme="light"] .empty-message {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
}

/* Theme transition for smooth switching */
body,
.navbar,
.nav-link,
.section,
.skill-tag,
.tech-tag,
.footer {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* Interactive elements - full transitions for hover effects + theme color changes */
.btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.3s ease,
                background-color 0.3s ease;
}

.timeline-content {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.3s ease,
                background-color 0.3s ease;
}

.education-card {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.3s ease,
                background-color 0.3s ease;
}

.contact-method {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.3s ease,
                background-color 0.3s ease;
}

.skill-category {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.3s ease,
                background-color 0.3s ease;
}

/* ============================================
   Floating CTA - Book a Call
   ============================================ */
.floating-cta {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 1000;
}

.floating-cta-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px 14px 18px;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    border-radius: 60px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 
        0 4px 20px rgba(139, 92, 246, 0.4),
        0 0 40px rgba(139, 92, 246, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.floating-cta-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.floating-cta-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 8px 30px rgba(139, 92, 246, 0.5),
        0 0 60px rgba(139, 92, 246, 0.3);
}

.floating-cta-btn:hover::before {
    opacity: 1;
}

/* Pulse animation ring */
.floating-cta-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 60px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    z-index: -1;
    animation: cta-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes cta-pulse {
    0%, 100% {
        opacity: 0;
        transform: scale(1);
    }
    50% {
        opacity: 0.4;
        transform: scale(1.08);
    }
}

.floating-cta-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-size: 16px;
    flex-shrink: 0;
}

.floating-cta-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.floating-cta-label {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.floating-cta-sublabel {
    font-size: 11px;
    opacity: 0.85;
    font-weight: 500;
}

/* Entrance animation */
.floating-cta {
    animation: cta-entrance 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s both;
}

@keyframes cta-entrance {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Hide on very small screens, show compact version */
@media (max-width: 480px) {
    .floating-cta {
        bottom: 20px;
        right: 20px;
    }
    
    .floating-cta-btn {
        padding: 12px 16px 12px 14px;
        gap: 8px;
    }
    
    .floating-cta-icon {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .floating-cta-label {
        font-size: 12px;
    }
    
    .floating-cta-sublabel {
        display: none;
    }
}

/* Collapsed state on scroll (optional - controlled by JS) */
.floating-cta.collapsed .floating-cta-text {
    display: none;
}

.floating-cta.collapsed .floating-cta-btn {
    padding: 16px;
    border-radius: 50%;
}

.floating-cta.collapsed .floating-cta-icon {
    margin: 0;
    background: transparent;
}
