
/* 1. CSS CUSTOM PROPERTIES (variables) */
:root {
    /* Colors */
    --bg-dark: #0d1117;
    /* main background */
    --bg-card: #161b22;
    /* card/section background */
    --bg-card-alt: #1c2333;
    /* slightly lighter card */
    --accent-teal: #2dd4bf;
    /* primary accent */
    --accent-glow: #2dd4bf44;
    /* accent with transparency for glows */
    --text-main: #e6edf3;
    /* main text */
    --text-muted: #8b949e;
    /* secondary/muted text */
    --text-code: #79c0ff;
    /* code snippet color */
    --border-dim: #30363d;
    /* subtle borders */

    /* Typography */
    --font-main: 'Space Grotesk', sans-serif;
    --font-code: 'Fira Code', monospace;

    /* Spacing */
    --section-pad: 100px;
    --card-radius: 14px;

    /* Transitions */
    --ease: 0.3s ease;
}


/* 2. RESET & BASE STYLES */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.7;
    overflow-x: hidden;
}


a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}


.section-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}


.section-padding {
    padding: var(--section-pad) 0;
}


.accent {
    color: var(--accent-teal);
}


/*  3. KEYFRAME ANIMATIONS*/


@keyframes ring-pulse {
    0% {
        box-shadow: 0 0 0 0 var(--accent-glow);
    }

    70% {
        box-shadow: 0 0 0 20px transparent;
    }

    100% {
        box-shadow: 0 0 0 0 transparent;
    }
}


@keyframes float-updown {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-14px);
    }
}


@keyframes blink-cursor {

    0%,
    100% {
        border-right-color: var(--accent-teal);
    }

    50% {
        border-right-color: transparent;
    }
}


@keyframes type-in {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}


@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@keyframes bounce-down {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(8px);
    }
}


@keyframes spin-ring {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}


@keyframes float-badge {

    0%,
    100% {
        transform: translateY(0px) rotate(-3deg);
    }

    50% {
        transform: translateY(-6px) rotate(-3deg);
    }
}


/* 4. TOP NAVIGATION */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background-color: rgba(13, 17, 23, 0.88);
    border-bottom: 1px solid var(--border-dim);

  
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.nav-brand {
    font-family: var(--font-code);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-main);
    transition: color var(--ease);
}

.nav-brand:hover {
    color: var(--accent-teal);
}

.brand-bracket {
    color: var(--accent-teal);
}


.nav-links {
    display: flex;
    gap: 36px;
    align-items: center;
}


.nav-link {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding-bottom: 4px;
    transition: color var(--ease);
}

.nav-link:hover {
    color: var(--accent-teal);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--accent-teal);
    transition: width var(--ease);
}

.nav-link:hover::after {
    width: 100%;
}


/* 5. BUTTONS*/
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform var(--ease), box-shadow var(--ease), background-color var(--ease), color var(--ease);
}


.btn-primary {
    background-color: var(--accent-teal);
    color: #0d1117;
    border: 2px solid var(--accent-teal);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px var(--accent-glow);
    background-color: #26b9a9;
}


.btn-outline {
    background-color: transparent;
    color: var(--accent-teal);
    border: 2px solid var(--accent-teal);
}

.btn-outline:hover {
    background-color: var(--accent-glow);
    transform: translateY(-4px);
    box-shadow: 0 10px 28px var(--accent-glow);
}


/* 6. HERO SECTION*/
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 24px 40px;
   
    position: relative;

    
    background: radial-gradient(ellipse at 70% 40%, #1a2e2a 0%, var(--bg-dark) 60%);
}


.hero-content {
    max-width: 1100px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 80px;
    animation: fade-up 0.9s ease both;
}


.hero-text {
    flex: 1;
}

