/*--------------------------------------------------------------
# Variables
--------------------------------------------------------------*/
:root {
  --primary-color: rgb(9, 21, 79);
  --primary-color-light: rgba(9, 21, 79, 0.1);
  --secondary-color: #ff6b6b;
  --text-color: #333;
  --text-light: #777;
  --bg-color: #fff;
  --bg-light: #f8f9fa;
  --border-color: #e9ecef;
  --success-color: #28a745;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  --font-primary: "Montserrat", sans-serif;
  --font-secondary: "Open Sans", sans-serif;
  --transition: all 0.3s ease;
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 10px 25px rgba(0, 0, 0, 0.15);
  --container-width: 1200px;
}

/*--------------------------------------------------------------
# Reset & Basics
--------------------------------------------------------------*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-secondary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
  overflow-x: hidden;
  cursor: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

body.loaded,
body.page-loaded {
  opacity: 1;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 15px;
  color: var(--primary-color);
}

p {
  margin-bottom: 15px;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-color);
}

ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

img.lazy {
  opacity: 0;
  transition: opacity 0.3s;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 15px;
}

section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 36px;
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 20px;
}

.section-header h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 3px;
  background-color: var(--secondary-color);
}

.section-header p {
  font-size: 18px;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
}

/*--------------------------------------------------------------
# Preloader - Simplificado
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-color);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader-content {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.logo-animation {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-animation .logo-text {
  font-family: var(--font-primary);
  font-size: 60px;
  font-weight: 800;
  color: var(--primary-color);
}

.preloader-fade {
  opacity: 0;
  visibility: hidden;
}

/*--------------------------------------------------------------
# Buttons
--------------------------------------------------------------*/
.btn {
  display: inline-block;
  padding: 12px 30px;
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  border-radius: 5px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.4s ease;
  z-index: -1;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background-color: var(--secondary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-light {
  background-color: white;
  color: var(--primary-color);
}

.btn-light:hover {
  background-color: var(--primary-color-light);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--bg-color);
  box-shadow: var(--shadow);
  padding: 15px 0;
  transition: var(--transition);
}

.header.sticky {
  padding: 10px 0;
}

.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-text {
  font-family: var(--font-primary);
  font-size: 28px;
  font-weight: 800;
  color: var(--primary-color);
  position: relative;
  transition: all 0.3s ease;
}

.logo-text:hover {
  transform: scale(1.05);
  text-shadow: 0 0 10px rgba(9, 21, 79, 0.3);
}

.nav-menu {
  display: flex;
}

.nav-list {
  display: flex;
  align-items: center;
}

.nav-link {
  padding: 10px 15px;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 16px;
  color: var(--text-color);
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 30px;
}

.header-buttons {
  display: flex;
  align-items: center;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
  margin-left: 20px;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100vh;
  background-color: var(--bg-color);
  z-index: 1001;
  padding: 50px 30px;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

.close-menu {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
  color: var(--primary-color);
}

.mobile-nav-link {
  display: block;
  padding: 12px 0;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 16px;
  color: var(--text-color);
  border-bottom: 1px solid var(--border-color);
}

.mobile-contact {
  margin-top: 30px;
}

.mobile-contact p {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.mobile-contact p i {
  margin-right: 10px;
  color: var(--primary-color);
}

.mobile-social {
  display: flex;
  margin-top: 20px;
}

.mobile-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary-color-light);
  color: var(--primary-color);
  margin-right: 10px;
  transition: var(--transition);
}

.mobile-social a:hover {
  background-color: var(--primary-color);
  color: white;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  padding: 150px 0 80px;
  background-color: var(--bg-light);
  position: relative;
  overflow: hidden;
}

/* Interactive Background */
#interactive-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background-color: var(--primary-color-light);
  z-index: 0;
  animation: floatBubble 15s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background-color: var(--primary-color-light);
  z-index: 0;
  animation: floatBubble 15s ease-in-out infinite alternate-reverse;
}

@keyframes floatBubble {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(50px, 50px) scale(1.1);
  }
  100% {
    transform: translate(0, 0) scale(1);
  }
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-content h1 {
  font-size: 48px;
  margin-bottom: 20px;
  color: var(--primary-color);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards 0.5s;
}

.hero-content p {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 30px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards 0.7s;
}

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

.hero-buttons {
  display: flex;
  gap: 15px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards 0.9s;
}

.hero-image {
  flex: 1;
  max-width: 500px;
  position: relative;
  perspective: 1000px;
  opacity: 0;
  animation: fadeIn 1s ease forwards 1s;
}

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

.hero-image img {
  transform-style: preserve-3d;
  animation: float3D 6s ease-in-out infinite;
}

