:root {
    --primary-color: #0f172a;
    --text-color: #334155;
    --accent-purple: #a855f7;
    --accent-blue: #3b82f6;
    --accent-cyan: #06b6d4;
    --accent-pink: #ec4899;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.4);
    --font-main: 'Outfit', Helvetica, Arial, sans-serif;
    --transition: all 0.3s ease;
    --bg: #f8fafc;
    --card-bg: #ffffff;
    --border: #e2e8f0;
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #4facfe 75%, #00f2fe 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent-purple), var(--accent-blue), var(--accent-cyan));
    --gradient-mesh: radial-gradient(ellipse 120% 80% at 20% 30%, rgba(168, 85, 247, 0.12) 0%, transparent 55%),
        radial-gradient(ellipse 100% 70% at 80% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 55%),
        radial-gradient(ellipse 90% 80% at 60% 70%, rgba(6, 182, 212, 0.08) 0%, transparent 60%);
}

[data-theme="dark"] {
    --primary-color: #e5e7eb;
    --text-color: #cbd5e1;
    --bg: #0b0f1a;
    --card-bg: #111827;
    --border: #1f2937;
    --glass-bg: rgba(17, 24, 39, 0.75);
    --glass-border: rgba(255, 255, 255, 0.1);
    --gradient-mesh: radial-gradient(ellipse 120% 80% at 20% 30%, rgba(168, 85, 247, 0.1) 0%, transparent 55%),
        radial-gradient(ellipse 100% 70% at 80% 20%, rgba(59, 130, 246, 0.08) 0%, transparent 55%),
        radial-gradient(ellipse 90% 80% at 60% 70%, rgba(6, 182, 212, 0.06) 0%, transparent 60%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--primary-color);
    background: var(--bg);
    background-image: var(--gradient-mesh);
    line-height: 1.65;
    overflow-x: hidden;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.page-loader {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0b0f1a;
    transition: opacity 0.35s ease;
    animation: page-loader-auto-hide 0.35s ease 2s forwards;
}

.page-loader.is-hidden {
    opacity: 0;
    pointer-events: none;
}

@keyframes page-loader-auto-hide {
    to {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
}

.loader-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    width: auto;
    margin: 2rem;
    font-family: 'Outfit', Helvetica, Arial, sans-serif;
    font-size: clamp(1rem, 4vw, 1.6em);
    font-weight: 500;
    user-select: none;
    color: #ffffff;
    scale: 2;
    max-width: min(92vw, 560px);
    flex-wrap: wrap;
    text-align: center;
    letter-spacing: 0.08em;
}

.loader {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 1;
    background-color: transparent;
    mask: repeating-linear-gradient(
        90deg,
        transparent 0,
        transparent 6px,
        black 6px,
        black 9px
    );
}

.loader::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 50% 50%, #ff0 0%, transparent 50%),
        radial-gradient(circle at 45% 45%, #f00 0%, transparent 45%),
        radial-gradient(circle at 55% 55%, #0ff 0%, transparent 45%),
        radial-gradient(circle at 45% 55%, #0f0 0%, transparent 45%),
        radial-gradient(circle at 55% 45%, #00f 0%, transparent 45%);
    mask: radial-gradient(
        circle at 50% 50%,
        transparent 0%,
        transparent 10%,
        black 25%
    );
    animation: transform-animation 2s infinite alternate, opacity-animation 4s infinite;
    animation-timing-function: cubic-bezier(0.6, 0.8, 0.5, 1);
}

@keyframes transform-animation {
    0% { transform: translate(-55%); }
    100% { transform: translate(55%); }
}

@keyframes opacity-animation {
    0%,
    100% { opacity: 0; }
    15% { opacity: 1; }
    65% { opacity: 0; }
}

.loader-letter {
    display: inline-block;
    opacity: 0;
    animation: loader-letter-anim 4s infinite linear;
    z-index: 2;
}

.loader-space {
    width: 0.45em;
}

@media (max-width: 480px) {
    .loader-wrapper {
        scale: 1.15;
        height: auto;
        margin: 1.25rem;
        letter-spacing: 0.03em;
    }

    .loader-space {
        width: 0.3em;
    }
}

.loader-letter:nth-of-type(1) { animation-delay: 0.10s; }
.loader-letter:nth-of-type(2) { animation-delay: 0.205s; }
.loader-letter:nth-of-type(3) { animation-delay: 0.31s; }
.loader-letter:nth-of-type(4) { animation-delay: 0.415s; }
.loader-letter:nth-of-type(5) { animation-delay: 0.521s; }
.loader-letter:nth-of-type(6) { animation-delay: 0.626s; }
.loader-letter:nth-of-type(7) { animation-delay: 0.731s; }
.loader-letter:nth-of-type(8) { animation-delay: 0.837s; }
.loader-letter:nth-of-type(9) { animation-delay: 0.942s; }
.loader-letter:nth-of-type(10) { animation-delay: 1.047s; }
.loader-letter:nth-of-type(11) { animation-delay: 1.152s; }
.loader-letter:nth-of-type(12) { animation-delay: 1.257s; }
.loader-letter:nth-of-type(13) { animation-delay: 1.362s; }
.loader-letter:nth-of-type(14) { animation-delay: 1.467s; }
.loader-letter:nth-of-type(15) { animation-delay: 1.572s; }
.loader-letter:nth-of-type(16) { animation-delay: 1.677s; }

@keyframes loader-letter-anim {
    0% {
        filter: blur(0px);
        opacity: 0;
    }
    5% {
        opacity: 1;
        text-shadow: 0 0 4px #8d8379;
        filter: blur(0px);
        transform: scale(1.1) translateY(-2px);
    }
    20% {
        opacity: 0.2;
        filter: blur(0px);
    }
    100% {
        filter: blur(5px);
        opacity: 0;
    }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0.2125rem 5%;
    padding-left: max(5%, env(safe-area-inset-left));
    padding-right: max(5%, env(safe-area-inset-right));
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: none;
    z-index: 1000;
}

.logo {
    font-weight: 700;
    font-size: 1.35rem;
    letter-spacing: -0.03em;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.theme-toggle {
    min-width: 44px;
    min-height: 44px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--card-bg);
    color: var(--primary-color);
    display: grid;
    place-items: center;
    transition: var(--transition);
    cursor: pointer;
}

.theme-toggle:hover {
    transform: translateY(-2px);
    border-color: var(--accent-purple);
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.2);
}

.menu-toggle {
    min-width: 44px;
    min-height: 44px;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    background: var(--card-bg);
    border-radius: 12px;
    display: none;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.menu-icon {
    width: 22px;
    height: 2px;
    background: var(--primary-color);
    position: relative;
    display: block;
    transition: var(--transition);
}

.menu-icon::before,
.menu-icon::after {
    content: "";
    position: absolute;
    left: 0;
    width: 22px;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.menu-icon::before { top: -6px; }
.menu-icon::after { top: 6px; }

.nav.open .menu-icon { background: transparent; }
.nav.open .menu-icon::before { top: 0; transform: rotate(45deg); }
.nav.open .menu-icon::after { top: 0; transform: rotate(-45deg); }

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.925rem;
    transition: var(--transition);
    position: relative;
    padding: 0.25rem 0;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    letter-spacing: 0.01em;
}

.nav-icon {
    opacity: 0.7;
    width: 16px;
    height: 16px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-blue);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: var(--gradient-accent);
    transition: var(--transition);
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: clamp(2rem, 4vw, 4rem);
    padding: 0 5%;
    padding-top: 60px;
    padding-bottom: 2rem;
    padding-left: max(5%, env(safe-area-inset-left));
    padding-right: max(5%, env(safe-area-inset-right));
    max-width: 1440px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 100% 60% at 70% 40%, rgba(168, 85, 247, 0.08) 0%, transparent 55%),
        radial-gradient(ellipse 80% 50% at 20% 60%, rgba(6, 182, 212, 0.06) 0%, transparent 55%),
        linear-gradient(90deg, var(--bg-primary) 0%, transparent 8%, transparent 92%, var(--bg-primary) 100%);
    pointer-events: none;
}

.hero-content {
    padding-right: clamp(0rem, 3vw, 3rem);
    z-index: 10;
    max-width: 640px;
    text-align: center;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.08;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.035em;
}

.gradient-text {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    background-size: 220% 220%;
    animation: text-gradient-shift 10s ease infinite;
}

@keyframes text-gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

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

.hero-content .subtitle {
    font-size: clamp(0.95rem, 1.4vw, 1.125rem);
    color: var(--text-color);
    margin-bottom: 2rem;
    max-width: 48ch;
    line-height: 1.7;
    font-weight: 400;
}

.accent-link {
    background: linear-gradient(135deg, #a855f7, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.3em;
    font-weight: 700;
    display: inline-block;
}

.hero-content .subtitle strong {
    font-size: 1.1em;
    font-weight: 600;
}

.cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.btn-resume {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.25s ease;
    backdrop-filter: blur(8px);
}

.btn-resume:hover {
    color: var(--accent-purple);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.15);
}

.resume-icon {
    opacity: 0.8;
    transition: opacity 0.25s ease;
}

.btn-resume:hover .resume-icon {
    opacity: 1;
}

.btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 13rem;
  overflow: hidden;
  height: 3rem;
  background-size: 300% 300%;
  cursor: pointer;
  backdrop-filter: blur(1rem);
  border-radius: 5rem;
  transition: 0.5s;
  animation: gradient_301 5s ease infinite;
  border: double 4px transparent;
  background-image: linear-gradient(#212121, #212121),
    linear-gradient(
      137.48deg,
      #ffdb3b 10%,
      #fe53bb 45%,
      #8f51ea 67%,
      #0044ff 87%
    );
  background-origin: border-box;
  background-clip: content-box, border-box;
  text-decoration: none;
  font-family: var(--font-main);
  font-weight: 500;
  position: relative;
  padding: 0.25rem;
  gap: 0.35rem;
  user-select: none;
  box-sizing: border-box;
  isolation: isolate;
  color: #ffffff;
}

.container-stars {
  position: absolute;
  z-index: 0;
  width: 100%;
  height: 100%;
  inset: 0;
  overflow: hidden;
  transition: 0.5s;
  backdrop-filter: blur(1rem);
  border-radius: 5rem;
  pointer-events: none;
}

.btn strong {
  z-index: 2;
  font-family: var(--font-main);
  font-size: 12px;
  letter-spacing: 4px;
  color: #ffffff;
  text-shadow: 0 0 4px white;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-icon {
  flex-shrink: 0;
}

.glow {
  position: absolute;
  display: flex;
  width: 12rem;
  inset: 0;
  margin: auto;
  pointer-events: none;
  z-index: 1;
}

.circle {
  width: 100%;
  height: 30px;
  filter: blur(2rem);
  animation: pulse_3011 4s infinite;
  z-index: 1;
}

.circle:nth-of-type(1) {
  background: rgba(254, 83, 186, 0.636);
}

.circle:nth-of-type(2) {
  background: rgba(142, 81, 234, 0.704);
}

.btn:hover .container-stars {
  z-index: 1;
  background-color: #212121;
}

.btn:hover {
  transform: scale(1.1);
}

.btn:active {
  border: double 4px #fe53bb;
  background-origin: border-box;
  background-clip: content-box, border-box;
  animation: none;
}

.btn:active .circle {
  background: #fe53bb;
}

.stars {
  position: absolute;
  inset: 0;
  background: transparent;
  width: 200rem;
  height: 200rem;
  pointer-events: none;
}

.stars::after {
  content: "";
  position: absolute;
  top: -10rem;
  left: -100rem;
  width: 100%;
  height: 100%;
  animation: animStarRotate 90s linear infinite;
}

.stars::after {
  background-image: radial-gradient(#ffffff 1px, transparent 1%);
  background-size: 50px 50px;
}

.stars::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 170%;
  height: 500%;
  animation: animStar 60s linear infinite;
}

.stars::before {
  background-image: radial-gradient(#ffffff 1px, transparent 1%);
  background-size: 50px 50px;
  opacity: 0.5;
}

@keyframes animStar {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-135rem);
  }
}

@keyframes animStarRotate {
  from {
    transform: rotate(360deg);
  }

  to {
    transform: rotate(0);
  }
}

@keyframes gradient_301 {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes pulse_3011 {
  0% {
    transform: scale(0.75);
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
  }

  100% {
    transform: scale(0.75);
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  }
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    min-height: 360px;
}

.image-container {
    width: clamp(270px, 22vw, 330px);
    height: clamp(270px, 22vw, 330px);
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    z-index: 5;
    box-shadow:
        0 16px 40px rgba(15, 23, 42, 0.3);
    border: 4px solid transparent;
    background:
        linear-gradient(var(--card-bg), var(--card-bg)) padding-box,
        var(--gradient-accent) border-box;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-container:hover .hero-image {
    transform: scale(1.05);
}

.visual-circle-bg {
    position: absolute;
    width: min(400px, 70vw);
    height: min(400px, 70vw);
    background: radial-gradient(circle, rgba(168, 85, 247, 0.1) 0%, rgba(59, 130, 246, 0.06) 45%, transparent 75%);
    border-radius: 50%;
    z-index: 1;
    filter: blur(30px);
}

/* Floating Logos - Solar System Orbits */
.floating-logo {
    position: absolute;
    z-index: 10;
    top: 50%;
    left: 50%;
    margin-top: -20px;
    margin-left: -20px;
}

.floating-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

/* After Effects - inner orbit, 2x size */
.float-logo-1 {
    width: 52px; height: 52px;
    margin-top: -26px; margin-left: -26px;
    animation: orbit1 36s linear infinite;
}

/* Premiere Pro - inner orbit, 2x size */
.float-logo-2 {
    width: 48px; height: 48px;
    margin-top: -24px; margin-left: -24px;
    animation: orbit2 40s linear infinite;
}

/* Photoshop - middle orbit */
.float-logo-3 {
    width: 28px; height: 28px;
    margin-top: -14px; margin-left: -14px;
    animation: orbit3 48s linear infinite;
}

/* Illustrator - middle orbit */
.float-logo-4 {
    width: 26px; height: 26px;
    margin-top: -13px; margin-left: -13px;
    animation: orbit4 38s linear infinite;
}

/* Blender - outer orbit */
.float-logo-5 {
    width: 28px; height: 28px;
    margin-top: -14px; margin-left: -14px;
    animation: orbit5 55s linear infinite;
}

/* AI - middle orbit, 2x size */
.float-logo-6 {
    width: 46px; height: 46px;
    margin-top: -23px; margin-left: -23px;
    animation: orbit6 44s linear infinite;
}

/* Meta - outer orbit */
.float-logo-7 {
    width: 26px; height: 26px;
    margin-top: -13px; margin-left: -13px;
    animation: orbit7 50s linear infinite;
}

/* Facebook - outer orbit */
.float-logo-8 {
    width: 26px; height: 26px;
    margin-top: -13px; margin-left: -13px;
    animation: orbit8 46s linear infinite;
}

/* Instagram - middle orbit */
.float-logo-9 {
    width: 28px; height: 28px;
    margin-top: -14px; margin-left: -14px;
    animation: orbit9 42s linear infinite;
}

/* Adobe - outer orbit */
.float-logo-10 {
    width: 28px; height: 28px;
    margin-top: -14px; margin-left: -14px;
    animation: orbit10 52s linear infinite;
}

/* Inner orbit ~200px radius */
@keyframes orbit1 {
    0%   { transform: rotate(0deg)   translateX(200px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(200px) rotate(-360deg); }
}

@keyframes orbit2 {
    0%   { transform: rotate(180deg)   translateX(210px) rotate(-180deg); }
    100% { transform: rotate(540deg)   translateX(210px) rotate(-540deg); }
}

/* Middle orbit ~240px radius */
@keyframes orbit3 {
    0%   { transform: rotate(60deg)    translateX(240px) rotate(-60deg); }
    100% { transform: rotate(420deg)   translateX(240px) rotate(-420deg); }
}

@keyframes orbit4 {
    0%   { transform: rotate(240deg)   translateX(235px) rotate(-240deg); }
    100% { transform: rotate(600deg)   translateX(235px) rotate(-600deg); }
}

@keyframes orbit6 {
    0%   { transform: rotate(120deg)   translateX(245px) rotate(-120deg); }
    100% { transform: rotate(480deg)   translateX(245px) rotate(-480deg); }
}

/* Outer orbit ~280px radius */
@keyframes orbit5 {
    0%   { transform: rotate(30deg)    translateX(280px) rotate(-30deg); }
    100% { transform: rotate(390deg)   translateX(280px) rotate(-390deg); }
}

@keyframes orbit7 {
    0%   { transform: rotate(200deg)   translateX(270px) rotate(-200deg); }
    100% { transform: rotate(560deg)   translateX(270px) rotate(-560deg); }
}

@keyframes orbit8 {
    0%   { transform: rotate(90deg)    translateX(265px) rotate(-90deg); }
    100% { transform: rotate(450deg)   translateX(265px) rotate(-450deg); }
}

@keyframes orbit9 {
    0%   { transform: rotate(300deg)   translateX(250px) rotate(-300deg); }
    100% { transform: rotate(660deg)   translateX(250px) rotate(-660deg); }
}

@keyframes orbit10 {
    0%   { transform: rotate(150deg)   translateX(285px) rotate(-150deg); }
    100% { transform: rotate(510deg)   translateX(285px) rotate(-510deg); }
}

/* Skills Section */
.section.skills {
    display: block;
    max-width: 100% !important;
    padding-left: 3% !important;
    padding-right: 3% !important;
}

.skills .section-header {
    text-align: center;
    margin-bottom: 0.5rem;
    max-width: 100%;
}

.skills-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.skills-category-title {
    display: block;
    width: 100%;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-purple);
    margin: 2rem 0 0.6rem;
    text-align: center;
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
}

.skill-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    border-radius: 12px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    cursor: default;
    flex: 1 1 auto;
    justify-content: center;
}

.skill-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(168, 85, 247, 0.12);
    border-color: var(--accent-purple);
}

.skill-icon-img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.15));
}

