/*===== GOOGLE FONTS =====*/
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Iceland&family=Press+Start+2P&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Quantico:ital,wght@0,400;0,700;1,400;1,700&display=swap');

/*===== ENHANCED COLOR VARIABLES =====*/
:root {
    /* Primary Colors - Purple Gradient Theme */
    --primary-purple: #151417;
    --primary-purple-light: #0b0b0c;
    --primary-purple-dark: #070607;

    /* Accent Colors */
    --accent-cyan: #06B6D4;
    --accent-pink: #EC4899;
    --accent-orange: #F59E0B;

    /* Background Colors */
    --bg-dark: #1c1c1e;
    /* Matte Black */
    --bg-darker: #121212;
    /* Darker Matte Black */
    --bg-card: #2c2c2e;
    /* Matte Black Card */
    --bg-card-hover: #3a3a3c;

    /* Text Colors */
    --text-primary: #F1F5F9;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;

    /* Gradient Backgrounds */
    --gradient-primary: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    --gradient-accent: linear-gradient(135deg, #06B6D4 0%, #8B5CF6 100%);
    --gradient-warm: linear-gradient(135deg, #EC4899 0%, #F59E0B 100%);

    /* Shadows and Glows */
    --shadow-purple: 0 10px 40px rgba(139, 92, 246, 0.3);
    --shadow-cyan: 0 10px 40px rgba(6, 182, 212, 0.3);
    --glow-purple: 0 0 20px rgba(139, 92, 246, 0.5);
}

/*===== VARIABLES CSS =====*/
:root {
    --header-height: 3rem;
    --font-medium: 500;
}

/*===== Colores =====*/
:root {
    --first-color: var(--primary-purple);
    --white-color: var(--text-primary);
    --dark-color: #2A3B47;
    --text-color: var(--text-secondary);
}

/*===== Fuente y tipografia =====*/
:root {
    --body-font: 'Montserrat', sans-serif;
    --big-font-size: 6.25rem;
    --section-title-size: 1.75rem;
    --section-title-size-lg: 2rem;
    --h2-font-size: 1.25rem;
    --normal-font-size: .938rem;
    --small-font-size: .813rem;
}

@media screen and (min-width: 768px) {
    :root {
        --big-font-size: 10.5rem;
        --section-title-size: 2.25rem;
        --section-title-size-lg: 2.5rem;
        --h2-font-size: 2rem;
        --normal-font-size: 1rem;
        --small-font-size: .875rem;
    }
}

/*===== Margenes =====*/
:root {
    --mb-1: .5rem;
    --mb-2: 1rem;
    --mb-3: 1.5rem;
    --mb-4: 2rem;
}

/*===== z index =====*/
:root {
    --z-fixed: 100;
}

/*===== BASE =====*/
*,
::before,
::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: var(--header-height) 0 0 0;
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    font-weight: var(--font-medium);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-dark);
}