@keyframes float3D {
  0% {
    transform: translateY(0) rotateY(0deg);
  }
  50% {
    transform: translateY(-20px) rotateY(10deg);
  }
  100% {
    transform: translateY(0) rotateY(0deg);
  }
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services {
  background-color: var(--bg-color);
  position: relative;
  z-index: 1;
}

.services::before {
  content: "";
  position: absolute;
  top: -50px;
  right: 0;
  width: 200px;
  height: 200px;
  background: var(--primary-color-light);
  border-radius: 50%;
  z-index: -1;
  opacity: 0.5;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: var(--bg-light);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: all 0.5s ease;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background: linear-gradient(135deg, var(--primary-color-light) 0%, transparent 100%);
  z-index: -1;
  opacity: 0;
  transition: all 0.5s ease;
  transform: scale(0.9);
  border-radius: 15px;
}

.service-card:hover {
  transform: translateY(-15px) scale(1.03);
  box-shadow: var(--shadow-hover);
}

.service-card:hover::before {
  opacity: 0.2;
  transform: scale(1);
}

.service-icon {
  width: 80px;
  height: 80px;
  background-color: var(--primary-color-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  transition: all 0.5s ease;
  position: relative;
}

.service-icon::after {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border-radius: 50%;
  border: 2px dashed var(--primary-color);
  opacity: 0;
  transition: all 0.5s ease;
}

.service-card:hover .service-icon {
  transform: rotateY(360deg);
  background-color: var(--primary-color);
}

.service-card:hover .service-icon i {
  color: white;
}

.service-card:hover .service-icon::after {
  opacity: 0.3;
  animation: spin 10s linear infinite;
}

.service-icon i {
  font-size: 32px;
  color: var(--primary-color);
  transition: all 0.5s ease;
}

.service-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.service-card:hover h3 {
  color: var(--secondary-color);
}

.service-card p {
  color: var(--text-light);
  transition: all 0.3s ease;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
.portfolio {
  background-color: var(--bg-light);
  position: relative;
  z-index: 1;
}

.portfolio::after {
  content: "";
  position: absolute;
  bottom: -50px;
  left: 100px;
  width: 200px;
  height: 200px;
  background: var(--primary-color-light);
  border-radius: 50%;
  z-index: -1;
  opacity: 0.5;
}

.portfolio-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 10px 25px;
  margin: 5px;
  background-color: transparent;
  border: 2px solid var(--primary-color);
  border-radius: 30px;
  color: var(--primary-color);
  font-family: var(--font-primary);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.filter-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: var(--primary-color);
  transition: all 0.4s ease;
  z-index: -1;
}

.filter-btn:hover::before,
.filter-btn.active::before {
  width: 100%;
}

.filter-btn:hover,
.filter-btn.active {
  color: white;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.portfolio-item {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.5s ease;
  position: relative;
}

.portfolio-item:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: var(--shadow-hover);
}

.portfolio-image {
  position: relative;
  overflow: hidden;
  height: 250px;
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.7s ease;
}

.portfolio-item:hover .portfolio-image img {
  transform: scale(1.1) rotate(3deg);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(9, 21, 79, 0.8), rgba(9, 21, 79, 0.9));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.5s ease;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-info {
  text-align: center;
  padding: 20px;
  transform: translateY(30px);
  transition: all 0.5s ease;
  opacity: 0;
}

.portfolio-item:hover .portfolio-info {
  transform: translateY(0);
  opacity: 1;
}

.portfolio-info h3 {
  color: white;
  font-size: 22px;
  margin-bottom: 15px;
}

.btn-view {
  display: inline-block;
  padding: 10px 25px;
  background-color: var(--secondary-color);
  color: white;
  border-radius: 30px;
  font-family: var(--font-primary);
  font-weight: 600;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-view::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.4s ease;
  z-index: -1;
}

.btn-view:hover::before {
  left: 100%;
}

.btn-view:hover {
  background-color: white;
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.portfolio-cta {
  text-align: center;
  margin-top: 50px;
}

/*--------------------------------------------------------------
# Skills Section (Nova)
--------------------------------------------------------------*/
.skills {
  background-color: var(--bg-color);
  position: relative;
  z-index: 1;
}

.skills::before {
  content: "";
  position: absolute;
  top: 50px;
  left: -50px;
  width: 200px;
  height: 200px;
  background: var(--primary-color-light);
  border-radius: 50%;
  z-index: -1;
  opacity: 0.5;
}

.skills-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 50px;
}

.skills-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.skills-text h3 {
  font-size: 28px;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.skills-text p {
  color: var(--text-light);
  margin-bottom: 15px;
}

.skills-bars {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.skill-item {
  width: 100%;
}

.skill-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.skill-name {
  font-family: var(--font-primary);
  font-weight: 600;
  color: var(--primary-color);
}

.skill-percentage {
  font-family: var(--font-primary);
  font-weight: 700;
  color: var(--secondary-color);
}

.skill-bar {
  height: 10px;
  background-color: var(--bg-light);
  border-radius: 5px;
  overflow: hidden;
  position: relative;
}

.skill-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 5px;
  width: 0;
  transition: width 1.5s ease;
}

.skills-showcase {
  padding: 30px;
  background-color: var(--bg-light);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 20px;
}

.skill-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background-color: white;
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.skill-logo:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.skill-logo i {
  font-size: 40px;
  color: var(--primary-color);
  margin-bottom: 10px;
  transition: all 0.3s ease;
}

.skill-logo:hover i {
  color: var(--secondary-color);
  transform: scale(1.1);
}

.skill-logo span {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 14px;
  color: var(--text-color);
}

/*--------------------------------------------------------------
# Process Section (Reformulada)
--------------------------------------------------------------*/
.process {
  background-color: var(--bg-light);
  position: relative;
  z-index: 1;
}

.process::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -50px;
  width: 200px;
  height: 200px;
  background: var(--primary-color-light);
  border-radius: 50%;
  z-index: -1;
  opacity: 0.5;
}

.process-timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 0;
}

.process-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background-color: var(--primary-color);
  z-index: -1;
}

