/* ==========================================================================
   DESIGN SYSTEM & CUSTOM VARIABLES (Cyber-Biotech Emerald/Cyan Theme)
   ========================================================================== */
:root {
    /* Color Palette */
    --bg-dark: hsl(225, 45%, 5%);
    --bg-card-dark: rgba(10, 16, 32, 0.5);
    --border-dark: rgba(16, 185, 129, 0.15);
    
    --bg-light: hsl(220, 20%, 97%);
    --bg-card-light: rgba(255, 255, 255, 0.7);
    --border-light: rgba(0, 0, 0, 0.08);

    --text-primary-dark: hsl(220, 25%, 90%);
    --text-secondary-dark: hsl(220, 15%, 70%);
    --text-muted-dark: hsl(220, 10%, 50%);

    --text-primary-light: hsl(220, 40%, 15%);
    --text-secondary-light: hsl(220, 20%, 35%);
    --text-muted-light: hsl(220, 10%, 55%);

    /* Primary Accent: Bio-Tech Emerald */
    --accent-emerald: hsl(150, 84%, 43%);
    --accent-emerald-glow: rgba(16, 185, 129, 0.4);
    
    /* Secondary Accent: Electric Cyan */
    --accent-cyan: hsl(188, 100%, 50%);
    --accent-cyan-glow: rgba(0, 210, 255, 0.4);

    --accent-purple: hsl(265, 85%, 65%);

    /* Font Families */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    /* Shadows and Borders */
    --shadow-premium: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    --glass-blur: blur(16px);
    --border-radius-lg: 16px;
    --border-radius-md: 12px;
    --border-radius-sm: 8px;

    /* Transition Rates */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
}

/* Theme Mappings */
.dark-theme {
    --bg-main: var(--bg-dark);
    --bg-card: var(--bg-card-dark);
    --border-color: var(--border-dark);
    --text-primary: var(--text-primary-dark);
    --text-secondary: var(--text-secondary-dark);
    --text-muted: var(--text-muted-dark);
    --glass-shimmer: rgba(255, 255, 255, 0.02);
    --navbar-bg: rgba(7, 10, 19, 0.7);
}

.light-theme {
    --bg-main: var(--bg-light);
    --bg-card: var(--bg-card-light);
    --border-color: var(--border-light);
    --text-primary: var(--text-primary-light);
    --text-secondary: var(--text-secondary-light);
    --text-muted: var(--text-muted-light);
    --glass-shimmer: rgba(0, 0, 0, 0.01);
    --navbar-bg: rgba(247, 247, 247, 0.7);
}

/* ==========================================================================
   RESET & FOUNDATIONS
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.5s ease, color 0.3s ease;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--accent-emerald), var(--accent-cyan));
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-emerald);
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

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

button {
    font-family: inherit;
    background: none;
    border: none;
    cursor: pointer;
}

/* Background Glow Effects */
.glow-bg-primary, .glow-bg-secondary {
    position: fixed;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.15;
    transition: opacity 0.5s ease;
}
.glow-bg-primary {
    top: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-emerald) 0%, transparent 70%);
}
.glow-bg-secondary {
    bottom: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-cyan) 0%, transparent 70%);
}

.light-theme .glow-bg-primary, 
.light-theme .glow-bg-secondary {
    opacity: 0.08;
}

