:root {
  --primary-color: #70e3ea;
  --secondary-color: #4a9da3;
  --dark-bg: #0a1929;
  --card-bg: #132f4c;
  --text-light: #e3f2fd;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Inter", sans-serif;
  background: linear-gradient(135deg, var(--dark-bg) 0%, #1a2942 100%);
  color: var(--text-light);
  overflow-x: hidden;
}
/* Navbar */
.navbar {
  background: rgba(10, 25, 41, 0.95) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(112, 227, 234, 0.1);
  padding: 1rem 0;
}
.navbar-brand {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color) !important;
  text-shadow: 0 0 10px rgba(112, 227, 234, 0.5);
  font-family: "Dancing Script", cursive;
}
.fs-dancing {
  font-family: "Dancing Script", cursive;
}
.nav-link {
  color: var(--text-light) !important;
  margin: 0 1rem;
  transition: all 0.3s ease;
  position: relative;
}
.nav-link:after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}
.nav-link:hover:after {
  width: 80%;
}
/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(112, 227, 234, 0.1) 0%,
    transparent 70%
  );
  top: -250px;
  right: -250px;
  animation: float 6s ease-in-out infinite;
}
.profile-image {
  width: 300px;
  height: 300px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 20px 60px rgba(112, 227, 234, 0.3);
  border: 4px solid var(--primary-color);
  transition: transform 0.3s ease;
  background-position: top center;
  border-radius: 50%;
}
.profile-image:hover {
  transform: scale(1.05) rotate(2deg);
}
.tech-stack {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.tech-item {
  background: var(--card-bg);
  padding: 3rem 1rem;
  border-radius: 15px;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}
.tech-item:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
  box-shadow: 0 10px 30px rgba(112, 227, 234, 0.3);
}
.tech-item i {
  font-size: 4rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}
.hero-title {
  font-size: 2.5rem;
  font-weight: bold;
  background: linear-gradient(135deg, var(--primary-color) 0%, #fff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-top: 1rem;
  margin-bottom: 0;
}
.hero-subtitle {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}
/* Section Titles */
.section-title {
  font-size: 2.5rem;
  font-weight: 500;
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  padding-bottom: 1rem;
  letter-spacing: 2px;
  font-family: "Dancing Script", cursive;
}
.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--primary-color),
    transparent
  );
}
/* About Section */
.about-section {
  padding: 6rem 0;
  background: rgba(19, 47, 76, 0.3);
}
.about-card {
  padding: 3rem;
}
/* Projects Carousel */
.projects-section {
  padding: 6rem 0;
}
.project-card {
  background: var(--card-bg);
  border-radius: 20px;
  overflow: hidden;
  margin: 1rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
}
/* .project-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
  box-shadow: 0 20px 30px rgba(112, 227, 234, 0.3);
} */
.project-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.project-card:hover .project-image {
  transform: scale(1.1);
}
.project-body {
  padding: 2rem;
}
.project-body a {
  color: var(--primary-color);
}
.project-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.project-tag {
  background: var(--primary-color);
  color: var(--dark-bg);
  padding: 0.3rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
}
/* Certifications */
.certifications-section {
  padding: 6rem 0;
  background: rgba(19, 47, 76, 0.3);
}
.cert-card {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
  border: 2px solid transparent;
}
.cert-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
  box-shadow: 0 10px 30px rgba(112, 227, 234, 0.3);
}
.cert-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}
/* Skills Section */
.skills-section {
  padding: 6rem 0;
}
.skills-item {
  display: flex;
  flex-direction: column;
  text-align: center;
  justify-content: center;
  align-items: center;
  background: var(--card-bg);
  padding: 1rem;
  border-radius: 15px;
  transition: all 0.3s ease;
  height: 100%;
  border: 2px solid transparent;
}
.skills-item:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
  box-shadow: 0 10px 30px rgba(112, 227, 234, 0.3);
}
.skill-name {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-weight: bold;
}
*/ .skill-bar {
  background: var(--card-bg);
  height: 10px;
  border-radius: 10px;
  overflow: hidden;
}
.skill-progress {
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--secondary-color),
    var(--primary-color)
  );
  border-radius: 10px;
  transition: width 1s ease;
  box-shadow: 0 0 10px var(--primary-color);
}
#skills img {
  height: 60px;
  width: 50px;
  padding: 6px 0;
}
/* Footer */
.footer {
  background: var(--dark-bg);
  padding: 3rem 0;
  border-top: 2px solid var(--primary-color);
}
.social-links a {
  color: var(--text-light);
  font-size: 1.5rem;
  margin: 0 1rem;
  transition: all 0.3s ease;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.social-links a:hover {
  color: var(--primary-color);
  transform: translateY(-5px);
}
.social-links img {
  height: 450px;
  width: auto;
}
.btn-primary-custom {
  background: var(--primary-color);
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: 30px;
  font-weight: bold;
  color: var(--dark-bg);
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(112, 227, 234, 0.3);
}
.btn-primary-custom:hover {
  transform: translateY(-3px);
  color: var(--dark-bg);
  background: var(--text-light);
  /* box-shadow: 0 10px 25px rgba(112, 227, 234, 0.5); */
}
/* Carousel custom */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  /* filter: invert(1); */
  /* background-color: black; */
  color: var(--primary-color);
  border-radius: 50%;
  padding: 1rem;
  height: 50px;
  width: 50px;
}
.header-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 4px;
  /* background-color: #00aaff; Cor da barra de progresso */
  background-color: #70e3ea;
  transition: width 0.1s linear;
}
a:hover {
  color: var(--secondary-color) !important;
  transition: 0.3s ease;
}