.hero-greeting {
    font-size: 1rem;
    color: var(--accent-teal);
    font-family: var(--font-code);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.hero-name {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 18px;
    color: var(--text-main);
}


.hero-role-wrapper {
    display: inline-block;
    overflow: hidden;
    margin-bottom: 22px;
}


.hero-role {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    font-family: var(--font-code);
    font-size: 1.1rem;
    color: var(--text-muted);
    border-right: 2px solid var(--accent-teal);

   
    animation:
        type-in 2s steps(30, end) 0.5s both,
        blink-cursor 0.7s step-end 0.5s infinite;
}

.hero-tagline {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 480px;
    margin-bottom: 36px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}


.hero-photo-wrapper {
    position: relative;
    flex-shrink: 0;
}


.photo-ring-outer {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    padding: 4px;

   
    background: conic-gradient(var(--accent-teal) 0deg,
            transparent 120deg,
            var(--accent-teal) 240deg,
            transparent 360deg);

    
    animation: spin-ring 6s linear infinite;
}


.photo-ring-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--bg-dark);
    padding: 8px;

    
    animation: ring-pulse 2.5s ease-in-out infinite;
}


.hero-photo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;

   
    animation: float-updown 4s ease-in-out infinite;
}


.float-badge {
    position: absolute;
    background: var(--bg-card);
    border: 1px solid var(--border-dim);
    color: var(--text-main);
    font-family: var(--font-code);
    font-size: 0.78rem;
    padding: 8px 14px;
    border-radius: 30px;
    white-space: nowrap;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    animation: float-badge 3s ease-in-out infinite;
}

.float-badge.top-right {
    top: 20px;
    right: -30px;
    animation-delay: 0s;
}

.float-badge.bottom-left {
    bottom: 20px;
    left: -40px;
    animation-delay: 1.2s;
}


.scroll-hint {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.scroll-arrow {
    color: var(--text-muted);
    font-size: 1.4rem;
    animation: bounce-down 1.5s ease-in-out infinite;
    display: block;
}


/* 7. SECTION HEADINGS (shared across sections) */
.section-heading {
    text-align: center;
    margin-bottom: 16px;
    animation: fade-up 0.7s ease both;
}

.section-heading h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 12px;
}


.heading-line {
    width: 50px;
    height: 3px;
    background: var(--accent-teal);
    margin: 0 auto;
    border-radius: 2px;
}

.section-subtext {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 52px;
    font-size: 0.97rem;
}


/* 8. ABOUT SECTION */
.about-section {
    background-color: var(--bg-card);
}


.about-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    align-items: start;
    margin-top: 50px;
    animation: fade-up 0.8s ease 0.1s both;
}


.about-stats-card {
    background-color: var(--bg-card-alt);
    border: 1px solid var(--border-dim);
    border-radius: var(--card-radius);
    padding: 36px 28px;
    text-align: center;
    transition: border-color var(--ease), box-shadow var(--ease);
}

.about-stats-card:hover {
    border-color: var(--accent-teal);
    box-shadow: 0 8px 32px var(--accent-glow);
}

.stat-item {
    padding: 16px 0;
}

.stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--accent-teal);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    height: 1px;
    background: var(--border-dim);
    margin: 0 20px;
}

.code-snippet {
    margin-top: 28px;
    padding: 18px;
    background: var(--bg-dark);
    border-radius: 8px;
    font-family: var(--font-code);
    font-size: 0.82rem;
    color: var(--text-muted);
    text-align: left;
    line-height: 1.9;
    border-left: 3px solid var(--accent-teal);
}

.code-keyword {
    color: #ff7b72;
}


.code-var {
    color: var(--text-code);
}

.code-string {
    color: #a5d6ff;
}




.about-text p {
    color: var(--text-muted);
    margin-bottom: 18px;
    font-size: 0.97rem;
    line-height: 1.85;
}


.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.tag {
    background: var(--bg-card-alt);
    border: 1px solid var(--border-dim);
    color: var(--text-muted);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    transition: border-color var(--ease), color var(--ease);
}

.tag:hover {
    border-color: var(--accent-teal);
    color: var(--accent-teal);
}


/*  9. SKILLS SECTION */
.skills-section {
    background-color: var(--bg-dark);
}


.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    animation: fade-up 0.8s ease 0.1s both;
}


.skill-card {
    background: var(--bg-card);
    border: 1px solid var(--border-dim);
    border-radius: var(--card-radius);
    padding: 28px 24px;

   
    transition:
        transform var(--ease),
        border-color var(--ease),
        box-shadow var(--ease);
}