.skill-icon-svg {
    width: 22px;
    height: 22px;
    color: var(--accent-blue);
    opacity: 0.85;
    flex-shrink: 0;
}

.skill-card:hover .skill-icon-svg {
    color: var(--accent-purple);
    opacity: 1;
}

.skill-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    white-space: nowrap;
    line-height: 1.2;
}

.skill-card:hover .skill-label {
    color: var(--text-primary);
}

/* Mobile: vertical card layout */
@media (max-width: 600px) {
    .skills-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }

    .skill-card {
        flex-direction: column;
        padding: 1rem 0.5rem;
        gap: 0.4rem;
    }

    .skill-label {
        font-size: 0.72rem;
        white-space: normal;
        text-align: center;
    }
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.hero-content h1,
.hero-content .subtitle,
.hero-content .cta-group,
.hero-visual {
    opacity: 0;
    animation: fadeIn 0.5s ease-out forwards;
}
.hero-content h1 { animation-delay: 0.05s; }
.hero-content .subtitle { animation-delay: 0.15s; }
.hero-content .cta-group { animation-delay: 0.25s; }
.hero-visual { animation-delay: 0.1s; }

/* Sections */
.section {
    padding: clamp(3rem, 5vw, 4rem) 5%;
    padding-left: max(5%, env(safe-area-inset-left));
    padding-right: max(5%, env(safe-area-inset-right));
    max-width: 1440px;
    margin: 0 auto;
    position: relative;
}