/* ==========================================================================
   NAVBAR & HEADER
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    background-color: var(--navbar-bg);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}
.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    letter-spacing: -0.03em;
    display: flex;
    align-items: center;
}
.logo-accent {
    color: var(--accent-emerald);
    background: linear-gradient(135deg, var(--accent-emerald), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 32px;
}
.nav-link {
    font-size: 0.95rem;
    font-weight: 550;
    color: var(--text-secondary);
    position: relative;
    padding: 6px 0;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-emerald), var(--accent-cyan));
    transition: var(--transition-smooth);
}
.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
}
.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

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

.theme-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}
.theme-btn:hover {
    transform: rotate(15deg) scale(1.05);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 12px var(--border-color);
}

.dark-theme .theme-icon-light { display: none; }
.light-theme .theme-icon-dark { display: none; }

.mobile-menu-btn {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius-sm);
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

/* ==========================================================================
   BUTTON & UI COMPONENTS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--border-radius-md);
    font-size: 0.95rem;
    font-weight: 600;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-emerald), var(--accent-cyan));
    color: hsl(225, 45%, 4%);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 210, 255, 0.4);
}
.btn-primary i {
    transition: transform 0.3s ease;
}
.btn-primary:hover i {
    transform: translateX(4px);
}

.btn-outline {
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    background-color: rgba(255, 255, 255, 0.02);
}
.btn-outline:hover {
    border-color: var(--accent-cyan);
    background-color: rgba(0, 210, 255, 0.05);
    transform: translateY(-2px);
}

.btn-block {
    display: flex;
    justify-content: center;
    width: 100%;
}

/* Glassmorphism Panel Utility */
.glass-panel {
    background-color: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-premium);
    transition: var(--transition-smooth);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    padding: 160px 24px 100px;
    max-width: 1280px;
    margin: 0 auto;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.badge-founder {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 8px 16px;
    border-radius: 50px;
    color: var(--accent-emerald);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    animation: breathing 4s infinite ease-in-out;
}
.badge-icon {
    width: 14px;
    height: 14px;
}
.badge-link {
    color: var(--accent-emerald);
    text-decoration: none;
    font-weight: 700;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease, color 0.2s ease;
}
.badge-link:hover {
    color: var(--accent-cyan);
    border-bottom-color: var(--accent-cyan);
}

.hero-title {
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--text-primary) 30%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: clamp(1.4rem, 2.5vw, 2.2rem);
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 24px;
    height: 48px; /* Prevents layout shifting during typing */
}
#typing-text {
    background: linear-gradient(90deg, var(--accent-emerald), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}
.typing-cursor {
    color: var(--accent-cyan);
    animation: blink 0.8s infinite;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 640px;
}
.hero-description strong {
    color: var(--text-primary);
}

.hero-ctas {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-socials {
    display: flex;
    gap: 16px;
}
.social-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background-color: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}
.social-icon:hover {
    color: var(--accent-cyan);
    border-color: var(--accent-cyan);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 210, 255, 0.15);
}
.whatsapp-btn:hover {
    color: #25D366 !important;
    border-color: #25D366 !important;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25) !important;
}
.contact-link-wa {
    transition: var(--transition-fast);
}
.contact-link-wa:hover {
    color: #25D366 !important;
}

/* Profile Visual Card */
.hero-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-card-glow {
    position: absolute;
    width: 85%;
    height: 85%;
    background: linear-gradient(135deg, var(--accent-emerald), var(--accent-cyan));
    border-radius: var(--border-radius-lg);
    filter: blur(40px);
    opacity: 0.25;
    z-index: 0;
}

.profile-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 380px;
    background-color: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-premium);
    transition: var(--transition-smooth);
}
.profile-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 210, 255, 0.35);
}

.profile-image-wrapper {
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    margin-bottom: 20px;
    background-color: hsl(225, 45%, 8%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

/* Elegant biological vector fallback if image is missing */
.profile-fallback {
    display: none; /* Fallback hidden until javascript error triggers it */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, hsl(225, 45%, 12%) 0%, hsl(225, 45%, 4%) 100%);
    position: relative;
}
.fallback-icon {
    width: 72px;
    height: 72px;
    color: var(--accent-emerald);
    margin-bottom: 12px;
    animation: spin-slow 20s infinite linear;
}
.profile-fallback span {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    background: linear-gradient(135deg, var(--accent-emerald), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.fallback-glow {
    position: absolute;
    width: 50%;
    height: 50%;
    background-color: var(--accent-emerald);
    filter: blur(50px);
    opacity: 0.2;
    pointer-events: none;
}

.profile-card-details {
    text-align: center;
}
.profile-card-name {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 4px;
}
.profile-card-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-cyan);
    margin-bottom: 16px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.profile-card-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: var(--text-secondary);
}
.profile-card-meta span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.profile-card-meta i {
    width: 14px;
    height: 14px;
    color: var(--accent-emerald);
}

/* ==========================================================================
   SECTIONS GENERAL
   ========================================================================== */
section {
    padding: 100px 24px;
    position: relative;
}

.section-container {
    max-width: 1280px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}
.section-tagline {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-emerald);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 12px;
    display: block;
}
.section-title {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 800;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--text-primary) 40%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-top: 16px;
}

