/* ==========================================================================
   E2GO CSS Style Sheet - 2026 Campaign & Reorganization
   ========================================================================== */

/* Import modern typography from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* Reset and Core Variables */
:root {
  /* Brand Color Palette */
  --primary-blue: #185FA5;
  --primary-blue-rgb: 24, 95, 165;
  --secondary-teal: #0F6E56;
  --secondary-teal-rgb: 15, 110, 86;
  --accent-purple: #534AB7;
  
  /* Neutral Palette */
  --bg-light: #F8F9FA;
  --bg-card: #ffffff;
  --bg-dark: #111827;
  --bg-warm-gray: #F1EFE8;
  --text-dark: #2D3748;
  --text-muted: #718096;
  --text-light: #ffffff;
  --border-color: #E2E8F0;
  
  /* Shadow & Blur (Glassmorphism) */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-premium: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.4);
  --glass-shadow: 0 8px 32px 0 rgba(24, 95, 165, 0.08);
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Layout */
  --container-max-width: 1200px;
  --border-radius-sm: 6px;
  --border-radius-md: 12px;
  --border-radius-lg: 20px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: 80px; /* Space for fixed navbar */
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.25;
  color: var(--bg-dark);
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

h2 {
  font-size: 2rem;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

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

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

ul {
  list-style: none;
}

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

.section {
  padding: 5rem 0;
}

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

.section-dark h2, .section-dark h3 {
  color: var(--text-light);
}

.section-warm {
  background-color: var(--bg-warm-gray);
}

.section-title-wrapper {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--secondary-teal);
  margin-bottom: 0.75rem;
  background-color: rgba(15, 110, 86, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
}

.section-title {
  margin-bottom: 1rem;
}

/* Header & Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background-color: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 1000;
  box-shadow: var(--glass-shadow);
  transition: var(--transition-normal);
}

.navbar-scrolled {
  height: 70px;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-md);
}

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

.nav-brand img {
  height: 46px;
  width: auto;
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary-teal);
  transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--secondary-teal);
}

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

.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--primary-blue);
  color: var(--text-light);
  padding: 0.75rem 1.25rem;
  border-radius: var(--border-radius-md);
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 0 4px 14px rgba(24, 95, 165, 0.3);
  transition: var(--transition-normal);
}

.nav-cta-btn:hover {
  background-color: var(--secondary-teal);
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 110, 86, 0.4);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-dark);
  cursor: pointer;
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: var(--border-radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-normal);
  border: none;
  text-align: center;
}

.btn-primary {
  background-color: var(--primary-blue);
  color: var(--text-light);
  box-shadow: 0 4px 14px rgba(24, 95, 165, 0.3);
}

.btn-primary:hover {
  background-color: var(--secondary-teal);
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 110, 86, 0.4);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-dark);
  border: 2px solid var(--border-color);
}

.btn-secondary:hover {
  background-color: var(--border-color);
  transform: translateY(-2px);
}

.btn-teal {
  background-color: var(--secondary-teal);
  color: var(--text-light);
  box-shadow: 0 4px 14px rgba(15, 110, 86, 0.3);
}

.btn-teal:hover {
  background-color: #0c5744;
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(12, 87, 68, 0.4);
}

.btn-purple {
  background-color: var(--accent-purple);
  color: var(--text-light);
  box-shadow: 0 4px 14px rgba(83, 74, 183, 0.3);
}

.btn-purple:hover {
  background-color: #41379e;
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(65, 55, 158, 0.4);
}

.btn-whatsapp {
  background-color: #25D366;
  color: var(--text-light);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background-color: #20ba59;
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(32, 186, 89, 0.4);
}

.btn-full {
  width: 100%;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(24, 95, 165, 0.05) 0%, rgba(15, 110, 86, 0.05) 100%);
  padding: 4rem 0;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(24, 95, 165, 0.08) 0%, transparent 70%);
  top: -150px;
  right: -150px;
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(15, 110, 86, 0.06) 0%, transparent 70%);
  bottom: -100px;
  left: -100px;
  border-radius: 50%;
  pointer-events: none;
}

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

.hero-content {
  z-index: 10;
}

.hero-title {
  font-size: 3rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero-title span {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text {
  font-size: 1.15rem;
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-img {
  width: 100%;
  max-width: 450px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-premium);
  transition: var(--transition-slow);
  pointer-events: none;
  user-select: none;
}

.hero-img:hover {
  transform: scale(1.02);
}

.hero-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  padding: 1rem 1.5rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 15;
}

.hero-badge-icon {
  font-size: 1.5rem;
  color: var(--secondary-teal);
  animation: pulse 2s infinite;
}

.hero-badge-text {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--bg-dark);
}

/* Key Pillars Section */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.pillar-card {
  background-color: var(--bg-card);
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-blue) 0%, var(--secondary-teal) 100%);
  opacity: 0;
  transition: var(--transition-normal);
}

