:root {
    --bg-main: #f8f9fc;
    --bg-secondary: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.7);
    --bg-glass-strong: rgba(255, 255, 255, 0.95);
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --accent-primary: #6366f1;
    /* Indigo */
    --accent-secondary: #8b5cf6;
    /* Purple */
    --accent-tertiary: #06b6d4;
    /* Cyan */
    --accent-glow: rgba(99, 102, 241, 0.2);
    --card-bg: #ffffff;
    --card-border: rgba(99, 102, 241, 0.1);
    --card-border-glow: rgba(99, 102, 241, 0.35);
    --card-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
    --card-shadow-hover: 0 16px 48px rgba(99, 102, 241, 0.18);
    --section-alt: #f1f5f9;
    --border-radius: 20px;
    --border-radius-sm: 12px;
    --transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
    --font-main: 'Outfit', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.65;
    overflow-x: hidden;
    font-size: 16px;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Outfit', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    display: block;
}

::selection {
    background: var(--accent-primary);
    color: white;
}

h1,
h2,
h3,
h4,
h5 {
    font-weight: 700;
    line-height: 1.2;
}

/* ================================================
   LAYOUT UTILITIES
   ================================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.section-alt {
    background-color: var(--section-alt);
}

/* ================================================
   TYPOGRAPHY
   ================================================ */
.gradient-text {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.section-header {
    margin-bottom: 4rem;
    text-align: center;
}

.section-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-line {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    margin: 0 auto;
    border-radius: 10px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-top: 0.75rem;
}

/* ================================================
   CARDS
   ================================================ */
.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    transition: var(--transition);
    box-shadow: var(--card-shadow);
}

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

/* ================================================
   BACKGROUND BLOBS (subtle for light mode)
   ================================================ */
.bg-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    opacity: 0.06;
    filter: blur(80px);
    animation: move-blobs 25s infinite alternate cubic-bezier(0.45, 0, 0.55, 1);
}

.blob-1 {
    width: 700px;
    height: 700px;
    background: var(--accent-primary);
    top: -200px;
    left: -100px;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: var(--accent-secondary);
    bottom: -150px;
    right: -100px;
    animation-delay: -8s;
}

.blob-3 {
    width: 400px;
    height: 400px;
    background: var(--accent-tertiary);
    top: 40%;
    left: 50%;
    animation-delay: -15s;
}

@keyframes move-blobs {
    0% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(80px, 80px) scale(1.15);
    }

    66% {
        transform: translate(-40px, 120px) scale(0.9);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

/* ================================================
   ANIMATIONS
   ================================================ */
.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

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

.fade-in-up {
    animation: fadeInUp 1s cubic-bezier(0.2, 1, 0.3, 1) forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================================================
   NAVIGATION
   ================================================ */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0.9rem 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--card-border);
    box-shadow: 0 2px 20px rgba(15, 23, 42, 0.06);
}

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

.nav-logo {
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    background: rgba(255, 255, 255, 0.8);
    padding: 10px 28px;
    border-radius: 100px;
    border: 1px solid var(--card-border);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 600;
    transition: var(--transition);
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    transition: var(--transition);
    border-radius: 2px;
}

/* ================================================
   BUTTONS
   ================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 13px 30px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    box-shadow: 0 4px 18px var(--accent-glow);
}

.btn-primary:hover {
    box-shadow: 0 8px 28px rgba(99, 102, 241, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid rgba(99, 102, 241, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: rgba(99, 102, 241, 0.05);
    transition: var(--transition);
    z-index: -1;
}

.btn-secondary:hover::before {
    width: 100%;
}

.btn-secondary:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.12);
}

.btn-glow::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 12px;
    z-index: -1;
    filter: blur(12px);
    opacity: 0.4;
    transition: var(--transition);
}

.btn-glow {
    position: relative;
}

.btn-glow:hover::after {
    opacity: 0.7;
    filter: blur(16px);
}

/* ================================================
   HERO SECTION
   ================================================ */
.hero {
    min-height: 100vh;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px 0;
}

.hero-impact {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.greeting-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(99, 102, 241, 0.08);
    color: var(--accent-primary);
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.greeting-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-tertiary);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

.hero-title {
    font-size: clamp(3rem, 5.5vw, 5rem);
    line-height: 1.05;
    margin-bottom: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

.text-glow {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

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

/* Role subtitle */
.hero-role {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
    letter-spacing: -0.3px;
}

/* Specialization chips row */
.hero-specializations {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 2.5rem;
}

.spec-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 100px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--accent-primary);
    transition: var(--transition);
}

.spec-chip::before {
    content: '✦';
    font-size: 0.6rem;
    opacity: 0.7;
}

