/* ===== RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Cores */
  --primary-color: #4f46e5;
  --primary-color-rgb: 79, 70, 229; /* Valores RGB da cor primária */
  --primary-hover: #4338ca;
  --bg-color: #ffffff;
  --bg-light: #f8f9fa;
  --text-color: #333333;
  --text-light: #666666;
  --card-bg: #ffffff;
  --border-color: #e0e0e0;
  --success-color: #10b981;
  --error-color: #ef4444;
  --secondary-color: #6366f1;
  --gradient-primary: linear-gradient(
    to right,
    var(--primary-color),
    var(--secondary-color)
  );
  --transition-speed: 0.3s;

  /* Fontes */
  --body-font: "Poppins", sans-serif;
  --heading-font: "Poppins", sans-serif;
  --code-font: "JetBrains Mono", monospace;

  /* Outros */
  --border-radius: 12px;
  --card-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  --transition: all 0.3s ease;
}

/* Dark Mode */
.dark-mode {
  --bg-color: #111827;
  --bg-light: #1f2937;
  --text-color: #f3f4f6;
  --text-light: #d1d5db; /* Aumentado o contraste para melhor visibilidade */
  --card-bg: #1f2937;
  --border-color: #374151;
  --card-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  --primary-color: #0ea5e9; /* Azul turquesa para substituir o roxo */
  --primary-hover: #38bdf8;
  --secondary-color: #0284c7;
  --accent-text: #38bdf8; /* Cor de destaque para textos importantes */
  --success-color: #34d399; /* Verde mais claro para melhor visibilidade */
  --error-color: #f87171; /* Vermelho mais claro para melhor visibilidade */
}

/* Ajustes adicionais para textos no dark mode */
.dark-mode h1,
.dark-mode h2,
.dark-mode h3,
.dark-mode h4,
.dark-mode h5,
.dark-mode h6,
.dark-mode .section-header h2 {
  color: #ffffff; /* Branco puro para títulos principais */
}

.dark-mode p,
.dark-mode li,
.dark-mode span:not(.accent-text):not(.primary-color) {
  color: var(--text-light);
}

.dark-mode .accent-text {
  color: var(--accent-text);
}

.dark-mode .hero-title,
.dark-mode .hero-subtitle {
  color: #ffffff;
}

.dark-mode .hero-description {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.dark-mode .btn-outline {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.dark-mode .btn-outline:hover {
  background-color: var(--primary-color);
  color: #ffffff;
}

.dark-mode .skill-card h4,
.dark-mode .project-info h3,
.dark-mode .contact-info h3,
.dark-mode .contact-text h4 {
  color: var(--text-color);
}

.dark-mode .skill-description p,
.dark-mode .project-info p,
.dark-mode .contact-info p,
.dark-mode .contact-text a {
  color: var(--text-light);
}

.dark-mode .contact-text a:hover {
  color: var(--primary-color);
}

.dark-mode .form-group input,
.dark-mode .form-group textarea {
  background-color: var(--bg-color);
  border-color: var(--border-color);
  color: var(--text-color);
}

.dark-mode .form-group input:focus,
.dark-mode .form-group textarea:focus {
  border-color: var(--primary-color);
}

.dark-mode .skill-level-text,
.dark-mode .skill-icon span {
  color: var(--text-light);
}

.dark-mode .skill-card:hover .skill-icon span {
  color: var(--primary-color);
}

html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  font-family: var(--body-font);
  color: var(--text-color);
  background-color: var(--bg-color);
  line-height: 1.6;
  overflow-x: hidden;
  height: 100%;
  scroll-behavior: smooth;
}

/* Estilizando a barra de rolagem para uma aparência mais moderna */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.03);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: rgba(79, 70, 229, 0.3);
  border-radius: 10px;
  transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(79, 70, 229, 0.5);
}

.dark-mode::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
}

.dark-mode::-webkit-scrollbar-thumb {
  background: rgba(99, 102, 241, 0.4);
}

.dark-mode::-webkit-scrollbar-thumb:hover {
  background: rgba(99, 102, 241, 0.6);
}

/* Utilitários */
.text-center {
  text-align: center;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: 32px;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
}

.section-header p {
  color: var(--text-light);
  font-size: 18px;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  border-radius: var(--border-radius);
  transition: var(--transition);
  cursor: pointer;
  border: none;
  outline: none;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
  box-shadow: 0 4px 6px rgba(79, 70, 229, 0.2);
}

.btn-primary:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 15px rgba(79, 70, 229, 0.3);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-color);
  border: 2px solid var(--border-color);
}

.btn-outline:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 14px;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  padding: 15px 0;
}

.header.scrolled {
  padding: 10px 0;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  font-family: var(--heading-font);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-color);
  transition: var(--transition);
}

.logo span {
  color: var(--primary-color);
}

.nav-links {
  display: flex;
}

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  font-family: var(--heading-font);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-color);
  position: relative;
  padding: 5px 0;
  transition: var(--transition);
}

.nav-links a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-links a:hover::before,
.nav-links a.active::before {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-color);
}

.hamburger {
  display: none;
  cursor: pointer;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  transition: var(--transition);
  background-color: var(--text-color);
  border-radius: 2px;
}

/* ===== HERO SECTION ===== */
.hero.dark-bg {
  background-color: var(--bg-light);
  color: var(--text-color);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 0;
}

.hero.dark-bg::before {
  content: "";
  position: absolute;
  top: -10%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: linear-gradient(
    45deg,
    rgba(79, 70, 229, 0.1),
    rgba(79, 70, 229, 0.05)
  );
  z-index: 0;
}

.hero.dark-bg::after {
  content: "";
  position: absolute;
  bottom: -10%;
  left: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: linear-gradient(
    45deg,
    rgba(79, 70, 229, 0.05),
    rgba(79, 70, 229, 0.1)
  );
  z-index: 0;
}

.flex-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  min-height: 90vh;
  padding: 2rem 0;
}

.hero-text-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  max-width: 600px;
  z-index: 2;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.accent-text {
  color: var(--primary-color);
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: var(--text-color-secondary);
}

.hero-description {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.hero-image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 500px;
  width: 100%;
  z-index: 1;
}

.hero-profile-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.hero-profile-image:hover {
  transform: translateY(-5px);
}

/* Scroll Down Button */
.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 10;
}

.scroll-down a {
  display: inline-block;
  font-size: 1.5rem;
  color: var(--text-color);
  animation: bounce 2s infinite;
  transition: var(--transition);
}

.scroll-down a:hover {
  color: var(--primary-color);
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Media Queries for Hero Section */
@media screen and (min-width: 768px) {
  .flex-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
  }

  .hero-text-container {
    text-align: left;
    padding-right: 2rem;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-buttons {
    flex-direction: row;
    gap: 1rem;
  }
}

@media screen and (min-width: 992px) {
  .hero-title {
    font-size: 3.5rem;
  }

  .hero-subtitle {
    font-size: 1.75rem;
  }

  .hero-description {
    font-size: 1.2rem;
  }

  .hero-image-wrapper {
    max-width: 550px;
  }
}

.hero-image {
  flex: 1;
  max-width: 400px;
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image img {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 2;
}

.hero-image-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--primary-color), #6366f1);
  opacity: 0.1;
  z-index: 1;
}

/* ===== ABOUT SECTION ===== */
.about-section {
  padding: 100px 0;
  background-color: var(--bg-color);
  position: relative;
  margin-top: 50px;
}

.about-content {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 50px;
  align-items: center;
}

.about-image {
  flex: 1;
  position: relative;
  max-width: 450px;
  margin: 0 auto;
}

.about-image::before {
  display: none; /* Removendo o contorno da imagem */
}

.about-image:hover::before {
  display: none; /* Garantindo que o contorno não apareça no hover */
}

.about-image img {
  width: 100%;
  border-radius: 20px; /* Imagem com cantos arredondados */
  box-shadow: none; /* Removendo qualquer sombra */
  transition: transform 0.3s ease;
}

