/* ==========================================================================
   NEXGEN MEDIA - CORE DESIGN SYSTEM & STYLING
   ========================================================================== */

/* 1. Imports */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* 2. Custom Properties (Design Tokens) */
:root {
  /* Colors */
  --primary: #4F46E5;       /* Deep Indigo */
  --primary-hover: #4338CA;
  --primary-glow: rgba(79, 70, 229, 0.15);
  --primary-glow-strong: rgba(79, 70, 229, 0.4);
  --secondary: #6D28D9;     /* Electric Violet */
  --secondary-glow: rgba(109, 40, 217, 0.15);
  --accent: #06B6D4;        /* Vivid Cyan/Teal */
  --accent-hover: #0891B2;
  --accent-glow: rgba(6, 182, 212, 0.2);
  --accent-glow-strong: rgba(6, 182, 212, 0.5);
  
  /* Neutral Dark Theme */
  --bg-dark: #0B0B14;
  --bg-dark-card: #121220;
  --bg-dark-card-hover: #18182c;
  --text-dark-primary: #FFFFFF;
  --text-dark-secondary: #94A3B8; /* Slate 400 */
  --text-dark-muted: #64748B;     /* Slate 500 */
  --border-dark: rgba(255, 255, 255, 0.08);
  --border-dark-hover: rgba(255, 255, 255, 0.16);
  
  /* Neutral Light Theme */
  --bg-light: #FFFFFF;
  --bg-light-alt: #F8FAFC;         /* Slate 50 */
  --bg-light-card: #FFFFFF;
  --text-light-primary: #0F172A;   /* Slate 900 */
  --text-light-secondary: #475569; /* Slate 600 */
  --text-light-muted: #64748B;     /* Slate 500 */
  --border-light: rgba(15, 23, 42, 0.06);
  --border-light-hover: rgba(15, 23, 42, 0.12);
  
  /* Layout & Spacing */
  --max-width: 1280px;
  --header-height: 80px;
  
  /* Borders */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
  
  /* Shadows & Glows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
  --shadow-glow-purple: 0 0 40px rgba(79, 70, 229, 0.25);
  --shadow-glow-cyan: 0 0 40px rgba(6, 182, 212, 0.25);
  
  /* Typography */
  --font-headings: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Transitions */
  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-light-secondary);
  background-color: var(--bg-light);
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  color: var(--text-light-primary);
  line-height: 1.15;
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  background: none;
  outline: none;
}

button {
  cursor: pointer;
}

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

/* 4. Common & Layout Utilities */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section {
  padding: 120px 0;
  position: relative;
}

@media (max-width: 768px) {
  .section {
    padding: 80px 0;
  }
}

.section-header {
  max-width: 680px;
  margin-bottom: 60px;
  text-align: left;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
}

.section-subtitle {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text-light-secondary);
}

.text-gradient-purple-cyan {
  background: linear-gradient(135deg, #A78BFA 0%, #4F46E5 40%, #06B6D4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: var(--accent); /* Fallback for older browsers */
}

.text-gradient-cyan-purple {
  background: linear-gradient(135deg, #06B6D4 0%, #4F46E5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: var(--primary); /* Fallback for older browsers */
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  transition: var(--transition-normal);
}

.btn-primary {
  background-color: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.25);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.35);
}

.btn-primary svg {
  transition: transform 0.2s ease;
}

.btn-primary:hover svg {
  transform: translateX(4px);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-dark);
  color: #FFFFFF;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.btn-trigger-modal {
  cursor: pointer;
}

.w-full {
  width: 100%;
}

/* 5. Sticky Header & Navbar */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 100;
  transition: var(--transition-normal);
  border-bottom: 1px solid transparent;
}

.header.sticky {
  background-color: rgba(11, 11, 20, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  height: 70px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-headings);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #FFFFFF;
}

.logo-accent {
  color: var(--accent);
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark-secondary);
}

.nav-link:hover, .nav-link.active {
  color: #FFFFFF;
}

.nav-pill-btn {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #FFFFFF;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.85rem;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
}

.nav-pill-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.35);
}

/* Mobile Hamburger Menu */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  z-index: 101;
}

.hamburger-bar {
  width: 100%;
  height: 2px;
  background-color: #FFFFFF;
  border-radius: 2px;
  transition: var(--transition-fast);
}

