/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  scroll-behavior: smooth;
  background-color: #121212;
  color: #eee;
  font-family: 'Poppins', sans-serif;
}



/* Evita scroll horizontal */
body {
  overflow-x: hidden;
}




/* Para a section #bemvindo, garantir que ela quebre a coluna em telas pequenas */
@media (max-width: 768px) {
  #bemvindo {
    flex-direction: column !important;
    padding: 2rem 1rem !important;
    min-height: auto !important;
  }
  
  #bemvindo .container {
    padding: 2rem 1rem;
  }
  
  #bemvindo .col-md-6 {
    margin-bottom: 2rem;
  }
  
  #bemvindo img {
    max-height: 250px !important;
    width: 250px;
    margin-bottom: 2rem;
  }
  
  #bemvindo h1 {
    font-size: 2rem !important;
  }
  
  #bemvindo .lead {
    font-size: 1rem;
  }
  
  /* Em mobile, texto vem depois da foto */
  #bemvindo .order-1 {
    order: 1 !important;
  }
  
  #bemvindo .order-2 {
    order: 2 !important;
  }
}


/* Navbar */
.navbar {
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.7);
}

/* Botão tema */
#theme-toggle {
  border-radius: 5px;
}

/* Modo claro */
body.light-mode {
  background-color: #f8f9fa;
  color: #222;
}
body.light-mode .navbar {
  background-color: #e9ecef !important;
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.1);
}
body.light-mode a,
body.light-mode .nav-link {
  color: #222 !important;
}

/* Links */
a {
  color: #7fff00;
}
a:hover {
  color: #a7ff4d;
}

/* Cards */
.card {
  background-color: #222;
  border: none;
}
body.light-mode .card {
  background-color: #fff;
  color: #222;
}

/* Outros ajustes */
section {
  scroll-margin-top: 70px; /* para compensar navbar fixa */
}

.modal-content {
  border-radius: 1rem;
}

.modal-body img {
  max-width: 500px;
  object-fit: cover;
}

.modal-xl {
  max-width: 95% !important; /* aumenta largura */
}

.modal-content {
  height: 90vh; /* ocupa 90% da altura da tela */
}

#particles-js {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

    #bemvindo {
      position: relative;
      overflow: hidden;
    }

    #bemvindo > div:not(#particles-js) {
      position: relative;
      z-index: 1;
    }

#bemvindo > *:not(#particles-js) {
  position: relative;
  z-index: 1;
}


.hero-section {
  position: relative;
  min-height: 90vh;
  padding: 5rem 2rem;
  overflow: hidden;
}