.timeline-item {
  position: relative;
  margin-bottom: 50px;
  display: flex;
  justify-content: center;
}

.timeline-dot {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  background-color: var(--secondary-color);
  border: 4px solid var(--primary-color);
  border-radius: 50%;
  z-index: 1;
}

.timeline-content {
  width: 45%;
  padding: 30px;
  background-color: white;
  border-radius: 10px;
  box-shadow: var(--shadow);
  position: relative;
  transition: all 0.5s ease;
}

.timeline-content::before {
  content: "";
  position: absolute;
  top: 20px;
  width: 20px;
  height: 20px;
  background-color: white;
  transform: rotate(45deg);
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-right: 55%;
}

.timeline-item:nth-child(odd) .timeline-content::before {
  right: -10px;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: 55%;
}

.timeline-item:nth-child(even) .timeline-content::before {
  left: -10px;
}

.timeline-icon {
  width: 70px;
  height: 70px;
  background-color: var(--primary-color-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: all 0.5s ease;
}

.timeline-icon i {
  font-size: 30px;
  color: var(--primary-color);
  transition: all 0.5s ease;
}

.timeline-content:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.timeline-content:hover .timeline-icon {
  background-color: var(--primary-color);
}

.timeline-content:hover .timeline-icon i {
  color: white;
}

.timeline-content h3 {
  font-size: 22px;
  margin-bottom: 15px;
  text-align: center;
  transition: all 0.3s ease;
}

.timeline-content:hover h3 {
  color: var(--secondary-color);
}

.timeline-content p {
  color: var(--text-light);
  text-align: center;
}

/*--------------------------------------------------------------
# Technologies Section
--------------------------------------------------------------*/
.technologies {
  background-color: var(--bg-light);
  position: relative;
  z-index: 1;
}

.technologies::after {
  content: "";
  position: absolute;
  bottom: -50px;
  right: 100px;
  width: 200px;
  height: 200px;
  background: var(--primary-color-light);
  border-radius: 50%;
  z-index: -1;
  opacity: 0.5;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 30px;
}

.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-color);
  border-radius: 10px;
  padding: 25px;
  box-shadow: var(--shadow);
  transition: all 0.5s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.tech-item::before {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary-color-light), transparent);
  transition: all 0.5s ease;
  z-index: -1;
}

.tech-item:hover {
  transform: translateY(-15px) scale(1.05);
  box-shadow: var(--shadow-hover);
}

.tech-item:hover::before {
  top: 0;
}

.tech-item i {
  font-size: 45px;
  color: var(--primary-color);
  margin-bottom: 15px;
  transition: all 0.5s ease;
}

.tech-item:hover i {
  transform: scale(1.2);
  color: var(--secondary-color);
}

.tech-item span {
  font-family: var(--font-primary);
  font-weight: 600;
  color: var(--text-color);
  transition: all 0.3s ease;
}