.pillar-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-premium);
  border-color: rgba(var(--primary-blue-rgb), 0.15);
}

.pillar-card:hover::before {
  opacity: 1;
}

.pillar-icon {
  font-size: 2rem;
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
  background-color: rgba(var(--primary-blue-rgb), 0.08);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  transition: var(--transition-fast);
}

.pillar-card:hover .pillar-icon {
  background-color: var(--secondary-teal);
  color: var(--text-light);
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.service-card {
  display: flex;
  gap: 1.5rem;
  background-color: var(--bg-card);
  padding: 2.25rem;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.service-card:hover {
  border-color: rgba(var(--secondary-teal-rgb), 0.2);
  box-shadow: var(--shadow-lg);
  transform: scale(1.01);
}

.service-icon-wrapper {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background-color: rgba(var(--secondary-teal-rgb), 0.08);
  color: var(--secondary-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 1.4rem;
}

.service-title {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.service-list {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.service-list li i {
  color: var(--secondary-teal);
  font-size: 0.8rem;
}

/* Portfolio Case Study & Gallery */
.case-study-showcase {
  background-color: var(--bg-card);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-premium);
  overflow: hidden;
  margin-bottom: 4rem;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
}

@media (min-width: 1025px) {
  .case-study-showcase.reverse {
    grid-template-columns: 1.2fr 1fr;
  }
  .case-study-showcase.reverse .case-image {
    order: 2;
  }
}

.case-image {
  background-size: cover;
  background-position: center;
  min-height: 350px;
}

.case-content {
  padding: 3.5rem;
}

.case-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary-blue);
  background-color: rgba(var(--primary-blue-rgb), 0.08);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.case-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 1.5rem 0 2rem 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 1.5rem 0;
}

.case-meta-item {
  font-size: 0.9rem;
}

.case-meta-label {
  display: block;
  font-weight: 600;
  color: var(--bg-dark);
  margin-bottom: 0.25rem;
}

.case-meta-value {
  color: var(--text-muted);
}

.portfolio-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4/3;
  cursor: pointer;
}

.gallery-item img,
.gallery-slideshow img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
  pointer-events: none;
  user-select: none;
}

.gallery-slideshow {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.gallery-slideshow .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.gallery-slideshow .slide.active {
  opacity: 1;
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 50%, rgba(var(--primary-blue-rgb), 0.9) 100%);
  opacity: 0;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  transition: var(--transition-normal);
}

.gallery-title {
  color: var(--text-light);
  font-size: 1.05rem;
  transform: translateY(10px);
  transition: var(--transition-normal);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

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

.gallery-item:hover .gallery-title {
  transform: translateY(0);
}

/* Client Logo Infinite Carousel (Marquee) */
.logo-carousel-container {
  overflow: hidden;
  padding: 1rem 0;
  background: white;
  position: relative;
  width: 100%;
}

.logo-carousel-container::before,
.logo-carousel-container::after {
  content: "";
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.logo-carousel-container::before {
  left: 0;
  background: linear-gradient(to right, white 0%, transparent 100%);
}

.logo-carousel-container::after {
  right: 0;
  background: linear-gradient(to left, white 0%, transparent 100%);
}

.logo-track {
  display: flex;
  width: calc(200px * 20); /* 10 logos * 2 para loop infinito */
  animation: scrollMarquee 35s linear infinite; /* Mais lento e elegante */
}

.logo-slide {
  width: 200px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.5rem;
  flex-shrink: 0;
}

.logo-slide img {
  max-width: 130px; /* Largura máxima padronizada um pouco maior */
  max-height: 36px; /* Altura máxima padronizada um pouco maior */
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%) contrast(0.5) brightness(0.2) opacity(0.35); /* Flat dark gray */
  transition: var(--transition-normal);
}

.logo-slide img:hover {
  filter: none;
  transform: scale(1.05);
  opacity: 1;
}

@keyframes scrollMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-200px * 10)); /* Desloca metade da track */
  }
}

