:root {
    /* Modern Minimalist Hot Pink (clean, high-end) */
    --pink-primary: #FF2EA6;
    /* refined hot pink */
    --pink-light: #FF7AC2;
    /* soft hot pink */
    --pink-pale: #FFE6F4;
    /* subtle pale */
    --pink-neon: #FF2DF5;
    /* sharp neon accent (used sparingly) */
    --pink-dark: #E10074;
    /* deeper hot-pink for contrast */

    /* Background */
    --bg-dark: #F26BC4;
    --bg-surface: #F14AAE68;
    --bg-glass: rgba(255, 46, 166, 0.22);

    /* Premium satin/chrome border tones */
    --chrome-border: rgba(255, 122, 194, 0.55);
    --chrome-border-strong: rgba(255, 46, 166, 0.75);

    /* Crisp neon glow (avoid blurry heavy shadows) */
    --glow-crisp: 0 0 6px rgba(255, 46, 166, 0.85), 0 0 18px rgba(255, 45, 245, 0.35);
    --glow-crisp-strong: 0 0 10px rgba(255, 46, 166, 0.95), 0 0 28px rgba(255, 45, 245, 0.45);


    /* Text */
    --text-light: #F8F0F8;
    /* Bright white with pink tint */
    --text-medium: #f646b2;
    /* Muted pinkish gray */
    --text-dark: #fa2b96;
    /* Dark for inversions */

    /* Glows, Shadows & Borders */
    --glow-sm: 0 0 15px rgba(255, 20, 147, 0.4);
    --glow-md: 0 0 25px rgba(255, 20, 147, 0.5), 0 0 45px rgba(255, 102, 178, 0.2);
    --glow-lg: 0 0 40px rgba(255, 20, 147, 0.6), 0 0 80px rgba(255, 0, 255, 0.4);

    --border-glass: 1px solid rgba(255, 102, 178, 0.15);
    --border-glass-hover: 1px solid rgba(255, 20, 147, 0.8);

    /* Fonts */
    --font-heading: 'Montserrat';
    --font-body: 'Inter';
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none;
    /* Hide default cursor for custom one */
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-dark);
}

body {
    /* Displaying the image directly without any CSS overlays */
    background-image: url('img/pink_glow_bg_3.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-color: #FFFFFF;
    color: var(--text-dark);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

main,
footer,
.chic-footer {
    position: relative;
    z-index: 1;
}

/* Custom Selection */
::selection {
    background: var(--pink-primary);
    color: white;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 20, 147, 0.3);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--pink-primary);
}

/* Custom Glowing Cursor */
.custom-cursor {
    position: fixed;
    width: 8px;
    height: 8px;
    background-color: var(--pink-neon);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px var(--pink-neon), 0 0 20px var(--pink-primary);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

.custom-cursor-follower {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 102, 178, 0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background-color 0.3s, border-color 0.3s, transform 0.1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.custom-cursor.hover {
    width: 12px;
    height: 12px;
    background-color: white;
}

.custom-cursor-follower.hover {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 20, 147, 0.1);
    border-color: var(--pink-neon);
}

/* Background Canvas Effects */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    opacity: 1;
}

.chic-nav {
    z-index: 100;
}

/* Layout */
.container {
    max-width: 1400px;
    /* Ample and big */
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 10rem 0;
    overflow: visible;
}

/* Typography */
h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-heading);
    background: linear-gradient(180deg, #FFB3D9 0%, #FF1493 50%, #E75480 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
    text-shadow: none;
}

h1 {
    font-size: 5.5rem;
    font-weight: 900;
    letter-spacing: -2px;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
    color: #FF1493;
    text-shadow:
        /* Borde/outline rosa brillante */
        -2px -2px 0px #FF69B4,
        2px -2px 0px #FF69B4,
        -2px 2px 0px #FF69B4,
        2px 2px 0px #FF69B4,
        -1px -1px 0px #FF00FF,
        1px -1px 0px #FF00FF,
        -1px 1px 0px #FF00FF,
        1px 1px 0px #FF00FF,
        /* Luz superior */
        -3px -3px 0px rgba(255, 200, 255, 0.6),
        /* Sombra profunda */
        3px 4px 0px rgba(139, 0, 80, 0.7),
        4px 5px 0px rgba(100, 0, 60, 0.6),
        5px 6px 0px rgba(70, 0, 40, 0.5),
        6px 7px 0px rgba(40, 0, 20, 0.4),
        /* Sombra muy profunda */
        7px 8px 15px rgba(0, 0, 0, 0.4),
        8px 9px 20px rgba(0, 0, 0, 0.3),
        /* Reflejos internos */
        -1px 0px 0px rgba(255, 255, 255, 0.5),
        0px -1px 0px rgba(255, 255, 255, 0.5);
}