.hero, .section { scroll-margin-top: 50px; }

.section-header {
    margin-bottom: 2.5rem;
    text-align: center;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.section-title {
    font-size: clamp(1.6rem, 3.5vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-size: 220% 220%;
    animation: text-gradient-shift 12s ease infinite;
}

.section-icon {
    color: var(--accent-cyan);
    opacity: 0.95;
    transform: translateY(1px);
    transition: transform 0.3s ease, color 0.3s ease;
}

.section-title:hover .section-icon {
    transform: translateY(1px) rotate(10deg) scale(1.1);
    color: var(--accent-purple);
}

.section-title > span {
    position: relative;
    display: inline-block;
    animation: text-float-in 700ms ease-out both;
}

@keyframes text-float-in {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-subtitle {
    color: var(--text-color);
    font-size: 1.05rem;
}

/* Portfolio */
.portfolio {
    background: linear-gradient(180deg, transparent 0%, rgba(168, 85, 247, 0.02) 30%, rgba(168, 85, 247, 0.02) 70%, transparent 100%);
    position: relative;
    overflow: hidden;
}

.portfolio::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--bg-primary) 0%, transparent 8%, transparent 92%, var(--bg-primary) 100%);
    pointer-events: none;
    z-index: 0;
}

.portfolio > * {
    position: relative;
    z-index: 1;
}