/* Scroll Animation Hooks */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   ABOUT & SKILLS SECTION
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: flex-start;
}

.paragraph-highlight {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.5;
    color: var(--text-primary);
    margin-bottom: 20px;
}
.about-text-content p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.about-quick-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 36px;
}
.fact-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 20px 16px;
    text-align: center;
    transition: var(--transition-smooth);
}
.fact-card:hover {
    border-color: var(--accent-emerald);
    transform: translateY(-3px);
}
.fact-card i {
    width: 24px;
    height: 24px;
    color: var(--accent-emerald);
    margin-bottom: 12px;
}
.fact-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 4px;
}
.fact-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

.about-skills {
    background-color: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-premium);
}
.skills-title {
    font-size: 1.3rem;
    margin-bottom: 24px;
    position: relative;
    padding-left: 12px;
}
.skills-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 3px;
    width: 4px;
    height: 18px;
    background: linear-gradient(180deg, var(--accent-emerald), var(--accent-cyan));
    border-radius: 2px;
}

.skills-tabs {
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
    margin-bottom: 24px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Hide scrollbar for Firefox */
}
.skills-tabs::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome, Safari, and Opera */
}
.skills-tab-btn {
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    border-radius: var(--border-radius-sm);
    transition: var(--transition-fast);
    white-space: nowrap;
}
.skills-tab-btn:hover {
    color: var(--text-primary);
    background-color: rgba(255, 255, 255, 0.03);
}
.skills-tab-btn.active {
    color: var(--accent-emerald);
    background-color: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.skills-pane {
    display: none;
    animation: fadeIn 0.4s ease-out forwards;
}
.skills-pane.active {
    display: block;
}

.skills-pane-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.skill-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: var(--border-radius-sm);
    font-size: 0.85rem;
    font-weight: 550;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}
.skill-tag:hover {
    color: var(--text-primary);
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-cyan);
    transform: scale(1.02);
}
.skill-tag i {
    width: 14px;
    height: 14px;
    color: var(--accent-emerald);
}

/* ==========================================================================
   SOLUTIONS SHOWCASE SECTION
   ========================================================================== */
.solutions-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.filter-btn {
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    background-color: var(--bg-card);
    transition: var(--transition-smooth);
}
.filter-btn:hover {
    color: var(--text-primary);
    border-color: var(--accent-emerald);
}
.filter-btn.active {
    background: linear-gradient(135deg, var(--accent-emerald), var(--accent-cyan));
    color: hsl(225, 45%, 4%);
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 30px;
}

.solution-card {
    background-color: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 290px;
    box-shadow: var(--shadow-premium);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}
.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-emerald), var(--accent-cyan));
    opacity: 0;
    transition: var(--transition-smooth);
}
.solution-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 210, 255, 0.25);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}
.solution-card:hover::before {
    opacity: 1;
}

.solution-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.solution-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}
.solution-icon-wrapper.bio {
    background-color: rgba(0, 210, 255, 0.1);
    color: var(--accent-cyan);
    border: 1px solid rgba(0, 210, 255, 0.2);
}
.solution-icon-wrapper.safety {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--accent-emerald);
    border: 1px solid rgba(16, 185, 129, 0.2);
}
.solution-icon-wrapper.edu {
    background-color: rgba(168, 85, 247, 0.1);
    color: var(--accent-purple);
    border: 1px solid rgba(168, 85, 247, 0.2);
}
.solution-icon-wrapper i {
    width: 22px;
    height: 22px;
}

.solution-badge {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.solution-name {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.solution-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.solution-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}
.solution-tech {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
}
.solution-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-cyan);
}
.solution-link i {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
}
.solution-link:hover {
    color: var(--accent-emerald);
}
.solution-link:hover i {
    transform: translate(2px, -2px);
}

/* =style details for solution item animations during filters */
.solution-card.hidden {
    display: none;
}

/* ==========================================================================
   RESEARCH & ACADEMIC SECTION
   ========================================================================== */