.hero-title {
    display: block;
    max-width: 100%;
    height: auto;
    margin-bottom: 1.5rem;
    margin-top: 0;
    object-fit: contain;
}

h2 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    background: linear-gradient(180deg, #FFB3D9 0%, #FF1493 50%, #E75480 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

p {

    font-size: 1.15rem;
    margin-bottom: 1rem;
}

.subheading {
    display: inline-block;
    color: var(--pink-primary);
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 1rem;
    text-shadow: var(--glow-sm);
}

span.pink {
    color: var(--pink-primary);
    text-shadow: var(--glow-sm);
}

.modern-glow-text {
    color: #ffffff !important;
    font-weight: 500;
    text-shadow: 0 0 10px rgba(255, 20, 147, 0.4), 0 0 20px rgba(255, 102, 178, 0.3) !important;
}

/* Navigation - Glassmorphism */
.chic-nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.nav-brand {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--text-dark);
    transition: all 0.3s ease;
    cursor: pointer;
}

.nav-brand:hover {
    color: var(--pink-light);
    text-shadow: var(--glow-sm);
}

.nav-brand span {
    color: var(--pink-primary);
    transition: color 0.3s ease;
}

.nav-brand:hover span {
    color: var(--pink-neon);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    display: inline-block;
}

.nav-links a:hover {
    background: linear-gradient(90deg, #ffffff, var(--pink-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.4), 0 0 20px rgba(255, 102, 178, 0.4);
    transform: translateY(-2px);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -8px;
    left: 0;
    background-color: var(--pink-neon);
    box-shadow: var(--glow-sm);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(45deg, var(--pink-dark), var(--pink-primary));
    color: var(--text-light);
    box-shadow: var(--glow-md);
    border: none;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--pink-primary), var(--pink-neon));
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

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

.btn-primary:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--glow-lg);
}

.btn-outline {
    background-color: transparent;
    color: var(--pink-light);
    border: 2px solid var(--pink-primary);
    box-shadow: 0 0 10px rgba(255, 20, 147, 0.2) inset;
}

.btn-outline:hover {
    background-color: rgba(255, 20, 147, 0.1);
    color: var(--pink-neon);
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--glow-md), 0 0 20px rgba(255, 20, 147, 0.4) inset;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    padding-bottom: 5rem;
    /* buffer so content clears the scroll indicator */
    overflow: visible;
    /* must NOT be hidden — allows absolute children to breathe */
}



.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: flex-start;
    position: relative;
    z-index: 10;
    margin-top: 80px;
    /* Added space from nav */
}

.hero-content {
    background: rgba(255, 20, 147, 0.15);
    /* Pink semi-transparent box */
    border: 1px solid rgba(255, 20, 147, 0.3);
    border-radius: 30px;
    padding: 3rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(255, 20, 147, 0.1);
    text-align: center;
}

.hero-content h2 {
    font-size: 2.2rem;
    background: linear-gradient(180deg, #FFB3D9 0%, #FF1493 50%, #E75480 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 500;
    margin-top: -2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.hero-content p {
    font-size: 1.3rem;
    max-width: 600px;
    margin-top: 0;
}

.hero-actions {
    margin-top: 3rem;
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* Hero Portrait Image - Glassmorphism floating card */
.hero-image-container {
    position: relative;
    perspective: 1000px;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: var(--border-glass);
    box-shadow: var(--glow-md);
    padding: 1.5rem;
    transform-style: preserve-3d;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px) rotateX(0deg) rotateY(0deg);
    }

    50% {
        transform: translateY(-20px) rotateX(2deg) rotateY(-2deg);
    }

    100% {
        transform: translateY(0px) rotateX(0deg) rotateY(0deg);
    }
}

.hero-image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    display: block;
    object-fit: cover;
    filter: contrast(1.1);
}

/* Sections General */
section {
    position: relative;
}

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

/* About Section */
.about-grid {
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border: var(--border-glass);
    border-radius: 30px;
    padding: 4rem;
    box-shadow: var(--glow-sm);
    position: relative;
    overflow: hidden;
}