.portfolio-category {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.6rem;
    margin-top: 2rem;
    letter-spacing: -0.01em;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}

.portfolio-category:first-of-type {
    margin-top: 0;
}

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

.portfolio-videos {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.portfolio-carousel {
    margin: 0.5rem 0 1.2rem;
    position: relative;
}

.portfolio-carousel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.portfolio-carousel-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-color);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    opacity: 0.8;
}

.portfolio-carousel-actions {
    display: flex;
    gap: 0.5rem;
    position: absolute;
    left: 50%;
    bottom: 0.25rem;
    transform: translateX(-50%);
    z-index: 5;
}

.carousel-btn {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--card-bg);
    color: var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    line-height: 1;
    padding: 0;
    backdrop-filter: blur(8px);
}

.carousel-btn:hover {
    border-color: rgba(168, 85, 247, 0.35);
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.12);
}

.carousel-btn:focus-visible {
    outline: 2px solid var(--accent-purple);
    outline-offset: 2px;
}

.carousel-track {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 0.25rem 0.25rem 2.6rem;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 480px) {
    .portfolio-carousel-actions {
        left: 50%;
        bottom: 0.1rem;
        transform: translateX(-50%);
    }

    .carousel-btn {
        width: 36px;
        height: 36px;
    }
}

.carousel-track::-webkit-scrollbar {
    height: 6px;
}

.carousel-track::-webkit-scrollbar-track {
    background: transparent;
}

.carousel-track::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.25);
    border-radius: 999px;
}

.carousel-track::-webkit-scrollbar-thumb:hover {
    background: rgba(148, 163, 184, 0.4);
}

.carousel-track .portfolio-card {
    flex: 0 0 240px;
    scroll-snap-align: start;
}

.carousel-track .portfolio-image {
    height: 200px;
}

.video-carousel-track .portfolio-card {
    flex-basis: 300px;
}

.video-carousel-track .vertical-video-card {
    flex-basis: 180px;
}

.vertical-video-card {
    width: 180px;
    height: 320px;
    flex-shrink: 0;
    overflow: hidden;
}

.video-carousel-track .portfolio-image {
    height: auto;
    aspect-ratio: 16 / 9;
}

.video-carousel-track .vertical-video-card .portfolio-image {
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: auto !important;
    object-fit: cover;
    object-position: center;
    transform: scale(1);
    transition: transform 0.35s ease;
}

.vertical-video-card:hover .portfolio-image {
    transform: scale(1.05) !important;
}

.fb-reel-card {
    text-decoration: none;
    display: block;
}

.fb-reel-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 28px;
    height: 28px;
    background: #1877f2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.portfolio-grid.portfolio-vertical {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.vertical-card {
    aspect-ratio: 9/16;
    max-width: 200px;
    margin: 0 auto;
}

.vertical-card .portfolio-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 9/16;
}

.portfolio-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: var(--card-bg);
    border: 1px solid var(--border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    padding: 0;
    font: inherit;
    text-align: left;
}

.portfolio-card:focus-visible {
    outline: 2px solid var(--accent-purple);
    outline-offset: 2px;
}

.portfolio-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 14px;
    padding: 1.5px;
    background: var(--gradient-accent);
    -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.25s ease;
    z-index: 1;
}

.portfolio-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(168, 85, 247, 0.12);
}

.portfolio-card:hover::before {
    opacity: 1;
}

.portfolio-image {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.portfolio-videos .portfolio-image {
    height: auto;
    aspect-ratio: 16 / 9;
}

/* Vertical Videos */
.portfolio-vertical {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.portfolio-vertical .portfolio-image {
    aspect-ratio: 9 / 16;
    object-fit: cover;
}

@media (max-width: 768px) {
    .portfolio-vertical {
        grid-template-columns: repeat(2, 1fr);
    }
}

.portfolio-card:hover .portfolio-image {
    transform: scale(1.05);
}

/* Icône play sur les cartes vidéo */
.video-card {
    display: block;
    width: 100%;
}

.video-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    transition: background 0.2s ease;
    z-index: 2;
}

.video-play::before {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 18px 0 18px 30px;
    border-color: transparent transparent transparent rgba(255, 255, 255, 0.9);
    margin-left: 6px;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}

.video-card:hover .video-play {
    background: rgba(0, 0, 0, 0.45);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0.7) 100%);
    color: #fff;
    padding: 1.5rem;
}

.portfolio-title {
    font-weight: 600;
    font-size: 1.1rem;
}

/* Modal vidéo */
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
}

.video-modal[hidden] {
    display: none;
}

.video-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    cursor: pointer;
}

.video-modal-content {
    position: relative;
    width: 100%;
    max-width: 900px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
}

.video-modal-close {
    position: absolute;
    top: -44px;
    right: 0;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: var(--card-bg);
    color: var(--primary-color);
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.2s ease, color 0.2s ease;
}

.video-modal-close:hover {
    background: var(--accent-purple);
    color: #fff;
}

.video-modal-close:focus-visible {
    outline: 2px solid var(--accent-purple);
    outline-offset: 2px;
}

.video-modal-iframe-wrap {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background: #000;
}

.video-modal-iframe-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Vertical video modal (YouTube Shorts) */
.video-modal--vertical .video-modal-content {
    max-width: 380px;
    width: 90vw;
    max-height: 85vh;
}

.video-modal--vertical .video-modal-iframe-wrap {
    padding-bottom: 0;
    width: 100%;
    height: 0;
    padding-top: 177.78%;
    position: relative;
    max-height: 85vh;
}