/* Mobile responsive menu toggle layout */
@media (max-width: 992px) {
  .mobile-menu-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: #0B0B14;
    border-left: 1px solid var(--border-dark);
    padding: 100px 40px 40px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    transition: var(--transition-normal);
    z-index: 99;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
    width: 100%;
  }
  
  .nav-link {
    font-size: 1.125rem;
  }
  
  .nav-pill-btn {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 10px;
  }

  /* Hamburger transform when menu open */
  .mobile-menu-toggle.active .hamburger-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .mobile-menu-toggle.active .hamburger-bar:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-toggle.active .hamburger-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

/* 6. Hero Section */
.hero-section {
  background-color: var(--bg-dark);
  color: var(--text-dark-primary);
  padding: 180px 0 100px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .hero-section {
    padding: 130px 0 80px;
  }
}

/* Ambient glow graphics */
.ambient-glow {
  position: absolute;
  border-radius: var(--radius-pill);
  filter: blur(120px);
  -webkit-filter: blur(120px);
  z-index: -1;
  opacity: 0.15;
  animation: pulse-glow 8s ease-in-out infinite;
}

.glow-1 {
  top: 10%;
  left: -10%;
  width: 400px;
  height: 400px;
  background-color: var(--primary);
}

.glow-2 {
  bottom: 20%;
  right: -5%;
  width: 500px;
  height: 500px;
  background-color: var(--accent);
  animation-delay: 2s;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
}

@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }
}

.tagline-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-dark);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--accent);
  margin-bottom: 24px;
}

.tagline-badge.purple {
  color: var(--primary);
  background-color: rgba(79, 70, 229, 0.05);
  border-color: rgba(79, 70, 229, 0.1);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.hero-headline {
  font-size: 3.75rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--text-dark-primary); /* Ensure white text on dark background */
}

@media (max-width: 992px) {
  .hero-headline {
    font-size: 2.75rem;
  }
}

.hero-subheadline {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--text-dark-secondary);
  margin-bottom: 40px;
  max-width: 580px;
}

@media (max-width: 992px) {
  .hero-subheadline {
    margin-left: auto;
    margin-right: auto;
  }
}

.hero-ctas {
  display: flex;
  gap: 16px;
}

@media (max-width: 992px) {
  .hero-ctas {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }
}

.hero-visual {
  display: flex;
  justify-content: center;
}

/* 7. Interactive Dashboard Mockup CSS */
.dashboard-mockup {
  width: 100%;
  max-width: 500px;
  background-color: #121220;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), var(--shadow-glow-purple);
  overflow: hidden;
}

.mockup-header {
  height: 38px;
  background-color: rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  padding: 0 16px;
  position: relative;
}

.dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dot.red { background-color: #EF4444; }
.dot.yellow { background-color: #F59E0B; }
.dot.green { background-color: #10B981; }

.mockup-search {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  color: var(--text-dark-muted);
  background-color: rgba(255, 255, 255, 0.03);
  padding: 4px 30px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.mockup-body {
  display: grid;
  grid-template-columns: 50px 1fr;
  height: 280px;
}

.mockup-sidebar {
  background-color: rgba(0, 0, 0, 0.1);
  border-right: 1px solid rgba(255, 255, 255, 0.04);
  padding: 20px 12px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.sidebar-item {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.04);
}

.sidebar-item.active {
  background-color: var(--primary);
}

.mockup-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
}

.mockup-row {
  display: flex;
  gap: 14px;
}

.pt-2 {
  padding-top: 8px;
}

.mockup-card {
  flex: 1;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
}

.mockup-card.highlight {
  border-color: rgba(79, 70, 229, 0.3);
  box-shadow: 0 0 15px rgba(79, 70, 229, 0.1);
}

.card-label {
  font-size: 0.65rem;
  color: var(--text-dark-secondary);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 2px;
}

.card-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFFFFF;
}

.card-sub {
  font-size: 0.6rem;
  color: var(--text-dark-muted);
}

.text-green {
  color: #10B981;
}

.mockup-chart-card {
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-sm);
  padding: 12px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.65rem;
  color: var(--text-dark-secondary);
}

.chart-legend {
  display: flex;
  gap: 10px;
}

.legend-color {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 4px;
}

.legend-color.cyan { background-color: var(--accent); }
.legend-color.violet { background-color: var(--primary); }

.mockup-chart {
  margin-top: 10px;
  height: 70px;
}

.chart-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.mockup-mini-card {
  font-size: 0.65rem;
  background-color: rgba(255, 255, 255, 0.03);
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text-dark-secondary);
}