.skill-card:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: var(--accent-teal);
    box-shadow: 0 12px 36px var(--accent-glow);
}

.skill-icon {
    font-size: 2.2rem;
    margin-bottom: 14px;
}

.skill-name {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-main);
}

.skill-desc {
    font-size: 0.84rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.5;
}


.skill-bar {
    height: 5px;
    background: var(--border-dim);
    border-radius: 10px;
    overflow: hidden;
}

.skill-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-teal), #26b9a9);
    border-radius: 10px;

    
    width: 0;
    transition: width 0.9s ease;
}


.skill-card:hover .skill-bar-fill {
    width: var(--target-width, 75%);
    
}



/* 10. PROJECTS SECTION*/
.projects-section {
    background-color: var(--bg-card);
}


.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    animation: fade-up 0.8s ease 0.1s both;
}


.project-card {
    background: var(--bg-card-alt);
    border: 1px solid var(--border-dim);
    border-radius: var(--card-radius);
    overflow: hidden;

    transition:
        transform var(--ease),
        box-shadow var(--ease),
        border-color var(--ease);
}

.project-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border-color: var(--accent-teal);
}


.project-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;

   
    transition: transform 0.5s ease;
}

.project-card:hover .project-img {
    transform: scale(1.08);
}


.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(13, 17, 23, 0.88);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;

    
    opacity: 0;
    transition: opacity var(--ease);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-overlay-text {
    color: var(--text-main);
    font-size: 0.88rem;
    text-align: center;
    line-height: 1.7;
}


.project-info {
    padding: 22px 20px;
}

.project-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 8px;
}

.project-brief {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}


.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ptag {
    background: var(--bg-dark);
    color: var(--accent-teal);
    border: 1px solid var(--accent-teal);
    font-size: 0.78rem;
    font-family: var(--font-code);
    padding: 4px 10px;
    border-radius: 4px;

    transition: background-color var(--ease);
}

.ptag:hover {
    background-color: var(--accent-glow);
}


/*  11. CONTACT SECTION */
.contact-section {
    background-color: var(--bg-dark);
}

.contact-intro {
    text-align: center;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto 52px;
    font-size: 0.97rem;
    line-height: 1.8;
    animation: fade-up 0.7s ease 0.1s both;
}


.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    animation: fade-up 0.8s ease 0.2s both;
}


.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border-dim);
    border-radius: var(--card-radius);
    padding: 30px 24px;
    display: flex;
    align-items: center;
    gap: 18px;

    transition:
        transform var(--ease),
        border-color var(--ease),
        box-shadow var(--ease);
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-teal);
    box-shadow: 0 12px 36px var(--accent-glow);
}

.contact-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
    overflow: hidden;
}

.contact-type {
    font-size: 0.78rem;
    color: var(--accent-teal);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.contact-value {
    font-size: 0.88rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color var(--ease);
}

.contact-card:hover .contact-value {
    color: var(--text-main);
}


/* 12. FOOTER */
.site-footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border-dim);
    padding: 32px 24px;
    text-align: center;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-brand {
    font-family: var(--font-code);
    font-size: 1.1rem;
    color: var(--text-muted);
}

.footer-brand .brand-bracket {
    color: var(--accent-teal);
}

.footer-copy {
    font-size: 0.83rem;
    color: var(--text-muted);
}


/*13. HERO AWARD BADGE */
.hero-award {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
    background: rgba(45, 212, 191, 0.1);
    border: 1px solid var(--accent-teal);
    border-radius: 24px;
    padding: 8px 18px;
    font-size: 0.85rem;
    color: var(--accent-teal);
    font-weight: 500;
}


/* 14. PROJECTS — 2-COLUMN VARIANT*/

.projects-grid-2col {
    grid-template-columns: repeat(2, 1fr);
}


.project-github-link {
    display: inline-block;
    margin-top: 12px;
    font-size: 0.82rem;
    font-family: var(--font-code);
    color: var(--accent-teal);
    transition: color var(--ease), letter-spacing var(--ease);
}

.project-github-link:hover {
    color: var(--text-main);
    letter-spacing: 0.5px;
}