.video-modal--vertical .video-modal-iframe-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 16px;
}

.image-modal {
    position: fixed;
    inset: 0;
    z-index: 2200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
    opacity: 0;
}

.image-modal[hidden] {
    display: none;
}

.image-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    cursor: pointer;
    opacity: 0;
    transition: opacity 180ms ease;
}

.image-modal-content {
    position: relative;
    width: 100%;
    max-width: 1100px;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.55);
    transform: translateY(10px) scale(0.98);
    opacity: 0;
    transition: transform 220ms ease, opacity 220ms ease;
}

.image-modal-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(17, 24, 39, 0.85);
    color: #fff;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.image-modal-close:focus-visible {
    outline: 2px solid var(--accent-purple);
    outline-offset: 2px;
}

.image-modal-img {
    width: 100%;
    height: auto;
    max-height: calc(100vh - 2rem);
    object-fit: contain;
    display: block;
}

.image-modal.is-open {
    opacity: 1;
}

.image-modal.is-open .image-modal-backdrop {
    opacity: 1;
}

.image-modal.is-open .image-modal-content {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.image-modal.is-closing .image-modal-backdrop {
    opacity: 0;
}

.image-modal.is-closing .image-modal-content {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
}

/* About */
.about {
    background: linear-gradient(180deg, transparent 0%, rgba(6, 182, 212, 0.02) 30%, rgba(6, 182, 212, 0.02) 70%, transparent 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.about-text {
    font-size: 1.125rem;
    color: var(--text-color);
    line-height: 1.8;
}

.about-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1.5rem 0;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(168, 85, 247, 0.05) 100%);
    border: 1px solid var(--border);
    border-radius: 16px;
    min-width: 110px;
    min-height: 100px;
    padding: 1rem;
    transition: var(--transition);
}

.stat:hover {
    border-color: rgba(168, 85, 247, 0.3);
    box-shadow: 0 8px 25px rgba(168, 85, 247, 0.1);
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-color);
    font-size: 0.9rem;
}

.skills {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem 1rem;
}

.skills li {
    padding: 0.75rem 1.25rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: linear-gradient(135deg, var(--card-bg), rgba(59, 130, 246, 0.05));
    font-weight: 500;
    transition: var(--transition);
}

.skills li:hover {
    border-color: rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, var(--card-bg), rgba(59, 130, 246, 0.08));
}

/* Contact */
.contact {
    background: linear-gradient(180deg, transparent 0%, rgba(168, 85, 247, 0.02) 40%, transparent 100%);
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.contact-item {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
    align-items: center;
    padding: 1.25rem;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: linear-gradient(135deg, var(--card-bg), rgba(168, 85, 247, 0.03));
    transition: var(--transition);
}

@media (min-width: 520px) {
    .contact-item:has(.copy-email) {
        grid-template-columns: 90px 1fr auto;
        gap: 1rem;
    }
}

.contact-item:hover {
    border-color: rgba(168, 85, 247, 0.25);
    box-shadow: 0 8px 30px rgba(168, 85, 247, 0.08);
}

.contact-item .contact-label {
    color: var(--text-color);
    font-size: 0.9rem;
}

.contact-item .contact-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    word-break: break-all;
}

.contact-item .copy-email {
    padding: 0.5rem 1rem;
    min-height: 40px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--bg);
    color: var(--primary-color);
    font-family: var(--font-main);
    font-weight: 500;
    cursor: pointer;
    align-self: start;
    transition: var(--transition);
}

.contact-item .copy-email:hover {
    background: var(--gradient-accent);
    color: var(--white);
    border-color: transparent;
}

/* Contact Section */
.contact {
    background: linear-gradient(180deg, transparent 0%, rgba(59, 130, 246, 0.02) 30%, rgba(59, 130, 246, 0.02) 70%, transparent 100%);
}

.contact-grid {
    display: grid;
    gap: 1rem;
    max-width: 640px;
    margin: 0 auto;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
    overflow: hidden;
}

.contact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(168, 85, 247, 0.1);
    border-color: rgba(168, 85, 247, 0.3);
}

.contact-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.contact-card:hover .contact-icon-wrapper {
    transform: scale(1.05);
}

.contact-icon {
    color: white;
    width: 20px;
    height: 20px;
}

.email-gradient {
    background: linear-gradient(135deg, #a855f7, #3b82f6);
}

.instagram-gradient {
    background: linear-gradient(135deg, #ec4899, #a855f7);
}

.linkedin-gradient {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
}

.facebook-gradient {
    background: linear-gradient(135deg, #3b82f6, #6366f1);
}

.contact-info {
    flex: 1;
    min-width: 0;
}

.contact-type {
    font-size: 0.8rem;
    color: var(--text-color);
    font-weight: 500;
    margin-bottom: 0.25rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    opacity: 0.7;
}

.contact-value {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 600;
    margin: 0;
    transition: color 0.25s ease;
}

.contact-card:hover .contact-value {
    color: var(--accent-purple);
}

.contact-arrow {
    color: var(--text-color);
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
    width: 20px;
    height: 20px;
}

.contact-card:hover .contact-arrow {
    opacity: 0.6;
    transform: translateX(2px);
}

/* Resume Modal */
.resume-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.resume-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.resume-modal.is-closing {
    opacity: 0;
    pointer-events: none;
}

.resume-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.resume-modal-content {
    position: relative;
    width: 92vw;
    max-width: 1100px;
    height: 90vh;
    background: var(--bg-color);
    border-radius: 16px;
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
    transform: scale(0.95) translateY(20px);
    transition: transform 0.3s ease;
}

.resume-modal.is-open .resume-modal-content {
    transform: scale(1) translateY(0);
}

.resume-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-color);
    transition: all 0.2s ease;
}

.resume-modal-close:hover {
    background: var(--accent-purple);
    color: #fff;
    border-color: var(--accent-purple);
    transform: rotate(90deg);
}

.resume-modal-scroll {
    overflow-y: auto;
    height: 100%;
    padding: 2.5rem;
}

.resume-modal-scroll::-webkit-scrollbar {
    width: 6px;
}

.resume-modal-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.resume-modal-scroll::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 3px;
}

/* Resume Header */
.resume-header {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    border-left: 4px solid var(--accent-purple);
}

.resume-name {
    font-family: var(--font-main);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.35rem;
}

.resume-title {
    font-size: 1.1rem;
    color: var(--text-color);
    font-weight: 500;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.resume-contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.resume-contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
    font-size: 0.9rem;
}

.resume-contact-item svg {
    color: var(--accent-cyan);
    flex-shrink: 0;
}

