/* Modern Professional Theme for Dualbit */
:root {
  --primary-color: #6a0dad;
  --secondary-color: #4b0082;
  --accent-color: #9370db;
  --success-color: #32cd32;
  --dark-color: #0f0f11;
  --light-color: #1a1a1d;
  --text-dark: #ffffff;
  --text-light: #b0b0b5;
  --border-color: #2a2a2d;
  --gradient-primary: linear-gradient(135deg, #6a0dad 0%, #9370db 50%, #4b0082 100%);
  --gradient-dark: linear-gradient(135deg, #0f0f11 0%, #1a1a1d 100%);
  --gradient-tech: linear-gradient(45deg, #9370db, #6a0dad, #4b0082, #2a0a4a);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.4);
  --border-radius: 12px;
  --border-radius-lg: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Critical CSS for above-the-fold content */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-light);
  background-color: var(--dark-color);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
  line-height: 1.7;
  color: var(--text-light);
}

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

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

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

/* Section Styling */
.section-subtitle {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
  position: relative;
  display: inline-block;
}

.section-subtitle::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
  line-height: 1.1;
}

.section-description {
  font-size: 1.125rem;
  color: var(--text-light);
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.section-description + .achievement-list {
  margin-top: 2rem;
}

/* Button Styles */
.btn {
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--border-radius);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
  will-change: transform;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

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

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-lg);
  border: 2px solid transparent;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
  color: white;
  background: var(--gradient-dark);
  border: 2px solid var(--accent-color);
}

.btn-outline-light {
  border: 2px solid rgba(255,255,255,0.3);
  color: white;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
}

.btn-outline-light:hover {
  background: rgba(106, 13, 173, 0.3);
  border-color: var(--accent-color);
  color: white;
  transform: translateY(-2px);
}

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

.btn-outline-primary:hover {
  background: var(--gradient-primary);
  color: white;
  transform: translateY(-2px);
  border: 2px solid transparent;
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1.125rem;
}

/* Navigation */
#mainNav {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(20px);
  transition: var(--transition);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  will-change: scroll-position;
}

#mainNav.navbar-scrolled {
  background: rgba(15, 23, 42, 0.98);
  box-shadow: var(--shadow-lg);
}

.navbar-logo {
  max-height: 45px;
  width: auto;
  transition: var(--transition);
  will-change: transform;
}

.navbar-logo:hover {
  transform: scale(1.05);
}

.navbar-nav .nav-link {
  color: rgba(255,255,255,0.8) !important;
  font-weight: 500;
  padding: 0.75rem 1.25rem !important;
  transition: var(--transition);
  position: relative;
}

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

.navbar-nav .nav-link:hover {
  color: var(--accent-color) !important;
}

.navbar-nav .nav-link:hover::after {
  width: 80%;
}

/* Special styling for Transformação Digital link */
.navbar-nav .nav-link.digital-transformation {
  background: var(--gradient-primary);
  color: white !important;
  border-radius: 50px;
  margin-left: 10px;
  font-weight: 600;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.navbar-nav .nav-link.digital-transformation::after {
  display: none;
}

.navbar-nav .nav-link.digital-transformation:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  color: white !important;
}

.navbar-nav .nav-link.digital-transformation::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.navbar-nav .nav-link.digital-transformation:hover::before {
  left: 100%;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: var(--gradient-dark);
  color: white;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  contain: layout style paint;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(106, 13, 173, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(147, 112, 219, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(75, 0, 130, 0.2) 0%, transparent 50%);
  animation: gradientShift 10s ease-in-out infinite;
  will-change: opacity;
}

@keyframes gradientShift {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

.hero-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23333333" stroke-width="0.5" opacity="0.4"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 3;
  contain: layout style;
}

.company-logo {
  margin-bottom: 2rem;
  contain: layout;
}

.hero-logo {
  max-width: 280px;
  height: auto;
  filter: drop-shadow(0 4px 20px rgba(0,0,0,0.3));
  animation: logoFloat 6s ease-in-out infinite;
  will-change: transform;
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.security-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.4);
  padding: 12px 20px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-color);
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
  transition: var(--transition);
  will-change: transform;
}