.mockup-mini-card strong {
  color: #FFFFFF;
}

/* 8. Trust Strip Marquee */
.trust-strip {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 40px 0 20px;
  margin-top: 80px;
}

.trust-container {
  display: flex;
  align-items: center;
  gap: 30px;
}

@media (max-width: 992px) {
  .trust-container {
    flex-direction: column;
    gap: 15px;
  }
}

.trust-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-dark-muted);
  white-space: nowrap;
}

.marquee-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.marquee-wrapper::before,
.marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  width: 50px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, #0B0B14, transparent);
}

.marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, #0B0B14, transparent);
}

.marquee-content {
  display: flex;
  gap: 50px;
  animation: marquee 25s linear infinite;
  width: max-content;
}

.marquee-logo {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.15em;
  color: var(--text-dark-muted);
  opacity: 0.5;
  transition: opacity 0.2s ease;
}

.marquee-logo:hover {
  opacity: 0.9;
}

/* 9. Services Section (Light Theme) */
.services-section {
  background-color: var(--bg-light);
  color: var(--text-light-secondary);
}

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

.service-card {
  background-color: var(--bg-light-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 35px;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  opacity: 0;
  transition: var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(79, 70, 229, 0.15);
  box-shadow: 0 20px 40px rgba(79, 70, 229, 0.05), var(--shadow-sm);
}

.service-card:hover::after {
  opacity: 1;
}

.service-icon-wrapper {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background-color: rgba(79, 70, 229, 0.06);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: var(--transition-normal);
}

.service-card:hover .service-icon-wrapper {
  background-color: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.2);
}

.service-icon {
  width: 24px;
  height: 24px;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--text-light-primary);
}

.service-desc {
  font-size: 0.95rem;
  color: var(--text-light-secondary);
  line-height: 1.6;
}

/* 10. Why / Approach Section */
.approach-section {
  background-color: var(--bg-light-alt);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.approach-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: flex-start;
}

@media (max-width: 992px) {
  .approach-wrapper {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

.advantage-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 35px;
}

.advantage-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.advantage-check {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1;
  background-color: rgba(6, 182, 212, 0.08);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.advantage-item span {
  font-size: 0.95rem;
  color: var(--text-light-secondary);
}

.advantage-item strong {
  color: var(--text-light-primary);
}

/* Vertical / Timeline items on the right side */
.approach-timeline {
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
  padding-left: 20px;
}

.approach-timeline::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 0;
  bottom: 15px;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary) 0%, var(--accent) 100%);
  opacity: 0.2;
}

.timeline-card {
  background-color: var(--bg-light-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
  transition: var(--transition-normal);
}

.timeline-card:hover {
  transform: translateX(6px);
  border-color: rgba(79, 70, 229, 0.1);
  box-shadow: 0 10px 20px rgba(0,0,0,0.02);
}

.timeline-number {
  position: absolute;
  top: -15px;
  left: -35px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: var(--bg-light-alt);
  border: 2px solid var(--primary);
  color: var(--primary);
  font-family: var(--font-headings);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.timeline-card:nth-child(even) .timeline-number {
  border-color: var(--accent);
  color: var(--accent);
}

.timeline-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-light-primary);
}

.timeline-text {
  font-size: 0.9rem;
  color: var(--text-light-secondary);
}

/* 11. Featured Work / Case Studies Section */
.work-section {
  background-color: var(--bg-light);
}

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

.project-card {
  background-color: var(--bg-light-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-light-hover);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
}

.project-image-wrapper {
  position: relative;
  overflow: hidden;
}

.project-svg-mockup {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.project-card:hover .project-svg-mockup {
  transform: scale(1.03);
}

.project-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background-color: rgba(11, 11, 20, 0.85);
  backdrop-filter: blur(4px);
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 6px 12px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.project-info {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-client {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-light-muted);
  margin-bottom: 6px;
  display: block;
}

.project-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-light-primary);
  line-height: 1.25;
}