.about-image img:hover {
  transform: scale(1.02);
  box-shadow: none; /* Garantindo que não haja sombra no hover */
}

.about-text {
  flex: 1;
}

.about-text h3 {
  font-family: var(--heading-font);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-color);
}

.about-text p {
  margin-bottom: 25px;
  color: var(--text-light);
}

.about-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.info-item span {
  font-family: var(--heading-font);
  font-weight: 600;
  color: var(--primary-color);
  display: block;
  margin-bottom: 5px;
}

.info-item p {
  color: var(--text-light);
  margin-bottom: 0;
}

.info-item p a {
  color: var(--text-light);
  text-decoration: none;
  transition: var(--transition);
}

.info-item p a:hover {
  color: var(--primary-color);
}

/* ===== SKILLS SECTION ===== */
.skills {
  padding: 80px 0;
  background-color: var(--bg-color);
  position: relative;
  overflow: hidden;
}

.skills::before {
  content: "";
  position: absolute;
  top: -150px;
  right: -150px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(var(--primary-rgb), 0.1) 0%,
    rgba(var(--primary-rgb), 0.05) 50%,
    transparent 70%
  );
  z-index: 0;
}

.skills::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(var(--secondary-rgb), 0.1) 0%,
    rgba(var(--secondary-rgb), 0.05) 50%,
    transparent 70%
  );
  z-index: 0;
}

.skills-content {
  position: relative;
  z-index: 1;
}

.skills-category {
  margin-bottom: 40px;
}

.skills-category h3 {
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--text-color);
  position: relative;
  display: inline-block;
}

.skills-category h3::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 2px;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 25px;
}

.skill-card {
  background-color: var(--bg-light);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.skill-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.skill-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.skill-card:hover::before {
  opacity: 1;
}

.skill-card-inner {
  padding: 25px;
}

.skill-icon {
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  margin-bottom: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  margin: 0 auto 15px;
}

.skill-icon:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

.skill-icon i {
  font-size: 40px;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

/* Estilos para os emojis nas skill cards */
.skill-icon span {
  font-size: 28px;
  line-height: 1;
  transition: transform 0.3s ease;
}

.skill-card:hover .skill-icon span {
  transform: scale(1.2);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

.skill-card h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-color);
}

.skill-level {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}

.skill-level-dots {
  display: flex;
  gap: 5px;
  margin-bottom: 8px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--bg-light);
  border: 1px solid rgba(var(--primary-rgb), 0.3);
  transition: all 0.3s ease;
}

.dot.active {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  box-shadow: 0 0 5px rgba(var(--primary-rgb), 0.5);
}

.skill-level-text {
  font-size: 14px;
  color: var(--text-light);
  font-weight: 500;
}

.skill-description {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(var(--text-rgb), 0.1);
}

.skill-description p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.5;
}

/* Responsive Styles for Skills */
@media (max-width: 992px) {
  .skills-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .skills {
    padding: 60px 0;
  }

  .skills-category h3 {
    font-size: 22px;
  }

  .skill-card-inner {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .skills-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .skills-category {
    margin-bottom: 30px;
  }

  .skill-icon {
    width: 45px;
    height: 45px;
  }

  .skill-card h4 {
    font-size: 16px;
  }
}

/* ===== PROJECTS SECTION ===== */
.projects {
  padding: 100px 0;
  background-color: var(--bg-light);
  border-radius: 50px; /* Seção com cantos arredondados */
}

.projects-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
  gap: 15px;
}

.filter-btn {
  font-family: var(--heading-font);
  padding: 8px 20px;
  background-color: var(--bg-color);
  color: var(--text-color);
  border: none;
  border-radius: 30px; /* Botões com cantos mais arredondados */
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.9rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.project-item {
  background-color: var(--bg-light);
  border-radius: 20px; /* Cards com cantos mais arredondados */
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
}

.project-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.project-img {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.project-item:hover .project-img img {
  transform: scale(1.1);
}

.project-info {
  padding: 25px;
}

.project-info h3 {
  font-family: var(--heading-font);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-color);
}

.project-info p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 15px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.project-tags span {
  font-family: var(--heading-font);
  font-size: 0.8rem;
  padding: 4px 12px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border-radius: 20px; /* Tags com cantos mais arredondados */
  font-weight: 500;
}

.project-links {
  display: flex;
  gap: 15px;
}

.project-links a {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.9rem;
  color: var(--text-color);
  transition: var(--transition);
  padding: 8px 15px;
  background-color: var(--bg-light);
  border-radius: 30px; /* Links com cantos mais arredondados */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.project-links a:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

/* ===== CONTACT SECTION ===== */
.contact {
  padding: 100px 0;
  background-color: var(--bg-color);
  border-radius: 50px; /* Seção com cantos arredondados */
}

.contact-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
  align-items: center;
}

.contact-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.contact-info h3 {
  font-family: var(--heading-font);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-color);
  text-align: center;
}

.contact-info p {
  color: var(--text-light);
  margin-bottom: 30px;
  text-align: center;
  max-width: 90%;
  line-height: 1.6;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border-radius: 15px; /* Ícones com cantos mais arredondados */
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-text h4 {
  font-family: var(--heading-font);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--text-color);
}

.contact-text a {
  color: var(--text-light);
  transition: var(--transition);
}

.contact-text a:hover {
  color: var(--primary-color);
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border-radius: 15px; /* Ícones com cantos mais arredondados */
  transition: var(--transition);
  font-size: 1.2rem;
}

.social-links a:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

.contact-form {
  background-color: var(--bg-light);
  padding: 40px;
  border-radius: 20px;
  box-shadow: var(--card-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-form:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid var(--border-color);
  border-radius: 12px; /* Campos com cantos mais arredondados */
  background-color: var(--bg-light);
  color: var(--text-color);
  font-family: var(--body-font);
  font-size: 1rem;
  transition: var(--transition);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.2);
  transform: translateY(-2px);
  background-color: rgba(79, 70, 229, 0.03);
  transition: all 0.3s ease;
}

/* Estilos para as mensagens de status do formulário */
.form-status {
  margin-top: 1rem;
  padding: 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  text-align: center;
  transition: all 0.3s ease;
  display: none;
}

.form-status.sending {
  display: block;
  background-color: rgba(79, 70, 229, 0.1);
  color: #4f46e5;
  border: 1px solid rgba(79, 70, 229, 0.2);
}

