/* ==========================================================================
   JOÃO PEDRO TIL - PERSONAL SITE
   Core Stylesheet & Premium Dark Theme Configuration
   ========================================================================== */

/* Font imports */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* Colors - Sophisticated Dark theme specs */
  --bg-dark: #050505;
  --bg-card: rgba(255, 255, 255, 0.02);
  --bg-card-hover: rgba(255, 255, 255, 0.05);
  --accent-blue: #2563eb;
  --accent-blue-hover: #1d4ed8;
  --accent-cyan: #3b82f6;
  --accent-gradient: linear-gradient(135deg, #1e40af 0%, #2563eb 50%, #3b82f6 100%);
  --accent-glow: rgba(37, 99, 235, 0.12);
  
  /* Text */
  --text-primary: #ffffff;
  --text-secondary: #a1a1aa; /* Zinc 400 */
  --text-muted: #71717a; /* Zinc 500 */
  
  /* Borders & Shadows */
  --border-color: rgba(255, 255, 255, 0.06);
  --border-color-hover: rgba(255, 255, 255, 0.12);
  --glass-bg: rgba(5, 5, 5, 0.8);
  --shadow-sm: 0 2px 8px -2px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 10px 30px -10px rgba(0, 0, 0, 0.8);
  --card-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  
  /* Layout */
  --header-height: 80px;
  --max-width: 1280px;
}

/* Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text-primary);
  background-color: var(--bg-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  line-height: 1.6;
}

/* Scroll Progress Bar */
.scroll-progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: transparent;
  z-index: 1001;
}

.scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--accent-gradient);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: #1f2937;
  border-radius: 5px;
  border: 2px solid var(--bg-dark);
}

::-webkit-scrollbar-thumb:hover {
  background: #374151;
}

/* Elegant Typography */
h1, h2, h3, h4, .font-display {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2.25rem;
  line-height: 1.25;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  position: relative;
}

/* Section Header styling */
.section-header {
  max-width: 650px;
  margin-bottom: 4rem;
}

.section-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  letter-spacing: 0.2em;
  font-weight: 700;
}

.section-tag::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1px;
  background-color: var(--accent-blue);
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

.section {
  padding: 8rem 0;
  position: relative;
}

/* Decorative Glow Backgrounds */
.ambient-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, rgba(0,0,0,0) 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: transparent;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
  border-bottom: 1px solid transparent;
}

header.scrolled {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  height: 70px;
  box-shadow: var(--shadow-sm);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo-link {
  text-decoration: none;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.925rem;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gradient);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--text-primary);
}

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

/* Mobile Nav Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1010;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
}

.hero-subtitle {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.95rem;
  color: var(--accent-cyan);
  font-weight: 500;
  margin-bottom: 1.25rem;
  letter-spacing: 0.1em;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 2rem;
  letter-spacing: -0.03em;
}

.hero-title span {
  display: block;
}

.hero-title .glow-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-quote {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  padding-left: 1.5rem;
  border-left: 3px solid var(--accent-blue);
  font-style: italic;
  font-weight: 400;
}

.button-group {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}

/* Button Styling */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-radius: 9999px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1.5px solid transparent;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #ffffff;
  box-shadow: 0 10px 25px -10px rgba(37, 99, 235, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px -8px rgba(37, 99, 235, 0.6);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-color);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border-color-hover);
  transform: translateY(-3px);
}

/* Image Showcase styling */
.hero-image-wrapper {
  position: relative;
  width: 100%;
}