.project-desc {
  font-size: 0.95rem;
  color: var(--text-light-secondary);
  margin-bottom: 24px;
}

.project-stat-box {
  border-top: 1px dashed var(--border-light-hover);
  padding-top: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.stat-value {
  font-family: var(--font-headings);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-light-secondary);
}

/* 12. Pricing / Packages Section */
.pricing-section {
  background-color: var(--bg-dark);
  color: var(--text-dark-secondary);
  overflow: hidden;
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}

.pricing-section .section-title {
  color: #FFFFFF;
}

.pricing-section .section-subtitle {
  color: var(--text-dark-secondary);
}

.glow-pricing-1 {
  top: 15%;
  left: 5%;
  width: 450px;
  height: 450px;
  background-color: var(--primary);
  opacity: 0.1;
  filter: blur(130px);
  -webkit-filter: blur(130px);
}

.glow-pricing-2 {
  bottom: 15%;
  right: 5%;
  width: 500px;
  height: 500px;
  background-color: var(--accent);
  opacity: 0.08;
  filter: blur(140px);
  -webkit-filter: blur(140px);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
}

@media (max-width: 992px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
  }
}

.premium-card {
  background-color: rgba(18, 18, 32, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-normal);
  position: relative;
}

.premium-card:hover {
  transform: translateY(-8px);
  border-color: rgba(6, 182, 212, 0.3);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 30px rgba(6, 182, 212, 0.15);
}

.premium-card.highlighted {
  border: 2px solid var(--accent);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 40px rgba(6, 182, 212, 0.25);
  transform: scale(1.03);
  z-index: 2;
  background-color: rgba(18, 18, 32, 0.85);
}

@media (max-width: 992px) {
  .premium-card.highlighted {
    transform: scale(1);
  }
}

.premium-card.highlighted:hover {
  border-color: var(--accent-hover);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 50px rgba(6, 182, 212, 0.35);
}

.popular-tag-premium {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
  z-index: 10;
}

.pricing-tier-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.pricing-tier-desc {
  font-size: 0.85rem;
  color: var(--text-dark-secondary);
  margin-bottom: 24px;
  min-height: 48px;
}

.pricing-price {
  font-family: var(--font-headings);
  color: #FFFFFF;
  display: flex;
  align-items: baseline;
  margin-bottom: 30px;
}

.pricing-price .currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}

.pricing-price .amount {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.pricing-price .period {
  font-size: 0.95rem;
  color: var(--text-dark-muted);
  font-family: var(--font-body);
  margin-left: 4px;
}

.pricing-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
  border-top: 1px solid var(--border-dark);
  padding-top: 24px;
}

.pricing-features-list li {
  font-size: 0.95rem;
  color: var(--text-dark-secondary);
  display: flex;
  gap: 12px;
  align-items: center;
}

.pricing-features-list li svg {
  flex-shrink: 0;
  color: var(--accent);
}

.premium-card.highlighted .pricing-features-list li svg {
  color: var(--accent);
  filter: drop-shadow(0 0 4px var(--accent-glow-strong));
}

.pricing-btn {
  text-align: center;
  width: 100%;
}

.premium-card.highlighted .btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
  border: none;
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.25);
}

.premium-card.highlighted .btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-hover) 0%, var(--primary-hover) 100%);
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.4);
}

/* Optional Add-ons Styles */
.addons-section {
  margin-top: 80px;
  border-top: 1px solid var(--border-dark);
  padding-top: 60px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.addons-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #FFFFFF;
}

.addons-subtitle {
  font-size: 1rem;
  color: var(--text-dark-secondary);
  margin-bottom: 45px;
}

.addons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  text-align: left;
}

@media (max-width: 768px) {
  .addons-grid {
    grid-template-columns: 1fr;
  }
}

.addon-card {
  background-color: rgba(18, 18, 32, 0.4);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 22px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  transition: var(--transition-normal);
}

.addon-card:hover {
  background-color: rgba(18, 18, 32, 0.8);
  border-color: rgba(6, 182, 212, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), 0 0 15px rgba(6, 182, 212, 0.05);
}