/* 15. EDUCATION BLOCK (inside About section) */
.edu-block {
    margin-top: 60px;
    animation: fade-up 0.8s ease 0.2s both;
}

.subsection-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-dim);
}


.edu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.edu-card {
    background: var(--bg-card-alt);
    border: 1px solid var(--border-dim);
    border-radius: var(--card-radius);
    padding: 26px 24px;
    transition: border-color var(--ease), box-shadow var(--ease);
}

.edu-card:hover {
    border-color: var(--accent-teal);
    box-shadow: 0 8px 28px var(--accent-glow);
}

.edu-degree {
    font-size: 0.97rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 6px;
}

.edu-school {
    font-size: 0.88rem;
    color: var(--accent-teal);
    margin-bottom: 6px;
}

.edu-year {
    font-family: var(--font-code);
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.edu-thesis {
    font-size: 0.84rem;
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.6;
    border-left: 2px solid var(--accent-teal);
    padding-left: 12px;
    margin-top: 12px;
}


/* 16. PUBLICATIONS SECTION */
.publications-section {
    background-color: var(--bg-dark);
}


.pub-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    animation: fade-up 0.8s ease 0.1s both;
}


.pub-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-dim);
    border-radius: var(--card-radius);
    padding: 28px 26px;

    transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease);
}

.pub-card:hover {
    border-color: var(--accent-teal);
    box-shadow: 0 12px 36px var(--accent-glow);
    transform: translateX(6px);
    
}


.pub-badge {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(45, 212, 191, 0.12);
    border: 1px solid var(--accent-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.pub-content {
    flex: 1;
}

.pub-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 8px;
    line-height: 1.5;
}

.pub-meta {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-family: var(--font-code);
    margin-bottom: 10px;
}

.pub-link-label {
    font-size: 0.82rem;
    color: var(--accent-teal);
    font-weight: 500;
    transition: color var(--ease);
}

.pub-card:hover .pub-link-label {
    color: var(--text-main);
}


/* 17. CERTIFICATIONS & AWARDS SECTION */
.certs-section {
    background-color: var(--bg-card);
}


.certs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    animation: fade-up 0.8s ease 0.1s both;
}


.cert-card {
    background: var(--bg-card-alt);
    border: 1px solid var(--border-dim);
    border-radius: var(--card-radius);
    padding: 26px 22px;
    text-align: center;

    transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}

.cert-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-teal);
    box-shadow: 0 10px 30px var(--accent-glow);
}


.cert-award {
    background: linear-gradient(135deg, rgba(45, 212, 191, 0.08), var(--bg-card-alt));
    border-color: rgba(45, 212, 191, 0.4);
    grid-column: 2;
    
}

.cert-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.cert-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 6px;
    line-height: 1.4;
}

.cert-org {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.cert-year {
    font-family: var(--font-code);
    font-size: 0.78rem;
    color: var(--accent-teal);
    background: rgba(45, 212, 191, 0.1);
    padding: 3px 10px;
    border-radius: 12px;
    display: inline-block;
}


/* 18. CONTACT — 2x2 GRID (4 contact items)*/

.contact-grid {
    grid-template-columns: repeat(2, 1fr);
}


/*  19. PROJECT CATEGORY LABELS */
.proj-category-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-teal);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-family: var(--font-code);

   
    border-bottom: 1px solid var(--border-dim);
    padding-bottom: 10px;
    margin-top: 48px;
    margin-bottom: 24px;
}


.projects-section .proj-category-label:first-of-type {
    margin-top: 0;
}


/* 20. NAV PROJECTS BUTTON */
.nav-projects-btn {
    display: inline-block;
    padding: 7px 18px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #0d1117;
    background: var(--accent-teal);
    border: 2px solid var(--accent-teal);
    transition: transform var(--ease), box-shadow var(--ease), background var(--ease);
    white-space: nowrap;
}

.nav-projects-btn:hover {
    background: #26b9a9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--accent-glow);
}

.nav-projects-active {
    box-shadow: 0 0 0 2px var(--accent-teal), 0 6px 20px var(--accent-glow);
}


/* 21. RESEARCH INTERESTS SECTION */
.research-section {
    background-color: var(--bg-card);
}