.about-grid::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 20, 147, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.chic-list {
    list-style: none;
    margin-top: 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.chic-list li {
    position: relative;
    padding-left: 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    background: linear-gradient(180deg, #FFB3D9 0%, #FF1493 50%, #E75480 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;

    .texto-degradado {
        display: inline-block !important;
        background: linear-gradient(to bottom, #ff0000, #0000ff) !important;
        -webkit-background-clip: text !important;
        background-clip: text !important;
        color: transparent !important;
        -webkit-text-fill-color: transparent !important;
    }


    transition: all 0.3s ease;
}

.chic-list li:hover {
    color: #d80089 !important;
    text-shadow: 0 1px 4px rgba(255, 255, 255, 0.5) !important;
    transform: translateX(5px);
}

.chic-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: radial-gradient(circle at 28% 28%, #FFFFFF 0%, #FFE6F0 8%, #FFD4E5 15%, #FFC2DB 25%, #FFB3D9 35%, #FF99CC 50%, #FF7BB5 65%, #E75480 80%, #C0366F 100%);
    box-shadow:
        0 0 20px rgba(255, 105, 180, 0.8),
        0 0 35px rgba(255, 20, 147, 0.5),
        inset -3px -3px 6px rgba(0, 0, 0, 0.25),
        inset 3px 3px 6px rgba(255, 255, 255, 0.5),
        inset -1px -1px 2px rgba(199, 55, 111, 0.3),
        0 8px 16px rgba(0, 0, 0, 0.2),
        0 15px 25px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}

/* Projects Section - Glass Cards */
.project-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.project-card {
    background: rgba(255, 255, 255, 0.6);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 20, 147, 0.3);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
}

.project-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, var(--pink-primary), transparent, var(--pink-neon));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.project-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--glow-lg);
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
}

.project-card:hover::after {
    opacity: 1;
}

.project-img {
    height: 300px;
    overflow: hidden;
    position: relative;
}

.project-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, var(--bg-surface));
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
    filter: brightness(0.8) contrast(1.2);
}

.project-card:hover .project-img img {
    transform: scale(1.1);
    filter: brightness(1) contrast(1.2);
}

.project-content {
    padding: 3rem;
    position: relative;
    z-index: 2;
}

.project-content.full {
    grid-column: 1 / -1;
}

.category {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--pink-neon);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    display: block;
    text-shadow: var(--glow-sm);
}

.project-content h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.project-content ul {
    margin: 1.5rem 0;
    padding-left: 0;
    list-style: none;
    color: var(--text-medium);
}

.project-content ul li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 2rem;
}

.project-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.3rem;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: radial-gradient(circle at 28% 28%, #FFFFFF 0%, #FFE6F0 8%, #FFD4E5 15%, #FFC2DB 25%, #FFB3D9 35%, #FF99CC 50%, #FF7BB5 65%, #E75480 80%, #C0366F 100%);
    box-shadow:
        0 0 20px rgba(255, 105, 180, 0.8),
        0 0 35px rgba(255, 20, 147, 0.5),
        inset -3px -3px 6px rgba(0, 0, 0, 0.25),
        inset 3px 3px 6px rgba(255, 255, 255, 0.5),
        inset -1px -1px 2px rgba(199, 55, 111, 0.3),
        0 8px 16px rgba(0, 0, 0, 0.2),
        0 15px 25px rgba(0, 0, 0, 0.15);
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 2rem;
}

.tags span {
    background: rgba(255, 20, 147, 0.1);
    border: 1px solid rgba(255, 20, 147, 0.3);
    color: var(--pink-light);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.project-card:hover .tags span {
    background: var(--pink-primary);
    color: var(--text-light);
    border-color: var(--pink-neon);
    box-shadow: var(--glow-sm);
}

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

.skill-category {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 20, 147, 0.3);
    padding: 3rem;
    border-radius: 24px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-10px);
    box-shadow: var(--glow-md);
    border-color: var(--pink-primary);
}

.skill-category h3 {
    font-size: 1.6rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid rgba(255, 20, 147, 0.3);
    padding-bottom: 1rem;
}

.skill-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.skill-chips span {
    background: rgba(255, 20, 147, 0.15);
    border: 1px solid rgba(255, 20, 147, 0.4);
    color: var(--pink-light);
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: default;
}

.skill-chips span:hover {
    background: var(--pink-primary);
    color: var(--text-light);
    box-shadow: var(--glow-md);
    transform: translateY(-3px);
}

.pink-chips span {
    background: rgba(255, 20, 147, 0.15);
    border-color: rgba(255, 20, 147, 0.4);
    color: var(--pink-light);
}

.pink-chips span:hover {
    background: var(--pink-primary);
    color: var(--text-light);
    box-shadow: var(--glow-md);
}

/* Education Timeline */
.edu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

.edu-column {
    background: rgba(255, 20, 147, 0.15);
    /* Pink semi-transparent box */
    border: 1px solid rgba(255, 20, 147, 0.3);
    border-radius: 30px;
    padding: 3rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(255, 20, 147, 0.1);
}