.research-section {
    background-color: rgba(255, 255, 255, 0.01);
}

.research-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.research-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-premium);
    position: relative;
    transition: var(--transition-smooth);
}
.research-card:hover {
    transform: translateY(-3px);
    border-color: rgba(16, 185, 129, 0.3);
}

.research-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: rgba(0, 210, 255, 0.1);
    border: 1px solid rgba(0, 210, 255, 0.2);
    color: var(--accent-cyan);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 50px;
    margin-bottom: 20px;
}
.research-card-badge.success {
    background-color: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: var(--accent-emerald);
}
.research-card-badge i {
    width: 12px;
    height: 12px;
}

.research-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
}
.research-card-meta {
    font-size: 0.9rem;
    color: var(--accent-cyan);
    font-weight: 550;
    margin-bottom: 24px;
}

.research-body p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 16px;
}

.research-quote {
    border-left: 3px solid var(--accent-emerald);
    padding-left: 16px;
    font-style: italic;
    color: var(--text-primary);
    font-weight: 600;
    margin: 20px 0;
    font-size: 0.95rem;
}

.research-details-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
}
.research-details-list li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    position: relative;
    padding-left: 20px;
}
.research-details-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    top: -1px;
    color: var(--accent-emerald);
    font-weight: 700;
}

/* ==========================================================================
   TIMELINE & EXPERIENCE SECTION
   ========================================================================== */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent-emerald) 0%, var(--accent-cyan) 80%, transparent 100%);
}

.timeline-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: 60px;
}
.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: 31px;
    top: 6px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--bg-main);
    border: 4px solid var(--accent-emerald);
    z-index: 2;
    transition: var(--transition-smooth);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}
.timeline-item:hover .timeline-dot {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.7);
    transform: scale(1.25);
}

.timeline-date {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent-cyan);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.timeline-content {
    background-color: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-premium);
    transition: var(--transition-smooth);
}
.timeline-content:hover {
    border-color: rgba(16, 185, 129, 0.25);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 10px;
}
.timeline-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
}
.timeline-company {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--accent-emerald);
    background-color: rgba(16, 185, 129, 0.08);
    padding: 4px 12px;
    border-radius: 4px;
    border: 1px solid rgba(16, 185, 129, 0.15);
}

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

.achievements-box {
    background-color: rgba(255, 255, 255, 0.015);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 20px;
}
.achieve-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.achieve-title i {
    width: 14px;
    height: 14px;
    color: var(--accent-cyan);
}

.achieve-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.achieve-list li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    position: relative;
    padding-left: 20px;
}
.achieve-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-emerald);
    font-weight: 800;
}
.achieve-list strong {
    color: var(--text-primary);
}

/* ==========================================================================
   EDUCATION SECTION
   ========================================================================== */
.education-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.education-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 32px;
    position: relative;
    transition: var(--transition-smooth);
}
.education-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-cyan);
}

.education-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius-md);
    background-color: rgba(0, 210, 255, 0.08);
    border: 1px solid rgba(0, 210, 255, 0.15);
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}
.education-icon-wrapper i {
    width: 22px;
    height: 22px;
}

.education-year {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-emerald);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
    display: block;
}

.education-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.education-school {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.education-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 48px;
    margin-top: 40px;
}

.contact-info-pane {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.contact-info-pane h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}
.contact-info-pane p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 32px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: 40px;
}

.contact-info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.info-icon-wrapper {
    width: 44px;
    height: 44px;
    border-radius: var(--border-radius-sm);
    background-color: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.15);
    color: var(--accent-emerald);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.info-icon-wrapper i {
    width: 20px;
    height: 20px;
}

.info-details {
    display: flex;
    flex-direction: column;
}
.info-details span {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}
.info-details a, .info-details p {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}
.info-details a:hover {
    color: var(--accent-cyan);
}

.contact-socials-card {
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
}
.contact-socials-card span {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    display: block;
    margin-bottom: 16px;
}
.socials-row {
    display: flex;
    gap: 12px;
}
.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition-fast);
}
.social-btn:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    background-color: rgba(0, 210, 255, 0.05);
}
.social-btn i {
    width: 16px;
    height: 16px;
}