h1,
h2,
p {
    margin: 0;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

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

/* Gmail connect link styling */
.gmail-connect {
    color: var(--first-color);
    position: relative;
    transition: all 0.3s ease;
}

.gmail-connect:hover {
    color: var(--accent-cyan);
    text-decoration: underline;
}

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

/*===== CLASS CSS ===== */
.section {
    padding: 3rem 0;
}

.section-title {
    position: relative;
    font-size: var(--section-title-size);
    color: #ffffff;
    margin: var(--mb-2) 0;
    text-align: left;
    font-family: 'Iceland', sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.1;
}

/* ===== NEW SECTION LABEL + TITLE PATTERN ===== */
.section__label {
    font-size: 0.78rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8B5CF6;
    margin-bottom: 0.5rem;
}

.section__title {
    font-size: 2.8rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 2rem;
}


.section-title::after {
    content: '';
    display: block;
    margin: 0.1em 0 0 0;
    width: 0;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 4px;
    transition: width 0.5s cubic-bezier(.4, 0, .2, 1);
}

.section-title:hover::after,
.section-title:focus::after {
    width: 80px;
    /* Or your preferred width */
}



section {
    padding: 5rem 0;
}

.section__header {
    max-width: 1100px;
    margin: 0 auto 3rem;
}

.section__label {
    font-size: 11px;
    letter-spacing: 0.1em;
    color: #8B5CF6;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}

.section__title {
    font-family: 'Quantico', sans-serif;
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

/*===== LAYOUT =====*/
.bd-grid {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
}

.l-header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: var(--z-fixed);
    background: var(--bg-darker);
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
}

/*===== NAV =====*/
.nav {
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media screen and (max-width: 768px) {
    .nav__menu {
        position: fixed;
        top: var(--header-height);
        right: -100%;
        width: 80%;
        height: 100%;
        padding: 2rem;
        background-color: rgba(26, 26, 46, 0.95);
        transition: .5s;
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
    }
}

.nav__item {
    margin-bottom: var(--mb-4);
}

.nav__link {
    position: relative;
    color: var(--dark-color);
}

/* Dynamic underline element for navbar */
.nav-underline {
    position: absolute;
    height: 4px;
    background: var(--primary-purple);
    border-radius: 4px;
    bottom: 0;
    left: 0;
    width: 0;
    transition: left 0.25s cubic-bezier(.4, 0, .2, 1), width 0.25s cubic-bezier(.4, 0, .2, 1), opacity 0.2s;
    opacity: 1;
    z-index: 10;
    pointer-events: none;
}

/* Fallback/visual: show a centered purple underline for the active nav link */

/* Dynamic underline element for navbar */
.nav-underline {
    position: absolute;
    height: 4px;
    background: var(--primary-purple);
    border-radius: 4px;
    bottom: 0;
    left: 0;
    width: 0;
    transition: left 0.25s cubic-bezier(.4, 0, .2, 1), width 0.25s cubic-bezier(.4, 0, .2, 1), opacity 0.2s;
    opacity: 1;
    z-index: 10;
    pointer-events: none;
}

.nav__link:hover {
    color: #8B5CF6;
}

.nav__link.active {
    color: #8B5CF6;
}

.nav__logo {
    color: var(--white-color);
}

.nav__toggle {
    color: var(--white-color);
    font-size: 1.5rem;
    cursor: pointer;
}

/*=== Show menu ===*/
.show {
    right: 0;
}

/*Active menu*/
/* per-link pseudo-element underline removed in favor of a single dynamic underline element */

/* Dynamic nav underline element */
.nav-underline {
    pointer-events: none;
    display: block;
}

/*===== HOME =====*/
.home {
    position: relative;
    background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
    overflow: hidden;
    width: 100%;
    min-height: 100vh;
    transform: none;
}

.home__title {
    position: absolute;
    left: 150px;
    top: 50%;
    transform: translateY(-60%);
    text-align: left;
    font-size: 8rem;
    color: var(--white-color);
    line-height: 1.3;
    font-family: 'Press Start 2P', cursive;
}


.home__title span {
    display: block;
    margin: 0;
    padding: 0;
    text-align: left;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.home__scroll {
    position: relative;
}

.home__scroll-link {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 14px;
    color: var(--white-color);
    position: absolute;
    left: 20px;
    bottom: 20px;
    font-family: var(--body-font);
    letter-spacing: 1px;
    opacity: 0.8;
    z-index: var(--z-fixed, 100);
    transition: opacity 0.3s;
    cursor: pointer;
    animation: fadeinout 2.5s linear infinite;
}

@keyframes fadeinout {

    0%,
    100% {
        opacity: 0.8;
    }

    50% {
        opacity: 0.4;
    }
}



spline-viewer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw !important;
    height: 100vh !important;
    min-width: 100vw !important;
    min-height: 100vh !important;
    max-width: 100vw !important;
    max-height: 100vh !important;
    z-index: 1;
    object-fit: cover;
}


.robot-3d {
    position: absolute;
    top: 0%;
    left: 25%;
    width: 25%;
    /* Adjust size as needed */
    height: 30%;
    z-index: 2;


}

/* ===== ABOUT =====*/
#about {
    padding-top: 5rem;
    text-align: left;
}

.about__title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #ffffff !important;
}

.about__title strong {
    font-family: 'Press Start 2P', system-ui;
    font-weight: 600;
    color: #ffffff !important;
}

.about__subtitle {
    font-size: 1.4rem;
    color: #ffffff !important;
    margin-bottom: 1.5rem;
}

.about__description {
    line-height: 1.8;
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.about__links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.about__links a {
    color: #ffffff;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.link-h {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 500;
  font-family: monospace;
  color: #888;
  text-decoration: none;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 6px 4px;
  position: relative;
  transition: color 0.25s;
}

.link-h:hover { color: #e6edf3; }

/* brackets slide in */
.link-h .bracket-l,
.link-h .bracket-r {
  font-size: 16px;
  font-weight: 300;
  color: #e6edf3;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.25s cubic-bezier(.4,0,.2,1);
  line-height: 1;
}
.link-h .bracket-l { transform: translateX(8px); }
.link-h .bracket-r { transform: translateX(-8px); }
.link-h:hover .bracket-l { opacity: 1; transform: translateX(0); }
.link-h:hover .bracket-r { opacity: 1; transform: translateX(0); }

/* icon container */
.link-h .icon-wrap {
  position: relative;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.link-h .icon-wrap svg {
  position: absolute;
  top: 0;
  left: 0;
}

/* solid icon fades out */
.link-h .icon-fill { opacity: 1; transition: opacity 0.15s ease; }
.link-h:hover .icon-fill { opacity: 0; }

/* outline strokes draw in */
.link-h .icon-outline path,
.link-h .icon-outline rect,
.link-h .icon-outline circle,
.link-h .icon-outline line {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 80;
  stroke-dashoffset: 80;
  transition: stroke-dashoffset 0s;
}
.link-h:hover .icon-outline path,
.link-h:hover .icon-outline rect,
.link-h:hover .icon-outline circle,
.link-h:hover .icon-outline line {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-resume {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 1.5rem;
    border: 1px solid var(--bg-card-hover);
    border-radius: 8px;
    background: var(--bg-card);
    color: #ffffff;
    font-weight: 500;
    transition: 0.3s;
}

.btn-resume:hover {
    background: var(--bg-card-hover);
}

.section-label {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.stack-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.stack-tag {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--bg-card-hover);
    border-radius: 12px;
    background: var(--bg-card);
    font-size: 0.9rem;
    color: #ccc;
}

.stack-tag i {
    transition: color 0.2s;
}

/* Tech Stack Hover Colors */
.stack-tag:hover .bxl-html5 { color: #E34F26; }
.stack-tag:hover .bxl-css3 { color: #1572B6; }
.stack-tag:hover .bxl-javascript { color: #F7DF1E; }
.stack-tag:hover .bx-file { color: rgb(216, 61, 193); }
.stack-tag:hover .bxl-c-plus-plus { color: #4774c3ff; }
.stack-tag:hover .bx-terminal { color: rgb(52, 142, 232); }
.stack-tag:hover .bx-data { color: #00758F; }
.stack-tag:hover .bxl-git { color: #ff4000; }
.stack-tag:hover .bx-chip { color: #4CAF50; }
.stack-tag:hover .bx-area { color: #FF4B4B; }
.stack-tag:hover .bxl-bootstrap { color: #9545cb; }
.stack-tag:hover .bx-brain { color: #FFD21E; }
.stack-tag:hover .bxl-nodejs { color: #c33a1f; }
.stack-tag .vercel-icon { transition: color 0.2s; }
.stack-tag:hover .vercel-icon { color: #ffffff; }

/* Creative Visuals Hover Colors */
.stack-tag:hover .bx-palette { color: #35bae2; }
.stack-tag:hover .bx-video { color: #92ff52; }
.stack-tag:hover .bx-image { color: #4CAF50; }
.stack-tag:hover .bxl-adobe { color: #FF0000; }
.stack-tag:hover .bxl-figma { color: #1e4ff2; }


/* Card-based layout styles */
:root {
    --card-bg-color: var(--bg-card);
    --card-shadow: var(--shadow-purple);
    --card-border-radius: 0.5rem;
    --card-padding: 1.25rem;
    --card-transition: all 0.3s ease;
}

.info-cards {
    display: grid;
    /* let cards flow responsively: each card min 150px, grow to fill space */
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.75rem;
    /* tighter gap for compact look */
    margin-top: 0.75rem;
    align-items: start;
}

.info-card {
    background: var(--bg-card);
    border-radius: 0.5rem;
    padding: 0.6rem;
    /* compact padding */
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    height: 100%;
    border: 1px solid rgba(139, 92, 246, 0.12);
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.06);
    background: var(--bg-card-hover);
    border-color: rgba(139, 92, 246, 0.18);
}

.card-icon {
    color: var(--first-color);
    font-size: 1.2rem;
    /* smaller icon */
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
}

.card-content {
    flex: 1;
}

.card-label {
    font-size: 0.95rem;
    /* slightly smaller */
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.card-value {
    font-size: 0.9rem;
    color: var(--text-color);
    margin: 0;
}

.card-value.available {
    color: #28a745;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.status-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #28a745;
    border-radius: 50%;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .info-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }
}

@media screen and (max-width: 420px) {
    .info-cards {
        grid-template-columns: 1fr;
    }
}

@media screen and (min-width: 992px) {
    .info-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

.about__content {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
    align-items: center;
}






.about__title {
    font-size: var(--h2-font-size);
    color: var(--first-color);
    margin-bottom: 1rem;
}

.about__details {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.detail-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.about__subtitle {
    font-size: var(--h2-font-size);
    color: var(--first-color);
    margin-bottom: var(--mb-1);
}


/* ===== TYPING CURSOR ===== */
.cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: #7f77dd;
  margin-left: 2px;
  vertical-align: middle;
  animation: blink 0.75s step-end infinite;
}

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

.about__name {
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: var(--mb-2);
    text-transform: uppercase;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

/* Resume button */
/* Uiverse.io button (purple version, improved fill and less round) */
.button {
    cursor: pointer;
    position: relative;
    padding: 10px 24px;
    font-size: 18px;
    color: #8B5CF6;
    border: 2px solid #8B5CF6;
    border-radius: 12px;
    background-color: transparent;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
    overflow: hidden;
}

.button::before {
    content: '';
    position: absolute;
    inset: 0;
    margin: auto;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    scale: 0;
    z-index: -1;
    background-color: #8B5CF6;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
}

.button:hover::before {
    scale: 1.05 1.6;
}

.button:hover {
    color: #212121;
    scale: 1.05;
    box-shadow: 0 0px 20px rgba(139, 92, 246, 0.4);
}

.button:active {
    scale: 1;
}

.about__resume-actions .button {
    padding: 9px 22px;
    /* slightly smaller */
    font-size: 16px;
    /* reduced from 18px */
    border-radius: 11px;
    /* slightly smaller rounding */
}


.about__text {
    margin-bottom: var(--mb-4);
}

.about__profession {
    display: block;
    margin-bottom: var(--mb-4);
}


@media screen and (min-width: 768px) {
    .about__content {
        /* Wider image column to match the container bump */
        grid-template-columns: 400px 1fr;
        align-items: start;
        gap: 2.5rem;
        padding: 1.5rem 0;
    }

    .detail-row {
        grid-template-columns: 1fr 1fr;
    }

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

@media screen and (max-width: 767px) {
    .about__content {
        text-align: center;
    }

    .detail-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .detail-label {
        min-width: auto;
    }
}



.about__social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
    padding-bottom: 1rem;
}

.about__social-icon {
    font-size: 1.8rem;
    color: var(--text-color);
    transition: all 2s ease;
}

.about__social-icon:hover {
    color: var(--first-color);
    transform: translateY(-4px);
    cursor: pointer;
}

@media screen and (min-width: 768px) {
    .about__social {
        justify-content: center;
    }
}


/* ===== ACHIEVEMENTS ===== */
.achievement-card {
    position: relative;
    /* already set, just make sure */
}

.card-badge-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.card-linkedin-btn {
    position: relative;
    width: 30px;
    height: 30px;
    background: rgba(10, 102, 194, 0.85);
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 17px;
    z-index: 2;
    transition: background 0.2s ease, transform 0.2s ease;
    backdrop-filter: blur(4px);
}

.card-linkedin-btn:hover {
    background: #0a66c2;
    transform: scale(1.1);
}


#achievements {
    background: var(--bg-dark);
    padding: 5rem 0;
}

.achievements-subtitle {
    text-align: left;
    max-width: 600px;
    margin: 0 0 3rem 0;
    color: var(--text-secondary);
}

.achievements-grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.achievement-card {
    background: #1a1a22;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(139, 92, 246, 0.15);
    transition: border-color 0.3s ease;
}

.achievement-card:hover {
    border-color: rgba(139, 92, 246, 0.4);
}

.achievement-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
    background: #111118;
}

.achievement-card .card-body {
    padding: 10px 12px 12px;
}

/* BADGE */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 99px;
    margin-bottom: 2px;
}

.badge-gold {
    background: #2a1f04;
    color: #d4a017;
}

.badge-silver {
    background: #1e1e1e;
    color: #888888;
}

.badge-bronze {
    background: #1e0e06;
    color: #a0522d;
}

.badge .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
}

.badge-gold .dot {
    background: #d4a017;
}

.badge-silver .dot {
    background: #888888;
}

.badge-bronze .dot {
    background: #a0522d;
}

/* TEXT */
.achievement-card h3 {
    font-size: 14px;
    font-weight: 600;
    color: #e0e0e0;
    line-height: 1.4;
    margin-top: 2px;
    margin-bottom: 4px;
}

.achievement-card p {
    font-size: 12px;
    color: #888888;
    line-height: 1.4;
    margin: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .achievement-card img {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .achievements-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .achievement-card img {
        height: 220px;
    }
    .achievement-card .card-body {
        padding: 1.25rem;
    }
    .achievement-card h3 {
        font-size: 1.1rem;
        margin-top: 4px;
        margin-bottom: 8px;
    }
    .achievement-card p {
        font-size: 0.9rem;
    }
}

/* ===== SKILLS =====*/
.skills__container {
    row-gap: 2rem;
}

.skills__subtitle {
    color: var(--first-color);
    margin-bottom: var(--mb-3);
}

/* ===== SKILLS SECTION ===== */
.skills-section {
    padding: 80px 20px;
    background: var(--bg-dark);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Gradient bar removed */

.skills-section .section-title {
    font-size: var(--section-title-size);
    margin-bottom: 15px;
    color: #ffffff;
    position: relative;
    display: inline-block;
}

.skills-section .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient-primary);
}

.skills-subtitle {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: auto;
}

.skill-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(139, 92, 246, 0.15);
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 0;
    background: var(--gradient-primary);
    transition: height 0.4s ease;
}

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-purple);
    border-color: var(--primary-purple-light);
}

.skill-card:hover::before {
    height: 100%;
}

.skill-icon {
    width: 70px;
    height: 70px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.skill-card:hover .skill-icon {
    background: var(--gradient-primary);
}

.skill-icon i {
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: var(--mb-2);
    text-transform: uppercase;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.skill-card h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: #ffffff;
    position: relative;
    padding-bottom: 10px;
}

.skill-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: rgba(139, 92, 246, 0.3);
}

.skill-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    width: 100%;
}

.skill-list li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 20px;
    color: #cccccc;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.skill-list li:last-child {
    margin-bottom: 0;
}

.skill-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-cyan);
    font-size: 1.2rem;
}

.skill-list li:hover {
    color: var(--first-color);
    transform: translateX(5px);
}

.skill-list li small {
    font-size: 0.8rem;
    color: #888;
    margin-left: 5px;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .skills-section {
        padding: 60px 15px;
    }

    .skills-section .section-title {
        font-size: 2.2rem;
    }

    .skill-card {
        padding: 25px 20px;
    }
}

/* Old skills styles removed */

/* ===== PORTFOLIO / PROJECTS =====*/
.portfolio {
    background: var(--bg-dark);
}

.projects-intro-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 0 3rem 0;
    line-height: 1.6;
    text-align: left;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media screen and (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

.project-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: #1e1e1e;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.project-card:hover {
    background: #252525;
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

@keyframes spin-icon {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ===== PASTE THIS OVER YOUR EXISTING .project-card__icon BLOCK ===== */

.project-card__icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    margin-top: 0.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-card__icon svg {
    width: 36px;
    height: 36px;
    overflow: visible;
}

/* NO fill rule here — fill is controlled entirely by HTML attribute + JS */
.project-card__icon .petal {
    transition: fill 0.10s ease;
}

.project-card__content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.project-card__title {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.project-card__desc {
    color: #8c8c8c;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

/* ===== PROJECT DETAIL PAGE ===== */
.project-detail-page {
    padding-top: 6rem;
    max-width: 1000px;
    margin: 0 auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 0.5px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    margin-bottom: 3rem;
}

.back-btn .arrow {
    display: inline-block;
    transition: transform 0.2s ease;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.4);
}

.back-btn:hover .arrow {
    transform: translateX(-4px);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 2rem;
    margin-bottom: 3rem;
}

.project-meta h4 {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.project-meta h1 {
    font-family: 'Quantico', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #ffffff;
    max-width: 600px;
    line-height: 1.1;
}

.project-actions {
    display: flex;
    gap: 1rem;
}

.project-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    background: transparent;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.project-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
}

.project-content-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.05);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.project-content h2 {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.project-content p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.project-quote {
    border-left: 3px solid rgba(255, 255, 255, 0.2);
    padding-left: 1.5rem;
    font-style: italic;
    color: #a3a3a3;
    margin: 2rem 0;
}

.project-main-img {
    width: 100%;
    max-width: 700px;
    display: block;
    margin: 3rem auto;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.project-features,
.project-tech {
    margin-top: 2rem;
}

.project-features h3,
.project-tech h3 {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.project-list {
    list-style-type: disc;
    padding-left: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.project-list li {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.project-list li strong {
    color: #ffffff;
}

.project-credits {
    margin-top: 4rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.project-credits strong {
    color: #ffffff;
}

/* ===== PROJECT FOOTER ===== */
.project-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    padding-bottom: 2rem;
    margin-top: 5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.project-footer-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

@media screen and (max-width: 576px) {
    .project-footer {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
    }
}

@media screen and (max-width: 768px) {
    .project-header {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* ===== CONTACT =====*/
.contact {
    background: var(--bg-dark);
}

.contact__container {
    row-gap: 2rem;
}

.contact__container--2col {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 3rem;
    align-items: start;
}

/* TABLET — tighter gap, both columns still visible */
@media screen and (max-width: 900px) {
    .contact__container--2col {
        grid-template-columns: 1fr 180px;
        gap: 1rem;
    }
}

/* MOBILE — form only, sidebar completely hidden */
@media screen and (max-width: 600px) {
    .contact__container--2col,
    .contact__container--3col {
        grid-template-columns: 1fr;
    }

    .contact__sidebar {
        display: none !important;
    }
}

.contact__container--3col {
    display: grid;
    grid-template-columns: 1fr 1.4fr 260px;
    gap: 3rem;
    align-items: start;
}

@media screen and (max-width: 1100px) {
    .contact__container--3col {
        grid-template-columns: 1fr 200px;
        grid-template-rows: auto;
        gap: 1.5rem;
    }

    .contact__sidebar {
        grid-column: auto;
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
    }

    .contact__logo-badge {
        flex-basis: auto;
    }
}

@media screen and (max-width: 768px) {
    .contact__container--3col {
        grid-template-columns: 1fr;
    }

    .contact__sidebar {
        flex-direction: column;
    }
}

@media screen and (max-width: 480px) {
    .contact__sidebar {
        display: none;
    }
}

.contact__subtitle {
    font-size: var(--normal-font-size);
    color: #ffffff;
}

.contact__text {
    display: inline-block;
    margin-bottom: var(--mb-2);
    color: #ffffff;
}

/* CONTACT SIDEBAR */
.contact__sidebar {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    padding-top: 0.5rem;
}

.contact__logo-badge {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 2px;
    font-family: 'Montserrat', sans-serif;
}

.contact__sidebar-section {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.contact__sidebar-title {
    font-size: 0.78rem;
    color: #737373;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1.5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact__sidebar-title::before {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    background: #ffffff;
    border-radius: 50%;
}

.contact__email {
    color: #a3a3a3;
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.contact__email i {
    font-size: 1.1rem;
    color: #737373;
}

.contact__email:hover {
    color: #ffffff;
}

.contact__social-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact__social-link {
    color: #a3a3a3;
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    transition: color 0.3s ease;
}

.contact__social-link i {
    font-size: 1.2rem;
    color: #737373;
    transition: color 0.3s ease;
}

.contact__social-link:hover,
.contact__social-link:hover i {
    color: #ffffff;
}

/* NEW FORM FIELDS */
.new-contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
}

.form__group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form__group label {
    font-size: 0.85rem;
    color: #ffffff;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.form__group input,
.form__group textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.8rem 0;
    color: #ffffff;
    font-size: 1rem;
    outline: none;
    font-family: var(--body-font);
    transition: border-color 0.3s ease;
}

.form__group input::placeholder,
.form__group textarea::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.form__group input:focus,
.form__group textarea:focus {
    border-bottom-color: #ffffff;
}

.form__group textarea {
    resize: none;
}

/* SUBMIT AREA */
.contact__submit-area {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1rem;
    position: relative;
}

.required-note {
    font-size: 0.8rem;
    color: #737373;
}

/* ===== SEND MESSAGE BUTTON (Matches Download Resume Style) ===== */
.contact_button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 1.5rem;
    border: 1px solid var(--bg-card-hover);
    border-radius: 8px;
    background: var(--bg-card);
    color: #ffffff;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s, border-color 0.3s;
    overflow: visible;
    position: static;
}

.contact_button:hover {
    background: var(--bg-card-hover);
    color: #ffffff;
    scale: 1;
    box-shadow: none;
}

.contact_button i {
    transition: transform 0.3s ease;
}

.contact_button:hover i {
    transform: translate(4px, -4px);
}

.contact_button:active {
    scale: 1;
}

.contact_button::before {
    display: none;
}

/* ===== CONTACT GREETING ===== */
.contact__greeting {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    align-items: flex-end;
    padding: 1rem 0;
}

/* ---- Greeting words: hidden until .in-view is added by JS ---- */
.greeting-word {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    letter-spacing: -1px;
    color: var(--first-color, #5361FF);
    flex-basis: 100%;
}

/* Adding .in-view triggers the transition on every word */
.contact__greeting.in-view .greeting-word {
    opacity: 1;
    transform: translateY(0);
}

.gradient-word {
    background: linear-gradient(135deg, #5361FF, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.greeting-line {
    width: 90%;
    height: 3px;
    border-radius: 2px;
    margin-top: 0.8rem;
    position: relative;
    background: transparent;
    overflow: hidden;
    flex-basis: unset;
}

.greeting-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #5361FF, #a78bfa);
    border-radius: 2px;
    transition: left 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.9s;
}

.contact__greeting.in-view .greeting-line::after {
    left: 0%;
}

.greeting-sub {
    flex-basis: 100%;
    margin-top: 1rem;
    font-size: 1rem;
    color: var(--text-color, #666);
    opacity: 0;
    transform: translateY(10px);
    line-height: 1.6;
    transition: opacity 0.6s ease 1.1s, transform 0.6s ease 1.1s;
}

.contact__greeting.in-view .greeting-sub {
    opacity: 1;
    transform: translateY(0);
}

/* Contact links under the greeting */
.greeting-contacts {
    flex-basis: 100%;
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.6s ease 1.3s, transform 0.6s ease 1.3s;
}

.contact__greeting.in-view .greeting-contacts {
    opacity: 1;
    transform: translateY(0);
}

.greeting-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-color, #444);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.greeting-contact-item i {
    font-size: 1.3rem;
    color: var(--first-color, #5361FF);
}

.greeting-contact-item:hover {
    color: var(--first-color, #5361FF);
}



/* 🎉 Confetti Canvas */
#confetti-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}


/* ===== FOOTER=====*/
.footer {
    background: var(--bg-darker);
    border-top: 1px solid rgba(139, 92, 246, 0.1);
}

.footer.section {
    padding: 1.5rem 0;
}

.footer__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    row-gap: 2rem;
}

.footer__left {
    text-align: left;
}

.footer__right {
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media screen and (max-width: 768px) {
    .footer__container {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .footer__left,
    .footer__right {
        text-align: center;
        width: 100%;
    }

    .footer__social-container {
        justify-content: center;
    }
}

.footer__title {
    font-size: 0.85rem;
    color: var(--white-color);
    margin-bottom: var(--mb-2);
    letter-spacing: 0.08em;
}

.footer__social-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 1.5rem;
    margin-top: 0.5rem;
    width: 100%;
}


.footer__link {
    padding: .25rem 0;
}

.footer__link:hover {
    color: var(--first-color);
}

.footer__social {
    font-size: 1.8rem;
    margin-right: var(--mb-2);
    display: inline-block;
    padding: 0.5rem;
    transition: .3s;
}

.footer__social:hover {
    transform: translateY(-0.25rem);
    filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.8));
}

/* Fix footer social links to be in a single row */
.footer__data:nth-child(3) {
    display: flex;
    flex-direction: column;
}

.footer__data:nth-child(3) .footer__title {
    margin-bottom: var(--mb-2);
}



.footer__social {
    display: inline-flex;
    margin-right: 0;
    font-size: 1.8rem;
    transition: .3s;
}

.footer__social:hover {
    transform: translateY(-0.25rem);
}


/* ===== MEDIA QUERIES =====*/
/* For small devices */
@media screen and (max-width: 320px) {
    .home__img {
        width: 230px;
    }
}

@media screen and (min-width: 768px) {
    body {
        margin: 0;
    }

    .section {
        padding-top: 4rem;
    }

    .section-title {
        font-size: var(--section-title-size-lg);
        margin-bottom: 3rem;
    }

    .section-title::after {
        width: 64px;
        top: 3rem;
    }

    .nav {
        height: calc(var(--header-height) + 1rem);
    }

    .nav__list {
        display: flex;
    }

    .nav__item {
        margin-left: var(--mb-4);
        margin-bottom: 0;
    }

    .nav__toggle {
        display: none;
    }

    .nav__link {
        color: var(--white-color);
    }

    .nav__link:hover {
        color: var(--white-color);
    }

    /* per-link pseudo-element underline removed in favor of a single dynamic underline element */

    .home__container {
        height: 100vh;
        grid-template-rows: 1.7fr 1fr;
        row-gap: 0;
    }

    .home__img {
        width: 524px;
        right: 10%;
    }

    /* Spline viewer responsive */
    spline-viewer {
        width: 100%;
        height: 100%;
    }

    .about__container {
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
        text-align: initial;
        padding: 4rem 0;
    }

    .about__img {
        width: 200px;
        height: 200px;
    }

    .about__img img {
        width: 165px;
    }

    .skills__container {
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
    }

    .portfolio__container {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 1fr);
        column-gap: 2rem;
    }

    .contact__container {
        grid-template-columns: repeat(2, 1fr);
        justify-items: center;
    }

    .contact__form {
        width: 380px;
    }

    .footer__container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
}

@media screen and (min-width: 1024px) {
    /* Removed custom bd-grid margin overrides since they are handled globally */
}

/* For tall screens on mobiles y desktop*/
@media screen and (min-height: 721px) {
    .home__container {
        height: 640px;
    }

    .home__img {
        width: 500px;
        right: 24%;
    }
}

.about__img-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--mb-2);
}



/* Add this to the existing media query for larger screens */
.about_conduct__info {
    display: flex;
    justify-content: space-between;
    gap: var(--mb-4);
    margin-bottom: var(--mb-4);
}

.contact__item {
    flex: 1;
}

@media screen and (max-width: 768px) {
    .about_conduct__info {
        flex-direction: column;
        gap: var(--mb-2);
    }
}

@media screen and (min-width: 768px) {
    .about__buttons {
        justify-content: flex-start;
    }
}

.about__resume-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}


/* Highlight styling for about section */
.highlight {
    color: var(--accent-cyan);
    font-weight: 600;
}

.profession-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: var(--mb-4);
}

.static-text {
    font-size: var(--normal-font-size);
    color: var(--text-color);
}

.typing-effect {
    display: inline-flex;
    align-items: center;
}

.typing-text {
    position: relative;
    width: 0;
    max-width: 240px;
    animation: typing 12s steps(25) infinite;
    white-space: nowrap;
    overflow: hidden;
    font-family: var(--body-font);
    color: var(--first-color);
    font-size: var(--normal-font-size);
    line-height: normal;
}

@media screen and (min-width: 768px) {
    .profession-wrapper {
        justify-content: flex-start;
    }
}

.typing-text::before {
    content: "";
    animation: typingText 12s infinite;
}

.typing-text::after {
    content: "";
    position: absolute;
    right: -2px;
    width: 2px;
    height: 100%;
    background: var(--first-color);
    animation: blink 0.8s infinite;
}

@keyframes typingText {

    0%,
    20% {
        content: "Full Stack Developer";
    }

    25%,
    45% {
        content: "Hardware Developer";
    }

    50%,
    70% {
        content: "Video Editor";
    }

    75%,
    95% {
        content: "Co-founder @ Neuron tech";
    }

    96%,
    100% {
        content: "Full Stack Developer";
    }
}

@keyframes typing {
    0% {
        width: 0;
    }

    10%,
    20% {
        width: 240px;
    }

    25% {
        width: 0;
    }

    35%,
    45% {
        width: 220px;
    }

    50% {
        width: 0;
    }

    60%,
    70% {
        width: 160px;
    }

    75% {
        width: 0;
    }

    85%,
    95% {
        width: 260px;
    }

    96% {
        width: 0;
    }

    100% {
        width: 240px;
    }
}

@keyframes blink {
    50% {
        background: transparent;
    }
}

/* Pulse glow animation for cards */
@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
    }

    50% {
        box-shadow: 0 0 30px rgba(139, 92, 246, 0.5);
    }
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--primary-purple);
    border-radius: 5px;
}

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

@media screen and (max-width: 768px) {
    .footer__container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer__left,
    .footer__right {
        text-align: center;
        width: 100%;
        align-items: center;  /* ← override flex-end for mobile */
    }

    .footer__social-container {
        justify-content: center;  /* ← centers icons on mobile */
    }
}

/* GitHub icon draw animation */
.gh-svg .fill-path {
    fill: currentColor;
    stroke: none;
    opacity: 1;
    transition: opacity 0.15s ease;
}

.source-btn:hover .gh-svg .fill-path {
    opacity: 0;
}

.gh-svg .outline-path {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    transition: stroke-dashoffset 0s;
}

.source-btn:hover .gh-svg .outline-path {
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* text underline */
.source-btn .underline {
    position: relative;
}

.source-btn .underline::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width 0.3s ease;
}

.source-btn:hover .underline::after {
    width: 100%;
}

/* ===== FORM NOTIFICATION TOAST ===== */
.form-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #1e1e24;
    border: 1px solid rgba(139, 92, 246, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(139, 92, 246, 0.1);
    color: #fff;
    padding: 16px 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    z-index: 9999;
    transform: translateY(100px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.form-notification.show {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.form-notification i {
    font-size: 1.5rem;
}

.form-notification.success i {
    color: #5bfcc4;
}

.form-notification.error i {
    color: #ff6b6b;
}

@media screen and (max-width: 576px) {
    .form-notification {
        bottom: 20px;
        right: 20px;
        left: 20px;
        justify-content: center;
    }
}