.security-badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: titleGlow 3s ease-in-out infinite alternate;
  will-change: filter;
}

@keyframes titleGlow {
  from { filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.3)); }
  to { filter: drop-shadow(0 0 30px rgba(59, 130, 246, 0.5)); }
}

.hero-subtitle {
  font-size: 1.375rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 3rem;
  max-width: 600px;
  line-height: 1.6;
  font-weight: 400;
  margin-left: auto;
  margin-right: auto;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
  contain: layout;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background: rgba(255,255,255,0.05);
  border-radius: var(--border-radius);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  transition: var(--transition);
  will-change: transform;
}

.stat-item:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,0.1);
  box-shadow: var(--shadow-lg);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-tech);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 3rem;
}

.hero-image {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  contain: layout;
}

.code-animation {
  position: relative;
  width: 350px;
  height: 250px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 30px;
  backdrop-filter: blur(20px);
  overflow: hidden;
  contain: layout;
}

.code-animation::before {
  content: '● ● ●';
  position: absolute;
  top: 15px;
  left: 20px;
  color: rgba(255,255,255,0.6);
  font-size: 1.5rem;
}

.code-line {
  height: 24px;
  background: var(--gradient-tech);
  margin-bottom: 18px;
  border-radius: 6px;
  animation: codeTyping 4s ease-in-out infinite;
  position: relative;
  overflow: hidden;
  will-change: transform, opacity;
}

.code-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: codeShine 2s linear infinite;
}

.code-line:nth-child(1) { width: 85%; animation-delay: 0s; }
.code-line:nth-child(2) { width: 70%; animation-delay: 0.5s; }
.code-line:nth-child(3) { width: 95%; animation-delay: 1s; }
.code-line:nth-child(4) { width: 60%; animation-delay: 1.5s; }

@keyframes codeTyping {
  0%, 100% { opacity: 0.6; transform: scaleX(0.8); }
  50% { opacity: 1; transform: scaleX(1); }
}

@keyframes codeShine {
  0% { left: -100%; }
  100% { left: 100%; }
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
  z-index: 3;
  will-change: transform;
}

.scroll-indicator a {
  color: rgba(255,255,255,0.7);
  font-size: 1.5rem;
  transition: var(--transition);
  padding: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
}

.scroll-indicator a:hover {
  color: var(--accent-color);
  background: rgba(255,255,255,0.2);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-15px); }
  60% { transform: translateX(-50%) translateY(-7px); }
}

/* About Section */
.about-section {
  padding: 120px 0;
  background: var(--light-color);
  contain: layout style;
}

.about-section:first-of-type {
  padding-top: 80px;
}

.about-content {
  padding-right: 2rem;
  contain: layout;
}

.achievement-list {
  margin-top: 2rem;
  contain: layout;
}

.achievement-list + .achievement-list {
  margin-top: 3rem;
}

.achievement-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  background: rgba(30, 30, 33, 0.7);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border-left: 4px solid var(--accent-color);
  will-change: transform;
}

.achievement-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.achievement-item i {
  color: var(--accent-color);
  font-size: 1.5rem;
  margin-top: 0.25rem;
}