.addon-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.addon-name {
  font-family: var(--font-headings);
  font-size: 1.1rem;
  font-weight: 600;
  color: #FFFFFF;
}

.addon-desc {
  font-size: 0.85rem;
  color: var(--text-dark-secondary);
  line-height: 1.4;
}

.addon-price {
  font-family: var(--font-headings);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
  background-color: rgba(6, 182, 212, 0.1);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(6, 182, 212, 0.2);
  white-space: nowrap;
}

/* Trust Section Styles */
.pricing-trust-section {
  margin-top: 80px;
  border-top: 1px solid var(--border-dark);
  padding-top: 60px;
  position: relative;
  z-index: 2;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

@media (max-width: 992px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .trust-grid {
    grid-template-columns: 1fr;
  }
}

.trust-card-item {
  background-color: rgba(18, 18, 32, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: var(--transition-normal);
}

.trust-card-item:hover {
  border-color: rgba(6, 182, 212, 0.25);
  background-color: rgba(18, 18, 32, 0.7);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.trust-icon-wrapper {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.2);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.trust-card-item:hover .trust-icon-wrapper {
  background-color: var(--accent);
  color: var(--bg-dark);
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.4);
}

.trust-name {
  font-family: var(--font-headings);
  font-size: 1.1rem;
  font-weight: 600;
  color: #FFFFFF;
}

.trust-desc {
  font-size: 0.85rem;
  color: var(--text-dark-secondary);
  line-height: 1.5;
}

/* 13. Testimonials Section */
.testimonials-section {
  background-color: var(--bg-light);
}

.slider-container {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.testimonial-slider {
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
  min-width: 100%;
  box-sizing: border-box;
  padding: 20px 40px 10px;
  text-align: center;
}

@media (max-width: 576px) {
  .testimonial-card {
    padding: 10px 10px;
  }
}

.stars {
  color: #F59E0B;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.testimonial-quote {
  font-family: var(--font-headings);
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text-light-primary);
  margin-bottom: 30px;
  letter-spacing: -0.02em;
}

@media (max-width: 768px) {
  .testimonial-quote {
    font-size: 1.25rem;
  }
}

.client-details {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.client-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(79, 70, 229, 0.2);
}

.client-name {
  font-weight: 600;
  color: var(--text-light-primary);
  font-size: 0.95rem;
  text-align: left;
}

.client-company {
  font-size: 0.8rem;
  color: var(--text-light-muted);
  text-align: left;
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--bg-light-alt);
  border: 1px solid var(--border-light);
  color: var(--text-light-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.slider-btn:hover {
  background-color: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--border-light-hover);
  transition: var(--transition-fast);
}

.slider-dot.active {
  background-color: var(--primary);
  transform: scale(1.2);
}

/* 14. FAQ Section */
.faq-section {
  background-color: var(--bg-light-alt);
}

.faq-accordion {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.faq-item:hover, .faq-item.active {
  border-color: rgba(79, 70, 229, 0.15);
}

.faq-trigger {
  width: 100%;
  padding: 24px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-headings);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-light-primary);
  text-align: left;
}

.faq-icon {
  position: relative;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  background-color: var(--text-light-primary);
  transition: transform 0.3s ease;
}

/* Horizontal line */
.faq-icon::before {
  top: 7px;
  left: 0;
  width: 16px;
  height: 2px;
}

/* Vertical line */
.faq-icon::after {
  top: 0;
  left: 7px;
  width: 2px;
  height: 16px;
}

.faq-item.active .faq-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-item.active .faq-icon::before {
  transform: rotate(180deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer {
  padding: 0 30px 24px;
  font-size: 0.95rem;
  color: var(--text-light-secondary);
  line-height: 1.65;
}

/* 15. Final CTA Section (Dark Glow) */
.final-cta-section {
  background-color: var(--bg-dark);
  color: var(--text-dark-primary);
  overflow: hidden;
  z-index: 1;
}

.glow-3 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background-color: var(--secondary);
  opacity: 0.12;
  filter: blur(140px);
  -webkit-filter: blur(140px);
}

.final-cta-container {
  display: flex;
  justify-content: center;
}

.cta-inner-card {
  width: 100%;
  max-width: 900px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-glow-purple);
}

@media (max-width: 576px) {
  .cta-inner-card {
    padding: 40px 20px;
  }
}

.cta-title {
  font-size: 2.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  color: var(--text-dark-primary); /* Ensure white text on dark background */
}

@media (max-width: 768px) {
  .cta-title {
    font-size: 2rem;
  }
}

.cta-subtitle {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-dark-secondary);
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

.cta-action-wrapper {
  margin-bottom: 50px;
}

.dual-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

@media (max-width: 576px) {
  .dual-buttons {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }
}

.contact-details-row {
  border-top: 1px solid var(--border-dark);
  padding-top: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

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

.contact-detail-item .icon {
  color: var(--accent);
  font-size: 1.1rem;
}

.contact-detail-item a:hover {
  color: #FFFFFF;
}

/* 16. Footer */
.footer {
  background-color: #07070D;
  color: var(--text-dark-secondary);
  border-top: 1px solid var(--border-dark);
  padding: 80px 0 40px;
}

.footer-container {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
}

@media (max-width: 992px) {
  .footer-top {
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 576px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-tagline {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-dark-muted);
  max-width: 320px;
}

.footer-title {
  font-family: var(--font-headings);
  font-weight: 700;
  color: #FFFFFF;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  display: block;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.footer-links a:hover {
  color: #FFFFFF;
}

.footer-address {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-dark-muted);
}

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

@media (max-width: 576px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

.copyright {
  font-size: 0.8rem;
  color: var(--text-dark-muted);
}

.social-icons {
  display: flex;
  gap: 16px;
}

.social-icons a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-dark);
  color: var(--text-dark-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.social-icons a:hover {
  background-color: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* 17. Lead Capture Modal (Strategy Call Popup) */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(7, 7, 13, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  width: 100%;
  max-width: 500px;
  background-color: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), var(--shadow-glow-purple);
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  color: #FFFFFF;
}

.modal-overlay.active .modal-card {
  transform: translateY(0);
}

@media (max-width: 576px) {
  .modal-card {
    padding: 30px 20px;
  }
}

.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--text-dark-muted);
  transition: var(--transition-fast);
}

.modal-close:hover {
  color: #FFFFFF;
}

.modal-title {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: #FFFFFF;
  line-height: 1.25;
}

.modal-subtitle {
  font-size: 0.9rem;
  color: var(--text-dark-secondary);
  line-height: 1.5;
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dark-secondary);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  background-color: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: #FFFFFF;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(79, 70, 229, 0.25);
}