.hero-text {
  flex: 1;
  padding-right: 2rem;
  z-index: 2;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.shadow-glow {
  box-shadow: 0 0 40px rgba(0, 123, 255, 0.4), 0 0 80px rgba(0, 123, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.shadow-glow:hover {
  transform: scale(1.05);
  box-shadow: 0 0 60px rgba(0, 123, 255, 0.6), 0 0 100px rgba(0, 123, 255, 0.3);
}

/* Texto com gradiente animado */
.text-gradient {
  background: linear-gradient(90deg, #00b4d8, #0077b6, #90e0ef);
  background-size: 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 6s ease infinite;
}

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

/* Botões com brilho */
.btn-glow {
  background: linear-gradient(45deg, #007bff, #00b4d8);
  border: none;
  color: white;
  font-weight: 600;
  box-shadow: 0 0 20px rgba(0, 123, 255, 0.4);
  transition: all 0.3s ease;
}

.btn-glow:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 30px rgba(0, 123, 255, 0.7);
}

/* Botão transparente com borda animada */
.btn-outline-glow {
  border: 2px solid #00b4d8;
  color: #00b4d8;
  font-weight: 600;
  background: transparent;
  transition: all 0.3s ease;
}

.btn-outline-glow:hover {
  background: #00b4d8;
  color: white;
  box-shadow: 0 0 25px rgba(0, 180, 216, 0.5);
  transform: translateY(-3px);
}
.timeline-section {
  position: relative;
  background: radial-gradient(circle at top left, #0d1b2a, #000);
  overflow-x: hidden;
  overflow-y: visible;
  width: 100%;
}

.timeline {
  position: relative;
  margin: 3rem auto;
  padding: 2rem 0;
  width: 100%;
  max-width: 900px;
  overflow: visible;
}

.timeline::before {
  content: "";
  position: absolute;
  width: 4px;
  background: rgba(0, 123, 255, 0.5);
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  animation: glowLine 3s ease-in-out infinite alternate;
}

@keyframes glowLine {
  from { box-shadow: 0 0 5px #0dcaf0, 0 0 15px #0d6efd; }
  to { box-shadow: 0 0 20px #0dcaf0, 0 0 40px #0d6efd; }
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 1rem 2rem;
}

.timeline-item.left { left: 0; text-align: right; }
.timeline-item.right { left: 50%; text-align: left; }

.timeline-content {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 1.5rem;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  color: #fff;
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(13, 110, 253, 0.5);
}

.timeline-item::after {
  content: "";
  position: absolute;
  top: 20px;
  width: 20px;
  height: 20px;
  background: #0d6efd;
  border-radius: 50%;
  border: 3px solid #fff;
  z-index: 1;
}

.timeline-item.left::after {
  right: -11px;
}

.timeline-item.right::after {
  left: -11px;
}

.timeline-item.active::after {
  background: #0dcaf0;
  box-shadow: 0 0 25px #0dcaf0;
  animation: pulse 1.5s infinite ease-in-out;
}

@keyframes pulse {
  0% { transform: scale(1); box-shadow: 0 0 10px #0dcaf0; }
  50% { transform: scale(1.2); box-shadow: 0 0 25px #0dcaf0; }
  100% { transform: scale(1); box-shadow: 0 0 10px #0dcaf0; }
}

/* Responsividade Timeline - Mobile */
@media (max-width: 768px) {
  .timeline-section {
    padding: 2rem 0;
    overflow-x: hidden;
  }
  
  .timeline-section .container {
    padding-left: 1rem;
    padding-right: 1rem;
    max-width: 100%;
    overflow-x: hidden;
  }
  
  .timeline {
    margin: 2rem auto;
    padding: 1rem 0;
    max-width: 100%;
    overflow: visible;
  }
  
  .timeline::before {
    left: 15px !important;
    width: 3px;
  }
  
  .timeline-item {
    width: calc(100% - 3rem) !important;
    left: 0 !important;
    padding: 0 !important;
    padding-left: 3rem !important;
    padding-right: 1rem !important;
    text-align: left !important;
    margin-bottom: 1.5rem;
    display: block;
    margin-left: 0;
    margin-right: 0;
  }
  
  .timeline-item.left,
  .timeline-item.right {
    left: 0 !important;
    text-align: left !important;
    padding-left: 3rem !important;
    padding-right: 1rem !important;
    width: calc(100% - 3rem) !important;
  }
  
  .timeline-item::after {
    left: 7px !important;
    right: auto !important;
    top: 15px;
    width: 16px;
    height: 16px;
    border-width: 2px;
  }
  
  .timeline-content {
    padding: 1rem !important;
    border-radius: 15px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box;
  }
  
  .timeline-content h4 {
    font-size: 1.1rem !important;
    margin-bottom: 0.5rem;
    line-height: 1.3;
  }
  
  .timeline-content p {
    font-size: 0.9rem !important;
    line-height: 1.5;
    margin-bottom: 0;
  }
  
  .timeline-content strong {
    font-weight: 600;
  }
}

@media (max-width: 480px) {
  .timeline-section {
    padding: 1.5rem 0;
  }
  
  .timeline-section .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  
  .timeline {
    margin: 1.5rem auto;
    padding: 0.5rem 0;
  }
  
  .timeline-item {
    padding: 0 !important;
    padding-left: 2.5rem !important;
    padding-right: 0.75rem !important;
    margin-bottom: 1.25rem;
    width: calc(100% - 2.5rem) !important;
  }
  
  .timeline-item.left,
  .timeline-item.right {
    padding-left: 2.5rem !important;
    padding-right: 0.75rem !important;
    width: calc(100% - 2.5rem) !important;
  }
  
  .timeline-item::after {
    left: 5px !important;
    width: 14px;
    height: 14px;
  }
  
  .timeline-content {
    padding: 0.875rem !important;
    border-radius: 12px;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box;
  }
  
  .timeline-content h4 {
    font-size: 1rem !important;
  }
  
  .timeline-content p {
    font-size: 0.85rem !important;
  }
  
  .section-title-glow {
    font-size: 1.5rem !important;
    margin-bottom: 2rem !important;
  }
}


  .contato-item strong {
    display: block;
    color: #eee;
    margin-bottom: 0.25rem;
  }

  .contato-item small {
    color: #eee;
  }

 .d-flex.justify-content-center.flex-wrap {
  gap: 4rem; /* espaçamento maior entre os contatos */
  justify-content: center;
}

.icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: white;
  font-size: 28px;
  color: #25272b;
  border: 2px solid #25272b;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin-bottom: 1.5rem; /* espaço entre ícone e texto */
}

.contato-item strong {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.contato-item small {
  font-size: 0.9rem;
  color: #666;
}

/* Responsividade */
@media (max-width: 768px) {
  .d-flex.justify-content-center.flex-wrap {
    gap: 2rem; /* reduz o espaçamento em telas menores */
  }

  .contato-item {
    width: 45%; /* duas colunas em telas médias */
    margin-bottom: 2rem;
  }
}

@media (max-width: 480px) {
  .contato-item {
    width: 100%; /* uma coluna em telas pequenas */
  }
}


  
  .contato-item a:hover .icon-circle {
    background-color: #25272b;
    color: white;
  }

.card .card-body {
  padding: 0.75rem 1rem;
}

.card-sm iframe {
  height: 180px;
}
.card-sm {
  max-height: 320px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}



/* Ajustes para seção contatos no modo claro */
body.light-mode .contato-item strong {
  color: #222222; /* texto escuro para destaque */
}

body.light-mode .contato-item small {
  color: #555555; /* cinza médio para texto secundário */
}

body.light-mode .icon-circle {
  background-color: #f8f9fa; /* fundo claro */
  color: #444444; /* cor do ícone em tom escuro */
  border-color: #444444; /* borda em tom escuro */
  transition: background-color 0.3s ease, color 0.3s ease;
}

body.light-mode .contato-item a:hover .icon-circle {
  background-color: #444444; /* fundo escuro ao passar o mouse */
  color: #f8f9fa; /* ícone claro ao passar o mouse */
}

/* ============================================
   ANIMAÇÕES AO SCROLL
   ============================================ */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animate-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   CARDS DE TECNOLOGIAS MELHORADOS
   ============================================ */
.tech-card {
  position: relative;
  padding: 2rem 1.5rem;
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  border: 2px solid rgba(255, 255, 255, 0.1);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 200px;
}

.tech-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13, 110, 253, 0.3), transparent);
  transition: all 0.6s ease;
  pointer-events: none;
}

.tech-card:hover {
  transform: translateY(-10px) scale(1.05);
  border-color: rgba(13, 110, 253, 0.5);
}

.tech-card:hover .tech-glow {
  width: 200px;
  height: 200px;
}

.tech-icon-wrapper {
  position: relative;
  z-index: 2;
  transition: transform 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.tech-icon {
  transition: transform 0.4s ease;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
  display: block;
  max-width: 100%;
  height: auto;
  opacity: 1;
  visibility: visible;
}

.tech-icon-svg {
  transition: transform 0.4s ease;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
  display: block;
}

.tech-card:hover .tech-icon,
.tech-card:hover .tech-icon-svg {
  transform: scale(1.15) rotate(5deg);
}

.tech-name {
  font-weight: 700;
  color: #fff;
  transition: color 0.3s ease;
  font-size: 1.1rem;
  position: relative;
  z-index: 2;
  letter-spacing: 0.5px;
}

.tech-icon-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
  z-index: 3;
  opacity: 0;
}

.tech-icon-center i {
  font-size: 1.8rem;
  color: rgba(255, 255, 255, 0.95);
  transition: all 0.4s ease;
}

.tech-card:hover .tech-icon-center {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
}

.tech-card:hover .tech-icon-center i {
  transform: scale(1.1);
}

/* Cores específicas para os ícones centrais */
.tech-card-html:hover .tech-icon-center {
  background: rgba(227, 79, 38, 0.4);
  box-shadow: 0 0 20px rgba(227, 79, 38, 0.5);
}

.tech-card-css:hover .tech-icon-center {
  background: rgba(38, 77, 228, 0.4);
  box-shadow: 0 0 20px rgba(38, 77, 228, 0.5);
}

.tech-card-js:hover .tech-icon-center {
  background: rgba(247, 223, 30, 0.4);
  box-shadow: 0 0 20px rgba(247, 223, 30, 0.5);
}

.tech-card-bootstrap:hover .tech-icon-center {
  background: rgba(121, 82, 179, 0.4);
  box-shadow: 0 0 20px rgba(121, 82, 179, 0.5);
}

body.light-mode .tech-icon-center {
  background: rgba(0, 0, 0, 0.15);
}

body.light-mode .tech-icon-center i {
  color: rgba(0, 0, 0, 0.8);
}

body.light-mode .tech-card-html:hover .tech-icon-center {
  background: rgba(227, 79, 38, 0.3);
}

body.light-mode .tech-card-css:hover .tech-icon-center {
  background: rgba(38, 77, 228, 0.3);
}

body.light-mode .tech-card-js:hover .tech-icon-center {
  background: rgba(247, 223, 30, 0.3);
}

body.light-mode .tech-card-bootstrap:hover .tech-icon-center {
  background: rgba(121, 82, 179, 0.3);
}

/* Cores específicas por tecnologia */
.tech-card-html {
  border-color: rgba(227, 79, 38, 0.3);
}

.tech-card-html:hover {
  border-color: rgba(227, 79, 38, 0.8);
  box-shadow: 0 15px 40px rgba(227, 79, 38, 0.4);
}

.tech-card-html:hover .tech-glow {
  background: radial-gradient(circle, rgba(227, 79, 38, 0.3), transparent);
}

.tech-card-css {
  border-color: rgba(38, 77, 228, 0.3);
}

.tech-card-css:hover {
  border-color: rgba(38, 77, 228, 0.8);
  box-shadow: 0 15px 40px rgba(38, 77, 228, 0.4);
}

.tech-card-css:hover .tech-glow {
  background: radial-gradient(circle, rgba(38, 77, 228, 0.3), transparent);
}

.tech-card-js {
  border-color: rgba(247, 223, 30, 0.3);
}

.tech-card-js:hover {
  border-color: rgba(247, 223, 30, 0.8);
  box-shadow: 0 15px 40px rgba(247, 223, 30, 0.4);
}

.tech-card-js:hover .tech-glow {
  background: radial-gradient(circle, rgba(247, 223, 30, 0.3), transparent);
}

.tech-card-bootstrap {
  border-color: rgba(121, 82, 179, 0.3);
}

.tech-card-bootstrap:hover {
  border-color: rgba(121, 82, 179, 0.8);
  box-shadow: 0 15px 40px rgba(121, 82, 179, 0.4);
}

.tech-card-bootstrap:hover .tech-glow {
  background: radial-gradient(circle, rgba(121, 82, 179, 0.3), transparent);
}

.tech-card-node {
  border-color: rgba(51, 153, 51, 0.3);
}

.tech-card-node:hover {
  border-color: rgba(51, 153, 51, 0.8);
  box-shadow: 0 15px 40px rgba(51, 153, 51, 0.4);
}

.tech-card-node:hover .tech-glow {
  background: radial-gradient(circle, rgba(51, 153, 51, 0.3), transparent);
}

.tech-card-node .tech-icon-svg {
  color: #339933;
}

.tech-card-shopify {
  border-color: rgba(150, 191, 72, 0.3);
}

.tech-card-shopify:hover {
  border-color: rgba(150, 191, 72, 0.8);
  box-shadow: 0 15px 40px rgba(150, 191, 72, 0.4);
}

.tech-card-shopify:hover .tech-glow {
  background: radial-gradient(circle, rgba(150, 191, 72, 0.3), transparent);
}

.tech-card-shopify .tech-icon-svg {
  color: #96BF48;
}

.tech-card-liquid {
  border-color: rgba(122, 181, 92, 0.3);
}

.tech-card-liquid:hover {
  border-color: rgba(122, 181, 92, 0.8);
  box-shadow: 0 15px 40px rgba(122, 181, 92, 0.4);
}

.tech-card-liquid:hover .tech-glow {
  background: radial-gradient(circle, rgba(122, 181, 92, 0.3), transparent);
}

.tech-card-liquid .tech-icon-svg {
  color: #7AB55C;
}

/* Modo claro */
body.light-mode .tech-card {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.15);
}

body.light-mode .tech-card:hover {
  background: rgba(0, 0, 0, 0.1);
}

body.light-mode .tech-name {
  color: #222;
}

body.light-mode .tech-card-node .tech-icon-svg {
  color: #339933;
}

body.light-mode .tech-card-shopify .tech-icon-svg {
  color: #96BF48;
}

body.light-mode .tech-card-liquid .tech-icon-svg {
  color: #7AB55C;
}

/* Cards de habilidades antigos (mantidos para outras seções) */
.skill-card {
  padding: 1.5rem;
  border-radius: 15px;
  transition: all 0.3s ease;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.skill-card:hover {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(13, 110, 253, 0.3);
  transform: translateY(-5px);
}

.skill-icon {
  transition: transform 0.3s ease;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.skill-icon-icon {
  transition: transform 0.3s ease;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.skill-card:hover .skill-icon,
.skill-card:hover .skill-icon-icon {
  transform: scale(1.1) rotate(5deg);
}

.skill-name {
  font-weight: 600;
  color: #fff;
  transition: color 0.3s ease;
  font-size: 1rem;
}

.skill-subtitle {
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 0.85rem;
  font-weight: 500;
}

body.light-mode .skill-subtitle {
  color: rgba(0, 0, 0, 0.7) !important;
}

body.light-mode .skill-card {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.1);
}

body.light-mode .skill-card:hover {
  background: rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 30px rgba(13, 110, 253, 0.2);
}

body.light-mode .skill-name {
  color: #222;
}

.github-icon {
  color: #fff;
}

body.light-mode .github-icon {
  color: #222;
}

/* ============================================
   BADGES DE HABILIDADES TÉCNICAS
   ============================================ */
.skill-badge {
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  font-weight: 500;
}

.skill-badge span {
  color: #fff;
  font-weight: 500;
}

.skill-badge:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(13, 110, 253, 0.2);
  border-color: rgba(13, 110, 253, 0.3);
}

.skill-badge i {
  font-size: 1.5rem;
}

body.light-mode .skill-badge {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.1);
  color: #222;
}

body.light-mode .skill-badge span {
  color: #222;
}

body.light-mode .skill-badge:hover {
  background: rgba(0, 0, 0, 0.1);
  border-color: rgba(13, 110, 253, 0.3);
}

/* ============================================
   CARDS DE PROJETOS MELHORADOS
   ============================================ */
.project-card {
  transition: all 0.3s ease;
  border-radius: 15px;
  overflow: hidden;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.card-img-wrapper {
  position: relative;
  overflow: hidden;
  height: 250px;
  background: rgba(255, 255, 255, 0.05);
}

.card-img-wrapper iframe {
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease;
}

.project-card:hover .card-img-wrapper iframe {
  transform: scale(1.05);
}

/* ============================================
   CARDS DE CONTATO NO ESTILO DA IMAGEM
   ============================================ */
.contact-info-card,
.contact-form-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.contact-card-header {
  background: #0d6efd;
  color: #fff;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  font-weight: 600;
  font-size: 1.1rem;
}

.contact-card-header i {
  font-size: 1.3rem;
}

.contact-card-body {
  padding: 2rem;
  color: #333;
}

/* Informações de Contato */
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.contact-info-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.contact-info-item i {
  font-size: 1.5rem;
  color: #0d6efd;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.contact-info-item strong {
  display: block;
  color: #333;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-info-item p {
  color: #666;
  margin: 0;
}

.contact-link {
  color: #0d6efd;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: #0a58ca;
  text-decoration: underline;
}

/* Formulário de Contato */
.contact-form-description {
  color: #666;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.contact-form-new {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group-with-icon {
  position: relative;
}

.form-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  font-size: 1.1rem;
  z-index: 2;
  pointer-events: none;
}

.form-icon-textarea {
  top: 1.25rem;
  transform: none;
}

.contact-form-new .form-control {
  padding-left: 3rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  background: #fff;
  color: #333;
}

.contact-form-new .form-control:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.1);
  outline: none;
}

.contact-form-new textarea.form-control {
  padding-top: 1rem;
  resize: vertical;
}

.btn-contact-submit {
  background: #0d6efd;
  color: #fff;
  border: none;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
  margin-top: 0.5rem;
}

.btn-contact-submit:hover {
  background: #0a58ca;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

.btn-contact-submit:active {
  transform: translateY(0);
}

/* Modo Escuro */
body:not(.light-mode) .contact-info-card,
body:not(.light-mode) .contact-form-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

body:not(.light-mode) .contact-card-body {
  color: #fff;
}

body:not(.light-mode) .contact-info-item {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

body:not(.light-mode) .contact-info-item strong {
  color: #fff;
}

body:not(.light-mode) .contact-info-item p {
  color: rgba(255, 255, 255, 0.8);
}

body:not(.light-mode) .contact-form-description {
  color: rgba(255, 255, 255, 0.7);
}

body:not(.light-mode) .contact-form-new .form-control {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

body:not(.light-mode) .contact-form-new .form-control::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

body:not(.light-mode) .contact-form-new .form-control:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: #0d6efd;
}

body:not(.light-mode) .form-icon {
  color: rgba(255, 255, 255, 0.6);
}

/* Responsividade */
@media (max-width: 992px) {
  .contact-card-body {
    padding: 1.5rem;
  }
  
  .contact-info-item {
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
  }
}

@media (max-width: 768px) {
  .contact-card-header {
    padding: 1rem 1.25rem;
    font-size: 1rem;
  }
  
  .contact-card-body {
    padding: 1.25rem;
  }
  
  .contact-info-item {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
  }
  
  .contact-info-item i {
    font-size: 1.3rem;
  }
}

/* ============================================
   MODAIS MELHORADOS
   ============================================ */
.modal-content {
  border-radius: 15px;
  border: none;
}

.modal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

body.light-mode .modal-content {
  background-color: #fff;
  color: #222;
}

body.light-mode .modal-header,
body.light-mode .modal-footer {
  border-color: rgba(0, 0, 0, 0.1);
}

/* ============================================
   LAZY LOADING
   ============================================ */
.lazy-load {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lazy-load.loaded {
  opacity: 1;
}

/* ============================================
   LINKS DE CONTATO
   ============================================ */
.contato-link {
  color: inherit;
  transition: all 0.3s ease;
}

.contato-link:hover {
  text-decoration: none;
  transform: translateY(-5px);
}

/* ============================================
   RESPONSIVIDADE MELHORADA
   ============================================ */
@media (max-width: 768px) {
  .skill-card {
    margin-bottom: 1.5rem;
  }
  
  .project-card {
    margin-bottom: 2rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  #bemvindo .d-flex.gap-3 {
    flex-direction: column;
  }
  
  #bemvindo .d-flex.gap-3 a {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .tech-card {
    padding: 1.5rem 1rem;
    min-height: 160px;
  }
  
  .tech-icon,
  .tech-icon-svg {
    max-height: 70px !important;
    font-size: 3.5rem !important;
  }
  
  .tech-name {
    font-size: 1rem;
  }
  
  .skill-card {
    padding: 1rem;
  }
  
  .skill-icon,
  .skill-icon-icon {
    max-height: 60px !important;
    font-size: 3rem !important;
  }
  
  .skill-name {
    font-size: 0.9rem;
  }
  
  .skill-badge {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }
  
  .skill-badge i {
    font-size: 1.2rem;
  }
  
  #habilidades h3 {
    font-size: 1.1rem;
  }
  
  .card-img-wrapper {
    height: 150px;
  }
  
  .contact-form {
    padding: 1rem;
  }
  
  #sobre img {
    max-height: 250px !important;
  }
  
  .contato-item {
    width: 100% !important;
    margin-bottom: 2rem;
  }
  
  .d-flex.justify-content-center.flex-wrap {
    gap: 2rem !important;
  }
  
  #projetos .col-md-5 {
    margin-bottom: 2rem;
  }
  
  .modal-body .row {
    flex-direction: column;
  }
  
  .modal-body img {
    margin-bottom: 1rem;
  }
}

/* ============================================
   ACESSIBILIDADE - FOCUS STATES
   ============================================ */
a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 2px solid #0d6efd;
  outline-offset: 2px;
}

/* ============================================
   SCROLLBAR PERSONALIZADA
   ============================================ */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #121212;
}

::-webkit-scrollbar-thumb {
  background: #0d6efd;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #0a58ca;
}

body.light-mode ::-webkit-scrollbar-track {
  background: #f8f9fa;
}

body.light-mode ::-webkit-scrollbar-thumb {
  background: #0d6efd;
}

/* ============================================
   SEÇÃO DE PROJETOS
   ============================================ */
#projetos {
  background: radial-gradient(circle at center, rgba(13, 110, 253, 0.05), transparent);
  padding: 4rem 0;
}