.form-status.success {
  display: block;
  background-color: rgba(16, 185, 129, 0.1);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.form-status.error {
  display: block;
  background-color: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.dark-mode .form-status.sending {
  background-color: rgba(79, 70, 229, 0.2);
  color: #818cf8;
  border: 1px solid rgba(79, 70, 229, 0.3);
}

.dark-mode .form-status.success {
  background-color: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.dark-mode .form-status.error {
  background-color: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* ===== FOOTER ===== */
.footer {
  background-color: var(--bg-light);
  color: var(--text-color);
  border-top: 1px solid var(--border-color);
  padding: 40px 0 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 30px;
  gap: 30px;
}

.footer-logo {
  flex: 0 0 auto;
}

.footer-logo a {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-color);
  transition: var(--transition);
}

.footer-logo span {
  color: var(--primary-color);
}

.footer-nav {
  display: flex;
  flex: 1 1 auto;
  justify-content: space-around;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-nav-section {
  flex: 0 1 auto;
  min-width: 150px;
}

.footer-nav-section h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-nav-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav-section ul li {
  margin-bottom: 8px;
}

.footer-nav-section ul li a {
  color: var(--text-light);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-nav-section ul li a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.footer-social {
  display: flex;
  gap: 15px;
  flex: 0 0 auto;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--bg-color);
  color: var(--primary-color);
  border-radius: 10px;
  transition: var(--transition);
  font-size: 1.1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.footer-social a:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.footer-bottom p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin: 0;
}

/* Novos estilos para o footer atualizado */
.footer-newsletter {
  position: relative;
  margin-bottom: 10px;
  max-width: 250px;
}

.footer-input {
  width: 100%;
  padding: 10px 40px 10px 15px;
  border-radius: 30px;
  border: 1px solid var(--border-color);
  background-color: var(--bg-color);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.footer-submit-btn {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--primary-color);
  color: white;
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.footer-submit-btn:hover {
  background-color: var(--primary-hover);
  transform: translateY(-50%) scale(1.05);
}

.footer-newsletter-text {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 8px;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-link {
  color: var(--text-light);
  font-size: 0.85rem;
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--primary-color);
}

@media screen and (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

@media screen and (max-width: 992px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-nav {
    width: 100%;
    justify-content: space-around;
  }

  .footer-newsletter {
    margin: 0 auto;
  }
}

@media screen and (max-width: 768px) {
  .footer-nav {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .footer-nav-section {
    text-align: center;
    width: 100%;
  }

  .footer-social {
    margin-top: 20px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 15px;
  }
}

/* Estilos para o modo escuro */
.dark-mode {
  --bg-color: #111827;
  --bg-light: #1f2937;
  --text-color: #f3f4f6;
  --text-light: #d1d5db; /* Aumentado o contraste para melhor visibilidade */
  --card-bg: #1f2937;
  --border-color: #374151;
  --card-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  --primary-color: #0ea5e9; /* Azul turquesa para substituir o roxo */
  --primary-hover: #38bdf8;
  --secondary-color: #0284c7;
  --accent-text: #38bdf8; /* Cor de destaque para textos importantes */
  --success-color: #34d399; /* Verde mais claro para melhor visibilidade */
  --error-color: #f87171; /* Vermelho mais claro para melhor visibilidade */
}

.dark-mode .footer-input {
  background-color: #252525;
  color: var(--text-color);
}

.dark-mode .footer-social a {
  background-color: #252525;
}

/* Switch de tema */
.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 20px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: var(--primary-color);
}

input:focus + .slider {
  box-shadow: 0 0 1px var(--primary-color);
}

input:checked + .slider:before {
  transform: translateX(20px);
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

/* Ajustes para o modo escuro */
.dark-mode .hero {
  background-color: var(--bg-color);
}

.dark-mode .about-section,
.dark-mode .skills,
.dark-mode .experience-section {
  background-color: var(--bg-color);
}

.dark-mode .projects {
  background-color: var(--bg-light);
}

.dark-mode .contact {
  background-color: var(--bg-color);
}

.dark-mode .card,
.dark-mode .skill-card,
.dark-mode .project-item,
.dark-mode .contact-form {
  background-color: var(--card-bg);
  border-color: var(--border-color);
}

.dark-mode .filter-btn {
  background-color: var(--card-bg);
  color: var(--text-color);
}

.dark-mode .filter-btn:hover,
.dark-mode .filter-btn.active {
  background-color: var(--primary-color);
  color: white;
}

.dark-mode .header {
  background-color: rgba(18, 18, 18, 0.95);
  backdrop-filter: blur(10px);
}

.dark-mode .header.scrolled {
  background-color: rgba(18, 18, 18, 0.98);
}

.dark-mode .logo a,
.dark-mode .nav-links a {
  color: var(--text-color);
}

.dark-mode .bar {
  background-color: var(--text-color);
}

.dark-mode .scroll-down a {
  color: var(--text-color);
}

.dark-mode .circle-chart__background {
  stroke: #2a2a2a;
}

.dark-mode .experience-card-content {
  background-color: var(--card-bg);
}

.dark-mode .experience-card-content::before {
  background: radial-gradient(
    circle at top right,
    rgba(79, 70, 229, 0.05),
    transparent 70%
  );
}

/* ===== SCROLL TO TOP ===== */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.scroll-to-top.active {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  background-color: var(--secondary-color);
  transform: translateY(-5px);
}

/* ===== RESPONSIVE STYLES ===== */
@media screen and (max-width: 992px) {
  .hero-text h1 {
    font-size: 3rem;
  }

  .hero-text h2 {
    font-size: 1.5rem;
  }

  .hero-image img {
    max-width: 100%;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-image {
    max-width: 400px;
    margin: 0 auto 30px;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-info {
    order: 1;
  }

  .contact-form {
    order: 0;
  }

  .section-header h2 {
    font-size: 2.5rem;
  }

  .section-header p {
    font-size: 1rem;
    max-width: 90%;
    margin: 0 auto;
  }
}

@media screen and (max-width: 768px) {
  .navbar {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: var(--bg-color);
    transition: var(--transition);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
  }

  .navbar.active {
    left: 0;
  }

  .nav-links {
    flex-direction: column;
    text-align: center;
  }

  .nav-links li {
    margin: 15px 0;
  }

  .hamburger {
    display: block;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-text {
    margin-bottom: 50px;
    max-width: 100%;
  }

  .hero-text p {
    margin: 0 auto 30px;
  }

  .social-icons {
    justify-content: center;
  }

  .projects-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }

  .container {
    padding: 0 15px;
  }

  .section-header h2 {
    font-size: 2.2rem;
  }

  .section-header p {
    font-size: 0.95rem;
  }

  .experience-section,
  .education-section,
  .skills,
  .projects,
  .contact {
    padding: 60px 0;
  }

  .btn {
    padding: 0.7rem 1.3rem;
    font-size: 0.95rem;
  }

  .scroll-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}

@media screen and (max-width: 576px) {
  .section-header h2 {
    font-size: 2rem;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-text h2 {
    font-size: 1.3rem;
  }

  .hero-image img {
    max-width: 100%;
  }

  .about-info {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    gap: 15px;
  }

  .footer-logo {
    margin-bottom: 15px;
  }

  .contact-content {
    grid-template-columns: 1fr;
  }

  .container {
    padding: 0 12px;
  }

  .hero-title {
    font-size: 2.2rem;
    line-height: 1.3;
  }

  .hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 15px;
  }

  .hero-description {
    font-size: 0.95rem;
    margin-bottom: 25px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 200px;
  }

  .about-text h3 {
    font-size: 1.5rem;
  }

  .about-text p {
    font-size: 0.95rem;
  }

  .scroll-down {
    bottom: 20px;
  }
}

@media screen and (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .section-header h2::after {
    width: 40px;
    height: 2px;
  }

  .experience-section::before,
  .experience-section::after,
  .hero.dark-bg::before,
  .hero.dark-bg::after {
    width: 250px;
    height: 250px;
  }

  .contact-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }

  .contact-icon {
    margin-right: 0;
  }

  .social-links {
    justify-content: center;
  }
}

/* Experience & Education Sections */
.experience-section,
.education-section {
  background-color: var(--bg-color);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

/* Removendo os elementos decorativos de background */
.experience-section::before {
  display: none; /* Ocultando o elemento ao invés de removê-lo completamente */
}

.experience-section::after {
  display: none; /* Ocultando o elemento ao invés de removê-lo completamente */
}

.experience-section .container {
  position: relative;
  z-index: 1;
}

.experience-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(450px, 1fr));
  gap: 30px;
  margin: 0 auto;
  max-width: 1200px;
  justify-content: center;
}

.experience-card {
  background-color: var(--bg-light);
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  min-height: 380px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.experience-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--primary-hover)
  );
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.experience-card:hover::after {
  transform: scaleX(1);
}

.experience-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background-image: linear-gradient(
    147deg,
    var(--primary-color) 0%,
    var(--primary-hover) 74%
  );
  color: white;
  position: relative;
  overflow: hidden;
}

.experience-card-header::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
}

.experience-card:hover .experience-card-header::before {
  opacity: 1;
}

.experience-card-company-logo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.experience-card-content {
  padding: 25px;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 10px;
  width: 100%;
  text-align: center;
}

.experience-card-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at center,
    rgba(79, 70, 229, 0.03),
    transparent 70%
  );
  z-index: -1;
}

.experience-card-content h3 {
  font-size: 20px;
  margin-bottom: 8px;
  color: var(--text-color);
  position: relative;
  width: 100%;
  text-align: center;
  font-weight: 600;
}

.experience-card-content h3:first-child {
  margin: 0 auto 8px;
  text-align: center;
  width: 100%;
}

.experience-card-content p {
  margin-bottom: 15px;
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.6;
  text-align: center;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.experience-card-content p:first-of-type {
  font-weight: 500;
  margin-bottom: 5px;
  width: 100%;
  max-width: 100%;
}

.experience-card-content p:nth-of-type(2) {
  margin-bottom: 15px;
  width: 100%;
  max-width: 100%;
}

.experience-card-content p:nth-of-type(3) {
  width: 90%;
  max-width: 90%;
  margin: 0 auto 15px;
  text-align: center;
  padding: 0 10px;
}

.experience-card-content h3::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.experience-card:hover .experience-card-content h3::after {
  width: 60px;
}

.experience-card-content h4 {
  font-size: 16px;
  margin-bottom: 15px;
  color: var(--primary-color);
  text-align: center;
  width: 100%;
}

.experience-card-content ul {
  list-style: none;
  position: relative;
  padding: 0;
  width: 85%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 8px;
}

.experience-card-content ul li {
  margin-bottom: 0;
  color: var(--text-light);
  position: relative;
  padding-left: 25px;
  font-size: 15px;
  line-height: 1.5;
  transition: transform 0.2s ease, color 0.2s ease;
  text-align: left;
  display: flex;
  align-items: flex-start;
}

.experience-card-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--primary-color);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.experience-card-content ul li:hover {
  transform: translateX(5px);
  color: var(--primary-color);
}

.experience-card-content ul li:hover::before {
  transform: scale(1.3);
  background-color: var(--primary-hover);
}

/* Ajustes para telas menores */
@media screen and (max-width: 480px) {
  .experience-card-content {
    padding: 20px 15px;
    grid-gap: 5px;
  }

  .experience-card-content ul {
    width: 95%;
  }

  .experience-card-content p {
    width: 95%;
  }

  .experience-card-content h3 {
    font-size: 18px;
  }

  .experience-card-content h4 {
    font-size: 15px;
  }
}

.experience-card-date {
  background-color: rgba(255, 255, 255, 0.2);
  padding: 8px 18px;
  border-radius: 30px;
  display: inline-block; /* Permitir que a data seja centralizada */
  margin: 0 auto 15px auto; /* Centralizar a data e adicionar margem inferior */
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
}

.experience-card-content ul li:hover::before {
  transform: scale(1.3);
}

/* ===== BLOG SLIDER ===== */
.blog-slider {
  width: 95%;
  position: relative;
  max-width: 800px;
  margin: 50px auto;
  background: var(--card-bg);
  box-shadow: 0px 14px 80px rgba(34, 35, 58, 0.2);
  padding: 25px;
  border-radius: 25px;
  height: 400px;
  transition: all 0.3s;
}

@media screen and (max-width: 992px) {
  .blog-slider {
    max-width: 680px;
    height: 400px;
  }
}

@media screen and (max-width: 768px) {
  .blog-slider {
    min-height: 500px;
    height: auto;
    margin: 180px auto;
  }
}

@media screen and (max-height: 500px) and (min-width: 992px) {
  .blog-slider {
    height: 350px;
  }
}

.blog-slider__item {
  display: flex;
  align-items: center;
}

@media screen and (max-width: 768px) {
  .blog-slider__item {
    flex-direction: column;
  }
}

.blog-slider__item.swiper-slide-active .blog-slider__img img {
  opacity: 1;
  transition-delay: 0.3s;
}

.blog-slider__item.swiper-slide-active .blog-slider__content > * {
  opacity: 1;
  transform: none;
}

.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(1) {
  transition-delay: 0.3s;
}

.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(2) {
  transition-delay: 0.4s;
}

.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(3) {
  transition-delay: 0.5s;
}

.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(4) {
  transition-delay: 0.6s;
}

.blog-slider__img {
  width: 300px;
  flex-shrink: 0;
  height: 300px;
  background-image: linear-gradient(
    147deg,
    var(--primary-color) 0%,
    var(--primary-hover) 74%
  );
  box-shadow: 4px 13px 30px 1px rgba(79, 70, 229, 0.2);
  border-radius: 20px;
  transform: translateX(-80px);
  overflow: hidden;
  position: relative;
}

.blog-slider__img:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(
    147deg,
    var(--primary-color) 0%,
    var(--primary-hover) 74%
  );
  border-radius: 20px;
  opacity: 0.3;
}

.blog-slider__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  border-radius: 20px;
  transition: all 0.3s;
}