.select-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 18px;
}

.form-input-error {
  border-color: #EF4444;
}

/* Success Modal Styles */
.form-success-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.success-icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(16, 185, 129, 0.1);
  border: 2px solid #10B981;
  color: #10B981;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

/* 18. Scroll Reveal Animations (JS triggers) */
.reveal, .reveal-left, .reveal-right, .reveal-scale {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal {
  transform: translateY(30px);
}

.reveal-left {
  transform: translateX(-30px);
}

.reveal-right {
  transform: translateX(30px);
}

.reveal-scale {
  transform: scale(0.95);
}

.in-view {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Spinner Animation for Form Submission */
.spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #FFFFFF;
  animation: spin 0.8s ease-in-out infinite;
  margin-right: 8px;
  vertical-align: middle;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* 19. WhatsApp Integration Styling */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.whatsapp-icon-bg {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.whatsapp-icon-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  animation: whatsapp-pulse 2s infinite;
  pointer-events: none;
}

.whatsapp-float:hover .whatsapp-icon-bg {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 15px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-tooltip {
  position: absolute;
  right: 75px;
  background-color: var(--bg-dark-card);
  color: #FFFFFF;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-dark);
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

@keyframes whatsapp-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Inline WhatsApp icon styles */
.whatsapp-icon-inline {
  vertical-align: middle;
  transition: transform 0.2s ease;
}

.contact-detail-item:hover .whatsapp-icon-inline {
  transform: scale(1.15);
}

/* Adjust for smaller screens */
@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
  }
  .whatsapp-icon-bg {
    width: 50px;
    height: 50px;
  }
  .whatsapp-icon-bg svg {
    width: 24px;
    height: 24px;
  }
  .whatsapp-tooltip {
    display: none; /* Hide tooltip on mobile to avoid overlap */
  }
}