body.light-mode #projetos {
  background: radial-gradient(circle at center, rgba(13, 110, 253, 0.02), transparent);
}

#projetos h2 {
  color: #fff;
}

body.light-mode #projetos h2 {
  color: #222;
}

/* ============================================
   BADGE DE DISPONIBILIDADE
   ============================================ */
.availability-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(13, 110, 253, 0.2);
  border: 1px solid rgba(13, 110, 253, 0.5);
  border-radius: 25px;
  backdrop-filter: blur(10px);
}

.badge-dot {
  width: 10px;
  height: 10px;
  background: #0d6efd;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.2);
  }
}

.badge-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
}

body.light-mode .availability-badge {
  background: rgba(13, 110, 253, 0.1);
  border-color: rgba(13, 110, 253, 0.3);
}

body.light-mode .badge-text {
  color: #222;
}

/* ============================================
   SEÇÃO DE ESTATÍSTICAS
   ============================================ */
.stat-card {
  padding: 2rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(13, 110, 253, 0.5);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: #0d6efd;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

body.light-mode .stat-card {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.1);
}

body.light-mode .stat-number {
  color: #0d6efd;
}

body.light-mode .stat-label {
  color: rgba(0, 0, 0, 0.7);
}

/* ============================================
   EXPERIÊNCIA PROFISSIONAL
   ============================================ */