.tech-item:hover span {
  color: var(--primary-color);
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials {
  background-color: var(--bg-color);
  position: relative;
  z-index: 1;
}

.testimonials::before {
  content: "";
  position: absolute;
  top: -50px;
  left: 50px;
  width: 200px;
  height: 200px;
  background: var(--primary-color-light);
  border-radius: 50%;
  z-index: -1;
  opacity: 0.5;
}

.testimonials-slider {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.testimonial-item {
  background-color: var(--bg-light);
  border-radius: 10px;
  padding: 30px;
  box-shadow: var(--shadow);
  transition: all 0.5s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.testimonial-item::before {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: var(--primary-color-light);
  border-radius: 50% 0 0 0;
  z-index: -1;
  opacity: 0;
  transition: all 0.5s ease;
}

.testimonial-item:hover {
  transform: translateY(-15px);
  box-shadow: var(--shadow-hover);
}

.testimonial-item:hover::before {
  opacity: 0.5;
}

.testimonial-content {
  margin-bottom: 20px;
}

.testimonial-content p {
  font-style: italic;
  color: var(--text-color);
  position: relative;
  padding: 0 20px;
}

.testimonial-content p::before,
.testimonial-content p::after {
  content: '"';
  font-size: 50px;
  color: var(--primary-color-light);
  position: absolute;
  line-height: 1;
  transition: all 0.5s ease;
}

.testimonial-content p::before {
  top: 0;
  left: 0;
}

.testimonial-content p::after {
  bottom: -20px;
  right: 0;
}

.testimonial-item:hover .testimonial-content p::before,
.testimonial-item:hover .testimonial-content p::after {
  color: var(--secondary-color);
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
  transition: all 0.5s ease;
  border: 3px solid var(--bg-light);
}

.testimonial-item:hover .testimonial-author img {
  border-color: var(--secondary-color);
  transform: scale(1.1);
}

.author-info h4 {
  font-size: 18px;
  margin-bottom: 5px;
  transition: all 0.3s ease;
}

.testimonial-item:hover .author-info h4 {
  color: var(--secondary-color);
}

.author-info span {
  color: var(--text-light);
  font-size: 14px;
}

/*--------------------------------------------------------------
# Stats Section (Centralizada)
--------------------------------------------------------------*/
.stats {
  background-color: var(--primary-color);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.stats::before,
.stats::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  z-index: 0;
}

.stats::before {
  top: -150px;
  left: -150px;
}

.stats::after {
  bottom: -150px;
  right: -150px;
}

.stats-header {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  z-index: 1;
}

.stats-header h2 {
  color: white;
  font-size: 36px;
  margin-bottom: 15px;
}

.stats-header p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
}

.stat-item {
  text-align: center;
  color: white;
  padding: 30px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  transition: all 0.5s ease;
}

.stat-item:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.15);
}

.stat-number {
  font-family: var(--font-primary);
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 10px;
  background: linear-gradient(45deg, #fff, var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.stat-label {
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: 600;
  opacity: 0.9;
}

/*--------------------------------------------------------------
# Blog Section
--------------------------------------------------------------*/
.blog {
  background-color: var(--bg-light);
  position: relative;
  z-index: 1;
}

.blog::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -50px;
  width: 200px;
  height: 200px;
  background: var(--primary-color-light);
  border-radius: 50%;
  z-index: -1;
  opacity: 0.5;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.blog-card {
  background-color: var(--bg-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.5s ease;
  position: relative;
}

.blog-card:hover {
  transform: translateY(-15px);
  box-shadow: var(--shadow-hover);
}

.blog-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.blog-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.7));
  opacity: 0;
  transition: all 0.5s ease;
  z-index: 1;
}

.blog-card:hover .blog-image::before {
  opacity: 1;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.7s ease;
}

.blog-card:hover .blog-image img {
  transform: scale(1.1) rotate(2deg);
}

.blog-content {
  padding: 25px;
  position: relative;
}

.blog-date {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 10px;
  display: inline-block;
  padding: 5px 15px;
  background: var(--primary-color-light);
  border-radius: 20px;
  transition: all 0.3s ease;
}

.blog-card:hover .blog-date {
  background: var(--secondary-color);
  color: white;
}

.blog-content h3 {
  font-size: 20px;
  margin-bottom: 15px;
  transition: all 0.3s ease;
  line-height: 1.4;
}

.blog-card:hover .blog-content h3 {
  color: var(--secondary-color);
}

.blog-content p {
  color: var(--text-light);
  margin-bottom: 20px;
}

.read-more {
  font-family: var(--font-primary);
  font-weight: 600;
  color: var(--primary-color);
  position: relative;
  padding-right: 25px;
  transition: all 0.3s ease;
}

.read-more::after {
  content: "→";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.3s ease;
}

.blog-card:hover .read-more {
  color: var(--secondary-color);
}

.blog-card:hover .read-more::after {
  right: -5px;
}

.blog-cta {
  text-align: center;
  margin-top: 50px;
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact {
  background-color: var(--bg-color);
  position: relative;
  z-index: 1;
}

.contact::after {
  content: "";
  position: absolute;
  bottom: -50px;
  right: 50px;
  width: 200px;
  height: 200px;
  background: var(--primary-color-light);
  border-radius: 50%;
  z-index: -1;
  opacity: 0.5;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 50px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  transition: all 0.5s ease;
  padding: 20px;
  border-radius: 10px;
  background: var(--bg-light);
  box-shadow: var(--shadow);
}

.contact-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  background: linear-gradient(135deg, var(--bg-light), white);
}

.contact-item i {
  width: 60px;
  height: 60px;
  background-color: var(--primary-color-light);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-right: 20px;
  flex-shrink: 0;
  transition: all 0.5s ease;
}

.contact-item:hover i {
  background-color: var(--primary-color);
  color: white;
  transform: rotateY(360deg);
}

.contact-item h3 {
  font-size: 20px;
  margin-bottom: 5px;
  transition: all 0.3s ease;
}

.contact-item:hover h3 {
  color: var(--secondary-color);
}