.column-title {
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--pink-light);
    text-shadow: var(--glow-sm);
}

.mt-4 {
    margin-top: 5rem;
}

.timeline-item {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 3.5rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 9px;
    top: 0;
    bottom: -3.5rem;
    width: 2px;
    background: rgba(255, 20, 147, 0.2);
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-dot {
    position: absolute;
    left: 0;
    top: 6px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 3px solid var(--pink-primary);
    box-shadow: 0 0 10px var(--pink-primary);
    transition: all 0.3s ease;
    z-index: 2;
}

.timeline-item:hover .timeline-dot {
    background: var(--pink-neon);
    border-color: var(--text-light);
    box-shadow: var(--glow-md);
    transform: scale(1.2);
}

.timeline-date {
    font-size: 1rem;
    font-weight: 800;
    color: var(--pink-light);
    margin-bottom: 0.5rem;
    display: inline-block;
    background: rgba(255, 20, 147, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 20, 147, 0.3);
}

.timeline-item h4 {
    font-size: 1.4rem;
    margin-top: 0.5rem;
    margin-bottom: 0.3rem;
}

.timeline-item h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-medium);
    margin-bottom: 1rem;
}

/* Footer */
.chic-footer {
    background: linear-gradient(to top, #020005, var(--bg-dark));
    border-top: none !important;
    outline: none !important;
    box-shadow: inset 0 1px 0 var(--bg-dark) !important;
    padding: 8rem 0 4rem;
    text-align: center;
    position: relative;
}

.chic-footer::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--bg-dark);
    pointer-events: none;
}

.chic-footer h2 {
    font-size: 4rem;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--text-light) 0%, var(--pink-primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-links a {
    color: var(--pink-light);
    font-weight: 800;
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid transparent;
    border-radius: 50px;
}

.footer-links a:hover {
    color: var(--pink-neon);
    text-shadow: var(--glow-sm);
    border-color: rgba(255, 20, 147, 0.5);
    background: rgba(255, 20, 147, 0.05);
    transform: translateY(-3px);
}

.copyright {
    margin-top: 5rem;
    color: var(--text-medium);
    font-size: 1rem;
    opacity: 0.6;
}

/* Animations */
.slide-up {
    opacity: 0;
    transform: translateY(40px);
    animation: slideUp 1s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

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

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

/* Responsive */
@media (max-width: 1024px) {
    h1 {
        font-size: 4rem;
    }

    h2 {
        font-size: 3rem;
    }

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

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

    .hero-image-wrapper {
        max-width: 500px;
        margin: 0 auto;
    }

    .project-grid,
    .edu-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 3rem;
    }

    .nav-links {
        display: none;
    }

    .chic-list {
        grid-template-columns: 1fr;
    }

    .project-content {
        padding: 2rem;
    }

}

/* Scroll Down Indicator Component (Modern minimalist hot pink) */
.scroll-down-wrapper {
    /* Anchored to the bottom-center of whichever section contains it */
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 40;
    /* Float animation preserves the translateX so it doesn't drift */
    animation: scroll-float 3s ease-in-out infinite;
}

.scroll-down-btn {
    /* Dimensions & shape */
    width: 28px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    text-decoration: none;

    /* Hot-pink satin/matte metallic finish */
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.50) 0%, rgba(255, 255, 255, 0.10) 30%, rgba(255, 255, 255, 0.03) 100%),
        linear-gradient(135deg, rgba(255, 46, 166, 0.25) 0%, rgba(255, 46, 166, 0.60) 55%, rgba(225, 0, 116, 0.40) 100%);

    /* Ultra-thin chrome-pink border */
    border: 1px solid rgba(255, 122, 194, 0.75);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.20),
        inset 0 -6px 14px rgba(225, 0, 116, 0.10);

    position: relative;
    overflow: hidden;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

/* Micro brushed highlight */
.scroll-down-btn::before {
    content: '';
    position: absolute;
    inset: -40% -60%;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.55) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: rotate(18deg) translateX(-30%);
    opacity: 0;
    transition: opacity 180ms ease, transform 600ms cubic-bezier(0.19, 1, 0.22, 1);
    pointer-events: none;
}

.scroll-down-btn:hover {
    transform: scale(1.06);
    border-color: rgba(255, 122, 194, 0.95);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.22),
        0 0 10px rgba(255, 46, 166, 0.18);
}

.scroll-down-btn:hover::before {
    opacity: 1;
    transform: rotate(18deg) translateX(40%);
}