.experience-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.experience-card:hover {
  transform: translateX(5px);
  border-color: rgba(13, 110, 253, 0.5);
  box-shadow: 0 5px 20px rgba(13, 110, 253, 0.2);
}

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

.experience-badge {
  background: rgba(13, 110, 253, 0.2);
  color: #0d6efd;
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}

.experience-body {
  color: rgba(255, 255, 255, 0.9);
}

.experience-list {
  list-style: none;
  padding-left: 0;
  margin-top: 1rem;
}

.experience-list li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.experience-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #0d6efd;
  font-weight: bold;
}

body.light-mode .experience-card {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.1);
}

body.light-mode .experience-header {
  border-bottom-color: rgba(0, 0, 0, 0.1);
}

body.light-mode .experience-body {
  color: rgba(0, 0, 0, 0.8);
}

body.light-mode .experience-badge {
  background: rgba(13, 110, 253, 0.1);
}

/* ============================================
   FORMAÇÃO ACADÊMICA
   ============================================ */
.education-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.education-card:hover {
  transform: translateY(-3px);
  border-color: rgba(13, 110, 253, 0.5);
}

.education-header h5 {
  color: #fff;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.education-period {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  font-style: italic;
}

.education-body p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

body.light-mode .education-card {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.1);
}

body.light-mode .education-header h5 {
  color: #222;
}