.contact-item p {
  color: var(--text-light);
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.social-link {
  width: 50px;
  height: 50px;
  background-color: var(--primary-color-light);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s ease;
  font-size: 20px;
}

.social-link:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-10px);
}

.contact-form {
  background-color: var(--bg-light);
  border-radius: 10px;
  padding: 40px;
  box-shadow: var(--shadow);
  transition: all 0.5s ease;
  position: relative;
  z-index: 1;
}

.contact-form::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: var(--primary-color-light);
  border-radius: 0 10px 0 100%;
  z-index: -1;
  transition: all 0.5s ease;
}

.contact-form:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.contact-form:hover::before {
  width: 150px;
  height: 150px;
}

.form-group {
  margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-family: var(--font-secondary);
  font-size: 16px;
  color: var(--text-color);
  transition: all 0.3s ease;
  background: white;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 10px rgba(9, 21, 79, 0.1);
}

.form-group textarea {
  height: 150px;
  resize: none;
}

#form-message {
  margin-top: 15px;
  font-size: 14px;
}

/*--------------------------------------------------------------
# CTA Section
--------------------------------------------------------------*/
.cta {
  background-color: var(--primary-color);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before,
.cta::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  z-index: 0;
}

.cta::before {
  top: -150px;
  right: -150px;
}

.cta::after {
  bottom: -150px;
  left: -150px;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: 40px;
  color: white;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.cta-content p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
}

.cta .btn-light:hover {
  background-color: var(--secondary-color);
  color: white;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
  background-color: var(--bg-light);
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--primary-color));
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.footer-widget {
  margin-bottom: 30px;
}

.footer-logo {
  margin-bottom: 20px;
}

.about-widget p {
  color: var(--text-light);
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social .social-link {
  width: 40px;
  height: 40px;
  font-size: 16px;
}

.widget-title {
  font-size: 20px;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.widget-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--secondary-color);
}

.footer-links li {
  margin-bottom: 12px;
  position: relative;
}

.footer-links a {
  color: var(--text-light);
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.footer-links li:hover::before {
  left: 5px;
}

.contact-info li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.contact-info li i {
  color: var(--primary-color);
  margin-right: 10px;
  margin-top: 5px;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.copyright {
  color: var(--text-light);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: var(--text-light);
  transition: all 0.3s ease;
}

.footer-bottom-links a:hover {
  color: var(--primary-color);
}

/*--------------------------------------------------------------
# Back to Top
--------------------------------------------------------------*/
.back-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;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--secondary-color);
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/*--------------------------------------------------------------
# Custom Cursor
--------------------------------------------------------------*/
.custom-cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  background-color: rgba(0, 0, 0, 0.15);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease;
}

.cursor-hover {
  width: 40px;
  height: 40px;
  background-color: rgba(0, 0, 0, 0.1);
}

/*--------------------------------------------------------------
# Page Header
--------------------------------------------------------------*/
.page-header {
  background-color: var(--primary-color);
  padding: 120px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before,
.page-header::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  z-index: 0;
}

.page-header::before {
  top: -150px;
  right: -150px;
}

.page-header::after {
  bottom: -150px;
  left: -150px;
}

.page-header h1 {
  color: white;
  font-size: 48px;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.page-header p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/*--------------------------------------------------------------
# Services Page Styles
--------------------------------------------------------------*/
.services-overview {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.overview-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 50px;
  align-items: center;
}

.overview-text h2 {
  font-size: 36px;
  margin-bottom: 25px;
  color: var(--primary-color);
}

.overview-text p {
  color: var(--text-light);
  margin-bottom: 20px;
  font-size: 18px;
  line-height: 1.7;
}

.overview-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: all 0.5s ease;
}