/* About Us Section */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

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

.stat-box {
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-color);
  padding: 2rem;
  border-radius: var(--border-radius-md);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.stat-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(var(--primary-blue-rgb), 0.1);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-blue);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Contact Section with Form & Map */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

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

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

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

.contact-details h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.contact-details p {
  font-size: 0.95rem;
  margin: 0;
}

.map-container {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  height: 250px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.contact-form-wrapper {
  background-color: var(--bg-card);
  padding: 3rem;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-premium);
}

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

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

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--border-radius-sm);
  border: 1.5px solid var(--border-color);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  background-color: var(--bg-light);
  transition: var(--transition-fast);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-blue);
  background-color: var(--bg-card);
  box-shadow: 0 0 0 3px rgba(var(--primary-blue-rgb), 0.1);
}

select.form-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23718096'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.2em;
  padding-right: 2.5rem;
}

textarea.form-input {
  resize: vertical;
  min-height: 120px;
}

/* Footer styling */
.footer {
  background-color: var(--bg-dark);
  color: var(--text-muted);
  padding: 4rem 0 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-logo img {
  height: 48px;
  width: auto;
  margin-bottom: 1.25rem;
}

.footer-text {
  font-size: 0.9rem;
  max-width: 320px;
}

.footer-heading {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--secondary-teal);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

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

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.9rem;
}

.footer-contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.footer-contact-info li i {
  color: var(--secondary-teal);
  margin-top: 0.25rem;
}

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

.footer-social-links {
  display: flex;
  gap: 1.25rem;
}

.footer-social-links a {
  color: var(--text-muted);
  font-size: 1.2rem;
  transition: var(--transition-fast);
}

.footer-social-links a:hover {
  color: var(--text-light);
}

/* ==========================================================================
   Landing Page Specific Layouts
   ========================================================================== */

/* LP Hero variation */
.hero-lp {
  min-height: 70vh;
}

.hero-lp-title {
  font-size: 2.5rem;
}

.lp-grid-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: start;
}

/* LP FAQ Section */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.faq-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  transition: var(--transition-normal);
}

.faq-item:hover {
  box-shadow: var(--shadow-sm);
  border-color: rgba(var(--primary-blue-rgb), 0.1);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  text-align: left;
  background: none;
  border: none;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--bg-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question i {
  color: var(--primary-blue);
  transition: var(--transition-fast);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal) ease-out;
  padding: 0 1.5rem;
}

.faq-answer p {
  padding-bottom: 1.25rem;
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
  color: var(--secondary-teal);
}

/* B2B2C LP Specific: Steps List */
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin: 2.5rem 0;
}

.step-card {
  display: flex;
  gap: 1.5rem;
  background-color: var(--bg-card);
  padding: 1.75rem;
  border-radius: var(--border-radius-md);
  border-left: 4px solid var(--accent-purple);
  box-shadow: var(--shadow-sm);
}

.step-number {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent-purple);
  line-height: 1;
}

.step-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

/* Animations */
@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(15, 110, 86, 0.4);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(15, 110, 86, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(15, 110, 86, 0);
  }
}

/* ==========================================================================
   Responsive Design Breakpoints
   ========================================================================== */