.scroll-down-btn svg {
    width: 14px;
    height: 22px;
    color: rgba(255, 255, 255, 0.92);
    filter: drop-shadow(0 0 2px rgba(255, 46, 166, 0.85)) drop-shadow(0 0 10px rgba(255, 45, 245, 0.25));
    position: relative;
    z-index: 2;
    transition: transform 180ms ease, filter 180ms ease;
}

.scroll-down-btn:hover svg {
    transform: scale(1.05);
    filter: drop-shadow(0 0 2px rgba(255, 46, 166, 1)) drop-shadow(0 0 14px rgba(255, 45, 245, 0.35));
}

/* Scroll down looping float animation */
@keyframes scroll-float {
    0% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-5px);
    }

    100% {
        transform: translateX(-50%) translateY(0);
    }
}


/* Micro-animation for double chevron path scrolling flow */
.chevron-1 {
    animation: chevron-scroll 2.5s infinite;
}

.chevron-2 {
    animation: chevron-scroll 2.5s infinite 0.4s;
}

@keyframes chevron-scroll {
    0% {
        opacity: 0.35;
        transform: translateY(-1px);
    }

    50% {
        opacity: 1;
        transform: translateY(1px);
    }

    100% {
        opacity: 0.35;
        transform: translateY(-1px);
    }
}

/* Language Switcher — absolutely positioned inside .hero (position:relative)
   top: 5.2rem  = clears the fixed navbar (~80px) + a comfortable 3px gap
   left: 2rem   = matches the nav-container left padding, aligning under "J" in JQ.  */
.lang-toggle-container {
    position: absolute;
    top: 5.2rem;
    left: 2rem;
    z-index: 200;
    /* above hero content and canvas */
    display: flex;
    align-items: center;
}



.lang-toggle-track {
    position: relative;
    display: flex;
    width: 74px;
    height: 30px;
    border-radius: 15px;

    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.08) 40%, rgba(255, 255, 255, 0.04) 100%),
        linear-gradient(135deg, rgba(255, 46, 166, 0.18) 0%, rgba(255, 46, 166, 0.42) 60%, rgba(225, 0, 116, 0.25) 100%);

    border: 1px solid var(--chrome-border);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.16),
        0 0 0 rgba(0, 0, 0, 0);

    padding: 2px;
    overflow: hidden;
    cursor: none;
    transition: border-color 180ms ease, transform 180ms ease;
}

.lang-toggle-track::after {
    content: '';
    position: absolute;
    top: -60%;
    left: -130%;
    width: 60%;
    height: 220%;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.55) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    opacity: 0;
    transition: opacity 180ms ease, left 650ms cubic-bezier(0.19, 1, 0.22, 1);
    pointer-events: none;
}

.lang-toggle-track:hover {
    transform: translateY(-1px);
    border-color: var(--chrome-border-strong);
}

.lang-toggle-track:hover::after {
    opacity: 1;
    left: 150%;
}

.lang-toggle-thumb {
    position: absolute;
    top: 2.5px;
    left: 2.5px;
    width: 33px;
    height: 23px;
    border-radius: 12px;

    /* thumb is satin satin-highlighted */
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.35) 40%, rgba(255, 46, 166, 0.55) 100%),
        linear-gradient(135deg, rgba(255, 46, 166, 0.15) 0%, rgba(255, 46, 166, 0.55) 70%, rgba(225, 0, 116, 0.45) 100%);

    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.18),
        0 0 0 rgba(0, 0, 0, 0);

    transition: left 240ms cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 2;
}

.lang-toggle-track.es-active .lang-toggle-thumb {
    left: 36.5px;
}

.lang-option {
    position: relative;
    flex: 1;
    background: none;
    border: none;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 0.75rem;
    color: rgba(225, 0, 116, 0.9);
    text-align: center;
    line-height: 23px;
    z-index: 3;
    cursor: none;
    transition: color 160ms ease, text-shadow 160ms ease;
    padding: 0;
    margin: 0;
    letter-spacing: 0.8px;
}

.lang-option.active {
    color: rgba(255, 255, 255, 0.98);
    text-shadow: var(--glow-crisp);
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .scroll-down-wrapper {
        bottom: 1.5rem;
    }

    .hero>.scroll-down-wrapper {
        top: calc(100vh - 4.5rem);
        bottom: auto;
    }

    .scroll-down-btn {
        width: 26px;
        height: 46px;
        border-radius: 14px;
    }

    .scroll-down-btn svg {
        width: 12px;
        height: 18px;
    }

    .lang-toggle-container {
        top: 4.8rem;
        left: 1.25rem;
    }
}