.hero-image-container {
  position: relative;
  width: 100%;
  padding-bottom: 125%; /* Golden-aspect ratio box */
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  background-color: var(--bg-card);
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-image-container:hover .hero-image {
  transform: scale(1.05);
}

/* Ambient shadow behind the image */
.hero-image-glow {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 20px;
  left: 20px;
  background: var(--accent-gradient);
  mix-blend-mode: color-dodge;
  filter: blur(40px);
  opacity: 0.15;
  border-radius: 24px;
  z-index: -1;
  pointer-events: none;
}

/* About Section ("Quem Sou Eu") */
.about-section {
  background-color: rgba(17, 24, 39, 0.4);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6rem;
  align-items: center;
}

.about-intro-image-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.intro-stat-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 2.25rem 1.75rem;
  border-radius: 20px;
  text-align: center;
  transition: border-color 0.3s ease, transform 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.intro-stat-card:hover {
  border-color: var(--border-color-hover);
  transform: translateY(-4px);
}

.intro-stat-card .icon-holder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: radial-gradient(135deg, rgba(3b, 132, 246, 0.15) 0%, rgba(3b, 132, 246, 0.02) 100%);
  border: 1px solid rgba(59, 130, 246, 0.25);
  color: var(--accent-cyan);
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.1);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.intro-stat-card:hover .icon-holder {
  background: var(--accent-gradient);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
}

.intro-stat-card h4 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.intro-stat-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.about-text-content p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.about-text-content p:last-child {
  margin-bottom: 0;
}

/* Timeline ("Minha História") */
.timeline-section {
  position: relative;
}

.timeline-info-split {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
}

.timeline-static-content {
  position: sticky;
  top: 120px;
  height: fit-content;
}

.timeline-static-content p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.timeline-wrapper {
  position: relative;
  padding-left: 2.5rem;
}

.timeline-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 3px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-blue) 0%, rgba(37, 99, 235, 0.1) 100%);
}

.timeline-item {
  position: relative;
  margin-bottom: 3.5rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: -2.5rem;
  top: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.timeline-marker-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
  border: 2px solid var(--bg-dark);
  transition: all 0.3s ease;
}

.timeline-item:hover .timeline-marker-dot {
  transform: scale(1.3);
  background: #ffffff;
  box-shadow: 0 0 15px #ffffff;
}

.timeline-content-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 1.75rem 2rem;
  border-radius: 20px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--card-shadow);
}

.timeline-content-card:hover {
  border-color: var(--border-color-hover);
  transform: translateX(6px);
}

.timeline-item-title {
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.timeline-item-title i {
  color: var(--accent-cyan);
}

.timeline-item-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Grid Cards Section ("O Que Você Vai Encontrar Aqui") */
.grid-section {
  background-color: rgba(17, 24, 39, 0.4);
}

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

.modern-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.modern-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(800px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(255, 255, 255, 0.04), transparent 40%);
  z-index: 1;
  pointer-events: none;
}

.modern-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
}

.card-icon-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--accent-blue);
  margin-bottom: 1.75rem;
  transition: all 0.3s ease;
}

.modern-card:hover .card-icon-container {
  background: var(--accent-gradient);
  color: #ffffff;
  transform: scale(1.05);
}

.card-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
}

/* Company Section ("Sobre a Empresa") */
.company-section {
  overflow: hidden;
}

.company-card {
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.8) 0%, rgba(10, 15, 30, 0.9) 100%);
  border: 1px solid var(--border-color);
  border-radius: 32px;
  padding: 5rem;
  position: relative;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.company-card-glow {
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, rgba(0,0,0,0) 70%);
  pointer-events: none;
}

.company-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.company-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.2);
  color: var(--accent-cyan);
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.company-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.company-text {
  color: var(--text-secondary);
  font-size: 1.25rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.company-services-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.service-list-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 1rem;
}

.service-list-item i {
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.company-visual-holder {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
}

.company-circle-badge {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  box-shadow: var(--shadow-lg);
  padding: 2rem;
  position: relative;
  z-index: 2;
  transition: transform 0.4s ease, border-color 0.4s ease;
}

.company-circle-badge:hover {
  transform: scale(1.05);
  border-color: var(--accent-blue);
}

.company-circle-badge .logo-main-icon {
  width: 72px;
  height: 72px;
  background: var(--accent-gradient);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

.company-circle-badge h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.company-circle-badge p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.circle-decor-radial {
  position: absolute;
  width: 360px;
  height: 360px;
  border: 1px dashed rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  z-index: 1;
  animation: rotateCircle 60s linear infinite;
  pointer-events: none;
}

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

/* Call to Action (Chamada Final) */
.cta-section {
  position: relative;
}

.cta-box {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(6, 182, 212, 0.05) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 32px;
  padding: 6rem 4rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.08) 0%, transparent 60%);
  top: -50px;
  left: -50px;
  pointer-events: none;
}