@media (max-width: 1024px) {
  h1 {
    font-size: 2.25rem;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-ctas {
    justify-content: center;
  }
  
  .hero-image-wrapper {
    margin-top: 2rem;
  }
  
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .case-study-showcase {
    grid-template-columns: 1fr;
  }
  
  .case-image {
    min-height: 250px;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .lp-grid-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 70px;
  }
  
  .navbar {
    height: 70px;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .nav-menu {
    position: absolute;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: var(--bg-card);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 3rem 1.5rem;
    gap: 1.75rem;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-md);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-link {
    font-size: 1.15rem;
  }
  
  .nav-cta-btn {
    width: 100%;
    justify-content: center;
    margin-top: 1rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-text {
    font-size: 1rem;
  }
  
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  
  .portfolio-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .form-group-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .clients-grid {
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .portfolio-gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .case-content {
    padding: 2rem 1.5rem;
  }
  
  .contact-form-wrapper {
    padding: 2rem 1.25rem;
  }
  
  .hero-img {
    max-width: 320px;
  }
  
  .hero-badge {
    left: 10px;
    bottom: -10px;
  }
}

/* ==========================================================================
   E2GO Blog Section - 2026 Campaign
   ========================================================================== */

/* Blog Hero / Header */
.blog-hero {
  background: linear-gradient(135deg, var(--bg-dark) 0%, rgba(var(--primary-blue-rgb), 0.95) 100%);
  padding: 8rem 0 5rem 0;
  text-align: center;
  color: var(--text-light);
}

.blog-hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.blog-hero h1 {
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ffffff 0%, #a5b4fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.blog-hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Blog Filter and Search Controls */
.blog-controls {
  padding: 2.5rem 0;
  background-color: var(--bg-light);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 79px; /* Nav height offset */
  z-index: 10;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.blog-controls-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.blog-filters-list {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  background-color: white;
  border: 1px solid var(--border-color);
  color: var(--text-dark);
  padding: 0.6rem 1.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
  transition: all 0.2s ease-in-out;
}

.filter-btn:hover {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(24, 95, 165, 0.08);
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-teal) 100%);
  border-color: transparent;
  color: white;
  box-shadow: 0 4px 15px rgba(24, 95, 165, 0.25);
}

.blog-search-box {
  position: relative;
  max-width: 350px;
  width: 100%;
}

.blog-search-input {
  width: 100%;
  padding: 0.65rem 1rem 0.65rem 2.5rem;
  border-radius: 50px;
  border: 1px solid var(--border-color);
  background-color: white;
  font-size: 0.875rem;
  outline: none;
  transition: var(--transition-normal);
}

.blog-search-input:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(var(--primary-blue-rgb), 0.15);
}

.blog-search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

/* Blog Article Cards Grid */
.blog-main-section {
  padding: 4rem 0;
  background-color: white;
}

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

.blog-card {
  background-color: white;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px -15px rgba(0,0,0,0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: var(--transition-normal);
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -15px rgba(24, 95, 165, 0.12);
  border-color: rgba(24, 95, 165, 0.3);
}

.blog-card-image-link {
  display: block;
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background-color: var(--bg-dark);
}

.blog-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.blog-card:hover .blog-card-img {
  transform: scale(1.05);
}

.blog-card-content {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card-category {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--secondary-teal);
  letter-spacing: 0.08em;
  margin-bottom: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.blog-card-category::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: var(--secondary-teal);
  border-radius: 50%;
}

.blog-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 0.85rem;
  transition: var(--transition-normal);
}

.blog-card-title a {
  color: inherit;
}

.blog-card-title a:hover {
  color: var(--primary-blue);
}

.blog-card-excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.blog-card-date {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.blog-card-read-more {
  font-weight: 700;
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: var(--transition-normal);
}

.blog-card-read-more i {
  transition: transform 0.2s ease;
}

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

.blog-card-read-more:hover i {
  transform: translateX(4px);
}

/* Empty search result state */
.blog-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  background-color: var(--bg-light);
  border-radius: var(--border-radius-lg);
  border: 1px dashed var(--border-color);
}

.blog-empty-state i {
  font-size: 3rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.blog-empty-state h3 {
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.blog-empty-state p {
  color: var(--text-muted);
}

/* ==========================================================================
   Single Blog Post Typography & Layout
   ========================================================================== */

/* Single Post Hero */
.post-hero {
  background: linear-gradient(135deg, var(--bg-dark) 0%, rgba(var(--primary-blue-rgb), 0.95) 100%);
  padding: 8rem 0 4rem 0;
  color: var(--text-light);
}

.post-hero-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.post-category-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: white;
  background-color: var(--secondary-teal);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

.post-hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.post-meta-details {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
}

.post-meta-details span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Post Container Layout */
.post-layout-section {
  padding: 4rem 0;
  background-color: white;
}

.post-layout-grid {
  display: grid;
  grid-template-columns: 8fr 4fr;
  gap: 3.5rem;
}

/* Post Article Content */
.post-article {
  max-width: 800px;
}

.post-featured-image-wrapper {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 2.5rem;
}

.post-featured-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-body-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #334155; /* Neutral slate-700 for high reading comfort */
}

.post-body-content p {
  margin-bottom: 1.75rem;
}

.post-body-content h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-dark);
  margin: 3rem 0 1.25rem 0;
  line-height: 1.3;
}

.post-body-content h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 2.25rem 0 1rem 0;
  line-height: 1.3;
}

.post-body-content ul,
.post-body-content ol {
  margin-bottom: 1.75rem;
  padding-left: 1.5rem;
}

.post-body-content li {
  margin-bottom: 0.5rem;
}

.post-body-content blockquote {
  border-left: 4px solid var(--primary-blue);
  background-color: var(--bg-light);
  padding: 1.5rem 2rem;
  font-style: italic;
  font-size: 1.15rem;
  margin: 2rem 0;
  border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
  color: var(--text-dark);
}

.post-body-content strong {
  color: var(--text-dark);
}

.post-body-content img {
  width: 100%;
  border-radius: var(--border-radius-md);
  margin: 2rem 0;
}

.post-body-content figcaption {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: -1.5rem;
  margin-bottom: 2rem;
  font-style: italic;
}

/* Post Info Highlight Box (Callout) */
.post-callout-box {
  background-color: rgba(var(--primary-blue-rgb), 0.04);
  border-left: 4px solid var(--primary-blue);
  padding: 1.5rem 1.75rem;
  border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
  margin: 2rem 0;
}

.post-callout-box h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
  margin-top: 0;
}