.resume-contact-item a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.resume-contact-item a:hover {
    color: var(--accent-purple);
}

/* Resume Grid */
.resume-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 2rem;
}

/* Resume Section */
.resume-section {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 1.75rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border);
}

.resume-section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.25rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid var(--accent-purple);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.resume-section-title svg {
    color: var(--accent-purple);
    flex-shrink: 0;
}

/* Resume Summary */
.resume-summary {
    color: var(--text-color);
    line-height: 1.7;
    font-size: 0.9rem;
}

/* Resume Skills */
.resume-skill-category {
    margin-bottom: 1.25rem;
}

.resume-skill-category:last-child {
    margin-bottom: 0;
}

.resume-skill-cat-title {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.6rem;
    font-size: 0.85rem;
}

.resume-skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.resume-skill-tag {
    background: var(--bg-color);
    color: var(--text-color);
    padding: 0.3rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid var(--border);
    transition: all 0.2s ease;
}

.resume-skill-tag:hover {
    background: var(--gradient-accent);
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
    color: white;
    border-color: transparent;
    transform: translateY(-1px);
}

/* Resume Education */
.resume-edu-item {
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border);
}

.resume-edu-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.resume-degree {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.2rem;
}

.resume-institution {
    color: var(--text-color);
    font-size: 0.85rem;
    opacity: 0.8;
    margin-bottom: 0.15rem;
}

.resume-date {
    font-size: 0.8rem;
    color: var(--accent-cyan);
    font-weight: 500;
}

/* Resume Languages */
.resume-lang-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border);
}

.resume-lang-item:last-child {
    border-bottom: none;
}

.resume-lang-name {
    font-weight: 500;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.resume-lang-level {
    font-size: 0.8rem;
    color: var(--text-color);
    background: var(--bg-color);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    border: 1px solid var(--border);
}

/* Resume Experience */
.resume-exp-item {
    margin-bottom: 1.75rem;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid var(--border);
}

.resume-exp-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.resume-exp-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.6rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.resume-job-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
}

.resume-company {
    font-size: 0.85rem;
    color: var(--text-color);
    opacity: 0.8;
}

.resume-job-date {
    font-size: 0.8rem;
    color: var(--accent-cyan);
    font-weight: 500;
    white-space: nowrap;
}

.resume-job-desc {
    color: var(--text-color);
    line-height: 1.6;
    font-size: 0.9rem;
    list-style: none;
    padding: 0;
}

.resume-job-desc li {
    margin-bottom: 0.4rem;
    padding-left: 1.25rem;
    position: relative;
}

.resume-job-desc li::before {
    content: '\2022';
    position: absolute;
    left: 0;
    color: var(--accent-purple);
    font-weight: bold;
}