@media screen and (max-width: 768px) {
  .blog-slider__img {
    transform: translateY(-50%);
    width: 90%;
  }
}

@media screen and (max-width: 576px) {
  .blog-slider__img {
    width: 95%;
  }
}

@media screen and (max-height: 500px) and (min-width: 992px) {
  .blog-slider__img {
    height: 270px;
  }
}

.blog-slider__content {
  padding-right: 25px;
}

@media screen and (max-width: 768px) {
  .blog-slider__content {
    margin-top: -80px;
    text-align: center;
    padding: 0 30px;
  }
}

@media screen and (max-width: 576px) {
  .blog-slider__content {
    padding: 0;
  }
}

.blog-slider__content > * {
  opacity: 0;
  transform: translateY(25px);
  transition: all 0.4s;
}

.blog-slider__code {
  color: var(--text-light);
  margin-bottom: 15px;
  display: block;
  font-weight: 500;
}

.blog-slider__title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 20px;
}

.blog-slider__text {
  color: var(--text-light);
  margin-bottom: 30px;
  line-height: 1.5em;
}

.blog-slider__links {
  display: flex;
  gap: 10px;
}

@media screen and (max-width: 576px) {
  .blog-slider__links {
    flex-direction: column;
    gap: 10px;
  }
}

.blog-slider__button {
  display: inline-flex;
  background-image: linear-gradient(
    147deg,
    var(--primary-color) 0%,
    var(--primary-hover) 74%
  );
  padding: 10px 20px;
  border-radius: 50px;
  color: #fff;
  box-shadow: 0px 14px 80px rgba(79, 70, 229, 0.4);
  text-decoration: none;
  font-weight: 500;
  justify-content: center;
  text-align: center;
  letter-spacing: 1px;
  transition: all 0.3s;
}

.blog-slider__button:hover {
  transform: translateY(-3px);
  box-shadow: 0px 10px 30px rgba(79, 70, 229, 0.6);
}

@media screen and (max-width: 576px) {
  .blog-slider__button {
    width: 100%;
  }
}

/* Cards Container */
.cards-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  row-gap: 80px; /* Espaçamento maior entre as linhas */
  margin: 50px auto;
  max-width: 1200px;
  padding: 0 20px;
}

/* Static Card Styles */
.static-card {
  width: 100%;
  height: 500px; /* Aumentando a altura para acomodar todo o conteúdo */
  margin: 0;
  flex-grow: 0;
  flex-shrink: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 350px;
  justify-self: center;
  position: relative;
  overflow: visible;
  padding-top: 0;
  display: flex;
  flex-direction: column;
}

@media screen and (max-width: 992px) {
  .cards-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .cards-container {
    grid-template-columns: 1fr;
  }

  .static-card {
    max-width: 350px;
    margin: 0 auto;
    height: 520px;
    min-height: 520px;
  }

  .static-card .blog-slider__img {
    height: 240px;
    transform: translateX(0) translateY(-20px);
  }
}

.static-card:hover {
  transform: translateY(-10px);
  box-shadow: 0px 20px 40px rgba(34, 35, 58, 0.3);
}