.post-callout-box p {
  margin-bottom: 0;
  font-size: 1rem;
}

/* Sidebar Styling */
.post-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.sidebar-widget {
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
}

.sidebar-widget-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--border-color);
}

/* Conversion CTA Widget */
.sidebar-cta-widget {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 25px -5px rgba(30, 58, 138, 0.3);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.sidebar-cta-widget::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(15, 110, 86, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.sidebar-cta-widget .sidebar-widget-title {
  color: white;
  border-bottom-color: rgba(255, 255, 255, 0.15);
}

.sidebar-cta-widget p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.sidebar-cta-widget .btn {
  width: 100%;
  position: relative;
  z-index: 2;
}

/* Recent Posts Sidebar List */
.sidebar-recent-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.sidebar-recent-item {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.sidebar-recent-img-wrapper {
  width: 65px;
  height: 65px;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.sidebar-recent-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sidebar-recent-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.sidebar-recent-title {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
}

.sidebar-recent-title a {
  color: var(--text-dark);
  transition: var(--transition-normal);
}

.sidebar-recent-title a:hover {
  color: var(--primary-blue);
}

.sidebar-recent-date {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Categories List Sidebar */
.sidebar-categories-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-categories-list li {
  margin-bottom: 0.75rem;
}

.sidebar-categories-list li:last-child {
  margin-bottom: 0;
}

.sidebar-categories-list a {
  display: flex;
  justify-content: space-between;
  color: var(--text-dark);
  font-size: 0.925rem;
  font-weight: 600;
  transition: var(--transition-normal);
}

.sidebar-categories-list a:hover {
  color: var(--primary-blue);
  transform: translateX(3px);
}

.sidebar-categories-list span.cat-count {
  background-color: var(--border-color);
  color: var(--text-muted);
  font-size: 0.75rem;
  padding: 0.15rem 0.5rem;
  border-radius: 20px;
  font-weight: 700;
}

/* Recent Posts Home Page Widget */
.recent-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

/* ==========================================================================
   Media Queries for Blog Pages
   ========================================================================== */

@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .post-layout-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .post-sidebar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .blog-controls-wrapper {
    flex-direction: column;
    align-items: stretch;
  }
  
  .blog-search-box {
    max-width: none;
  }
  
  .blog-hero h1 {
    font-size: 2.25rem;
  }
  
  .post-hero h1 {
    font-size: 2rem;
  }
  
  .post-sidebar {
    grid-template-columns: 1fr;
  }
  
  .recent-posts-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .blog-hero h1 {
    font-size: 1.85rem;
  }
  
  .post-hero h1 {
    font-size: 1.65rem;
  }
}

/* ==========================================================================
   Premium Blog Extras (Progress Bar & Author Bio Box)
   ========================================================================== */

.reading-progress-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: rgba(24, 95, 165, 0.1);
  z-index: 1001;
}

.reading-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary-blue) 0%, var(--secondary-teal) 100%);
  transition: width 0.05s ease-out;
}

.post-author-box {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  margin-top: 4rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.author-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-teal) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.8rem;
  font-weight: 700;
  flex-shrink: 0;
  border: 3px solid white;
  box-shadow: var(--shadow-sm);
}

.author-info h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.35rem;
  margin-top: 0;
}

.author-info p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0;
}

@media (max-width: 600px) {
  .post-author-box {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }
}