/* Resume Modal Responsive */
@media (max-width: 768px) {
    .resume-grid {
        grid-template-columns: 1fr;
    }

    .resume-modal-content {
        width: 96vw;
        height: 94vh;
        border-radius: 12px;
    }

    .resume-modal-scroll {
        padding: 1.5rem;
    }

    .resume-header {
        padding: 1.5rem;
    }

    .resume-name {
        font-size: 1.75rem;
    }

    .resume-contact-grid {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 2rem 5% 5rem;
    text-align: center;
}

.footer-inner {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo {
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: -0.03em;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-text {
    font-size: 0.8rem;
    color: var(--text-color);
    opacity: 0.6;
    letter-spacing: 0.01em;
}

/* Bottom nav (mobile only, app-style) */
.bottom-nav {
    display: none;
}

/* Responsive - Intermediate (Tablet landscape / Small laptop) */
@media (max-width: 1200px) and (min-width: 901px) {
    .hero {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        padding-left: 4%;
        padding-right: 4%;
    }

    .hero-content h1 {
        font-size: clamp(2.2rem, 4vw, 3rem);
    }

    .hero-content .subtitle {
        font-size: clamp(0.95rem, 1.3vw, 1.05rem);
    }

    .image-container {
        width: 240px;
        height: 240px;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .skills-grid {
        gap: 0.5rem;
    }

    .skill-card {
        padding: 0.5rem 0.9rem;
        font-size: 0.9rem;
    }

    .carousel-track .portfolio-card {
        flex: 0 0 220px;
    }

    .video-carousel-track .portfolio-card {
        flex-basis: 280px;
    }
}

/* Responsive - Tablet */
@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 70px;
        gap: 2.5rem;
        padding-bottom: 3rem;
    }

    .hero-visual {
        order: -1;
    }

    .hero-content {
        order: 0;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 0;
    }

    .hero-content .subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .cta-group {
        justify-content: center;
    }

    .image-container {
        width: 220px;
        height: 220px;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    
    .portfolio-grid.portfolio-vertical {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 0.75rem;
    }
    
    .vertical-card {
        max-width: 160px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-stats {
        justify-content: center;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .navbar {
        display: none;
    }

    /* Bottom nav bar (app-style) */
    .bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: var(--card-bg);
        border-top: 1px solid var(--border);
        padding-bottom: env(safe-area-inset-bottom);
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
        justify-content: space-around;
        align-items: center;
        min-height: 56px;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
    }

    .bottom-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        padding: 6px 12px 8px;
        min-width: 64px;
        text-decoration: none;
        color: var(--text-color);
        font-size: 0.7rem;
        font-weight: 500;
        transition: color 0.2s ease, transform 0.2s ease;
        -webkit-tap-highlight-color: transparent;
        border-radius: 12px;
    }

    .bottom-nav-item:hover {
        color: var(--accent-blue);
    }

    .bottom-nav-item.active {
        color: var(--accent-purple);
    }

    .bottom-nav-item.active .bottom-nav-icon {
        color: var(--accent-purple);
    }

    .bottom-nav-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 28px;
        height: 28px;
        color: var(--text-color);
        transition: color 0.2s ease;
    }

    .bottom-nav-item.active .bottom-nav-icon {
        color: var(--accent-purple);
    }

    .bottom-nav-theme,
    .bottom-nav-resume {
        background: none;
        border: none;
        cursor: pointer;
        font-family: inherit;
    }

    .bottom-nav-label {
        white-space: nowrap;
    }

    /* Espace pour ne pas cacher le contenu sous la barre */
    main {
        padding-bottom: calc(72px + env(safe-area-inset-bottom));
    }

    .hero {
        padding-top: 50px;
        padding-left: 4%;
        padding-right: 4%;
        padding-left: max(4%, env(safe-area-inset-left));
        padding-right: max(4%, env(safe-area-inset-right));
        gap: 1.5rem;
        grid-template-areas: "visual" "content";
    }

    .hero-visual {
        order: -1;
        grid-area: visual;
        min-height: 280px;
    }

    .hero-content {
        order: 0;
        grid-area: content;
    }

    .hero-content h1 {
        font-size: clamp(1.85rem, 8vw, 2.5rem);
        white-space: normal;
        line-height: 1.15;
    }

    .hero-content .subtitle {
        font-size: 0.925rem;
        margin-bottom: 1.5rem;
    }

    .cta-group {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .btn {
        width: 100%;
        min-height: 50px;
    }

    .image-container {
        width: 200px;
        height: 200px;
    }

    .hero-visual {
        min-height: 320px;
    }

    .floating-logo {
        display: block;
    }

    .float-logo-1 {
        width: 40px; height: 40px;
        margin-top: -20px; margin-left: -20px;
        animation: orbit1m 36s linear infinite;
    }
    .float-logo-2 {
        width: 36px; height: 36px;
        margin-top: -18px; margin-left: -18px;
        animation: orbit2m 40s linear infinite;
    }
    .float-logo-3 {
        width: 22px; height: 22px;
        margin-top: -11px; margin-left: -11px;
        animation: orbit3m 48s linear infinite;
    }
    .float-logo-4 {
        width: 20px; height: 20px;
        margin-top: -10px; margin-left: -10px;
        animation: orbit4m 38s linear infinite;
    }
    .float-logo-5 {
        width: 22px; height: 22px;
        margin-top: -11px; margin-left: -11px;
        animation: orbit5m 55s linear infinite;
    }
    .float-logo-6 {
        width: 34px; height: 34px;
        margin-top: -17px; margin-left: -17px;
        animation: orbit6m 44s linear infinite;
    }
    .float-logo-7 {
        width: 20px; height: 20px;
        margin-top: -10px; margin-left: -10px;
        animation: orbit7m 50s linear infinite;
    }

    @keyframes orbit1m {
        0%   { transform: rotate(0deg)   translateX(135px) rotate(0deg); }
        100% { transform: rotate(360deg) translateX(135px) rotate(-360deg); }
    }
    @keyframes orbit2m {
        0%   { transform: rotate(180deg) translateX(140px) rotate(-180deg); }
        100% { transform: rotate(540deg) translateX(140px) rotate(-540deg); }
    }
    @keyframes orbit3m {
        0%   { transform: rotate(60deg)  translateX(160px) rotate(-60deg); }
        100% { transform: rotate(420deg) translateX(160px) rotate(-420deg); }
    }
    @keyframes orbit4m {
        0%   { transform: rotate(240deg) translateX(155px) rotate(-240deg); }
        100% { transform: rotate(600deg) translateX(155px) rotate(-600deg); }
    }
    @keyframes orbit5m {
        0%   { transform: rotate(30deg)  translateX(185px) rotate(-30deg); }
        100% { transform: rotate(390deg) translateX(185px) rotate(-390deg); }
    }
    @keyframes orbit6m {
        0%   { transform: rotate(120deg) translateX(165px) rotate(-120deg); }
        100% { transform: rotate(480deg) translateX(165px) rotate(-480deg); }
    }
    @keyframes orbit7m {
        0%   { transform: rotate(200deg) translateX(180px) rotate(-200deg); }
        100% { transform: rotate(560deg) translateX(180px) rotate(-560deg); }
    }

    .float-logo-8 {
        width: 20px; height: 20px;
        margin-top: -10px; margin-left: -10px;
        animation: orbit8m 46s linear infinite;
    }
    .float-logo-9 {
        width: 22px; height: 22px;
        margin-top: -11px; margin-left: -11px;
        animation: orbit9m 42s linear infinite;
    }
    .float-logo-10 {
        width: 22px; height: 22px;
        margin-top: -11px; margin-left: -11px;
        animation: orbit10m 52s linear infinite;
    }

    @keyframes orbit8m {
        0%   { transform: rotate(90deg)  translateX(175px) rotate(-90deg); }
        100% { transform: rotate(450deg) translateX(175px) rotate(-450deg); }
    }
    @keyframes orbit9m {
        0%   { transform: rotate(300deg) translateX(162px) rotate(-300deg); }
        100% { transform: rotate(660deg) translateX(162px) rotate(-660deg); }
    }
    @keyframes orbit10m {
        0%   { transform: rotate(150deg) translateX(188px) rotate(-150deg); }
        100% { transform: rotate(510deg) translateX(188px) rotate(-510deg); }
    }

    .section {
        padding: 3rem 4%;
        padding-left: max(4%, env(safe-area-inset-left));
        padding-right: max(4%, env(safe-area-inset-right));
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .portfolio-grid.portfolio-vertical {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .vertical-card {
        max-width: none;
        aspect-ratio: 9/16;
    }

    .portfolio-image {
        height: 220px;
    }

    .about-stats {
        flex-direction: row;
        justify-content: center;
        gap: 0.75rem;
    }

    .stat {
        min-width: 90px;
        min-height: 85px;
        padding: 0.75rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

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

    .skills li {
        padding: 0.875rem 1rem;
        min-height: 48px;
        display: flex;
        align-items: center;
    }

    .contact-item {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .contact-item .copy-email {
        width: 100%;
        min-height: 44px;
    }
}

/* Responsive - Small mobile */
@media (max-width: 480px) {
    .hero {
        padding-top: 45px;
        gap: 1.5rem;
    }

    .hero-content h1 {
        font-size: clamp(1.75rem, 7vw, 2.25rem);
    }

    .image-container {
        width: min(290px, 80vw);
        height: min(290px, 80vw);
        border-radius: 50%;
    }

    .section {
        padding: 2.5rem 4%;
    }

    .section-title {
        font-size: 1.35rem;
    }

    .portfolio-image {
        height: 200px;
    }

    .about-stats {
        flex-direction: column;
        align-items: stretch;
    }

    .stat {
        min-width: auto;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 1.25rem;
    }

    .stat-number {
        margin-right: 0.5rem;
    }
}

/* Animated Social Icons */
.social-container {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 2rem 0;
}

.social-icon {
    position: relative;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
    text-decoration: none;
}

/* Gradient backgrounds animés */
.social-icon::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 18px;
    background: linear-gradient(45deg, #667eea, #764ba2, #f093fb, #4facfe);
    background-size: 300% 300%;
    animation: gradientShift 8s ease infinite;
    z-index: 0;
}

.social-icon::after {
    content: '';
    position: absolute;
    inset: 3px;
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%);
    z-index: 1;
    transition: all 0.5s ease;
}

.social-icon svg {
    width: 32px;
    height: 32px;
    fill: white;
    z-index: 2;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

/* Animation hover */
.social-icon:hover {
    transform: translateY(-12px) rotate(5deg) scale(1.1);
}

.social-icon:hover::after {
    inset: 0px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 1) 0%, rgba(118, 75, 162, 1) 100%);
    box-shadow: 
        0 20px 50px rgba(102, 126, 234, 0.6),
        0 10px 20px rgba(0, 0, 0, 0.4),
        inset 0 -3px 10px rgba(0, 0, 0, 0.2);
}

.social-icon:hover svg {
    transform: scale(1.15) rotate(-5deg);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}

.social-icon:active {
    transform: translateY(-8px) rotate(3deg) scale(1.05);
}

/* Variations de couleurs pour chaque icône */
.instagram::before {
    background: linear-gradient(45deg, #f093fb, #f5576c, #4facfe, #833ab4);
    background-size: 300% 300%;
}

.instagram::after {
    background: linear-gradient(135deg, rgba(240, 147, 251, 0.9) 0%, rgba(245, 87, 108, 0.9) 50%, rgba(131, 58, 180, 0.9) 100%);
}

.instagram:hover::after {
    background: linear-gradient(135deg, rgba(240, 147, 251, 1) 0%, rgba(245, 87, 108, 1) 50%, rgba(131, 58, 180, 1) 100%);
    box-shadow: 
        0 20px 50px rgba(240, 147, 251, 0.6),
        0 10px 20px rgba(0, 0, 0, 0.4),
        inset 0 -3px 10px rgba(0, 0, 0, 0.2);
}

.linkedin::before {
    background: linear-gradient(45deg, #4facfe, #00f2fe, #667eea, #0077b5);
    background-size: 300% 300%;
}

.linkedin::after {
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.9) 0%, rgba(0, 119, 181, 0.9) 100%);
}

.linkedin:hover::after {
    background: linear-gradient(135deg, rgba(79, 172, 254, 1) 0%, rgba(0, 119, 181, 1) 100%);
    box-shadow: 
        0 20px 50px rgba(79, 172, 254, 0.6),
        0 10px 20px rgba(0, 0, 0, 0.4),
        inset 0 -3px 10px rgba(0, 0, 0, 0.2);
}

.youtube::before {
    background: linear-gradient(45deg, #ff0844, #ff6b6b, #ff4757, #ee5a6f);
    background-size: 300% 300%;
}

.youtube::after {
    background: linear-gradient(135deg, rgba(255, 8, 68, 0.9) 0%, rgba(238, 90, 111, 0.9) 100%);
}

.youtube:hover::after {
    background: linear-gradient(135deg, rgba(255, 8, 68, 1) 0%, rgba(238, 90, 111, 1) 100%);
    box-shadow: 
        0 20px 50px rgba(255, 8, 68, 0.6),
        0 10px 20px rgba(0, 0, 0, 0.4),
        inset 0 -3px 10px rgba(0, 0, 0, 0.2);
}

.email::before {
    background: linear-gradient(45deg, #a78bfa, #818cf8, #6366f1, #8b5cf6);
    background-size: 300% 300%;
}

.email::after {
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.9) 0%, rgba(139, 92, 246, 0.9) 100%);
}

.email:hover::after {
    background: linear-gradient(135deg, rgba(167, 139, 250, 1) 0%, rgba(139, 92, 246, 1) 100%);
    box-shadow: 
        0 20px 50px rgba(167, 139, 250, 0.6),
        0 10px 20px rgba(0, 0, 0, 0.4),
        inset 0 -3px 10px rgba(0, 0, 0, 0.2);
}

.phone::before {
    background: linear-gradient(45deg, #22c55e, #16a34a, #4ade80, #15803d);
    background-size: 300% 300%;
}

.phone::after {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.9) 0%, rgba(21, 128, 61, 0.9) 100%);
}

.phone:hover::after {
    background: linear-gradient(135deg, rgba(34, 197, 94, 1) 0%, rgba(21, 128, 61, 1) 100%);
    box-shadow: 
        0 20px 50px rgba(34, 197, 94, 0.6),
        0 10px 20px rgba(0, 0, 0, 0.4),
        inset 0 -3px 10px rgba(0, 0, 0, 0.2);
}

.whatsapp::before {
    background: linear-gradient(45deg, #25d366, #128c7e, #075e54, #25d366);
    background-size: 300% 300%;
}

.whatsapp::after {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.9) 0%, rgba(18, 140, 126, 0.9) 100%);
}

.whatsapp:hover::after {
    background: linear-gradient(135deg, rgba(37, 211, 102, 1) 0%, rgba(18, 140, 126, 1) 100%);
    box-shadow: 
        0 20px 50px rgba(37, 211, 102, 0.6),
        0 10px 20px rgba(0, 0, 0, 0.4),
        inset 0 -3px 10px rgba(0, 0, 0, 0.2);
}

/* Animation en boucle - gradient shift */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Animation de pulsation douce */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03);
    }
}