.static-card:hover .blog-slider__img img {
  transform: scale(1.08);
}

.static-card .blog-slider__item {
  flex-direction: column;
  height: 100%;
  display: flex;
  padding: 0;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0px 15px 50px rgba(34, 35, 58, 0.1);
  background: var(--card-bg);
}

.static-card .blog-slider__img {
  width: 100%;
  height: 220px;
  transform: translateX(0) translateY(-20px);
  margin-top: 0;
  margin-bottom: 0;
  background-image: linear-gradient(147deg, #4f46e5 0%, #4338ca 74%);
  box-shadow: 4px 13px 30px 1px rgba(79, 70, 229, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.static-card .blog-slider__img:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(79, 70, 229, 0.1),
    rgba(67, 56, 202, 0.3)
  );
  z-index: 2;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.static-card:hover .blog-slider__img:before {
  opacity: 0.4;
}

.static-card .blog-slider__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: transform 0.5s ease;
  padding: 0;
}

.static-card .blog-slider__content {
  padding: 0 20px;
  text-align: center;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  flex: 1;
  position: relative;
  z-index: 2;
  justify-content: flex-start;
}

.static-card .blog-slider__title {
  color: #333333;
  min-height: 30px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 15px;
  margin-top: 10px;
}

.static-card .blog-slider__button {
  padding: 10px 20px;
  width: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 14px;
  min-width: 100px;
  transition: all 0.3s ease;
}

.static-card .blog-slider__button:hover {
  transform: translateY(-3px);
  box-shadow: 0px 10px 30px rgba(79, 70, 229, 0.6);
}

.static-card .blog-slider__text {
  margin-bottom: 20px;
  min-height: 70px;
  max-height: 90px;
  overflow-y: auto;
  overflow-x: hidden;
  color: #666666;
  line-height: 1.5;
  font-size: 16px;
  display: block;
  opacity: 1;
  transform: none;
  transition: none;
  padding: 0 5px;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

.static-card .blog-slider__text::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.static-card .blog-slider__code {
  color: #666666;
  font-size: 14px;
  margin-bottom: 10px;
}

.static-card .blog-slider__links {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: auto;
  margin-bottom: 20px;
  padding-bottom: 15px;
  width: 100%;
  flex-wrap: wrap;
}

.static-card .blog-slider__button {
  background-image: linear-gradient(147deg, #4f46e5 0%, #4338ca 74%);
  border-radius: 50px;
  color: #fff;
  box-shadow: 0px 14px 80px rgba(79, 70, 229, 0.4);
  text-decoration: none;
  font-weight: 500;
  text-align: center;
  letter-spacing: 1px;
}

.static-card .blog-slider__content > * {
  opacity: 1;
  transform: none;
  transition: none;
}

/* Card Color Variations */
.card-primary .experience-card-header {
  background-image: linear-gradient(
    147deg,
    var(--primary-color) 0%,
    var(--primary-hover) 74%
  );
}

.card-secondary .experience-card-header {
  background-image: linear-gradient(147deg, #2563eb 0%, #1d4ed8 74%);
}

.card-tertiary .experience-card-header {
  background-image: linear-gradient(147deg, #8b5cf6 0%, #7c3aed 74%);
}

.card-quaternary .experience-card-header {
  background-image: linear-gradient(147deg, #ec4899 0%, #db2777 74%);
}

.card-quinary .experience-card-header {
  background-image: linear-gradient(147deg, #f59e0b 0%, #d97706 74%);
}

.card-primary .experience-card-content h4 {
  color: var(--primary-color);
}

.card-secondary .experience-card-content h4 {
  color: #2563eb;
}

.card-tertiary .experience-card-content h4 {
  color: #8b5cf6;
}

.card-quaternary .experience-card-content h4 {
  color: #ec4899;
}

.card-quinary .experience-card-content h4 {
  color: #f59e0b;
}

.card-primary .experience-card-content ul li::before {
  background-color: var(--primary-color);
}

.card-secondary .experience-card-content ul li::before {
  background-color: #2563eb;
}

.card-tertiary .experience-card-content ul li::before {
  background-color: #8b5cf6;
}

.card-quaternary .experience-card-content ul li::before {
  background-color: #ec4899;
}

.card-quinary .experience-card-content ul li::before {
  background-color: #f59e0b;
}

@media screen and (max-width: 992px) {
  .experience-cards {
    grid-template-columns: repeat(2, minmax(350px, 1fr));
    max-width: 900px;
  }
}

@media screen and (max-width: 900px) {
  .experience-cards {
    grid-template-columns: minmax(350px, 600px);
    max-width: 600px;
  }

  .experience-card {
    min-height: 350px;
  }
}

@media screen and (max-width: 480px) {
  .experience-cards {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .experience-card {
    min-height: 320px;
  }

  .experience-card-header {
    flex-direction: column;
    gap: 15px;
    padding: 15px;
  }

  .experience-card-content {
    padding: 15px;
  }

  .experience-card-content h3 {
    font-size: 18px;
  }

  .experience-card-content h4 {
    font-size: 15px;
  }
}

/* Circular Progress Styles - Ajustado */
.circular_progress * {
  font-family: "Poppins", "Nunito", sans-serif;
}

.circular_progress .text-blk {
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 0px;
  margin-left: 0px;
  line-height: 25px;
}

.circular_progress .responsive-cell-block {
  min-height: 75px;
}

.circular_progress .responsive-container-block {
  min-height: 75px;
  height: fit-content;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  margin-top: 0px;
  margin-right: auto;
  margin-bottom: 0px;
  margin-left: auto;
  justify-content: space-evenly;
}

.circular_progress .responsive-container-block.container {
  max-width: 1200px;
  margin-top: 30px;
  margin-right: auto;
  margin-bottom: 50px;
  margin-left: auto;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.circular_progress .text-blk.section-headtext {
  font-size: 36px;
  font-weight: 700;
  line-height: 45px;
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 20px;
  margin-left: 0px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.circular_progress .text-blk.section-subheadtext {
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 50px;
  margin-left: 0px;
  font-size: 20px;
  color: var(--text-light);
  line-height: 30px;
  max-width: 730px;
}

.circular_progress .text-blk.category-headtext {
  font-size: 24px;
  font-weight: 600;
  line-height: 35px;
  margin-top: 20px;
  margin-right: 0px;
  margin-bottom: 20px;
  margin-left: 0px;
  position: relative;
  display: inline-block;
}

.circular_progress .text-blk.category-headtext::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.circular_progress .text-blk.card-head {
  margin-top: 25px;
  margin-right: 0px;
  margin-bottom: 10px;
  margin-left: 0px;
  font-size: 22px;
  line-height: 30px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.circular_progress .text-blk.card-text {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.5;
  height: 75px;
  overflow: hidden;
}

.circular_progress .container-block {
  min-height: 75px;
  height: fit-content;
  width: 100%;
  padding-top: 10px;
  padding-right: 10px;
  padding-bottom: 10px;
  padding-left: 10px;
  display: block;
}

.circular_progress .circle-chart {
  width: 160px;
  height: 160px;
  margin: 0 auto;
  display: block;
}

.circular_progress .card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--bg-color);
  border-radius: 15px;
  padding: 25px 15px;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.circular_progress .card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.circular_progress .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-color);
}

.circular_progress .card:hover::before {
  transform: scaleX(1);
}

.circular_progress .card:hover .text-blk.card-head {
  color: var(--primary-color);
}

.circle-chart__percent {
  alignment-baseline: central;
  text-anchor: middle;
  font-size: 28px;
  font-weight: 700;
  fill: var(--primary-color);
}

.circle-chart__circle {
  stroke: var(--primary-color);
  stroke-linecap: round;
  transition: stroke-dashoffset 1.5s ease-in-out;
}

.circle-chart__background {
  stroke: #f0f0f0;
}

/* Responsive Grid Classes */
.wk-desk-1 {
  width: 8.333333%;
}

.wk-desk-2 {
  width: 16.666667%;
}

.wk-desk-3 {
  width: 25%;
}

.wk-desk-4 {
  width: 33.333333%;
}

.wk-desk-5 {
  width: 41.666667%;
}

.wk-desk-6 {
  width: 50%;
}

.wk-desk-7 {
  width: 58.333333%;
}

.wk-desk-8 {
  width: 66.666667%;
}

.wk-desk-9 {
  width: 75%;
}

.wk-desk-10 {
  width: 83.333333%;
}

.wk-desk-11 {
  width: 91.666667%;
}

.wk-desk-12 {
  width: 100%;
}

@media (max-width: 1024px) {
  .wk-ipadp-1 {
    width: 8.333333%;
  }

  .wk-ipadp-2 {
    width: 16.666667%;
  }

  .wk-ipadp-3 {
    width: 25%;
  }

  .wk-ipadp-4 {
    width: 33.333333%;
  }

  .wk-ipadp-5 {
    width: 41.666667%;
  }

  .wk-ipadp-6 {
    width: 50%;
  }

  .wk-ipadp-7 {
    width: 58.333333%;
  }

  .wk-ipadp-8 {
    width: 66.666667%;
  }

  .wk-ipadp-9 {
    width: 75%;
  }

  .wk-ipadp-10 {
    width: 83.333333%;
  }

  .wk-ipadp-11 {
    width: 91.666667%;
  }

  .wk-ipadp-12 {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .wk-tab-1 {
    width: 8.333333%;
  }

  .wk-tab-2 {
    width: 16.666667%;
  }

  .wk-tab-3 {
    width: 25%;
  }

  .wk-tab-4 {
    width: 33.333333%;
  }

  .wk-tab-5 {
    width: 41.666667%;
  }

  .wk-tab-6 {
    width: 50%;
  }

  .wk-tab-7 {
    width: 58.333333%;
  }

  .wk-tab-8 {
    width: 66.666667%;
  }

  .wk-tab-9 {
    width: 75%;
  }

  .wk-tab-10 {
    width: 83.333333%;
  }

  .wk-tab-11 {
    width: 91.666667%;
  }

  .wk-tab-12 {
    width: 100%;
  }
}

@media (max-width: 500px) {
  .wk-mobile-1 {
    width: 8.333333%;
  }

  .wk-mobile-2 {
    width: 16.666667%;
  }

  .wk-mobile-3 {
    width: 25%;
  }

  .wk-mobile-4 {
    width: 33.333333%;
  }

  .wk-mobile-5 {
    width: 41.666667%;
  }

  .wk-mobile-6 {
    width: 50%;
  }

  .wk-mobile-7 {
    width: 58.333333%;
  }

  .wk-mobile-8 {
    width: 66.666667%;
  }

  .wk-mobile-9 {
    width: 75%;
  }

  .wk-mobile-10 {
    width: 83.333333%;
  }

  .wk-mobile-11 {
    width: 91.666667%;
  }

  .wk-mobile-12 {
    width: 100%;
  }
}

.circular_progress .responsive-container-block.big-container {
  padding-top: 0px;
  padding-right: 50px;
  padding-bottom: 0px;
  padding-left: 50px;
}

.circular_progress
  .responsive-cell-block.wk-desk-3.wk-ipadp-3.wk-tab-6.wk-mobile-12 {
  width: 300px;
  padding-top: 0px;
  padding-right: 15px;
  padding-bottom: 0px;
  padding-left: 15px;
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 40px;
  margin-left: 0px;
}

/* Responsive Styles for Circular Progress */
@media (max-width: 1024px) {
  .circular_progress
    .responsive-cell-block.wk-desk-3.wk-ipadp-3.wk-tab-6.wk-mobile-12 {
    width: 310px;
  }
}

@media (max-width: 768px) {
  .circular_progress
    .responsive-cell-block.wk-desk-3.wk-ipadp-3.wk-tab-6.wk-mobile-12 {
    width: 300px;
  }

  .circular_progress .text-blk.section-headtext {
    font-size: 30px;
  }

  .circular_progress .text-blk.section-subheadtext {
    font-size: 18px;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 40px;
    margin-left: 0px;
  }

  .circular_progress .text-blk.card-head {
    font-size: 20px;
  }

  .circular_progress .circle-chart {
    width: 140px;
    height: 140px;
  }
}

@media (max-width: 500px) {
  .circular_progress .responsive-container-block.big-container {
    padding-top: 0px;
    padding-right: 20px;
    padding-bottom: 0px;
    padding-left: 20px;
  }

  .circular_progress
    .responsive-cell-block.wk-desk-3.wk-ipadp-3.wk-tab-6.wk-mobile-12 {
    width: 100%;
  }

  .circular_progress .text-blk.section-headtext {
    font-size: 26px;
    line-height: 34px;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 12px;
    margin-left: 0px;
  }

  .circular_progress .text-blk.section-subheadtext {
    font-size: 16px;
    line-height: 24px;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 30px;
    margin-left: 0px;
  }

  .circular_progress .text-blk.card-text {
    font-size: 15px;
  }

  .circular_progress .circle-chart {
    width: 120px;
    height: 120px;
  }
}

/* Estilos específicos para ícones de habilidades */
.skill-icon .fa-node-js {
  color: #68a063;
}

.skill-icon .fa-database {
  color: #4479a1;
}

.skill-icon .fa-git-alt {
  color: #f05032;
}

.skill-icon .fa-github {
  color: #333333;
}

.skill-icon .fa-code {
  color: #007acc;
}

.skill-icon .fa-language {
  color: #2b7489;
}

/* Efeitos de hover personalizados para os ícones */
.skill-card:hover .skill-icon .fa-node-js {
  text-shadow: 0 0 10px rgba(104, 160, 99, 0.5);
}

.skill-card:hover .skill-icon .fa-database {
  text-shadow: 0 0 10px rgba(68, 121, 161, 0.5);
}

.skill-card:hover .skill-icon .fa-git-alt {
  text-shadow: 0 0 10px rgba(240, 80, 50, 0.5);
}

.skill-card:hover .skill-icon .fa-github {
  text-shadow: 0 0 10px rgba(51, 51, 51, 0.5);
}

.skill-card:hover .skill-icon .fa-code {
  text-shadow: 0 0 10px rgba(0, 122, 204, 0.5);
}

.skill-card:hover .skill-icon .fa-language {
  text-shadow: 0 0 10px rgba(43, 116, 137, 0.5);
}

/* Fundos personalizados para os ícones */
.skill-icon:has(.fa-node-js) {
  background: linear-gradient(
    135deg,
    rgba(104, 160, 99, 0.1),
    rgba(104, 160, 99, 0.2)
  );
}

.skill-icon:has(.fa-database) {
  background: linear-gradient(
    135deg,
    rgba(68, 121, 161, 0.1),
    rgba(68, 121, 161, 0.2)
  );
}

.skill-icon:has(.fa-git-alt) {
  background: linear-gradient(
    135deg,
    rgba(240, 80, 50, 0.1),
    rgba(240, 80, 50, 0.2)
  );
}

.skill-icon:has(.fa-github) {
  background: linear-gradient(
    135deg,
    rgba(51, 51, 51, 0.1),
    rgba(51, 51, 51, 0.2)
  );
}

.skill-icon:has(.fa-code) {
  background: linear-gradient(
    135deg,
    rgba(0, 122, 204, 0.1),
    rgba(0, 122, 204, 0.2)
  );
}

.skill-icon:has(.fa-language) {
  background: linear-gradient(
    135deg,
    rgba(43, 116, 137, 0.1),
    rgba(43, 116, 137, 0.2)
  );
}

/* Animação de rotação para o ícone React */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.skill-card:hover .skill-icon .fa-react {
  text-shadow: 0 0 10px rgba(97, 218, 251, 0.5);
  animation: spin 10s linear infinite;
}

@media screen and (max-width: 992px) {
  .experience-cards {
    grid-template-columns: repeat(2, minmax(350px, 1fr));
    max-width: 900px;
  }
}

@media screen and (max-width: 900px) {
  .experience-cards {
    grid-template-columns: minmax(350px, 600px);
    max-width: 600px;
  }

  .experience-card {
    min-height: 350px;
  }
}

@media screen and (max-width: 480px) {
  .experience-cards {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .experience-card {
    min-height: 320px;
  }

  .experience-card-header {
    flex-direction: column;
    gap: 15px;
    padding: 15px;
  }

  .experience-card-content {
    padding: 15px;
  }

  .experience-card-content h3 {
    font-size: 18px;
  }

  .experience-card-content h4 {
    font-size: 15px;
  }
}

/* Estilos específicos para ícones de habilidades */
.skill-icon .fa-html5 {
  color: #e34f26;
}

.skill-icon .fa-css3-alt {
  color: #1572b6;
}

.skill-icon .fa-js {
  color: #f7df1e;
}

.skill-icon .fa-react {
  color: #61dafb;
}

.skill-icon .fa-git-alt {
  color: #f05032;
}

.skill-icon .fa-github {
  color: #333333;
}

.skill-icon .fa-code {
  color: #007acc;
}

.skill-icon .fa-language {
  color: #2b7489;
}

/* Efeitos de hover personalizados para os ícones */
.skill-card:hover .skill-icon .fa-html5 {
  text-shadow: 0 0 10px rgba(227, 79, 38, 0.5);
}

.skill-card:hover .skill-icon .fa-css3-alt {
  text-shadow: 0 0 10px rgba(21, 114, 182, 0.5);
}

.skill-card:hover .skill-icon .fa-js {
  text-shadow: 0 0 10px rgba(247, 223, 30, 0.5);
}

.skill-card:hover .skill-icon .fa-react {
  text-shadow: 0 0 10px rgba(97, 218, 251, 0.5);
  animation: spin 10s linear infinite;
}

.skill-card:hover .skill-icon .fa-git-alt {
  text-shadow: 0 0 10px rgba(240, 80, 50, 0.5);
}

.skill-card:hover .skill-icon .fa-github {
  text-shadow: 0 0 10px rgba(51, 51, 51, 0.5);
}

.skill-card:hover .skill-icon .fa-code {
  text-shadow: 0 0 10px rgba(0, 122, 204, 0.5);
}

.skill-card:hover .skill-icon .fa-language {
  text-shadow: 0 0 10px rgba(43, 116, 137, 0.5);
}

/* Fundos personalizados para os ícones */
.skill-icon:has(.fa-html5) {
  background: linear-gradient(
    135deg,
    rgba(227, 79, 38, 0.1),
    rgba(227, 79, 38, 0.2)
  );
}

.skill-icon:has(.fa-css3-alt) {
  background: linear-gradient(
    135deg,
    rgba(21, 114, 182, 0.1),
    rgba(21, 114, 182, 0.2)
  );
}

.skill-icon:has(.fa-js) {
  background: linear-gradient(
    135deg,
    rgba(247, 223, 30, 0.1),
    rgba(247, 223, 30, 0.2)
  );
}

.skill-icon:has(.fa-react) {
  background: linear-gradient(
    135deg,
    rgba(97, 218, 251, 0.1),
    rgba(97, 218, 251, 0.2)
  );
}

.skill-icon:has(.fa-git-alt) {
  background: linear-gradient(
    135deg,
    rgba(240, 80, 50, 0.1),
    rgba(240, 80, 50, 0.2)
  );
}

.skill-icon:has(.fa-github) {
  background: linear-gradient(
    135deg,
    rgba(51, 51, 51, 0.1),
    rgba(51, 51, 51, 0.2)
  );
}

.skill-icon:has(.fa-code) {
  background: linear-gradient(
    135deg,
    rgba(0, 122, 204, 0.1),
    rgba(0, 122, 204, 0.2)
  );
}

.skill-icon:has(.fa-language) {
  background: linear-gradient(
    135deg,
    rgba(43, 116, 137, 0.1),
    rgba(43, 116, 137, 0.2)
  );
}

/* Animação de rotação para o ícone React */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.skill-card:hover .skill-icon .fa-react {
  animation: spin 10s linear infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

/* Animação específica para o emoji do React */
.skill-icon .react-emoji {
  animation: spin 10s linear infinite !important;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.skill-card:hover .skill-icon i {
  animation: pulse 1.5s infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.skill-card:hover .skill-icon .fa-react {
  animation: spin 10s linear infinite;
}

/* Estilos para as linhas de habilidades */
.skills-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
  flex-wrap: nowrap;
  overflow-x: auto; /* Permite rolagem horizontal em telas pequenas */
  padding-bottom: 10px; /* Espaço para a barra de rolagem */
}

.skills-row:last-child {
  margin-bottom: 0;
}

.skills-row .responsive-cell-block {
  flex: 0 0 24%; /* Cada card ocupa 24% da largura, deixando pequeno espaço entre eles */
  min-width: 220px; /* Largura mínima para evitar cards muito estreitos */
}

.skills-row .card {
  height: 100%;
  margin: 0 5px;
}

@media (max-width: 992px) {
  .skills-row {
    padding-bottom: 15px;
  }

  .skills-row .responsive-cell-block {
    flex: 0 0 48%;
    min-width: 200px;
  }
}

@media (max-width: 576px) {
  .skills-row {
    flex-wrap: wrap;
    justify-content: center;
  }

  .skills-row .responsive-cell-block {
    flex: 0 0 100%;
    margin-bottom: 20px;
  }
}

/* Estilos para os ícones de imagem */
.skill-icon img {
  width: 55px;
  height: 55px;
  transition: all 0.3s ease;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.skill-card:hover .skill-icon img {
  transform: scale(1.15);
}

/* Animação especial para o ícone do React */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.skill-icon img[alt="React"] {
  animation: spin 20s linear infinite;
}

.skill-card:hover .skill-icon img[alt="React"] {
  animation: spin 5s linear infinite;
  transform: scale(1.15);
}

/* Animações de Scroll */
.section-hidden {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.section-visible {
  opacity: 1;
  transform: translateY(0);
}

.card-hidden {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.card-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Efeito de transição para links e botões */
a,
button {
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Efeito de transição para imagens */
img {
  max-width: 100%;
  height: auto;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

/* Efeito de transição para cards e elementos de conteúdo */
.project-card,
.experience-card,
.skill-card,
.feature-box,
.aceternity-feature {
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    box-shadow 0.4s ease, opacity 0.4s ease;
}

/* Efeito de transição para hover em imagens */
.project-card:hover img,
.about-image:hover img {
  transform: scale(1.05);
}

/* Touch device optimizations */
.touch-device .btn:hover {
  transform: none;
  box-shadow: none;
}

.touch-device .btn:active {
  transform: translateY(-3px);
  box-shadow: 0 10px 15px rgba(79, 70, 229, 0.3);
}

.touch-device .nav-links a:hover::before {
  width: 0;
}

.touch-device .nav-links a:active::before {
  width: 100%;
}

.touch-device .nav-links a:hover {
  color: var(--text-color);
}

.touch-device .nav-links a:active {
  color: var(--primary-color);
}

.touch-device .skill-card:hover,
.touch-device .project-item:hover,
.touch-device .experience-card:hover {
  transform: none;
  box-shadow: none;
}

.touch-device .skill-card:active,
.touch-device .project-item:active,
.touch-device .experience-card:active {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Melhorias para formulários em dispositivos móveis */
@media (max-width: 576px) {
  input,
  textarea,
  select,
  .form-group input,
  .form-group textarea {
    font-size: 16px !important; /* Evita zoom automático em iOS */
  }

  .form-group {
    margin-bottom: 15px;
  }

  .contact-form {
    padding: 20px;
  }

  .btn-primary {
    width: 100%;
  }
}

/* Melhorias para o scroll em dispositivos móveis */
@media (max-width: 768px) {
  .scroll-to-top {
    width: 40px;
    height: 40px;
    bottom: 15px;
    right: 15px;
  }

  .scroll-to-top i {
    font-size: 18px;
  }
}

/* Ajustes para o espaçamento de seções em dispositivos móveis */
@media (max-width: 576px) {
  section {
    padding: 50px 0;
  }

  .section-header {
    margin-bottom: 30px;
  }

  .container {
    padding: 0 15px;
  }
}

/* Dark Mode Toggle Button */
.theme-toggle-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
}

#theme-toggle-btn {
  background-color: var(--bg-color);
  color: var(--text-color);
  border: 2px solid var(--border-color);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#theme-toggle-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.dark-mode #theme-toggle-btn {
  background-color: var(--bg-light);
  border-color: var(--border-color);
  color: var(--text-color);
}

.light-icon,
.dark-icon {
  position: absolute;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.light-icon {
  opacity: 0;
  transform: scale(0.7);
}

.dark-icon {
  opacity: 1;
  transform: scale(1);
}

.dark-mode .light-icon {
  opacity: 1;
  transform: scale(1);
}

.dark-mode .dark-icon {
  opacity: 0;
  transform: scale(0.7);
}

/* Estilos para as seções de experiência e educação no dark mode */
.dark-mode .experience-card-content h3,
.dark-mode .education-aceternity-feature .aceternity-feature-title span,
.dark-mode .about-text h3 {
  color: #ffffff;
}

.dark-mode .experience-card-content h4,
.dark-mode .experience-period,
.dark-mode .education-period {
  color: var(--primary-color);
}

.dark-mode .experience-card-content p,
.dark-mode .experience-description,
.dark-mode .education-description,
.dark-mode .about-text p {
  color: var(--text-light);
}

.dark-mode .experience-list li,
.dark-mode .education-list li {
  color: var(--text-light);
}

.dark-mode .experience-list li::before,
.dark-mode .education-list li::before {
  background-color: var(--primary-color);
}

.dark-mode .aceternity-feature-title span {
  color: #ffffff;
}

.dark-mode .aceternity-feature-description {
  color: var(--text-light);
}

.dark-mode .aceternity-feature:hover .aceternity-feature-title span {
  color: var(--primary-color);
}

.dark-mode .aceternity-feature-indicator {
  background-color: #4b5563;
}

.dark-mode .aceternity-feature:hover .aceternity-feature-indicator {
  background-color: var(--primary-color);
}

/* Estilos para o footer no dark mode */
.dark-mode .footer {
  background-color: var(--bg-light);
  border-top: 1px solid var(--border-color);
}

.dark-mode .footer-logo a,
.dark-mode .footer-nav-section h4 {
  color: #ffffff;
}

.dark-mode .footer-nav-section ul li a,
.dark-mode .footer-link,
.dark-mode .footer-bottom p {
  color: var(--text-light);
}

.dark-mode .footer-nav-section ul li a:hover,
.dark-mode .footer-link:hover {
  color: var(--primary-color);
}

.dark-mode .footer-social a {
  background-color: var(--bg-color);
  color: #ffffff;
}

.dark-mode .footer-social a:hover {
  background-color: var(--primary-color);
  color: white;
}

.dark-mode .footer-social a i {
  color: #ffffff;
}

.dark-mode .footer-newsletter-text {
  color: var(--text-light);
}

/* Estilos para a seção de projetos no dark mode */
.dark-mode .project-gallery-title,
.dark-mode .section-header h2 {
  color: #ffffff;
}

.dark-mode .project-gallery-description {
  color: var(--text-light);
}

.dark-mode .project-card-title {
  color: white;
}

.dark-mode .project-card-description {
  color: rgba(255, 255, 255, 0.9);
}

.dark-mode .project-card-link {
  color: white;
}

.dark-mode .project-tags span {
  background-color: var(--bg-light);
  color: var(--text-light);
}

.dark-mode .carousel-indicator {
  background-color: rgba(14, 165, 233, 0.2);
}

.dark-mode .carousel-indicator.active {
  background-color: var(--primary-color);
}

.dark-mode .gallery-control-button {
  color: #ffffff;
}

.dark-mode .gallery-control-button:hover {
  background-color: var(--bg-light);
}

/* Estilos para os cards de blog/projeto no dark mode */
.dark-mode .blog-slider__title {
  color: var(--text-color);
}

.dark-mode .blog-slider__text {
  color: var(--text-light);
}

.dark-mode .blog-slider__code {
  color: var(--primary-color);
}

.dark-mode .blog-slider__button {
  background-color: var(--primary-color);
  color: white;
}

.dark-mode .blog-slider__button:hover {
  background-color: var(--primary-hover);
}

.dark-mode .static-card {
  background-color: var(--card-bg);
  border-color: var(--border-color);
}

.dark-mode .static-card:hover {
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* Estilos para a sidebar no dark mode */
.dark-mode .sidebar-container {
  background-color: var(--bg-light);
  border-right: 1px solid var(--border-color);
}

.dark-mode .sidebar-section-title {
  color: var(--text-light);
}

.dark-mode .sidebar-listItem a {
  color: var(--text-color);
}

.dark-mode .sidebar-listItem a:hover {
  background-color: rgba(99, 102, 241, 0.1);
  color: var(--primary-color);
}

.dark-mode .sidebar-listItem.active::before {
  background-color: var(--primary-color);
}

.dark-mode .sidebar-listIcon {
  color: var(--text-light);
}

.dark-mode .sidebar-cv-link {
  background-color: var(--bg-color);
  color: var(--text-color);
  border: 1px solid var(--border-color);
}

.dark-mode .sidebar-cv-link:hover {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

/* Estilos para a navbar móvel no dark mode */
.dark-mode .mobile-navbar {
  background-color: rgba(31, 41, 55, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(55, 65, 81, 0.5);
}

.dark-mode .mobile-navbar-link {
  color: var(--text-light);
}

.dark-mode .mobile-navbar-link.active {
  color: var(--primary-color);
}

.dark-mode .mobile-navbar-icon {
  color: inherit;
}

/* Estilos para o botão de scroll to top no dark mode */
.dark-mode .scroll-to-top {
  background-color: var(--bg-light);
  color: var(--text-color);
  border: 1px solid var(--border-color);
}

.dark-mode .scroll-to-top:hover {
  background-color: var(--primary-color);
  color: white;
}

/* Ajustes para ícones no modo escuro */
.dark-mode .fa-solid,
.dark-mode .fa-brands,
.dark-mode .fa-regular {
  color: inherit;
}

.dark-mode .skill-icon i,
.dark-mode .aceternity-feature-icon i {
  color: var(--primary-color);
}

/* Ajustes para textos específicos mencionados */
.dark-mode .hero-description,
.dark-mode .about-info .info-item span,
.dark-mode .about-info .info-item p {
  color: var(--text-light);
}

.dark-mode .about-info .info-item p a {
  color: var(--primary-color);
}

.dark-mode .about-info .info-item p a:hover {
  color: var(--primary-hover);
}

/* Ajustes para os ícones do footer */
.dark-mode .footer-social a i {
  color: #ffffff;
}

/* Ajustes para os textos da seção de habilidades */
.dark-mode .aceternity-feature-description {
  color: var(--text-light);
}

/* Ajustes para os textos da seção de contato */
.dark-mode .contact-info h3,
.dark-mode .contact-form h3 {
  color: #ffffff;
}

.dark-mode .contact-info p {
  color: var(--text-light);
}

.form-note {
  font-size: 0.8rem;
  color: #6b7280;
  margin-top: 0.5rem;
  text-align: center;
  font-style: italic;
}

.dark-mode .form-note {
  color: #9ca3af;
}