body.light-mode .education-period {
  color: rgba(0, 0, 0, 0.6);
}

body.light-mode .education-body p {
  color: rgba(0, 0, 0, 0.7);
}

/* ============================================
   SOFT SKILLS
   ============================================ */
.skills-soft-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 2rem;
}

.skill-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.skill-name {
  font-weight: 600;
  color: #fff;
}

.skill-level {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.soft-skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.soft-skill-badge {
  padding: 0.5rem 1rem;
  background: rgba(13, 110, 253, 0.2);
  color: #0d6efd;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid rgba(13, 110, 253, 0.3);
}

body.light-mode .skills-soft-card {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.1);
}

body.light-mode .skill-item {
  border-bottom-color: rgba(0, 0, 0, 0.1);
}

body.light-mode .skill-name {
  color: #222;
}

body.light-mode .skill-level {
  color: rgba(0, 0, 0, 0.6);
}

body.light-mode .soft-skill-badge {
  background: rgba(13, 110, 253, 0.1);
  border-color: rgba(13, 110, 253, 0.2);
}

/* ============================================
   POR QUE ME CONTRATAR
   ============================================ */
.why-hire-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
}

.why-hire-card:hover {
  transform: translateY(-10px);
  border-color: rgba(13, 110, 253, 0.5);
  box-shadow: 0 10px 30px rgba(13, 110, 253, 0.3);
}