.research-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    animation: fade-up 0.8s ease 0.1s both;
}

.research-card {
    background: var(--bg-card-alt);
    border: 1px solid var(--border-dim);
    border-radius: var(--card-radius);
    padding: 32px 28px;
    position: relative;
    overflow: hidden;
    transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}

.research-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--accent-teal);
    opacity: 0;
    transition: opacity var(--ease);
}

.research-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent-teal);
    box-shadow: 0 16px 40px var(--accent-glow);
}

.research-card:hover::before {
    opacity: 1;
}

.research-icon {
    font-size: 2.4rem;
    margin-bottom: 16px;
}

.research-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 10px;
}

.research-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 16px;
}

.research-tag {
    font-family: var(--font-code);
    font-size: 0.75rem;
    color: var(--accent-teal);
    background: rgba(45, 212, 191, 0.08);
    border: 1px solid rgba(45, 212, 191, 0.25);
    padding: 5px 12px;
    border-radius: 20px;
    display: inline-block;
}


/* 22. BUSINESS / COMPANY SECTION */
.business-section {
    background-color: var(--bg-dark);
}

.company-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    animation: fade-up 0.8s ease 0.1s both;
}

.company-card {
    background: var(--bg-card);
    border: 1px solid var(--border-dim);
    border-radius: var(--card-radius);
    overflow: hidden;
    transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}

.company-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-teal);
    box-shadow: 0 20px 50px var(--accent-glow);
}

.company-featured {
    border-color: rgba(45, 212, 191, 0.3);
    background: linear-gradient(160deg, rgba(45, 212, 191, 0.05), var(--bg-card));
}

.company-logo-area {
    background: var(--bg-card-alt);
    border-bottom: 1px solid var(--border-dim);
    padding: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.company-icon {
    font-size: 3rem;
}

.company-body {
    padding: 24px;
}

.company-role-badge {
    display: inline-block;
    font-family: var(--font-code);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--accent-teal);
    background: rgba(45, 212, 191, 0.1);
    border: 1px solid rgba(45, 212, 191, 0.3);
    padding: 3px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.company-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 4px;
}

.company-type {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 14px;
    font-style: italic;
}

.company-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 18px;
}

.company-link {
    display: inline-block;
    font-family: var(--font-code);
    font-size: 0.82rem;
    color: var(--accent-teal);
    transition: color var(--ease), letter-spacing var(--ease);
}

.company-link:hover {
    color: var(--text-main);
    letter-spacing: 0.4px;
}


/* 23. HOBBIES SECTION */
.hobbies-section {
    background-color: var(--bg-card);
}

.hobby-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    animation: fade-up 0.8s ease 0.1s both;
}

.hobby-card {
    background: var(--bg-card-alt);
    border: 1px solid var(--border-dim);
    border-radius: var(--card-radius);
    padding: 36px 28px;
    text-align: center;
    transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}

.hobby-card:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: var(--accent-teal);
    box-shadow: 0 14px 40px var(--accent-glow);
}

.hobby-emoji {
    font-size: 3rem;
    margin-bottom: 16px;
    display: block;
    animation: float-updown 4s ease-in-out infinite;
}

.hobby-card:nth-child(2) .hobby-emoji { animation-delay: 0.8s; }
.hobby-card:nth-child(3) .hobby-emoji { animation-delay: 1.6s; }

.hobby-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 10px;
}

.hobby-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.75;
}


/* 24. TRAVEL SECTION */
.travel-section {
    background-color: var(--bg-dark);
}

/* Top row: Best Visited + Visit Again (2 equal-height columns) */
.travel-row-top {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    align-items: stretch;
    animation: fade-up 0.8s ease 0.1s both;
}

/* Bottom row: full-width wishlist block */
.travel-wishlist-block {
    margin-top: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-dim);
    border-top: 3px solid var(--accent-teal);
    border-radius: var(--card-radius);
    overflow: hidden;
    animation: fade-up 0.8s ease 0.2s both;
    transition: border-color var(--ease), box-shadow var(--ease);
}

.travel-wishlist-block:hover {
    border-color: var(--accent-teal);
    box-shadow: 0 16px 40px var(--accent-glow);
}