.whatsapp-float a:hover {
  color: #fff !important;
}
.carousel-control-next {
  right: -100px;
}
.carousel-control-prev {
  left: -100px;
}
.carousel-indicators button {
  background-color: var(--primary-color) !important;
}
.blink {
  animation: blink 1.25s infinite; /* tempo e repetição */
}
@keyframes blink {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.box {
  transform-origin: top;
  will-change: transform;
}
.scroll-move-left {
  transform: translateX(-200px); /* começa vindo da esquerda */
}
.scroll-move-right {
  transform: translateX(200px); /* começa vindo da direita */
}
.whatsapp-float {
  position: fixed;
  bottom: 25px; /* distância do rodapé */
  right: 25px; /* distância da lateral */
  z-index: 9999;
}
.whatsapp-float a {
  background: #25d366;
  color: #fff;
  font-size: 32px; /* tamanho do ícone */
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease-in-out;
}
.whatsapp-float a:hover {
  transform: scale(1.1);
}
#about {
  position: relative;
  width: 100%;
  /* height: 100vh; */
}
#about::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 99.5%;
  /* background-image: url("images/v627-aew-21-technologybackground.jpg"); */
  background-size: cover;
  background-position: center right;
  background-attachment: fixed;
  z-index: -1;
}
/* #about::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(
    0,
    0,
    0,
    0.75
  ); 
  z-index: -1;
  border-radius: 0%;
} */
.btn-top {
  position: fixed;
  bottom: 25px;
  left: 25px;
  width: 45px;
  height: 45px;
  border: none;
  border-radius: 50%;
  background: #000; /* cor */
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: none; /* começa escondido */
  align-items: center;
  justify-content: center;
  z-index: 999;
  transition: opacity 2s ease;
}
.btn-top.show {
  display: flex;
  opacity: 1;
}
.btn-top.hide {
  opacity: 0;
}
.timing-cost-section {
  padding: 6rem 0;
  background: rgba(19, 47, 76, 0.3);
}
.fs-12 {
  font-size: 14px;
}
.contact-form {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.contact-form .form-label {
  color: #fff;
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.contact-form .form-control {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}
.contact-form .form-control:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
  color: #fff;
}
.contact-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.5);
}
.contact-form textarea.form-control {
  resize: vertical;
  min-height: 120px;
}
.contact-form .btn-primary {
  padding: 0.875rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}
.contact-form .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 123, 255, 0.3);
}
#formMessage.success {
  color: #4ade80;
  font-weight: 500;
}
#formMessage.error {
  color: #f87171;
  font-weight: 500;
}
.plans-container {
  margin-top: 40px;
}
.plan-card {
  background: var(--dark-bg);
  border-radius: 16px;
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}
.plan-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
}
.plan-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(112, 227, 234, 0.2);
  border-color: var(--primary-color);
}
.plan-card.featured {
  border-color: var(--primary-color);
  box-shadow: 0 10px 30px rgba(112, 227, 234, 0.15);
}
.plan-header {
  text-align: center;
  margin-bottom: 5px;
}
.plan-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-color);
  text-transform: uppercase;
  margin-bottom: 10px;
  letter-spacing: 1px;
}
.plan-description {
  font-size: 0.85rem;
  color: var(--text-light);
  opacity: 0.85;
  min-height: 40px;
}
.plan-options {
  margin-top: 10px;
}
.plan-option {
  background: rgba(112, 227, 234, 0.08);
  border-radius: 12px;
  padding: 10px;
  margin-bottom: 20px;
  border-left: 3px solid var(--primary-color);
  transition: background 0.3s ease;
}
.plan-option:hover {
  background: rgba(112, 227, 234, 0.12);
}
.option-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 10px;
}
.option-description {
  font-size: 0.8rem;
  color: var(--text-light);
  opacity: 0.75;
  margin-bottom: 15px;
}
.option-price {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-light);
}
.price-highlight {
  color: var(--primary-color);
}
.badge {
  display: inline-block;
  background: var(--primary-color);
  color: var(--dark-bg);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 15px;
}
/* Fundo escuro */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: none;
  transition: 0.3s ease;
  z-index: 9999;
}
/* Quando ativa */
.popup.show {
  opacity: 1;
  pointer-events: all;
}
/* Caixa da popup */
.popup-content {
  background: #fff;
  padding: 25px;
  width: 350px;
  border-radius: 10px;
  text-align: center;
  animation: scaleIn 0.3s ease;
}
@keyframes scaleIn {
  0% {
    transform: scale(0.7);
  }
  100% {
    transform: scale(1);
  }
}
button {
  margin-top: 15px;
  padding: 10px 20px;
  background: #007bff;
  border: none;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
}
.timeline-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 50px;
  position: relative;
}
.timeline-line {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
  z-index: 0;
}
.year-btn {
  background: white;
  border: 3px solid transparent;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--card-bg);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.year-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}