/* Form Styles */
.contact-form-pane {
    background-color: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-premium);
}
.contact-form-pane h3 {
    font-size: 1.5rem;
    margin-bottom: 28px;
}

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

.form-row-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.form-group label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.form-group input, .form-group textarea {
    padding: 12px 16px;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
    background-color: rgba(0, 0, 0, 0.15);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-fast);
}
.form-group input:focus, .form-group textarea:focus {
    border-color: var(--accent-cyan);
    background-color: rgba(0, 0, 0, 0.25);
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.15);
}

.form-feedback {
    margin-top: 16px;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    border-radius: var(--border-radius-sm);
    padding: 10px;
    display: none;
    animation: fadeIn 0.4s ease forwards;
}
.form-feedback.success {
    display: block;
    background-color: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--accent-emerald);
}
.form-feedback.error {
    display: block;
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: hsl(0, 84%, 60%);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    padding: 60px 24px;
    border-top: 1px solid var(--border-color);
    background-color: rgba(0, 0, 0, 0.25);
    position: relative;
    z-index: 1;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.footer-brand {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}
.footer-brand p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 12px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    font-size: 0.85rem;
    color: var(--text-muted);
    flex-wrap: wrap;
    gap: 20px;
}

.scroll-to-top {
    width: 44px;
    height: 44px;
    border-radius: var(--border-radius-sm);
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}
.scroll-to-top:hover {
    color: var(--accent-emerald);
    border-color: var(--accent-emerald);
    transform: translateY(-3px);
}

/* ==========================================================================
   ANIMATIONS KEYFRAMES
   ========================================================================== */
@keyframes blink {
    50% { opacity: 0; }
}

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

@keyframes breathing {
    0%, 100% { transform: scale(1); box-shadow: 0 0 10px rgba(16, 185, 129, 0.1); }
    50% { transform: scale(1.02); box-shadow: 0 0 18px rgba(16, 185, 129, 0.25); }
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ==========================================================================
   RESPONSIVE DESIGN & MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 40px;
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .research-grid {
        grid-template-columns: 1fr;
    }
    .education-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 12px 0;
    }
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--bg-main);
        backdrop-filter: var(--glass-blur);
        -webkit-backdrop-filter: var(--glass-blur);
        border-top: 1px solid var(--border-color);
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 40px 24px;
        gap: 32px;
        z-index: 999;
        transition: var(--transition-smooth);
        overflow-y: auto; /* Ensures scrollability on small height mobile screens */
    }
    .nav-links.mobile-open {
        left: 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-title {
        font-size: clamp(2.3rem, 7vw, 3.2rem);
        line-height: 1.2;
    }
    .hero-subtitle {
        font-size: clamp(1.15rem, 4vw, 1.5rem);
        height: auto;
        min-height: 48px;
        margin-bottom: 20px;
    }
    .hero-ctas {
        justify-content: center;
    }
    .hero-image-container {
        order: -1; /* Display profile picture above text on mobile devices */
    }

    .timeline::before {
        left: 20px;
    }
    .timeline-item {
        padding-left: 45px;
        margin-bottom: 40px;
    }
    .timeline-dot {
        left: 11px;
    }
    .timeline-content {
        padding: 24px 20px;
    }
    .timeline-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    
    .education-grid {
        grid-template-columns: 1fr;
    }
    .form-row-2 {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    section {
        padding: 70px 16px; /* Tighter padding for mobile screen edges */
    }
    .hero-section {
        padding-top: 130px;
    }
    .hero-ctas {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    .btn {
        width: 100%;
        justify-content: center;
    }
    .about-quick-facts {
        grid-template-columns: 1fr;
    }
    .about-skills {
        padding: 24px 16px;
    }
    .skills-tabs {
        gap: 4px;
        padding-bottom: 8px;
    }
    .skills-tab-btn {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
    .solutions-grid {
        grid-template-columns: 1fr;
    }
    .solution-card {
        padding: 24px 16px;
        min-height: auto;
    }
    .research-card {
        padding: 24px 16px;
    }
    .contact-info-pane, .contact-form-pane {
        padding: 24px 16px;
    }
    .form-group input, .form-group textarea {
        padding: 10px 14px;
    }
}