.cta-box::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 60%);
  bottom: -50px;
  right: -50px;
  pointer-events: none;
}

.cta-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
}

.cta-text {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 3rem auto;
  line-height: 1.7;
}

.whatsapp-large-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  background-color: #25d366;
  color: #fff;
  border-radius: 9999px;
  padding: 1.2em 2.8em;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  box-shadow: 0 15px 35px -10px rgba(37, 211, 102, 0.4);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
}

.whatsapp-large-btn:hover {
  transform: translateY(-5px) scale(1.02);
  background-color: #22c35e;
  box-shadow: 0 20px 40px -8px rgba(37, 211, 102, 0.6);
}

/* Floating WhatsApp Widget */
.floating-whatsapp {
  position: fixed;
  bottom: 2.5rem;
  right: 2.5rem;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: rgba(17, 24, 39, 0.85); /* Glass dark style matching theme */
  border: 1.5px solid #25d366; /* WhatsApp brand green outline */
  color: #25d366; /* Bright icon */
  border-radius: 50%;
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.25);
  text-decoration: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-whatsapp::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1.5px dashed rgba(37, 211, 102, 0.4);
  top: 0;
  left: 0;
  animation: pulse-ring 4s linear infinite;
  z-index: -1;
  opacity: 0.7;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95) rotate(0deg); opacity: 0.8; }
  50% { transform: scale(1.25) rotate(180deg); opacity: 0.4; }
  100% { transform: scale(1.4) rotate(360deg); opacity: 0; }
}

.floating-whatsapp:hover {
  transform: translateY(-5px) scale(1.08);
  background: var(--accent-gradient); /* Premium theme gradient fill on hover */
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
  box-shadow: 0 15px 35px rgba(37, 99, 235, 0.45);
}