.spec-chip:hover {
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    width: fit-content;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.hero-actions .divider {
    width: 2px;
    height: 30px;
    background: rgba(15, 23, 42, 0.1);
    border-radius: 2px;
}

.social-hero {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.social-icon-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 50%;
    font-size: 1.2rem;
    color: var(--text-secondary);
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.social-icon-btn:hover {
    color: var(--accent-primary);
    border-color: var(--accent-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px var(--accent-glow);
}

/* Hero Image */
.hero-image-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-inner {
    width: 420px;
    height: 420px;
    border-radius: 32px;
    overflow: hidden;
    position: relative;
    z-index: 2;
    border: 3px solid rgba(99, 102, 241, 0.15);
    box-shadow:
        0 30px 80px rgba(99, 102, 241, 0.15),
        0 10px 30px rgba(15, 23, 42, 0.1);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.6s ease;
}

.hero-image-wrapper:hover .hero-image {
    transform: scale(1.04);
}

.image-accent {
    position: absolute;
    width: 120%;
    height: 120%;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    z-index: 1;
    filter: blur(50px);
    opacity: 0.12;
    animation: morph 10s ease-in-out infinite alternate;
}

/* Decorative ring around image */
.hero-image-wrapper::before {
    content: '';
    position: absolute;
    inset: -15px;
    border-radius: 40px;
    border: 2px dashed rgba(99, 102, 241, 0.2);
    z-index: 1;
    animation: rotate-ring 20s linear infinite;
}

@keyframes rotate-ring {
    to {
        transform: rotate(360deg);
    }
}

@keyframes morph {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }

    100% {
        border-radius: 50% 50% 30% 70% / 50% 30% 70% 50%;
    }
}

/* ================================================
   ABOUT SECTION
   ================================================ */
.about-flex {
    display: flex;
    justify-content: center;
}

.about-brief p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    text-align: center;
    margin-bottom: 2rem;
}

.about-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    margin: 0 auto 2rem;
}

.about-card p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.quick-facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--card-border);
}

.fact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.fact-item i {
    font-size: 1.4rem;
    color: var(--accent-primary);
}

.fact-item span {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 600;
}

/* ================================================
   EXPERIENCE SECTION
   ================================================ */
.timeline {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.timeline-item {
    border-left: 3px solid var(--accent-primary);
    padding-left: 2rem;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 2rem;
    width: 14px;
    height: 14px;
    background: var(--accent-primary);
    border-radius: 50%;
    border: 3px solid var(--bg-main);
}

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

.timeline-role h4 {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
}

.company-name {
    color: var(--accent-primary);
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.date-badge {
    background: rgba(99, 102, 241, 0.08);
    color: var(--accent-primary);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 100px;
    padding: 4px 14px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.experience-list {
    padding: 0;
}

.experience-list li {
    position: relative;
    padding-left: 1.4rem;
    margin-bottom: 0.7rem;
    color: var(--text-secondary);
    font-size: 0.97rem;
    line-height: 1.6;
}

.experience-list li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
}

/* ================================================
   PROJECTS SECTION
   ================================================ */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.project-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border-radius: var(--border-radius);
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

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

/* Image box: fixed height, no center-flex to avoid cropping */
.project-image-box {
    width: 100%;
    height: 220px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.06), rgba(139, 92, 246, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-image-box.secondary-accent {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.06), rgba(99, 102, 241, 0.1));
}

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

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

/* Fallback icon for cards without images */
.project-icon-large {
    font-size: 5rem;
    color: rgba(99, 102, 241, 0.15);
    transition: var(--transition);
}

.project-card:hover .project-icon-large {
    color: var(--accent-primary);
    transform: scale(1.1);
}

/* Links overlay */
.project-links-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.82);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
    backdrop-filter: blur(4px);
}

.project-card:hover .project-links-overlay {
    opacity: 1;
    transform: translateY(0);
}

.p-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.p-link:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
}

.project-metadata {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.p-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
}

.p-desc {
    color: var(--text-secondary);
    margin-bottom: auto;
    padding-bottom: 1.25rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Project bullets */
.p-bullets {
    list-style: none;
    padding: 0;
    margin-bottom: 1.25rem;
}

.p-bullets li {
    position: relative;
    padding-left: 1.2rem;
    color: var(--text-secondary);
    font-size: 0.92rem;
    margin-bottom: 0.9rem;
    line-height: 1.65;
}

.p-bullets li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-size: 0.8rem;
    top: 2px;
}

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

/* Problem / Solution block */
.p-ps {
    background: rgba(99, 102, 241, 0.04);
    border-left: 3px solid var(--accent-primary);
    border-radius: 0 8px 8px 0;
    padding: 0.75rem 1rem;
    margin-bottom: 1.25rem;
}

.p-ps p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 0.35rem;
}

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

.ps-label {
    font-weight: 700;
    font-size: 0.82rem;
    margin-right: 6px;
}

.ps-label.problem {
    color: #ef4444;
}

.ps-label.solution {
    color: #10b981;
}

.ps-label.impact {
    color: var(--accent-primary);
}

/* Skills Table */
.skills-table {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.skill-row {
    display: grid;
    grid-template-columns: 160px 1fr;
    align-items: center;
    gap: 1.5rem;
    padding: 1.2rem 1.75rem;
    border-bottom: 1px solid var(--card-border);
    background: var(--card-bg);
    transition: var(--transition);
}

.skill-row:last-child {
    border-bottom: none;
}

.skill-row:hover {
    background: rgba(99, 102, 241, 0.03);
}

.skill-label {
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    white-space: nowrap;
}

.skill-label i {
    color: var(--accent-primary);
    font-size: 1rem;
}

/* Contact open badge */
.contact-open-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.09);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 100px;
    padding: 8px 18px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.contact-primary {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-email-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--accent-primary);
    color: white;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: 0 4px 16px var(--accent-glow);
}