.achievement-item h5 {
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.achievement-item p {
  color: var(--text-light);
  margin: 0;
  font-size: 0.9rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  contain: layout;
}

.stat-card {
  background: rgba(30, 30, 33, 0.7);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: var(--transition);
  border-top: 4px solid var(--accent-color);
  position: relative;
  overflow: hidden;
  will-change: transform;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.stat-card:hover::before {
  opacity: 0.05;
}

.stat-icon {
  font-size: 3rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.stat-content h3 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}

.stat-content p {
  color: var(--text-light);
  margin: 0;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

/* Services Section */
.services-section {
  padding: 120px 0;
  background: var(--light-color);
  contain: layout style;
}

.services-section:first-of-type {
  padding-top: 80px;
}

.service-cards {
  margin-top: 4rem;
  contain: layout;
}

.service-cards .row {
  /* Using Bootstrap default spacing */
}

.service-card {
  background: rgba(30, 30, 33, 0.7);
  padding: 3rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border-top: 5px solid var(--accent-color);
  height: 100%;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
  will-change: transform;
  /* Using Bootstrap default margin */
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: var(--transition);
}

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

.service-card:hover::before {
  opacity: 0.03;
}

.service-icon {
  font-size: 3.5rem;
  background: var(--gradient-primary);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.service-card h4 {
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-size: 1.375rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.service-card p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
  z-index: 1;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: var(--text-light);
  font-size: 0.95rem;
  font-weight: 500;
}

.service-features i {
  color: var(--success-color);
  font-size: 0.875rem;
}

/* Skills Section */
.skills-section {
  padding: 120px 0;
  background: var(--light-color);
  contain: layout style;
}

.skill-group {
  margin-top: 2rem;
}

.skill-item {
  margin-bottom: 1.5rem;
}

.skill-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.skill-info span:last-child {
  color: var(--primary-color);
  font-weight: 700;
}

.skill-bar {
  height: 10px;
  background: rgba(15, 23, 42, 0.1);
  border-radius: 5px;
  overflow: hidden;
}

.skill-progress {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 5px;
  width: 0;
  transition: width 2s ease-in-out;
}

.certifications {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.cert-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(30, 30, 33, 0.7);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.cert-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.cert-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
}

/* Experience Section */
.experience-section {
  padding: 120px 0;
  background: var(--light-color);
  contain: layout style;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 3rem auto 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--gradient-primary);
  left: 50%;
  margin-left: -2px;
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  width: 100%;
}

.timeline-marker {
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--primary-color);
  border: 4px solid white;
  border-radius: 50%;
  left: 50%;
  margin-left: -10px;
  top: 20px;
  box-shadow: var(--shadow-lg);
  z-index: 1;
}

.timeline-content {
  width: calc(50% - 40px);
  background: rgba(30, 30, 33, 0.7);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  position: relative;
}

.timeline-content::before {
  content: '';
  position: absolute;
  top: 25px;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

.timeline-item:nth-child(odd) .timeline-content {
  left: calc(50% + 40px);
}

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

.timeline-item:nth-child(even) .timeline-content {
  left: 0;
}

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

.timeline-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.timeline-header h4 {
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.company {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 600;
  margin-right: 1rem;
}

.period {
  display: inline-block;
  background: rgba(30, 64, 175, 0.1);
  color: var(--primary-color);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
}

.achievements ul {
  padding-left: 1.5rem;
  margin: 1rem 0 0;
}

.achievements li {
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

/* Contact Section */
.contact-section {
  padding: 120px 0;
  background: var(--light-color);
  contain: layout style;
}

.contact-section:first-of-type {
  padding-top: 80px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  gap: 1.5rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: white;
  flex-shrink: 0;
}

.contact-details h5 {
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.contact-details p {
  color: var(--text-light);
  margin: 0;
}

.contact-details a {
  color: var(--text-light);
  font-weight: 500;
}

.contact-details a:hover {
  color: var(--primary-color);
}

.contact-form {
  background: rgba(30, 30, 33, 0.7);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  margin-top: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-control {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  transition: var(--transition);
  background-color: rgba(30, 30, 33, 0.7);
  color: var(--text-light);
}

.form-control:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(106, 13, 173, 0.3);
  outline: none;
}

.form-check {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.form-check-input {
  width: 18px;
  height: 18px;
  accent-color: var(--primary-color);
}

.form-check-label {
  color: var(--text-light);
  font-weight: 500;
}

select.form-control {
  background-color: rgba(30, 30, 33, 0.7);
  color: var(--text-light);
  border: 1px solid var(--border-color);
}

select.form-control option {
  background-color: var(--dark-color);
  color: var(--text-light);
}

/* Footer */
.footer {
  background: var(--gradient-dark);
  color: white;
  padding: 4rem 0 2rem;
  contain: layout style;
}

.footer-heading {
  color: white;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  border-radius: 2px;
}

.footer-links-list a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.95rem;
  display: block;
}

.footer-links-list a:hover {
  color: var(--accent-color);
  transform: translateX(5px);
}

.footer-info h4 {
  color: white;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo {
  max-height: 40px;
  width: auto;
}

.footer-info p {
  color: rgba(255,255,255,0.7);
  margin: 0;
  line-height: 1.6;
}

.footer-contact-text {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
}

.footer-contact-text a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: var(--transition);
}

.footer-contact-text a:hover {
  color: var(--accent-color);
}

.copyright {
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* WhatsApp Button */
.whatsapp-button {
  position: fixed;
  visibility: visible;
  opacity: 1;
  right: 30px;
  bottom: 100px;
  z-index: 995;
  background: #25D366;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
  box-shadow: var(--shadow-lg);
  will-change: transform;
}

.whatsapp-button:hover {
  background: #128C7E;
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
  color: white;
}

/* Back to top */
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 30px;
  bottom: 30px;
  z-index: 996;
  background: var(--primary-color);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
  box-shadow: var(--shadow-lg);
  will-change: transform, opacity;
}

.back-to-top:hover {
  background: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
  color: white;
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title { font-size: 2.5rem; }
  .section-title { font-size: 2rem; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .stats-grid { grid-template-columns: 1fr; }
  .social-links { justify-content: center; }
  .hero-logo { max-width: 220px; }
  .about-content { padding-right: 0; margin-bottom: 3rem; }
  .service-card { padding: 2rem; margin: 1.2rem; }
  .about-section, .services-section, .skills-section, .experience-section, .contact-section { padding: 80px 0; }
  
  .timeline::before {
    left: 30px;
  }
  
  .timeline-marker {
    left: 30px;
  }
  
  .timeline-content {
    width: calc(100% - 80px);
    left: 80px !important;
  }
  
  .timeline-content::before {
    left: -10px !important;
    border-right: 10px solid white !important;
    border-left: none !important;
  }
  
  .timeline-item:nth-child(even) .timeline-content {
    left: 80px !important;
  }
  
  .contact-info {
    margin-bottom: 3rem;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .footer-links {
    align-items: center;
    margin-top: 2rem;
  }
  
  .footer-contact {
    align-items: center;
  }
  
  .achievement-list {
    margin-top: 2rem;
  }
  
  .achievement-item {
    margin-bottom: 1rem;
  }
  
  .btn-outline-primary {
    margin-top: 1rem;
  }
  
  .service-cards .row {
    /* Using Bootstrap default spacing */
  }
}

@media (max-width: 576px) {
  .hero-title { font-size: 2rem; }
  .section-title { font-size: 1.75rem; }
  .btn { padding: 12px 24px; font-size: 0.9rem; }
  .btn-lg { padding: 14px 28px; font-size: 1rem; }
  .service-card { padding: 1.5rem; /* Using Bootstrap default margin */ }
  .hero-image { height: 300px; }
  .code-animation { width: 280px; height: 200px; padding: 20px; }
  .hero-stats { grid-template-columns: 1fr; }
  .stat-item { padding: 1rem; }
  .hero-logo { max-width: 180px; }
  .navbar-logo { max-height: 35px; }
  .certifications { grid-template-columns: 1fr; }
  .contact-form { padding: 1.5rem; }
}

/* Focus on SMBs Section */
.about-section.bg-light {
  background: #1a1a1d !important;
}

.about-section.bg-light .section-title {
  color: var(--text-dark);
}

.about-section.bg-light .section-description {
  color: var(--text-light);
}

.about-section.bg-light .achievement-item {
  background: rgba(30, 30, 33, 0.7);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border-left: 4px solid var(--accent-color);
}

.about-section.bg-light .achievement-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.about-section.bg-light .achievement-item i {
  color: var(--accent-color);
}

.about-section.bg-light .achievement-item h5 {
  color: var(--text-dark);
}

.about-section.bg-light .achievement-item p {
  color: var(--text-light);
}