/* Footer (Rodapé) */
footer {
  border-top: 1px solid var(--border-color);
  background-color: #060a10;
  padding: 4.5rem 0 3rem 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand {
  max-width: 480px;
}

.footer-brand .logo-link {
  margin-bottom: 1.25rem;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-contact-info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-contact-heading {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.footer-contact-item i {
  color: var(--accent-cyan);
}

.footer-contact-item a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-scroll-top-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.footer-scroll-top-btn:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
  border-color: var(--border-color-hover);
  transform: translateY(-2px);
}

/* Transitions & Animating Classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger reveals */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }

/* Responsive adjustments */
@media (max-width: 1024px) {
  h2 {
    font-size: 2rem;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-grid {
    gap: 2.5rem;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  
  .about-intro-image-container {
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
  }
  
  .timeline-info-split {
    grid-template-columns: 1fr;
  }
  
  .timeline-static-content {
    position: relative;
    top: 0;
    margin-bottom: 2rem;
  }
  
  .grid-cards-layout {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }
  
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  
  .section {
    padding: 4.5rem 0;
    overflow: hidden; /* Strict container clipping to prevent absolute items overflow */
  }
  
  .hero-section {
    padding-top: 100px;
    padding-bottom: 3.5rem;
    min-height: auto;
    overflow: hidden;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
    width: 100%;
  }
  
  .hero-content {
    align-items: center;
  }
  
  .hero-title {
    font-size: 2.75rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    width: 100%;
  }
  
  .hero-quote {
    border-left: none;
    border-top: 1.5px solid var(--accent-blue);
    border-bottom: 1.5px solid var(--accent-blue);
    padding: 1.25rem 0.5rem;
    margin-top: 1rem;
    margin-bottom: 2.25rem;
    font-size: 1.125rem;
    max-width: 480px;
  }
  
  .button-group {
    justify-content: center;
    width: 100%;
    gap: 1rem;
  }
  
  .hero-image-wrapper {
    max-width: 320px;
    margin: 0 auto;
  }
  
  .grid-cards-layout {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  
  .company-card {
    padding: 2.5rem 1.5rem;
    border-radius: 24px;
    overflow: hidden;
  }
  
  .company-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    width: 100%;
  }
  
  .company-visual-holder {
    order: -1;
    overflow: hidden;
    padding: 1rem 0;
  }
  
  .company-title {
    font-size: 2rem;
  }
  
  .company-text {
    font-size: 1.1rem;
    margin-bottom: 1.75rem;
  }
  
  .company-services-list {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2.25rem;
  }
  
  .cta-box {
    padding: 3rem 1.25rem;
    border-radius: 24px;
  }
  
  .cta-title {
    font-size: 2.25rem;
  }
  
  .cta-text {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }
  
  .whatsapp-large-btn {
    padding: 1rem 1.75rem;
    font-size: 1rem;
    width: 100%;
    justify-content: center;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-brand {
    max-width: 100%;
  }
  
  /* Mobile header overlay */
  .mobile-toggle {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    max-width: 85%;
    height: 100vh;
    background-color: #050505;
    border-left: 1px solid var(--border-color);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    padding: 4rem 2rem;
    box-shadow: -15px 0 35px rgba(0,0,0,0.9);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1005;
  }
  
  .nav-links.active {
    transform: translateX(0);
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .section-header {
    margin-bottom: 2.5rem;
  }
  
  .hero-title {
    font-size: 2.25rem;
  }
  
  .hero-subtitle {
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
  }
  
  .button-group {
    flex-direction: column;
    align-items: stretch;
  }
  
  .btn {
    width: 100%;
    padding: 0.875rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .about-intro-image-container {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .intro-stat-card {
    padding: 1.75rem 1.25rem;
    border-radius: 16px;
  }
  
  .about-text-content p {
    font-size: 1rem;
    line-height: 1.75;
  }
  
  .timeline-wrapper {
    padding-left: 1.5rem;
  }
  
  .timeline-marker {
    left: -1.5rem;
  }
  
  .timeline-content-card {
    padding: 1.25rem 1.15rem;
    border-radius: 16px;
  }
  
  .timeline-item-title {
    font-size: 1.1rem;
  }
  
  .timeline-item-text {
    font-size: 0.875rem;
  }
  
  .company-circle-badge {
    width: 220px;
    height: 220px;
    padding: 1rem;
    border-radius: 50%;
  }
  
  .company-circle-badge h4 {
    font-size: 1.1rem;
  }
  
  .company-circle-badge p {
    font-size: 0.75rem;
  }
  
  .company-circle-badge .logo-main-icon {
    width: 54px;
    height: 54px;
    margin-bottom: 0.75rem;
  }
  
  .circle-decor-radial {
    width: 270px;
    height: 270px;
  }
  
  .company-card {
    padding: 2rem 1.15rem;
    border-radius: 18px;
  }
  
  .company-title {
    font-size: 1.75rem;
  }
  
  .company-text {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }
  
  .cta-box {
    padding: 2.5rem 1rem;
    border-radius: 18px;
  }
  
  .cta-title {
    font-size: 1.75rem;
  }
  
  .cta-text {
    font-size: 1rem;
    margin-bottom: 1.75rem;
  }
  
  /* Make floating Whatsapp more elegant, beautiful and compact on mobile */
  .floating-whatsapp {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 52px;
    height: 52px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
    border-width: 1px;
  }
  
  .floating-whatsapp::after {
    border-width: 1px;
  }
  
  .floating-whatsapp .lucide,
  .floating-whatsapp svg.lucide {
    width: 1.5rem;
    height: 1.5rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* ==========================================================================
   Lucide Icons Global Polishing & Perfect Size Enhancements
   ========================================================================== */
.lucide, svg.lucide {
  stroke-width: 2px !important;
  width: 1.25rem;
  height: 1.25rem;
  display: inline-block;
  vertical-align: middle;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), stroke 0.3s ease;
}

/* Specific Sizes for Different Sections */
.intro-stat-card .icon-holder .lucide,
.intro-stat-card .icon-holder svg.lucide {
  width: 1.5rem;
  height: 1.5rem;
  stroke-width: 2px !important;
}

.intro-stat-card:hover .icon-holder .lucide {
  transform: scale(1.15) rotate(5deg);
  stroke: var(--text-primary);
}

.card-icon-container .lucide,
.card-icon-container svg.lucide {
  width: 1.7rem;
  height: 1.7rem;
  stroke-width: 1.75px !important;
}

.modern-card:hover .card-icon-container .lucide {
  transform: scale(1.1) rotate(-3deg);
}

.btn .lucide,
.btn svg.lucide {
  width: 1.15rem;
  height: 1.15rem;
  stroke-width: 2px !important;
}

.btn:hover .lucide {
  transform: translateX(2px);
}

#btnHeroWhatsapp:hover .lucide {
  transform: scale(1.1) rotate(10deg);
}

.timeline-item-title .lucide,
.timeline-item-title svg.lucide {
  width: 1.25rem;
  height: 1.25rem;
  stroke-width: 2px !important;
}

.timeline-content-card:hover .timeline-item-title .lucide {
  transform: scale(1.15);
  color: #ffffff;
}

.service-list-item .lucide,
.service-list-item svg.lucide {
  width: 1.2rem;
  height: 1.2rem;
  stroke-width: 2.25px !important;
}

.service-list-item:hover .lucide {
  transform: scale(1.15);
}

.whatsapp-large-btn .lucide,
.whatsapp-large-btn svg.lucide {
  width: 1.5rem;
  height: 1.5rem;
  stroke-width: 2px !important;
}

.whatsapp-large-btn:hover .lucide {
  animation: wiggle 0.5s ease-in-out infinite alternate;
}

.floating-whatsapp .lucide,
.floating-whatsapp svg.lucide {
  width: 2rem;
  height: 2rem;
  stroke-width: 2px !important;
}

.logo-main-icon .lucide,
.logo-main-icon svg.lucide {
  width: 2.25rem;
  height: 2.25rem;
  stroke-width: 1.75px !important;
}

.company-circle-badge:hover .logo-main-icon .lucide {
  transform: scale(1.1) rotate(15deg);
}

@keyframes wiggle {
  0% { transform: rotate(-8deg); }
  100% { transform: rotate(8deg); }
}

/* Custom Additions for Perfect Copy and Premium Appeal */
.hero-role-desc {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.25rem;
  color: var(--accent-cyan);
  margin-top: -1rem;
  margin-bottom: 2rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-secondary-text {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 580px;
  margin-bottom: 3.5rem;
  font-style: normal;
}

/* Impact Quote Section Styles */
.impact-quote-section {
  background: radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.1) 0%, rgba(5, 5, 5, 0.95) 100%), #030303;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

.impact-quote-box {
  max-width: 850px;
  margin: 0 auto;
  position: relative;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.quote-mark {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 6rem;
  line-height: 1;
  color: var(--accent-blue);
  opacity: 0.25;
  height: 3rem;
  display: block;
}

.impact-quote-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.25rem;
  font-weight: 600;
  line-height: 1.45;
  color: #ffffff;
  margin-bottom: 2rem;
  font-style: italic;
  letter-spacing: -0.01em;
}

.quote-author {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

/* Extra Responsive Tuning for Small Screen Viewports (iPhones) */
@media (max-width: 768px) {
  .hero-role-desc {
    font-size: 1.05rem;
    margin-top: -0.5rem;
    margin-bottom: 1.750rem;
    line-height: 1.4;
  }
  
  .hero-secondary-text {
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
    padding: 0 1rem;
  }
  
  .impact-quote-section {
    padding: 5rem 0;
  }
  
  .impact-quote-text {
    font-size: 1.65rem;
    line-height: 1.4;
    margin-bottom: 1.5rem;
  }
  
  .quote-mark {
    font-size: 4.5rem;
    height: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-role-desc {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }
  
  .hero-secondary-text {
    font-size: 0.95rem;
    margin-bottom: 2.25rem;
    padding: 0;
  }
  
  .impact-quote-text {
    font-size: 1.35rem;
    line-height: 1.45;
  }
  
  .quote-mark {
    font-size: 3.5rem;
    height: 1.5rem;
  }
}