.social-icon {
    animation: pulse 4s ease-in-out infinite;
}

.social-icon:nth-child(1) {
    animation-delay: 0s;
}

.social-icon:nth-child(2) {
    animation-delay: 1.3s;
}

.social-icon:nth-child(3) {
    animation-delay: 2.6s;
}

.social-icon:nth-child(4) {
    animation-delay: 3.9s;
}

/* Particules lumineuses */
.social-icon .sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    opacity: 0;
    z-index: 3;
    animation: sparkle 3s ease-in-out infinite;
}

.social-icon .sparkle:nth-child(1) {
    top: 15%;
    left: 20%;
    animation-delay: 0s;
}

.social-icon .sparkle:nth-child(2) {
    top: 70%;
    right: 25%;
    animation-delay: 1s;
}

.social-icon .sparkle:nth-child(3) {
    bottom: 20%;
    left: 65%;
    animation-delay: 2s;
}

@keyframes sparkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Contact Info Grid */
.contact-info-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0 2rem;
    max-width: 400px;
    margin: 0 auto;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.2s ease;
}

.contact-info-item:hover {
    border-color: var(--accent-purple);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.contact-info-icon {
    color: var(--accent-cyan);
    flex-shrink: 0;
}

.contact-info-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.contact-info-link:hover {
    color: var(--accent-purple);
}

.contact-info-text {
    color: var(--text-color);
    font-weight: 500;
}

/* Responsive for social icons */
@media (max-width: 768px) {
    .social-container {
        gap: 20px;
        padding: 1.5rem 0;
    }
    
    .social-icon {
        width: 56px;
        height: 56px;
    }

    .social-icon svg {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 480px) {
    .social-container {
        gap: 16px;
    }
    
    .social-icon {
        width: 52px;
        height: 52px;
    }

    .social-icon svg {
        width: 26px;
        height: 26px;
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