.why-hire-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  background: rgba(13, 110, 253, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #0d6efd;
  transition: all 0.3s ease;
}

.why-hire-card:hover .why-hire-icon {
  background: rgba(13, 110, 253, 0.3);
  transform: scale(1.1);
}

.why-hire-card h4 {
  color: #fff;
  font-weight: 600;
  margin-bottom: 1rem;
}

.why-hire-card p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

body.light-mode .why-hire-card {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.1);
}

body.light-mode .why-hire-card h4 {
  color: #222;
}

body.light-mode .why-hire-card p {
  color: rgba(0, 0, 0, 0.7);
}

@media (max-width: 768px) {
  .stat-number {
    font-size: 2rem;
  }
  
  .experience-header {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .why-hire-card {
    padding: 1.5rem;
  }
}

/* ============================================
   MARQUEE DOS PROJETOS
   ============================================ */
.projects-marquee-wrapper-full {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow-x: hidden;
  padding: 2rem 0;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  margin-bottom: 3rem;
}

.projects-marquee-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.projects-marquee {
  width: 100%;
  overflow: hidden;
}

.marquee-content {
  display: flex;
  animation: marquee-scroll 30s linear infinite;
  gap: 2rem;
  align-items: stretch;
}

.projects-marquee-wrapper-full:hover .marquee-content {
  animation-play-state: paused;
}

.marquee-project-card {
  flex-shrink: 0;
  width: 350px;
  min-width: 350px;
}

.marquee-project-card .card {
  margin: 0;
  height: 100%;
}

.marquee-project-card:hover {
  transform: scale(1.02);
  transition: transform 0.3s ease;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

body.light-mode .projects-marquee-wrapper {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .marquee-project-card {
    width: 280px;
    min-width: 280px;
  }
  
  .marquee-content {
    gap: 1.5rem;
    animation-duration: 25s;
  }
  
  .projects-marquee-wrapper-full {
    padding: 1.5rem 0;
  }
}

@media (max-width: 576px) {
  .marquee-project-card {
    width: 250px;
    min-width: 250px;
  }
  
  .marquee-content {
    gap: 1rem;
    animation-duration: 20s;
  }
}