.travel-wishlist-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 28px;
    background: var(--bg-card-alt);
    border-bottom: 1px solid var(--border-dim);
}

/* 6-column grid of country pills inside the full-width wishlist */
.travel-pills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    padding: 8px 0;
}

.travel-pill {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 28px;
    border-bottom: 1px solid rgba(48, 54, 61, 0.5);
    border-right: 1px solid rgba(48, 54, 61, 0.5);
    transition: background var(--ease);
}

.travel-pill:nth-child(3n) {
    border-right: none;
}

.travel-pill:nth-child(n+4) {
    border-bottom: none;
}

.travel-pill:hover {
    background: rgba(45, 212, 191, 0.05);
}

.travel-pill-flag {
    font-size: 2rem;
    flex-shrink: 0;
}

.travel-pill-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.travel-pill-info strong {
    font-size: 0.92rem;
    color: var(--text-main);
    font-weight: 600;
}

.travel-pill-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.travel-card {
    background: var(--bg-card);
    border: 1px solid var(--border-dim);
    border-radius: var(--card-radius);
    overflow: hidden;
    transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}

.travel-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent-teal);
    box-shadow: 0 16px 40px var(--accent-glow);
}

.travel-visited { border-top: 3px solid #fbbf24; }
.travel-wishlist { border-top: 3px solid var(--accent-teal); }
.travel-return  { border-top: 3px solid #f87171; }

.travel-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 24px;
    background: var(--bg-card-alt);
    border-bottom: 1px solid var(--border-dim);
}

.travel-emoji {
    font-size: 2rem;
    flex-shrink: 0;
}

.travel-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 2px;
}

.travel-card-sub {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-family: var(--font-code);
}

.travel-list {
    padding: 16px 0;
}

.travel-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 22px;
    border-bottom: 1px solid rgba(48, 54, 61, 0.5);
    transition: background var(--ease);
}

.travel-item:last-child {
    border-bottom: none;
}

.travel-item:hover {
    background: rgba(45, 212, 191, 0.04);
}

.travel-flag {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.travel-item-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.travel-item-info strong {
    font-size: 0.92rem;
    color: var(--text-main);
    font-weight: 600;
}

.travel-item-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
}


/* 25. PROJECTS PAGE STYLES */
.projects-page-hero {
    padding: 140px 0 60px;
    background: radial-gradient(ellipse at 60% 40%, #1a2e2a 0%, var(--bg-dark) 65%);
    text-align: center;
}

.projects-page-title {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 16px;
    line-height: 1.1;
}

.projects-page-sub {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.8;
}

.projects-page-section {
    background-color: var(--bg-card);
}


/* 26. FOOTER DOMAIN LINK */
.footer-domain {
    color: var(--accent-teal);
    transition: color var(--ease);
}

.footer-domain:hover {
    color: var(--text-main);
}


/* 27. FLOAT BADGE — BOTTOM RIGHT (3rd badge) */
.float-badge.bottom-right {
    bottom: 20px;
    right: -40px;
    animation-delay: 2.4s;
}


/* 28. MY ARTICLES SECTION */
.articles-section {
    background-color: var(--bg-dark);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    animation: fade-up 0.8s ease 0.1s both;
}

.article-card {
    display: flex;
    background: var(--bg-card);
    border: 1px solid var(--border-dim);
    border-radius: var(--card-radius);
    overflow: hidden;
    transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}

.article-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent-teal);
    box-shadow: 0 16px 44px var(--accent-glow);
}

.article-icon-area {
    flex-shrink: 0;
    width: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card-alt);
    border-right: 1px solid var(--border-dim);
}

.article-icon {
    font-size: 2.4rem;
}

.article-body {
    padding: 26px 24px;
    flex: 1;
}

.article-platform {
    font-family: var(--font-code);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--accent-teal);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.article-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 10px;
}

.article-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 16px;
}

.article-link-label {
    font-family: var(--font-code);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--accent-teal);
    transition: color var(--ease), letter-spacing var(--ease);
}

.article-card:hover .article-link-label {
    color: var(--text-main);
    letter-spacing: 0.5px;
}