.contact-email-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--accent-glow);
}

.contact-email-btn.secondary {
    background: transparent;
    color: var(--accent-primary);
    border: 1.5px solid var(--accent-primary);
    box-shadow: none;
}

.contact-email-btn.secondary:hover {
    background: var(--accent-primary);
    color: white;
}

.contact-email-btn.cv-btn {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.25);
}

.contact-email-btn.cv-btn:hover {
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
    transform: translateY(-2px);
}

.tech-chips span {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--accent-primary);
    background: rgba(99, 102, 241, 0.08);
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid rgba(99, 102, 241, 0.15);
}



.skill-cat-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--card-border);
}

.skill-cat-header i {
    font-size: 1.6rem;
}

.skill-cat-header h4 {
    font-size: 1.15rem;
    font-weight: 700;
}

.icon-blue {
    color: var(--accent-primary);
}

.icon-purple {
    color: var(--accent-secondary);
}

.icon-teal {
    color: var(--accent-tertiary);
}

.icon-yellow {
    color: #f59e0b;
}

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

.tag {
    background: rgba(99, 102, 241, 0.05);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.88rem;
    color: var(--text-secondary);
    border: 1px solid var(--card-border);
    transition: var(--transition);
    font-weight: 500;
}

.tag:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    background: rgba(99, 102, 241, 0.08);
}

/* ================================================
   WHY ME SECTION
   ================================================ */
.why-me-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 960px;
    margin: 0 auto;
}

.why-me-card {
    text-align: center;
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
}

.why-me-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 0 0 4px 4px;
    opacity: 0;
    transition: var(--transition);
}

.why-me-card:hover::before {
    opacity: 1;
}

.why-me-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.15));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--accent-primary);
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.why-me-card:hover .why-me-icon {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    transform: scale(1.08);
    box-shadow: 0 8px 24px var(--accent-glow);
}

.why-me-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.why-me-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* ================================================
   EDUCATION SECTION
   ================================================ */
.edu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.edu-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.edu-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: white;
    flex-shrink: 0;
}

.edu-info h5 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.edu-info .degree {
    color: var(--accent-primary);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.edu-info .date {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ================================================
   CONTACT SECTION
   ================================================ */
.contact-card {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
    padding: 4rem 3rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.04), rgba(139, 92, 246, 0.06));
    border: 1px solid rgba(99, 102, 241, 0.15);
}

.contact-header h2 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

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

.contact-methods {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition);
}

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

.c-icon {
    width: 56px;
    height: 56px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--accent-primary);
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.contact-item:hover .c-icon {
    background: var(--accent-primary);
    color: white;
    box-shadow: 0 6px 20px var(--accent-glow);
}

.contact-socials {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.s-link {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    font-size: 1.1rem;
    color: var(--text-secondary);
    transition: var(--transition);
    box-shadow: var(--card-shadow);
}

.s-link:hover {
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
    transform: translateY(-3px);
}

/* ================================================
   FOOTER
   ================================================ */
footer {
    padding: 2rem 0;
    text-align: center;
    background: var(--text-primary);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

footer p {
    color: rgba(255, 255, 255, 0.5);
}

/* ================================================
   GLASS SECTION
   ================================================ */
.glass-section {
    background: rgba(241, 245, 249, 0.8);
    backdrop-filter: blur(8px);
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
}

strong {
    color: var(--text-primary);
    font-weight: 700;
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1024px) {
    .hero-content {
        gap: 3rem;
    }

    .image-inner {
        width: 360px;
        height: 360px;
    }
}

/* ================================================
   NEW MODIFICATIONS (Featured Badge & Nav Active)
   ================================================ */
.featured-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 800;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
    display: flex;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-links a.active {
    color: var(--accent-primary);
    font-weight: 700;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 70px 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-image-wrapper {
        order: -1;
    }

    .image-inner {
        width: 260px;
        height: 260px;
        margin: 0 auto;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .divider {
        width: 60px;
        height: 2px;
    }
    
    .action-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .action-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .social-hero {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-subtext {
        margin: 0 auto 2.5rem;
    }

    .nav-links {
        display: none;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-glass-strong);
        backdrop-filter: blur(20px);
        padding: 1.5rem;
        border-bottom: 1px solid var(--card-border);
        text-align: center;
        gap: 1rem;
    }

    .hamburger {
        display: flex;
    }

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

    .skill-swiper-wrapper {
        padding: 0 2.5rem;
    }

    .timeline-header {
        flex-direction: column;
    }

    .skill-row {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.25rem 1rem;
        text-align: center;
    }

    .skill-label {
        justify-content: center;
    }

    .skill-tags {
        justify-content: center;
    }

    .why-me-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}