.year-btn.active {
  background: linear-gradient(
    135deg,
    var(--secondary-color) 0%,
    var(--card-bg) 100%
  );
  color: white;
  border-color: white;
  transform: scale(1.15);
}
/* Content Card */
.about-card {
  /* background: white; */
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  min-height: 300px;
}
.about-content {
  position: relative;
  overflow: hidden;
  min-height: 350px;
}

.about-content span {
  color: var(--primary-color);
}
.content-item {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
}
.content-item.active {
  opacity: 1;
  transform: translateY(0);
  position: relative;
}
.year-display {
  text-align: center;
  font-size: 2rem;
  font-style: italic;
  color: var(--primary-color);
  margin-bottom: 30px;
  font-weight: 300;
}
.lead {
  font-size: 1.1rem;
  line-height: 1.8;
  color: white;
  margin-bottom: 20px;
}
/* Navigation Arrows */
.nav-arrows {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
  padding-top: 30px;
  border-top: 2px solid #eee;
}
.arrow-btn {
  background: linear-gradient(
    135deg,
    var(--secondary-color) 0%,
    var(--card-bg) 100%
  );
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 25px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}
.arrow-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 209, 209, 0.4);
}
.arrow-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
/* 4K */
@media (min-width: 2560px) {
    /* Ajustes para telas muito grandes */
}
/* FULL HD — 1920px */
@media (max-width: 1920px) {
    /* Ajustes para otimizar em 1080p */
}
/* HD — 1366px */
@media (max-width: 1366px) {
    /* Ajustes para telas mais comuns de notebook */
    .tech-item {
    padding: 2rem 1rem;
    }
    .about-section {
      padding: 3rem 0;
    }
    .about-card {
      min-height: 250px;
    }
    .about-content {
      min-height: 300px;
    }
    .lead {
      font-size: 0.9rem;;
    }
}
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
  .year-btn {
    width: 60px;
    height: 60px;
    font-size: 1rem;
  }
  .about-card {
    padding: 25px;
  }
  .lead {
    font-size: 1rem;
  }
  .timing-cost-section {
    padding: 60px 15px;
  }
  .section-title {
    font-size: 2rem;
  }
  .plans-container {
    grid-template-columns: 1fr;
  }
  .plan-card {
    padding: 30px 20px;
  }
  #content-image {
    margin-top: 100px;
  }
  #content-image img {
    height: 200px;
    width: 200px;
  }

  .tech-stack {
    padding: 0 20px;
  }

  .hero-title {
    font-size: 2rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .tech-item {
    padding: 1rem 0.5rem;
  }
  .tech-item i {
    font-size: 2rem;
  }
  .content-buttons {
    display: flex;
    justify-content: center;
  }
  .content-buttons a {
    font-size: 10px;
    padding: 0.5rem 1rem;
  }
  .year-btn.active {
    font-size: 0.8rem;
  }
  .year-btn {
    font-size: 0.8rem;
  }
  .lead {
    font-size: 0.8rem;
  }
  .about-card {
    min-height: 400px;
  }
  #content {
    min-height: 400px;
  }
  .projects-content {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .skills-item {
    margin-bottom: 10px !important;
    margin-top: 0 !important;
  }
  .carousel-control-next {
    right: 20px;
  }

  .carousel-control-prev {
    left: 20px;
  }
  .carousel-control-prev-icon, .carousel-control-next-icon {
    background-color: black;
    color: var(--primary-color);
    filter: invert(1);
  }
  .project-tags {
    flex-wrap: nowrap;
  }

  .project-tag {
    font-size: 0.7rem;
  }

  section {
    padding: 3rem 0 !important;
  }
}
/* Celulares grandes (até 576px) */
@media (max-width: 576px) {
    /* Ajustes de mobile */
}
/* Celulares pequenos (até 480px) */
@media (max-width: 480px) {
    /* Ajustes finais */
}
