:root {
  --primary: #ff5c1b;
  --dark: #1b3a4b;
  --bg: #f6f6f2;
  --card: #fff;
  --accent: #e6e6e6;
  --radius: 1.2rem;
  --transition: 0.3s cubic-bezier(.4,0,.2,1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', Arial, sans-serif;
  background: #181c2b;
  color: #e6eaf3;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Scroll progress bar (iduck-style) */
#scroll-progress {
  position: fixed;
  left: 0; top: 0;
  height: 4px;
  width: 0;
  background: linear-gradient(90deg, #7ee7ff, #ffb347);
  box-shadow: 0 0 12px #7ee7ff88, 0 0 12px #ffb34755 inset;
  z-index: 9999;
  transition: width 0.15s ease;
}

/* Section indicator widget (iduck-inspired) */
#section-indicator {
  position: fixed;
  right: 1rem; bottom: 1rem;
  padding: 0.5rem 0.9rem;
  background: rgba(30,34,54,0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid #7ee7ff33;
  border-radius: 0.8rem;
  color: #7ee7ff;
  font-weight: 800;
  box-shadow: 0 4px 16px #0006;
  z-index: 1000;
}

/* Wiggle/focus microinteractions */
.wiggle:hover { animation: wiggle .4s ease-in-out; }
@keyframes wiggle {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(-2deg); }
  50% { transform: rotate(2deg); }
  100% { transform: rotate(0deg); }
}
.focus-pop:focus-visible { animation: focus-pop .35s ease-out; }
@keyframes focus-pop {
  0% { transform: scale(1); box-shadow: 0 0 0 0 #7ee7ff55; }
  60% { transform: scale(1.04); box-shadow: 0 0 0 8px #7ee7ff22; }
  100% { transform: scale(1); box-shadow: 0 0 0 0 #7ee7ff00; }
}

/* Active nav highlight */
.nav-links a.active {
  color: #ffb347;
  text-shadow: 0 0 8px #ffb34755;
}

section {
  padding: 4.5rem 0 2.5rem 0;
}

.container {
  width: 92%;
  max-width: 1300px;
  margin: 0 auto;
}

.navbar {
  background: #181c2b;
  box-shadow: 0 2px 8px #0003;
  padding: 1.8rem 0; /* wider again */
  position: sticky;
  top: 0;
  z-index: 100;
}
.logo {
  color: #7ee7ff;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 1px;
}
.nav-links {
  list-style: none;
  display: flex;
  gap:2rem;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: #e6eaf3;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.35s ease, background 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
  position: relative;
  font-size: 1.08rem;
}
.nav-links a::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: #ffb347;
  transition: width 0.3s;
  position: absolute;
  left: 0;
  bottom: -4px;
}
.nav-links a:hover {
  color: #ffb347;
}
.nav-links a:hover::after {
  width: 100%;
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  background: #181c2b;
  position: relative;
  overflow: hidden;
  z-index: 1;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}
#hero-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}
.hero-content {
  text-align: center;
  width: 100%;
  position: relative;
  z-index: 2;
  padding-top: 5vh;
  max-width: 700px;
  margin: 0 auto;
}
.hero-title {
  font-family: 'Space Grotesk', 'Montserrat', Arial, sans-serif;
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
  letter-spacing: 2px;
  position: relative;
  animation: fadeInUp 1s;
  line-height: 1;
}
.glow-text {
  color: var(--primary);
  text-shadow: 0 0 6px #ff5c1b, 0 0 12px #ff5c1b33;
  position: relative;
  z-index: 2;
  display: inline-block;
  animation: glow 2s infinite alternate;
}
@keyframes glow {
  0% { text-shadow: 0 0 6px #ff5c1b, 0 0 12px #ff5c1b33; }
  100% { text-shadow: 0 0 12px #ff5c1b, 0 0 24px #ff5c1b22; }
}
.hero-reflection {
  display: block;
  font-size: 2.2rem;
  color: #fff;
  opacity: 0.08;
  transform: scaleY(-1) translateY(-10px);
  filter: blur(2px);
  margin-top: -0.5rem;
  pointer-events: none;
  user-select: none;
}
.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  color: #e0e6f0;
  margin-bottom: 1rem;
  min-height: 2.2em;
  animation: fadeInUp 1.2s;
  letter-spacing: 1px;
}
.hero-tagline {
  color: #e0e6f0;
  font-size: 1.1rem;
  margin-bottom: 2rem;
  animation: fadeInUp 1.4s;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
  animation: fadeInUp 1.6s;
}
.hero-svg {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  z-index: 1;
  pointer-events: none;
}
.btn-primary, .btn-secondary {
  position: relative;
  overflow: hidden;
}
.btn-primary::before, .btn-secondary::before {
  content: '';
  position: absolute;
  left: -75%;
  top: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, #fff6, transparent 70%);
  transform: skewX(-20deg);
  transition: left 0.5s;
  z-index: 1;
  pointer-events: none;
}
.btn-primary:hover::before, .btn-secondary:hover::before {
  left: 120%;
}
.btn-primary:hover, .btn-secondary:hover {
  filter: brightness(1.1) drop-shadow(0 0 8px #ff5c1b88);
}

.btn {
  padding: 0.9rem 2.2rem;
  border-radius: 2rem;
  font-weight: 800;
  font-size: 1.1rem;
  border: 3px solid #fff2;
  cursor: pointer;
  transition: transform 0.15s cubic-bezier(.4,2,.6,1), box-shadow 0.2s, background 0.2s, color 0.2s;
  box-shadow: 0 4px 16px #ffb34744;
  text-decoration: none;
  display: inline-block;
  font-family: 'Space Grotesk', 'Montserrat', Arial, sans-serif;
  background: linear-gradient(90deg, #ff5c1b 60%, #ffb347 100%);
  color: #181c2b;
  text-shadow: 1px 2px 0 #1b234a44;
}
.btn:hover {
  background: linear-gradient(90deg, #ffb347 0%, #ff5c1b 100%);
  color: #fff;
  transform: scale(1.08) rotate(2deg);
  box-shadow: 0 8px 24px #ffb34755;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--dark);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-secondary:hover {
  background: var(--primary);
  color: #fff;
}

.hero-graphic {
  width: 180px;
  height: 180px;
  background: linear-gradient(135deg, var(--primary) 60%, var(--dark) 100%);
  opacity: 0.13;
  border-radius: 50%;
  position: absolute;
  right: 10%;
  top: 10%;
  z-index: 0;
  filter: blur(8px);
  animation: float 5s infinite alternate;
}

@keyframes float {
  0% { transform: translateY(0);}
  100% { transform: translateY(30px);}
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 2rem;
  text-align: center;
  letter-spacing: 1px;
}

.about {
  padding: 5rem 0 3rem 0;
  background: var(--bg);
}

.about p {
  font-size: 1.1rem;
  color: #fff;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.about-linkedin {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  transition: color var(--transition);
}
.about-linkedin:hover {
  color: var(--dark);
}

.portfolio {
  padding: 5rem 0 3rem 0;
  background: var(--card);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.2rem;
  margin-top: 2rem;
}
.portfolio-card {
  background: #23263a;
  color: #f3f6fa;
  border: 3px solid #2a2257;
  box-shadow: 0 8px 24px #0005, 0 2px 0 #fff1 inset;
  border-radius: 1.5rem;
  transition: transform 0.2s cubic-bezier(.4,2,.6,1), box-shadow 0.2s, background 0.2s;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 340px;
  padding: 0;
}
.portfolio-card.tilt {
  transform-style: preserve-3d;
  will-change: transform;
}
.portfolio-card.tilt .portfolio-info, .portfolio-card.tilt img { transform: translateZ(0); }
.cursor-glow {
  pointer-events: none;
  position: fixed;
  left: 0; top: 0;
  width: 120px; height: 120px;
  margin-left: -60px; margin-top: -60px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(126,231,255,0.18), rgba(126,231,255,0));
  filter: blur(8px);
  z-index: 2;
  opacity: 0; transition: opacity .4s ease;
}
.cursor-glow.show { opacity: 1; }
.ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: ripple .9s ease-out forwards;
  background: radial-gradient(circle, rgba(255,179,71,0.4) 0%, rgba(255,179,71,0.0) 60%);
}
@keyframes ripple {
  to { transform: scale(12); opacity: 0; }
}
.btn, .portfolio-card a { position: relative; overflow: hidden; }
.portfolio-card a {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}
.portfolio-card:hover, .portfolio-card:focus-within {
  background: #2a2257;
  transform: translateY(-8px) scale(1.07) rotate(-2deg);
  box-shadow: 0 16px 32px #7ee7ff33, 0 2px 0 #fff1 inset, 0 0 24px #ffb34755;
}
.portfolio-card:hover a, .portfolio-card:focus-within a {
  color: #ffb347;
}
.portfolio-card:hover .portfolio-info h3, .portfolio-card:focus-within .portfolio-info h3 {
  color: #ffb347;
}
.portfolio-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  border-top-left-radius: 1.5rem;
  border-top-right-radius: 1.5rem;
  transition: opacity 0.3s;
}
.portfolio-card:hover img, .portfolio-card:focus-within img {
  opacity: 0.85;
}
.portfolio-info {
  padding: 1.2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.portfolio-info h3 {
  margin: 0 0 0.3rem 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}
.portfolio-info p {
  margin: 0;
  color: #b0b6c6;
  font-size: 0.98rem;
}

.skills {
  padding: 5rem 0 3rem 0;
  background: var(--bg);
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  justify-content: center;
  margin-top: 2rem;
}
.skill {
  background: #23263a;
  color: #f3f6fa;
  font-weight: 600;
  padding: 0.8rem 2rem;
  border-radius: 999px;
  font-size: 1rem;
  box-shadow: 0 2px 8px #0006;
  border: 3px solid #2a2257;
  transition: background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.skill:hover {
  background: #2a2257;
  color: #ffb347;
  transform: scale(1.07) rotate(-2deg);
  box-shadow: 0 8px 24px #ffb34733;
}

.contact {
  padding: 5rem 0 3rem 0;
  background: var(--card);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  max-width: 420px;
  margin: 0 auto;
}
.contact-form input,
.contact-form textarea {
  background: #23263a;
  color: #f3f6fa;
  border: 3px solid #2a2257;
  border-radius: 1.5rem;
  box-shadow: 0 2px 8px #0006;
  font-size: 1rem;
  font-family: inherit;
  transition: border 0.2s, box-shadow 0.2s;
  padding: 1rem;
  resize: none;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border: 3px solid #ffb347;
  outline: none;
  box-shadow: 0 2px 8px #ffb34788;
}

.contact-links {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}
.contact-links a {
  color: #7ee7ff;
  font-weight: 600;
  text-decoration: underline;
  transition: color 0.2s;
}
.contact-links a:hover {
  color: #ffb347;
}

footer {
  background: #181c2b;
  color: #b0b6c6;
  padding: 2rem 0 1rem 0;
  text-align: center;
  font-size: 1rem;
  margin-top: 2rem;
}

@media (max-width: 700px) {
  .hero-title { font-size: 2.1rem; }
  .hero-subtitle { font-size: 1.1rem; }
  .section-title { font-size: 1.4rem; }
  .portfolio-card img { height: 120px; }
  .skills-list { gap: 0.5rem; }
  .skill { font-size: 0.95rem; padding: 0.7rem 1.2rem; }
  .navbar .container { flex-direction: column; gap: 1rem; }
  .nav-links { gap: 1rem; }
  .hero-title { font-size: 2.1rem; }
  .hero-reflection { font-size: 1.1rem; }
  .hero-svg { width: 180px; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px);}
  to { opacity: 1; transform: translateY(0);}
}

.fade-section {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 1.6s cubic-bezier(.2,.6,.2,1), transform 1.6s cubic-bezier(.2,.6,.2,1);
}
.fade-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Animated items (staggered, reusable) */
[data-anim="fade-right"].anim-item { transform: translateX(-12px); }
[data-anim="fade-right"].anim-item.visible { transform: translateX(0); }
.anim-item { opacity: 0; transform: translateY(12px) scale(0.997); will-change: transform, opacity; }
.anim-item.visible { opacity: 1; transform: translateY(0) scale(1); transition: opacity 1.3s cubic-bezier(.2,.6,.2,1), transform 1.3s cubic-bezier(.2,.6,.2,1); }
[data-anim="fade-right"].anim-item.visible { transform: translateX(0); }
[data-anim="zoom-in"].anim-item { transform: scale(0.992); }
[data-anim="zoom-in"].anim-item.visible { transform: scale(1); }

/* Extra hover/tap FX for cards */
.portfolio-card { transition: transform 0.8s cubic-bezier(.2,.6,.2,1), box-shadow 0.8s, background 0.5s; }
.portfolio-card:hover, .portfolio-card:focus-within {
  transform: translateY(-4px) scale(1.02) rotate(-0.6deg);
  box-shadow: 0 14px 28px #7ee7ff22, 0 0 14px #ffb34744;
}
.portfolio-card .portfolio-info h3 i { margin-right: .5rem; color: #ffb347; filter: drop-shadow(0 2px 6px #ffb34788); }
.portfolio-card .btn.btn-secondary { margin-top: .8rem; display: inline-block; }

/* Glint/shine effect on images */
.portfolio-card a { position: relative; overflow: hidden; }
.portfolio-card a::before { content: ""; position: absolute; top: -120%; left: -70%; width: 60%; height: 300%; transform: rotate(25deg); background: linear-gradient(120deg, #fff3, transparent 70%); transition: left 1.6s ease; }
.portfolio-card:hover a::before { left: 150%; }

/* Compose-in effect for grouped content */
.compose > * { opacity: 0; transform: translateY(10px); transition: opacity 1s cubic-bezier(.2,.6,.2,1), transform 1s cubic-bezier(.2,.6,.2,1); will-change: transform, opacity; }
.compose > *.show { opacity: 1; transform: translateY(0); }

/* Services section background tweak for contrast */
.services { background: #181c2b; }

.timeline-section {
  background: #181c2b;
  padding: 5rem 0 3rem 0;
}
.timeline {
  position: relative;
  margin: 3rem auto 0 auto;
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 8px;
  border-radius: 8px;
  background: linear-gradient(180deg, #7ee7ff 0%, #ffb347 100%);
  box-shadow: 0 0 24px 4px #7ee7ff55, 0 0 32px 8px #ffb34733;
  z-index: 0;
  transform: translateX(-50%);
  animation: timeline-glow 3s infinite alternate;
}
@keyframes timeline-glow {
  0% { box-shadow: 0 0 24px 4px #7ee7ff55, 0 0 32px 8px #ffb34733; }
  100% { box-shadow: 0 0 48px 12px #7ee7ff99, 0 0 64px 16px #ffb34766; }
}
.timeline-item {
  display: flex;
  width: 100%;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 3.5rem;
  position: relative;
  z-index: 1;
  animation: fadeInUp 1s;
}
.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
  justify-content: flex-end;
}
.timeline-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #23263a;
  box-shadow: 0 4px 24px #7ee7ff55, 0 0 0 8px #ffb34722;
  border: 4px solid #7ee7ff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  font-size: 2rem;
  color: #ffb347;
  margin: 0 2rem;
  transition: box-shadow 0.3s, border 0.3s;
}
.timeline-icon i {
  font-size: 2rem;
  color: #ffb347;
  filter: drop-shadow(0 2px 8px #ffb34788);
}
.timeline-item:hover .timeline-icon {
  box-shadow: 0 8px 32px #ffb34788, 0 0 0 12px #7ee7ff33;
  border-color: #ffb347;
}
@keyframes icon-pop {
  0% { transform: scale(0.7); opacity: 0; }
  80% { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}
.timeline-content {
  background: #23263a;
  border-radius: 1.2rem;
  box-shadow: 0 4px 24px #7ee7ff22, 0 2px 0 #fff1 inset;
  padding: 1.5rem 2.2rem;
  min-width: 220px;
  max-width: 500px;
  border: 4px solid #ffb347;
  margin: 0 2rem;
  text-align: center;
  position: relative;
  transition: box-shadow 0.2s, border 0.2s;
}
.timeline-item:nth-child(odd) .timeline-content {
  margin-left: 2rem;
  margin-right: 0;
  text-align: left;
}
.timeline-item:nth-child(even) .timeline-content {
  margin-right: 2rem;
  margin-left: 0;
  text-align: right;
}
.timeline-item:nth-child(odd) .timeline-icon {
  margin-left: 0;
  margin-right: 2rem;
}
.timeline-item:nth-child(even) .timeline-icon {
  margin-right: 0;
  margin-left: 2rem;
}
@media (max-width: 900px) {
  .timeline { max-width: 100%; }
  .timeline-item,
  .timeline-item:nth-child(even) {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .timeline-content,
  .timeline-item:nth-child(even) .timeline-content,
  .timeline-item:nth-child(odd) .timeline-content {
    margin: 0;
    text-align: center;
  }
  .timeline-icon,
  .timeline-item:nth-child(even) .timeline-icon,
  .timeline-item:nth-child(odd) .timeline-icon {
    margin: 0 0 1rem 0;
  }
}
.timeline-date {
  font-size: 1.05rem;
  color: #ffb347;
  font-weight: 700;
  letter-spacing: 1px;
}
.timeline-company {
  color: #7ee7ff;
  font-size: 1.05rem;
  font-weight: 600;
}
.timeline-location {
  color: #b0b6c6;
  font-size: 0.98rem;
  display: block;
  margin-bottom: 0.5rem;
}
.timeline-skills {
  margin-top: 0.7rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.timeline-skills span {
  background: #1b234a;
  color: #ffb347;
  border-radius: 999px;
  padding: 0.3em 1em;
  font-size: 0.95em;
  font-weight: 700;
  box-shadow: 0 2px 8px #ffb34733;
  border: 2px solid #7ee7ff44;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.timeline-skills span:hover {
  background: #ffb347;
  color: #181c2b;
  box-shadow: 0 4px 16px #ffb34755;
  transform: scale(1.08) rotate(-2deg);
  border-color: #ffb347;
}
@media (max-width: 700px) {
  .timeline { padding-left: 0; }
  .timeline::before { left: 50%; }
  .timeline-item { flex-direction: column; align-items: center; }
  .timeline-icon { left: 0; margin-bottom: 0.5rem; }
  .timeline-content { padding: 1rem 1.2rem; }
}

/* Glow effect on buttons */
.btn-primary:hover, .btn-secondary:hover {
  box-shadow: 0 0 16px 2px var(--primary), 0 2px 8px rgba(27,58,75,0.10);
}

/* Pulse effect on skill hover */
.skill:hover {
  animation: pulse 0.7s;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 var(--primary); }
  70% { box-shadow: 0 0 0 10px rgba(255,92,27,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,92,27,0); }
}

.hero-title, .section-title, h1, h2, h3, h4, h5, h6 {
  color: #fff;
  text-align: center;
  font-family: 'Space Grotesk', 'Montserrat', Arial, sans-serif;
}
.hero-title {
  font-size: 3.2rem;
  margin-bottom: 0.5rem;
  letter-spacing: 2px;
  line-height: 1;
}
.section-title {
  font-size: 2.2rem;
  margin-bottom: 2rem;
  font-weight: 800;
  letter-spacing: 1px;
}
.hero-title .glow-text {
  background: linear-gradient(90deg, #7ee7ff 0%, #ffb347 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 8px #7ee7ff88;
  border: 2px solid #fff2;
  box-shadow: 0 4px 16px #7ee7ff44, 0 2px 0 #fff2 inset;
  border-radius: 1rem;
  padding: 0.2em 0.6em;
  display: inline-block;
}
.hero-reflection {
  color: #fff;
  opacity: 0.08;
}
.hero-subtitle, .hero-tagline {
  color: #e0e6f0;
  text-align: center;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.hero-tagline {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
}
.hero-svg {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  z-index: 1;
  pointer-events: none;
}

.about, .skills, .timeline-section {
  background: #181c2b;
}
.portfolio, .contact {
  background: #23263a;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.2rem;
  margin-top: 2rem;
}
.portfolio-card {
  background: #23263a;
  color: #f3f6fa;
  border: 3px solid #2a2257;
  box-shadow: 0 8px 24px #0005, 0 2px 0 #fff1 inset;
  border-radius: 1.5rem;
  transition: transform 0.2s cubic-bezier(.4,2,.6,1), box-shadow 0.2s, background 0.2s;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 340px;
  padding: 0;
}
.portfolio-card a {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}
.portfolio-card:hover, .portfolio-card:focus-within {
  background: #2a2257;
  transform: translateY(-8px) scale(1.07) rotate(-2deg);
  box-shadow: 0 16px 32px #7ee7ff33, 0 2px 0 #fff1 inset, 0 0 24px #ffb34755;
}
.portfolio-card:hover a, .portfolio-card:focus-within a {
  color: #ffb347;
}
.portfolio-card:hover .portfolio-info h3, .portfolio-card:focus-within .portfolio-info h3 {
  color: #ffb347;
}
.portfolio-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  border-top-left-radius: 1.5rem;
  border-top-right-radius: 1.5rem;
  transition: opacity 0.3s;
}
.portfolio-card:hover img, .portfolio-card:focus-within img {
  opacity: 0.85;
}
.portfolio-info {
  padding: 1.2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.portfolio-info h3 {
  margin: 0 0 0.3rem 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}
.portfolio-info p {
  margin: 0;
  color: #b0b6c6;
  font-size: 0.98rem;
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  justify-content: center;
  margin-top: 2rem;
}
.skill {
  background: #23263a;
  color: #f3f6fa;
  font-weight: 600;
  padding: 0.8rem 2rem;
  border-radius: 999px;
  font-size: 1rem;
  box-shadow: 0 2px 8px #0006;
  border: 3px solid #2a2257;
  transition: background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.skill:hover {
  background: #2a2257;
  color: #ffb347;
  transform: scale(1.07) rotate(-2deg);
  box-shadow: 0 8px 24px #ffb34733;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  max-width: 420px;
  margin: 0 auto;
}
.contact-form input,
.contact-form textarea {
  background: #23263a;
  color: #f3f6fa;
  border: 3px solid #2a2257;
  border-radius: 1.5rem;
  box-shadow: 0 2px 8px #0006;
  font-size: 1rem;
  font-family: inherit;
  transition: border 0.2s, box-shadow 0.2s;
  padding: 1rem;
  resize: none;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border: 3px solid #ffb347;
  outline: none;
  box-shadow: 0 2px 8px #ffb34788;
}

.contact-links {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}
.contact-links a {
  color: #7ee7ff;
  font-weight: 600;
  text-decoration: underline;
  transition: color 0.2s;
}
.contact-links a:hover {
  color: #ffb347;
}

footer {
  background: #181c2b;
  color: #b0b6c6;
  padding: 2rem 0 1rem 0;
  text-align: center;
  font-size: 1rem;
  margin-top: 2rem;
}

/* Focus visibile per accessibilità */
a:focus, button:focus, .btn:focus {
  outline: 2px solid #ff5c1b;
  outline-offset: 2px;
  box-shadow: 0 0 0 3px #ff5c1b33;
}

/* Riduci animazioni per chi lo preferisce */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}

/* Themed cursors (lightweight inline SVG) */
html, body {
  cursor: url("data:image/svg+xml;utf8,<?xml version='1.0' encoding='UTF-8'?><svg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'><circle cx='7' cy='7' r='5' fill='%237ee7ff' stroke='%23181c2b' stroke-width='2'/><path d='M10 10 L24 24' stroke='%23ff5c1b' stroke-width='3' stroke-linecap='round'/></svg>") 4 4, auto;
}
.nav-links a, .portfolio-card, .services .portfolio-card a, .btn, button {
  cursor: url("data:image/svg+xml;utf8,<?xml version='1.0' encoding='UTF-8'?><svg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'><path d='M4 4 L18 10 L10 18 Z' fill='%23ffb347' stroke='%23181c2b' stroke-width='1.8'/><circle cx='22' cy='22' r='3' fill='%237ee7ff'/></svg>") 4 4, pointer;
}

/* Custom pointer icons per link type */
a[target="_blank"]:not([href^="#"]) {
  cursor: url("data:image/svg+xml;utf8,<?xml version='1.0' encoding='UTF-8'?><svg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'><path d='M5 5 H16 V7 H9 V16 H7 V7 H5 Z' fill='%23ffb347'/><path d='M14 4 H24 V14 H22 V8 L12 18 L10 16 L20 6 H14 Z' fill='%237ee7ff' stroke='%23181c2b' stroke-width='0.8'/></svg>") 4 4, pointer;
}

a[href*="wa.me"], a[href*="whatsapp" i] {
  cursor: url("data:image/svg+xml;utf8,<?xml version='1.0' encoding='UTF-8'?><svg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'><circle cx='10' cy='10' r='7' fill='%2325D366' stroke='%230b3a2e' stroke-width='2'/><path d='M9 7 L12 10 L10 12' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") 4 4, pointer;
}

/* Card e input */
.portfolio-card, .skills-list .skill, .contact-form input, .contact-form textarea, .timeline-content {
  background: #23263a !important;
  color: #e6eaf3 !important;
  border: 2px solid #2a2257 !important;
}

/* Timeline */
.timeline-content {
  box-shadow: 0 2px 8px #0006;
  border-left: 4px solid #ff5c1b;
}
.timeline-date {
  color: #ffb347 !important;
}

/* Placeholder */
::placeholder { color: #b0b6c6 !important; opacity: 1; }

/* Bottoni cartoon/pop */
.btn {
  font-size: 1.1rem;
  font-weight: 800;
  border-radius: 2rem;
  border: 3px solid #fff2;
  box-shadow: 0 4px 16px #ffb34744;
  background: linear-gradient(90deg, #ff5c1b 60%, #ffb347 100%);
  color: #181c2b;
  transition: transform 0.15s cubic-bezier(.4,2,.6,1), box-shadow 0.2s, background 0.2s, color 0.2s;
}
.btn:hover {
  background: linear-gradient(90deg, #ffb347 0%, #ff5c1b 100%);
  color: #fff;
  transform: scale(1.08) rotate(2deg);
  box-shadow: 0 8px 24px #ffb34755;
}

/* Portfolio hover */
.portfolio-card:hover {
  background: #2a2257 !important;
  box-shadow: 0 8px 32px #ffb34733;
  color: #ffb347 !important;
}

/* Skill hover */
.skill:hover {
  background: #ffb347 !important;
  color: #181c2b !important;
  transform: scale(1.07) rotate(-2deg);
}

/* Hero nome meno ombra */
.hero-title .glow-text {
  text-shadow: 0 2px 8px #7ee7ff88;
  border: 2px solid #fff2;
  box-shadow: 0 4px 16px #7ee7ff44, 0 2px 0 #fff2 inset;
}

/* Miglioro padding e allineamento */
section {
  padding: 4.5rem 0 2.5rem 0;
}
.container {
  max-width: 1100px;
  margin: 0 auto;
  width: 92%;
}

.about-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  background: #23263a;
  border-radius: 2rem;
  box-shadow: 0 8px 32px #0007, 0 2px 0 #fff1 inset;
  padding: 3.2rem 2.5rem 2.5rem 2.5rem;
  max-width: 950px;
  margin: 0 auto 2.5rem auto;
  animation: fadeInUp 1s;
}
.about-avatar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-avatar img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 5px solid #7ee7ff;
  background: #181c2b;
  box-shadow: 0 4px 32px #7ee7ff55, 0 0 0 12px #7ee7ff22;
  object-fit: cover;
  display: block;
  z-index: 2;
  animation: avatar-glow 2.5s infinite alternate;
}
@keyframes avatar-glow {
  0% { box-shadow: 0 4px 32px #7ee7ff55, 0 0 0 12px #7ee7ff22; }
  100% { box-shadow: 0 8px 48px #7ee7ff99, 0 0 0 20px #7ee7ff33; }
}
.about-info {
  flex: 1;
  text-align: center;
}
.about-info > * {
  text-align: center !important;
  margin-left: auto;
  margin-right: auto;
}
.about-intro {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.about-role {
  background: #1b234a;
  color: #ffb347;
  border-radius: 999px;
  padding: 0.25em 1em;
  font-size: 1.08rem;
  font-weight: 700;
  margin-left: 0.5em;
  box-shadow: 0 2px 8px #ffb34733;
  letter-spacing: 0.5px;
  transition: background 0.2s, color 0.2s;
}
.about-role:hover, .about-role:focus {
  background: #ffb347;
  color: #181c2b;
}
.about-badges {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
}
.about-badge {
  background: #181c2b;
  color: #7ee7ff;
  border-radius: 999px;
  padding: 0.4em 1.2em;
  font-size: 1.05em;
  font-weight: 700;
  box-shadow: 0 2px 12px #7ee7ff33, 0 2px 0 #fff1 inset;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
  border: 2px solid #7ee7ff44;
  letter-spacing: 0.5px;
}
.about-badge:hover {
  background: #ffb347;
  color: #181c2b;
  box-shadow: 0 4px 16px #ffb34755;
  transform: scale(1.08) rotate(-2deg);
  border-color: #ffb347;
}
.about-desc {
  color: #e6eaf3;
  margin-bottom: 1.5rem;
  font-size: 1.13rem;
  line-height: 1.6;
}
.about-actions {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin-top: 0.5rem;
}
.about-linkedin {
  color: #7ee7ff;
  font-weight: 700;
  text-decoration: none;
  font-size: 1.18rem;
  display: flex;
  align-items: center;
  gap: 0.5em;
  transition: color 0.2s, text-shadow 0.2s;
}
.about-linkedin i {
  font-size: 1.5em;
  vertical-align: middle;
  filter: drop-shadow(0 2px 6px #7ee7ff88);
}
.about-linkedin:hover {
  color: #ffb347;
  text-shadow: 0 2px 8px #ffb34755;
}
.btn.btn-primary {
  font-size: 1.15rem;
  padding: 0.9rem 2.5rem;
  border-radius: 2.2rem;
  font-weight: 900;
  box-shadow: 0 6px 24px #ffb34755, 0 2px 0 #fff1 inset;
  background: linear-gradient(90deg, #ff5c1b 60%, #ffb347 100%);
  color: #181c2b;
  border: 3px solid #fff2;
  transition: transform 0.15s cubic-bezier(.4,2,.6,1), box-shadow 0.2s, background 0.2s, color 0.2s;
}
.btn.btn-primary:hover {
  background: linear-gradient(90deg, #ffb347 0%, #ff5c1b 100%);
  color: #fff;
  transform: scale(1.08) rotate(2deg);
  box-shadow: 0 12px 32px #ffb34788;
}
@media (max-width: 900px) {
  .about-card { flex-direction: column; text-align: center; gap: 1.2rem; padding: 1.2rem 0.5rem; }
  .about-avatar img { margin: 0 auto; width: 90px; height: 90px; }
  .about-info { width: 100%; }
  .about-actions { flex-direction: column; gap: 0.7rem; }
  .about-badges { gap: 0.4rem; }
  .about-badge { font-size: 0.92em; padding: 0.25em 0.7em; }
  .about-intro { font-size: 1.08rem; gap: 0.5rem; }
  .about-role { font-size: 0.98rem; padding: 0.18em 0.7em; }
  .about-desc { font-size: 0.98rem; }
  .btn.btn-primary { font-size: 1rem; padding: 0.7rem 1.5rem; }
  .portfolio-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .portfolio-card { min-height: 220px; }
  .portfolio-card img { height: 110px; }
  .portfolio-info h3 { font-size: 1rem; }
  .portfolio-info p { font-size: 0.92rem; }
  .skills-list { gap: 0.4rem; }
  .skill { font-size: 0.92rem; padding: 0.5rem 1.1rem; }
  .timeline { max-width: 100%; }
  .timeline-item, .timeline-item:nth-child(even) { flex-direction: column; align-items: center; justify-content: center; }
  .timeline-content, .timeline-item:nth-child(even) .timeline-content, .timeline-item:nth-child(odd) .timeline-content { margin: 0; text-align: center; padding: 0.8rem 0.7rem; min-width: 0; max-width: 98vw; font-size: 0.98rem; }
  .timeline-icon, .timeline-item:nth-child(even) .timeline-icon, .timeline-item:nth-child(odd) .timeline-icon { margin: 0 0 0.7rem 0; width: 44px; height: 44px; font-size: 1.2rem; }
  .timeline-skills span { font-size: 0.85em; padding: 0.18em 0.7em; }
}
@media (max-width: 600px) {
  .about-card { padding: 0.7rem 0.1rem; }
  .portfolio-card { min-height: 160px; }
  .portfolio-card img { height: 70px; }
  .timeline-content { padding: 0.5rem 0.2rem; }
}

.glass-navbar {
  background: rgba(30, 34, 54, 0.55);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-radius: 0 0 2rem 2rem;
  box-shadow: 0 8px 32px #0005, 0 2px 0 #fff1 inset;
  border-bottom: 1.5px solid #7ee7ff33;
  position: sticky;
  top: 0;
  z-index: 100;
  margin-bottom: 2.5rem;
  transition: background 0.3s, box-shadow 0.3s;
}
.nav-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: 'Space Grotesk', 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: 1.5rem;
  color: #7ee7ff;
  letter-spacing: 1px;
  text-shadow: 0 2px 8px #7ee7ff44;
  padding: 0.2em 1em;
  border-radius: 1.2em;
  background: rgba(24,28,43,0.18);
  transition: background 0.2s, color 0.2s;
}
.nav-logo:hover {
  background: #7ee7ff22;
  color: #ffb347;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem; /* wider again */
  margin: 0;
  padding: 0;
  align-items: center;
}

/* Preloader */
#preloader {
  position: fixed;
  inset: 0;
  background: radial-gradient(1200px 600px at 20% 20%, #1b3a4b 0%, #181c2b 45%, #0f1524 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity .5s ease, visibility .5s ease;
}
#preloader.hide { opacity: 0; visibility: hidden; }
.preloader-content { display: grid; place-items: center; gap: 14px; }
.preloader-logo { width: 96px; height: 96px; border-radius: 50%; box-shadow: 0 0 28px #7ee7ff66; animation: pulse 1.3s ease-in-out infinite; }
.preloader-ring { width: 128px; height: 128px; border-radius: 50%; border: 8px solid #2a2257; border-top-color: #7ee7ff; animation: spin 0.9s linear infinite; box-shadow: 0 0 22px #7ee7ff66; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 0.9; } 50% { transform: scale(1.08); opacity: 1; } }
.nav-links li {
  display: flex;
  align-items: center;
}
.nav-links a {
  color: #e6eaf3;
  font-weight: 700;
  font-size: 1.08rem;
  text-decoration: none;
  border-radius: 1.2sm;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
  display: flex;
  align-items: center;
  gap: 0.2em;
  position: relative;
}
.nav-links a i {
  font-size: 1.2em;
  vertical-align: middle;
  filter: drop-shadow(0 2px 6px #7ee7ff88);
}
.nav-links a:hover, .nav-links a:focus {
  background: #7ee7ff22;
  color: #ffb347;
  box-shadow: 0 2px 12px #7ee7ff44;
  transform: translateY(-2px) scale(1.08);
  outline: none;
}
.nav-logo-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #181c2b;
  box-shadow: 0 2px 12px #7ee7ff55;
  border: 3px solid #7ee7ff;
  transition: box-shadow 0.2s, border 0.2s;
}
.nav-logo-img:hover, .nav-logo-img:focus {
  box-shadow: 0 4px 24px #ffb34788;
  border: 3px solid #ffb347;
}
@media (max-width: 900px) {
  .nav-flex { flex-direction: column; gap: 1rem; }
  .nav-links { gap: 0.5rem; }
  .nav-logo { margin-bottom: 0.5rem; }
}

.legal-links {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  margin-top: 1.5rem;
}
.legal-btn {
  background: #23263a;
  color: #7ee7ff;
  border: 2px solid #7ee7ff44;
  border-radius: 999px;
  padding: 0.5em 1.5em;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border 0.2s;
}
.legal-btn:hover {
  background: #ffb347;
  color: #181c2b;
  border-color: #ffb347;
}
.policy-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(24,28,43,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.policy-content {
  background: #23263a;
  color: #e6eaf3;
  border-radius: 1.5rem;
  padding: 2.5rem 2rem 2rem 2rem;
  max-width: 480px;
  width: 90vw;
  box-shadow: 0 8px 32px #0007;
  position: relative;
  animation: fadeInUp 0.5s;
}
.policy-content h2 {
  color: #7ee7ff;
  margin-top: 0;
}
.policy-close {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  background: none;
  border: none;
  color: #ffb347;
  font-size: 2rem;
  cursor: pointer;
  font-weight: 900;
}
@media (max-width: 600px) {
  .policy-modal {
    align-items: flex-end;
    justify-content: center;
    padding: 0;
  }
  .policy-content {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    transform: none;
    border-radius: 1.2rem 1.2rem 0 0;
    max-width: 100vw;
    width: 100vw;
    min-height: 40vh;
    max-height: 80vh;
    padding: 1.2rem 1rem 1.5rem 1rem;
    font-size: 1.13rem;
    overflow-y: auto;
    box-sizing: border-box;
    z-index: 10000;
    animation: fadeInUp 0.5s;
  }
  .policy-close {
    top: 0.7rem;
    right: 1.1rem;
    left: auto;
    font-size: 2.3rem;
    z-index: 2;
    background: rgba(24,28,43,0.9);
    border-radius: 50%;
    padding: 0.1em 0.4em;
  }
  .policy-content h2 {
    font-size: 1.25rem;
    margin-top: 0.5rem;
  }
}

/* Card e modali coerenti */
.card, .about-card, .portfolio-card, .timeline-content, .policy-content {
  background: #23263a;
  border-radius: 1.2rem;
  box-shadow: 0 8px 32px #0007, 0 2px 0 #fff1 inset;
  border: 3px solid #7ee7ff;
  color: #e6eaf3;
  padding: 1.5rem 2rem;
}
.policy-content {
  border: 3px solid #7ee7ff;
}

/* Bottoni e badge coerenti */
.btn, .legal-btn, .about-badge, .skill, .timeline-skills span {
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 2px 8px #7ee7ff33;
  border: 2px solid #7ee7ff44;
  transition: background 0.2s, color 0.2s, border 0.2s, box-shadow 0.2s, transform 0.2s;
}
.btn:hover, .legal-btn:hover, .about-badge:hover, .skill:hover, .timeline-skills span:hover {
  background: #ffb347;
  color: #fff !important;
  border-color: #ffb347;
  box-shadow: 0 4px 16px #ffb34755;
  transform: scale(1.08) rotate(-2deg);
}

/* Icone coerenti */
i, .fa-brands, .fa-solid {
  color: #7ee7ff;
  filter: drop-shadow(0 2px 8px #7ee7ff88);
  font-size: 1.2em;
  vertical-align: middle;
}
.nav-links a i, .about-linkedin i, .timeline-icon i {
  font-size: 1.3em;
}

/* Titoli coerenti */
.section-title, .about-info .section-title, .timeline-content h3, .portfolio-info h3 {
  color: #7ee7ff;
  font-family: 'Space Grotesk', 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 1px;
  text-align: center;
}

/* Responsive uniformato */
@media (max-width: 900px) {
  .card, .about-card, .portfolio-card, .timeline-content, .policy-content {
    padding: 1rem 0.5rem;
    border-radius: 1rem;
  }
  .btn, .legal-btn, .about-badge, .skill, .timeline-skills span {
    font-size: 0.95em;
    padding: 0.5em 1em;
  }
}

/* Hamburger menu styles */
.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #7ee7ff;
  cursor: pointer;
  margin-left: 1rem;
  z-index: 110;
  transition: color 0.2s;
}
.hamburger:focus {
  outline: 2px solid #ffb347;
}
@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: 70vw;
    max-width: 340px;
    background: rgba(30,34,54,0.97);
    box-shadow: -8px 0 32px #0007;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 5rem 2rem 2rem 2rem;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(.4,2,.6,1);
    z-index: 105;
    border-radius: 1.2rem 0 0 1.2rem;
  }
  .nav-links.open {
    transform: translateX(0);
  }
  .hamburger {
    display: block !important;
    position: fixed;
    top: 1.2rem;
    right: 2rem;
    z-index: 120;
    background: rgba(255, 255, 255, 0.97);
    border-radius: 1.2em;
    padding: 0.2em 0.5em;
    box-shadow: 0 2px 8px #0007;
  }
  .nav-flex { position: static; }
  body.menu-open { overflow: hidden; }
}
.hamburger i {
  color: #fff !important;
  text-shadow: 0 2px 8px #7ee7ff88, 0 0 2px #fff;
}