.overview-image:hover img {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.services-grid-section {
  padding: 80px 0;
  background-color: var(--bg-color);
}

.services-detailed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.service-detailed-card {
  background-color: var(--bg-light);
  border-radius: 10px;
  padding: 40px 30px;
  transition: all 0.5s ease;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.service-detailed-card::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background: linear-gradient(135deg, var(--primary-color-light) 0%, transparent 100%);
  z-index: -1;
  opacity: 0;
  transition: all 0.5s ease;
  transform: scale(0.9);
  border-radius: 15px;
}

.service-detailed-card:hover {
  transform: translateY(-15px);
  box-shadow: var(--shadow-hover);
}

.service-detailed-card:hover::before {
  opacity: 0.2;
  transform: scale(1);
}

.service-detailed-card .service-icon {
  width: 80px;
  height: 80px;
  background-color: var(--primary-color-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  transition: all 0.5s ease;
}

.service-detailed-card .service-icon i {
  font-size: 32px;
  color: var(--primary-color);
  transition: all 0.5s ease;
}

.service-detailed-card:hover .service-icon {
  background-color: var(--primary-color);
  transform: rotateY(360deg);
}

.service-detailed-card:hover .service-icon i {
  color: white;
}

.service-detailed-card h3 {
  font-size: 24px;
  margin-bottom: 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.service-detailed-card:hover h3 {
  color: var(--secondary-color);
}

.service-detailed-card p {
  color: var(--text-light);
  margin-bottom: 25px;
  text-align: center;
}

.service-features {
  margin-bottom: 30px;
}

.service-features li {
  margin-bottom: 10px;
  padding-left: 30px;
  position: relative;
  color: var(--text-color);
}

.service-features li i {
  position: absolute;
  left: 0;
  top: 5px;
  color: var(--secondary-color);
}

.service-detailed-card .btn {
  display: block;
  width: 100%;
  text-align: center;
}

.process-section {
  padding: 80px 0;
  background-color: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.process-section::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: var(--primary-color-light);
  border-radius: 50%;
  z-index: 0;
  opacity: 0.5;
}

.process-steps {
  max-width: 800px;
  margin: 0 auto;
}

.process-step {
  display: flex;
  margin-bottom: 50px;
  position: relative;
}

.process-step:last-child {
  margin-bottom: 0;
}

.process-step::after {
  content: "";
  position: absolute;
  top: 70px;
  left: 35px;
  width: 2px;
  height: calc(100% - 50px);
  background-color: var(--primary-color-light);
  z-index: 0;
}

.process-step:last-child::after {
  display: none;
}

.step-number {
  width: 70px;
  height: 70px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-primary);
  font-size: 24px;
  font-weight: 700;
  flex-shrink: 0;
  margin-right: 30px;
  position: relative;
  z-index: 1;
  transition: all 0.5s ease;
}

.process-step:hover .step-number {
  background-color: var(--secondary-color);
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(255, 107, 107, 0.3);
}

.step-content {
  padding-top: 10px;
}

.step-content h3 {
  font-size: 24px;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.process-step:hover .step-content h3 {
  color: var(--secondary-color);
}

.step-content p {
  color: var(--text-light);
}

.technologies-section {
  padding: 80px 0;
  background-color: var(--bg-color);
}

.technologies-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.tech-category {
  background-color: var(--bg-light);
  border-radius: 10px;
  padding: 30px;
  box-shadow: var(--shadow);
  transition: all 0.5s ease;
}

.tech-category:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.tech-category h3 {
  font-size: 24px;
  margin-bottom: 25px;
  text-align: center;
  position: relative;
  padding-bottom: 15px;
}

.tech-category h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: var(--secondary-color);
}

.tech-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 15px;
}

.tech-items .tech-item {
  background-color: white;
  border-radius: 8px;
  padding: 15px 10px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.tech-items .tech-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.tech-items .tech-item i {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 8px;
  display: block;
  transition: all 0.3s ease;
}

.tech-items .tech-item:hover i {
  color: var(--secondary-color);
  transform: scale(1.2);
}

.faq-section {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: white;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: var(--shadow-hover);
}

.faq-question {
  padding: 20px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  position: relative;
}

.faq-question h3 {
  font-size: 18px;
  margin: 0;
  transition: all 0.3s ease;
}

.faq-item:hover .faq-question h3 {
  color: var(--secondary-color);
}

.faq-toggle {
  width: 30px;
  height: 30px;
  background-color: var(--primary-color-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.faq-toggle i {
  color: var(--primary-color);
  font-size: 14px;
  transition: all 0.3s ease;
}

.faq-item.active .faq-toggle {
  background-color: var(--secondary-color);
  transform: rotate(45deg);
}

.faq-item.active .faq-toggle i {
  color: white;
}

.faq-answer {
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.5s ease;
}

.faq-item.active .faq-answer {
  padding: 0 30px 20px;
  max-height: 1000px;
}

.faq-answer p {
  color: var(--text-light);
  margin: 0;
}

/*--------------------------------------------------------------
# Contact Page Styles
--------------------------------------------------------------*/
.contact-info-section {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
}

.contact-info-card {
  background-color: white;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.5s ease;
}

.contact-info-card:hover {
  transform: translateY(-15px);
  box-shadow: var(--shadow-hover);
}

.info-icon {
  width: 80px;
  height: 80px;
  background-color: var(--primary-color-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: all 0.5s ease;
}

.info-icon i {
  font-size: 32px;
  color: var(--primary-color);
  transition: all 0.5s ease;
}

.contact-info-card:hover .info-icon {
  background-color: var(--primary-color);
}

.contact-info-card:hover .info-icon i {
  color: white;
  transform: rotateY(360deg);
}

.contact-info-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.contact-info-card:hover h3 {
  color: var(--secondary-color);
}

.contact-info-card p {
  color: var(--text-light);
  line-height: 1.8;
}

.map-section {
  padding: 80px 0;
  background-color: var(--bg-color);
}

.map-container {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.5s ease;
}

.map-container:hover {
  box-shadow: var(--shadow-hover);
}

.contact-form-section {
  padding: 80px 0;
  background-color: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.contact-form-section::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: var(--primary-color-light);
  border-radius: 50%;
  z-index: 0;
  opacity: 0.5;
}

.contact-form-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 50px;
  align-items: center;
}

.contact-form-wrapper {
  background-color: white;
  border-radius: 10px;
  padding: 40px;
  box-shadow: var(--shadow);
  transition: all 0.5s ease;
}

.contact-form-wrapper:hover {
  box-shadow: var(--shadow-hover);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 0;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-primary);
  font-weight: 600;
  color: var(--primary-color);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 15px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-family: var(--font-secondary);
  font-size: 16px;
  color: var(--text-color);
  transition: all 0.3s ease;
  background: white;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 10px rgba(9, 21, 79, 0.1);
}

.checkbox-group {
  display: flex;
  align-items: center;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-right: 10px;
}

.checkbox-group label {
  margin-bottom: 0;
  font-weight: 400;
  color: var(--text-color);
}

.checkbox-group label a {
  color: var(--primary-color);
  text-decoration: underline;
}

.checkbox-group label a:hover {
  color: var(--secondary-color);
}

.contact-image {
  position: relative;
}

.contact-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.contact-cta {
  position: absolute;
  bottom: 30px;
  left: 30px;
  right: 30px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow);
  backdrop-filter: blur(5px);
}

.contact-cta h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.contact-cta p {
  color: var(--text-light);
  margin-bottom: 20px;
}

.btn-whatsapp {
  background-color: #25d366;
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 25px;
  border-radius: 30px;
  font-family: var(--font-primary);
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-whatsapp:hover {
  background-color: #128c7e;
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp i {
  font-size: 20px;
}

/*--------------------------------------------------------------
# Animations
--------------------------------------------------------------*/
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.fade-in {
  animation: fadeIn 1s ease forwards;
}

.fade-in-up {
  animation: fadeInUp 1s ease forwards;
}

.zoom-in {
  animation: zoomIn 1s ease forwards;
}

.slide-in-left {
  animation: slideInLeft 1s ease forwards;
}

.slide-in-right {
  animation: slideInRight 1s ease forwards;
}

/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/
@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }

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

@media (max-width: 992px) {
  .container {
    max-width: 720px;
  }

  .hero .container {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    margin-bottom: 50px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .timeline-item {
    flex-direction: column;
    align-items: center;
  }

  .timeline-content {
    width: 80%;
    margin: 0 !important;
  }

  .timeline-content::before {
    display: none;
  }

  .timeline-dot {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    margin-bottom: 20px;
  }

  .process-timeline::before {
    left: 50%;
    height: 100%;
  }

  .overview-content,
  .contact-form-container {
    grid-template-columns: 1fr;
  }

  .overview-text {
    order: 2;
  }

  .overview-image {
    order: 1;
    margin-bottom: 30px;
  }

  .contact-image {
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .container {
    max-width: 540px;
  }

  .nav-menu {
    display: none;
  }

  .hero-image {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .section-header h2 {
    font-size: 30px;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .footer-bottom-links {
    justify-content: center;
  }

  .page-header h1 {
    font-size: 36px;
  }

  .page-header p {
    font-size: 18px;
  }

  .services-detailed-grid,
  .technologies-categories {
    grid-template-columns: 1fr;
  }

  .tech-items {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  }

  .process-step {
    flex-direction: column;
    text-align: center;
  }

  .process-step::after {
    display: none;
  }

  .step-number {
    margin: 0 auto 20px;
  }

  .contact-info-grid {
    grid-template-columns: 1fr;
  }

  /* Desativar cursor personalizado em dispositivos móveis */
  .custom-cursor {
    display: none;
  }

  body {
    cursor: auto;
  }
}

/*--------------------------------------------------------------
# Projeto Individual - Styles
--------------------------------------------------------------*/
.project-hero {
  padding: 80px 0 60px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a237e 100%);
  position: relative;
  overflow: hidden;
  margin-top: 80px; /* Ajuste para a navbar fixa */
}

/* Garantir que os textos sejam brancos na seção hero */
.project-hero .text-light,
.project-hero p,
.project-hero .lead {
  color: #ffffff !important;
}

.text-white {
  color: #ffffff !important;
}

.bg-primary {
  background-color: var(--primary-color) !important;
}

.bg-primary h1, .bg-primary h2, .bg-primary h3, .bg-primary h4, .bg-primary h5, .bg-primary h6, 
.bg-primary p, .bg-primary span, .bg-primary div, .bg-primary a:not(.btn), .bg-primary li {
  color: #ffffff;
}

.bg-light {
  background-color: #f8f9fa !important;
}

.text-dark {
  color: #333 !important;
}

.project-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='rgba(255,255,255,0.05)' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.3;
}

.bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--primary-color);
  z-index: 1;
}

.opacity-90 {
  opacity: 0.9;
}

.project-hero .container {
  position: relative;
  z-index: 2;
}

/* Estilização da onda na parte inferior do hero */
.wave-shape-bottom {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  width: 100%;
  line-height: 0;
  z-index: 2;
  overflow: hidden;
}

.wave-shape-bottom svg {
  display: block;
  width: calc(100% + 1.3px);
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  height: 70px;
}

.project-hero-image {
  position: relative;
  z-index: 2;
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
  transition: transform 0.6s ease;
}

.project-hero-image:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.project-image-frame {
  position: relative;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  overflow: hidden;
}

.project-image-frame:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.project-thumbnail {
  transition: transform 0.6s ease;
}

.project-image-frame:hover .project-thumbnail {
  transform: scale(1.03);
}

.wave-shape-bottom {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
  z-index: 2;
}

/* Section Titles */
.section-title {
  position: relative;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  margin-bottom: 2rem;
  font-family: var(--font-primary);
  font-size: 1.75rem;
  padding-bottom: 1rem;
}

.bg-primary-subtle {
  background-color: rgba(9, 21, 79, 0.1);
  color: var(--primary-color);
}

.title-underline {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--primary-color);
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Content Cards */
.content-card {
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.content-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover) !important;
}

/* Project Description */
.project-description {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-color) !important;
  white-space: pre-line;
}

/* Project Details List */
.project-details-list li {
  display: flex;
  flex-direction: column;
  padding: 0.5rem 0;
}

.project-details-list strong {
  color: var(--text-color);
  font-weight: 600;
  margin-top: 0.25rem;
}

/* Badge Styles */
.badge {
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: capitalize;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.badge.bg-light {
  background-color: #f8f9fa !important;
  color: #495057 !important;
  border: 1px solid #e9ecef;
}

.badge.bg-primary {
  background-color: var(--primary-color) !important;
}

.badge.bg-secondary {
  background-color: var(--secondary-color) !important;
}

.rounded-pill {
  border-radius: 50rem !important;
}

.rounded-3 {
  border-radius: 0.5rem !important;
}

.rounded-4 {
  border-radius: 0.75rem !important;
}

/* Fix for Bootstrap utility classes */
.justify-content-lg-start {
  justify-content: flex-start !important;
}

.justify-content-center {
  justify-content: center !important;
}

.text-lg-start {
  text-align: left !important;
}

.text-center {
  text-align: center !important;
}

.gap-2 {
  gap: 0.5rem !important;
}

.flex-wrap {
  flex-wrap: wrap !important;
}

.d-flex {
  display: flex !important;
}

.py-2 {
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
}

.px-3 {
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}

.ms-2 {
  margin-left: 0.5rem !important;
}

.p-4 {
  padding: 1.5rem !important;
}

.p-lg-5 {
  padding: 3rem !important;
}

.mb-4 {
  margin-bottom: 1.5rem !important;
}

.me-2 {
  margin-right: 0.5rem !important;
}

.py-md-5 {
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
}

.g-5 {
  --bs-gutter-x: 3rem;
  --bs-gutter-y: 3rem;
}

/* Project Buttons */
.btn-outline-light {
  color: #fff;
  border-color: #fff;
}

.btn-outline-light:hover {
  color: var(--primary-color);
  background-color: #fff;
  border-color: #fff;
}

/* Enhanced hover effects */
.project-hero-image:hover .project-image-frame {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Fix for project preview image */
.project-preview img {
  max-width: 100%;
  height: auto;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.6s ease, box-shadow 0.6s ease;
}

.project-preview img:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Responsive Adjustments */
@media (max-width: 991px) {
  .project-hero-image {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
    max-width: 80%;
    margin: 0 auto;
  }
  
  .project-hero .container {
    padding-top: 20px;
    padding-bottom: 40px;
  }
  
  .display-4 {
    font-size: 2.5rem;
  }
  
  .row.g-5 {
    --bs-gutter-x: 2rem;
    --bs-gutter-y: 2rem;
  }
  
  .col-lg-8,
  .col-lg-4 {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .project-hero {
    padding: 50px 0 30px;
    text-align: center;
    margin-top: 60px; /* Menor margem top para mobile */
  }
  
  .project-hero-image {
    max-width: 90%;
    margin: 20px auto 0;
  }
  
  .display-4 {
    font-size: 2rem;
  }
  
  .lead {
    font-size: 1rem;
  }
  
  .badge {
    font-size: 0.75rem;
  }
  
  .d-inline-block.mb-3 {
    margin-bottom: 1rem !important;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .title-underline {
    width: 60px;
  }
  
  .p-4 {
    padding: 1rem !important;
  }
  
  .p-lg-5 {
    padding: 1.5rem !important;
  }
  
  .wave-shape-bottom svg {
    height: 50px;
  }
}

@media (max-width: 576px) {
  .container {
    max-width: 100%;
  }

  .hero {
    padding: 120px 0 60px;
  }

  .hero-content h1 {
    font-size: 30px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .section-header h2 {
    font-size: 26px;
  }

  .portfolio-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .timeline-content {
    width: 100%;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

.d-none {
  display: none !important;
}
