:root {
  --primary-color: #1D4ED8;
  --primary-dark: #1E40AF;
  --primary-light: #3B82F6;
  --accent-color: #F59E0B;
  --accent-dark: #D97706;
  --text-color: #1F2937;
  --text-light: #4B5563;
  --background-color: #F3F4F6;
  --white: #FFFFFF;
  --success: #10B981;
  --warning: #F59E0B;
  --error: #EF4444;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #1F2937;
  background: #F3F4F6;
}

.container {
  width: 90%;
  max-width: 1140px;
  margin: 0 auto;
  position: relative;
  padding: 0 20px;
}

/* Navigation Bar */
.navbar {
  background: rgba(255, 255, 255, 0.98);
  padding: 15px 0;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
}

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

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

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  padding: 4px 0;
}

.logo img {
  width: 40px;
  height: 40px;
  display: block;
  object-fit: contain;
}

.logo-text {
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #000;
  margin-left: 8px;
  line-height: 1;
}

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

.navbar nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.navbar nav ul li a {
  text-decoration: none;
  color: #1a1a1a;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  position: relative;
  outline: none;
}

.navbar nav ul li a:hover,
.navbar nav ul li a:focus,
.navbar nav ul li a.active {
  color: #2563EB;
  background: rgba(37, 99, 235, 0.1);
  outline: 2px solid #2563EB;
  outline-offset: -2px;
}

.navbar nav ul li a:focus-visible {
  outline: 2px solid #2563EB;
  outline-offset: 2px;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 10;
}

.mobile-menu-btn span {
  width: 100%;
  height: 3px;
  background: #2563EB;
  border-radius: 3px;
  transition: transform 0.3s ease-in-out,
              opacity 0.2s ease-in-out,
              background-color 0.3s ease;
}

.mobile-menu-btn.active span:first-child {
  transform: rotate(45deg) translate(2px, -4px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:last-child {
  transform: rotate(-45deg) translate(2px, 4px);
}

/* Enhanced Logo and Navigation */
.logo-container {
  display: flex;
  align-items: center;
  height: 40px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: transform 0.3s ease;
  line-height: 1;
}

.logo:hover {
  transform: translateY(-2px);
}

.logo img {
  height: 40px;
  width: 40px;
  display: block;
}

.logo-text {
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #000;
  letter-spacing: -0.5px;
  line-height: 40px;
  display: flex;
  align-items: center;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  position: relative;
}

.mobile-menu-btn span {
  width: 100%;
  height: 3px;
  background: #2563EB;
  border-radius: 3px;
  transition: all 0.3s ease;
  transform-origin: left;
}

.mobile-menu-btn.active span:first-child {
  transform: rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:last-child {
  transform: rotate(-45deg);
}

/* Add focus style for accessibility */
.mobile-menu-btn:focus {
  outline: 2px solid var(--accent-color); /* Use your accent color */
  outline-offset: 2px;
}

/* Improved Audience Toggle Styles */
.audience-toggle-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 0;
  position: relative;
  z-index: 100;
  margin-bottom: 2rem;
  margin-top: 40px;
  background: transparent;
}

.audience-toggle {
  display: flex;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 30px;
  padding: 6px;
  position: relative;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(10px);
  border: none;
  min-width: 340px;
  max-width: 460px;
  width: 90%;
  transition: all 0.3s ease-in-out;
}

.audience-toggle-option {
  flex: 1;
  padding: 0.75rem 1.25rem; /* Increased padding */
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 2;
  color: #64748b;
  text-align: center;
  white-space: nowrap;
  user-select: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 14px;
}

.audience-toggle-option.active {
  color: #1a1a1a;
  font-weight: 700;
}

.audience-toggle-slider {
  position: absolute;
  top: 6px;
  left: 6px;
  background: #ffffff;
  border-radius: 25px;
  height: calc(100% - 12px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
}

/* Dual content sections - Updated */
.audience-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
  position: absolute;
  width: 100%;
  left: 0;
  visibility: hidden;
  pointer-events: none;
}

.audience-section.active {
  opacity: 1;
  transform: translateY(0);
  position: relative;
  visibility: visible;
  pointer-events: auto;
}

/* Hero Section - Updated to use correct image format */
.hero {
  position: relative;
  background: url('../assets/optimized/hero-bg.jpg') center/cover no-repeat;
  color: #fff;
  padding: 200px 0 140px;
  margin-top: 0;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.6)); /* Less blue tint */
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3.8rem;
  margin-bottom: 20px;
  font-weight: 800;
  letter-spacing: -1px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-tagline {
  font-size: 1.4em;
  transition: all 0.3s ease;
  color: rgba(255, 255, 255, 0.95); /* Increased contrast */
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
  margin-top: 2.5rem;
}

.hero-cta .btn-primary,
.hero-cta .btn-secondary {
  min-width: 160px;
  text-align: center;
  padding: 1rem 2rem;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  height: 48px;
  padding: 0 1.5rem;
  border-radius: 24px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.feature-item img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 1.5rem;
  filter: none;
  transition: transform 0.3s ease;
}

@media (max-width: 768px) {
  .feature-item img {
    width: 140px;
    height: 140px;
  }
}

.feature-item h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.feature-item p {
  color: #374151; /* Darker gray for better contrast */
  line-height: 1.7;
}

.feature-item:focus {
  outline: 2px solid #2563EB;
  outline-offset: 2px;
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* Call to Action Section - Updated image path */
.cta {
  position: relative;
  background: linear-gradient(rgba(37, 99, 235, 0.9), rgba(29, 78, 216, 0.9)), url('../assets/optimized/cta-bg.jpg') no-repeat center center/cover;
  color: #fff;
  padding: 80px 0;
  text-align: center;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(37, 99, 235, 0.7);
}

.cta .container {
  position: relative;
  z-index: 1;
}

.cta h2 {
  font-size: 2.5em;
  margin-bottom: 1.5rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.newsletter-form {
  margin-top: 20px;
}

.newsletter-form input[type="email"] {
  padding: 10px;
  width: 250px;
  border: none;
  border-radius: 5px;
}

.btn-secondary {
  padding: 10px 20px;
  background: #2563EB;
  color: #fff;
  border: none;
  border-radius: 5px;
  margin-left: 10px;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-secondary:hover {
  background: #1e50b3;
}

/* Enhanced Page Headers */
.page-header {
  background: linear-gradient(135deg, #1E40AF, #3B82F6);
  padding: 160px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* New Header Animation Styles - Replace the current bg-gradient-animated */
.bg-gradient-animated {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1;  
  background: linear-gradient(135deg, #6366f1, #3b82f6, #2dd4bf, #8b5cf6);
  background-size: 400% 400%;
  animation: gradientFlow 12s ease infinite;
  opacity: 0.85;
}

@keyframes gradientFlow {
  0% { background-position: 0% 50% }
  50% { background-position: 100% 50% }
  100% { background-position: 0% 50% }
}

/* Add animated particles */
.particle-container {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  overflow: hidden;
  z-index: 2;
}

.particle {
  position: absolute;
  display: block;
  pointer-events: none;
  opacity: 0.6;
  z-index: 2;
  filter: blur(1px);
}

.particle:nth-child(1) {
  width: 15px; height: 15px;
  background: #fff;
  top: 20%; left: 10%;
  border-radius: 50%;
  animation: float-up-right 15s ease-in-out infinite alternate;
}

.particle:nth-child(2) {
  width: 20px; height: 20px;
  background: #f0abfc;
  top: 60%; left: 80%;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  animation: float-up-left 18s ease-in-out infinite alternate;
}

.particle:nth-child(3) {
  width: 25px; height: 25px;
  background: #fcd34d;
  top: 30%; left: 50%;
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
  animation: float-circle 25s linear infinite;
}

.particle:nth-child(4) {
  width: 12px; height: 12px;
  background: #a7f3d0;
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
  animation: float-circle 25s linear infinite;
}

.particle:nth-child(4) {
  width: 12px; height: 12px;
  background: #a7f3d0;
  top: 70%; left: 30%;
  border-radius: 2px;
  animation: float-up-right 20s ease-in-out infinite alternate-reverse;
}

.particle:nth-child(5) {
  width: 18px; height: 18px;
  background: #fde68a;
  top: 40%; left: 70%;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  transform: rotate(45deg);
  animation: float-up-left 22s ease-in-out infinite alternate-reverse;
}

@keyframes float-up-right {
  0% { transform: translateY(30vh) translateX(-10vw) rotate(0deg); opacity: 0; }
  20% { opacity: 0.6; }
  80% { opacity: 0.6; }
  100% { transform: translateY(-30vh) translateX(10vw) rotate(360deg); opacity: 0; }
}

@keyframes float-up-left {
  0% { transform: translateY(20vh) translateX(10vw) rotate(0deg); opacity: 0; }
  20% { opacity: 0.7; }
  80% { opacity: 0.7; }
  100% { transform: translateY(-20vh) translateX(-15vw) rotate(-360deg); opacity: 0; }
}

@keyframes float-circle {
  0% { transform: translateY(0) translateX(0) rotate(0deg); }
  25% { transform: translateY(-20vh) translateX(15vw) rotate(90deg); }
  50% { transform: translateY(0) translateX(30vw) rotate(180deg); }
  75% { transform: translateY(20vh) translateX(15vw) rotate(270deg); }
  100% { transform: translateY(0) translateX(0) rotate(360deg); }
}

/* Keep transparent bg-pattern for subtle texture */
.bg-pattern {
  opacity: 0.2; /* Reduce opacity to make less dominant */
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(30deg, rgba(255,255,255,0.1) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,0.1) 87.5%, rgba(255,255,255,0.1)),
    linear-gradient(150deg, rgba(255,255,255,0.1) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,0.1) 87.5%, rgba(255,255,255,0.1));
  background-size: 80px 140px;
  background-position: 0 0, 0 0, 40px 70px, 40px 70px;
  z-index: 1;
  animation: bgPattern 60s linear infinite;
}

/* Ensure header content stays above animations */
.page-header .container {
  position: relative;
  z-index: 5;
}

.page-header h1 {
  font-size: 4em;
  color: #ffffff;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 0 rgba(0,0,0,0.1),
               4px 4px 0 rgba(0,0,0,0.1);
  font-weight: 800;
  letter-spacing: -0.5px;
  position: relative;
  display: inline-block;
}

.page-header p {
  font-size: 1.6em;
  color: rgba(255, 255, 255, 0.95);
  max-width: 800px;
  margin: 0 auto;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
  line-height: 1.6;
  font-weight: 500;
}

.header-accent {
  width: 100px;
  height: 4px;
  background: #ffffff;
  margin: 30px auto 0;
  position: relative;
  border-radius: 2px;
}

.header-accent::before,
.header-accent::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 4px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 2px;
}

.header-accent::before {
  left: -60px;
}

.header-accent::after {
  right: -60px;
}

/* About Header Specific Styles - Updated image path */
.about-header {
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(30, 64, 175, 0.9)), url('../assets/optimized/about-bg.jpg') no-repeat center center/cover;
  position: relative;
}

.light-rays {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.1) 0%, transparent 60%);
  z-index: 2;
  animation: pulse 4s ease-in-out infinite;
}

.about-header .container {
  z-index: 3;
}

.about-header h1 {
  text-shadow: 2px 2px 0 rgba(0,0,0,0.2),
               4px 4px 0 rgba(0,0,0,0.2);
  animation: slideInDown 1s ease-out;
}

.about-header p {
  animation: slideInUp 1s ease-out;
  font-weight: 500;
}

/* Features List - Enhanced */
.features-list {
  padding: 80px 0;
  background: linear-gradient(to bottom right, #f8fafc, #e2e8f0);
}

.features-list .feature {
  background: #ffffff;
  padding: 2.5rem;
  margin-bottom: 2rem;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  border-left: 5px solid #2563EB;
  transition: all 0.3s ease;
}

.features-list .feature:hover {
  transform: translateX(5px) translateY(-2px);
  box-shadow: 0 12px 40px rgba(37, 99, 235, 0.12);
}

/* Enhanced Feature Animations */
.feature {
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(37, 99, 235, 0.03),
    transparent
  );
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.feature:hover::before {
  transform: translateX(100%);
}

.feature h2 {
  position: relative;
  transition: transform 0.3s ease, color 0.3s ease;
}

.feature:hover h2 {
  color: #2563EB;
}

/* Add Ripple Effect */
.ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: ripple 0.6s linear;
  background-color: rgba(37, 99, 235, 0.2);
}

@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* About Page Header - Enhanced */
.about-header {
  background: url('../assets/about-bg.jpg') no-repeat center center/cover;
  position: relative;
  padding: 160px 0 100px;
  color: #fff;
  text-align: center;
}

.about-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(37, 99, 235, 0.8));
}

.about-header .container {
  position: relative;
  z-index: 2;
}

.about-header h1 {
  font-size: 4em;
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
  letter-spacing: -0.5px;
  color: #ffffff;
  animation: fadeInDown 1s ease-out;
}

.about-header p {
  font-size: 1.5em;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out;
}

/* About Content */
.about-content {
  padding: 80px 0;
  line-height: 1.8;
}

.about-content h2 {
  margin-top: 20px;
  color: #2563EB;
}

.about-content ul {
  list-style: disc inside;
  margin: 20px 0;
}

/* Footer */
.footer {
  background: linear-gradient(180deg, #1a1a1a, #2d2d2d);
  color: rgba(255, 255, 255, 0.9);
  padding: 2.5rem 0;
  position: relative;
  overflow: hidden;
  margin-top: 3rem;
}

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

.footer .container {
  position: relative;
  z-index: 2;
  text-align: center;
}

.footer p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .footer {
    padding: 2rem 0;
    margin-top: 2rem;
  }
}

.footer .container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
  padding: 2rem 1rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-links a:hover {
  opacity: 1;
}

/* SEO Optimizations */
h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
}

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

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

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

@keyframes pulse {
  0% { opacity: 0.6; }
  50% { opacity: 1; }
  100% { opacity: 0.6; }
}

@keyframes bgPattern {
  0% { background-position: 0 0, 0 0, 40px 70px, 40px 70px; }
  100% { background-position: 1000px 0, 1000px 0, 1040px 70px, 1040px 70px; }
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design Improvements */
@media (max-width: 768px) {
  .navbar {
    padding: 1rem 0;
  }
  
  .navbar .container {
    flex-direction: row;
    align-items: center;
  }
  
  .logo-text {
    font-size: 1.5rem;
  }
  
  .mobile-menu-btn {
    display: flex;
    z-index: 9999;
  }
  
  #main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
    padding: 80px 2rem 2rem;
    transition: all 0.4s ease;
    z-index: 999;
    overflow-y: auto;
  }
  
  #main-nav.active {
    right: 0;
  }
  
  #main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }
  
  #main-nav ul li {
    width: 100%;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.3s ease;
    transition-delay: calc(0.1s * var(--i));
  }
  
  #main-nav.active ul li {
    opacity: 1;
    transform: translateX(0);
  }
  
  #main-nav ul li a {
    display: block;
    width: 100%;
    padding: 1rem;
    border-radius: 8px;
  }
  
  .hero {
    padding: 120px 0;
  }
  
  .hero-title {
    font-size: 2.5em;
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
  }
  
  .page-header {
    padding: 120px 0 60px;
  }
  
  .page-header h1,
  .about-header h1 {
    font-size: 2.8em;
  }
  
  .page-header p,
  .about-header p {
    font-size: 1.2em;
    padding: 0 20px;
  }
  
  .features-list .feature {
    padding: 1.5rem;
  }

  .menu-open {
    overflow: hidden;
  }
  
  /* Simplify animations on mobile */
  .particle:nth-child(4),
  .particle:nth-child(5) {
    display: none; /* Hide some particles on mobile for better performance */
  }
  
  @keyframes float-up-right {
    0% { transform: translateY(30vh) translateX(-5vw) rotate(0deg); }
    100% { transform: translateY(-30vh) translateX(5vw) rotate(360deg); }
  }
  
  @keyframes float-up-left {
    0% { transform: translateY(20vh) translateX(5vw) rotate(0deg); }
    100% { transform: translateY(-20vh) translateX(-5vw) rotate(-360deg); }
  }
  
  @keyframes float-circle {
    0% { transform: translateY(0) translateX(0) rotate(0deg); }
    100% { transform: translateY(0) translateX(0) rotate(360deg); }
  }

  .hero-cta {
    flex-direction: column;
    gap: 1rem;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 280px;
  }

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

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

  /* Adjustments for smaller screens */
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* Fix header overlap on mobile */
  .hero {
    padding-top: calc(60px + 1rem); /* Adjust 60px to match your navbar height */
  }

  .hero-content {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-item {
    text-align: center;
  }

  .two-column-layout {
    flex-direction: column;
  }

  .text-column {
    margin-bottom: 2rem;
  }
}

/* Add animation delays for nav items */
nav ul li {
  --i: 0;
}

nav ul li:nth-child(1) { --i: 1; }
nav ul li:nth-child(2) { --i: 2; }
nav ul li:nth-child(3) { --i: 3; }
nav ul li:nth-child(4) { --i: 4; }
nav ul li:nth-child(5) { --i: 5; }

/* Features Preview Section */
.features-preview {
  padding: 100px 0;
  background: linear-gradient(to bottom, #f8fafc, #fff);
  text-align: center;
}

.features-preview h2 {
  font-size: 2.8em;
  margin-bottom: 50px;
  color: #1a1a1a;
  position: relative;
  display: inline-block;
}

.features-preview h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #2563EB, transparent);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  padding: 0 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-item {
  height: 100%;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  padding: 2.5rem;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-item img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 1.5rem;
  flex-shrink: 0;
}

.feature-item h3 {
  margin: 0 0 1rem;
  color: #1a1a1a;
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.feature-item p {
  margin: 0;
  flex-grow: 1;
}

/* Mobile specific styles */
@media (max-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .feature-item {
    min-height: 240px;
    padding: 2rem;
  }

  .feature-item img {
    width: 100px;
    height: 100px;
  }
  
  /* Button styles for mobile */
  .btn-primary {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    margin-top: 1rem;
  }
}

/* Button Styles */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  background: linear-gradient(135deg, #2563EB, #1E40AF);
  color: #fff;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  min-width: 160px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
  background: linear-gradient(135deg, #1E40AF, #1E3A8A);
}

.btn-primary:focus {
  outline: 2px solid #2563EB;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.25);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  backdrop-filter: blur(10px);
  min-width: 160px;
  text-align: center;
}

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

/* Section Styles */
section {
  padding: 80px 0;
}

.section-bg {
  background: #FFFFFF;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
}

/* Fix animation issues */
[data-aos] {
  transition: all 0.5s ease;
}

[data-aos="fade-up"] {
  opacity: 0;
  transform: translateY(20px);
}

[data-aos="fade-up"].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

[data-aos="fade-right"] {
  opacity: 0;
  transform: translateX(-20px);
}

[data-aos="fade-right"].aos-animate {
  opacity: 1;
  transform: translateX(0);
}

[data-aos="zoom-in"] {
  opacity: 0;
  transform: scale(0.9);
}

[data-aos="zoom-in"].aos-animate {
  opacity: 1;
  transform: scale(1);
}

/* Fix flowchart animation styles */
.flowchart-animation {
  opacity: 1;
}

.flow-node {
  fill: #fff;
  stroke: #2563EB;
  stroke-width: 2;
  transition: all 0.3s ease;
}

.flow-arrow {
  stroke: #2563EB;
  stroke-width: 2;
  fill: none;
}

.flow-text {
  font-size: 12px;
  fill: #1a1a1a;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-weight: 600;
}

/* Process Steps - Restored Vertical Design */
.process-steps {
  position: relative;
  max-width: 800px;
  margin: 60px auto;
  padding: 20px 0;
}

/* Vertical line connector */
.process-steps::before {
  display: none; /* Hide the vertical line that was causing issues */
  /* Original properties remain below but won't be applied due to display: none */
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 24px; /* Aligned with the center of step icons */
  width: 2px;
  background: linear-gradient(to bottom, rgba(37, 99, 235, 0.2), rgba(124, 58, 237, 0.2));
  z-index: 0;
}

.process-step {
  display: flex;
  align-items: flex-start;
  position: relative;
  margin-bottom: 60px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.process-step.aos-animate {
  opacity: 1;
  transform: translateY(0);
}

.step-icon {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: 2px solid #2563EB;
  position: relative;
  z-index: 2;
}

.step-icon svg {
  width: 40px;
  height: 40px;
  color: #2563EB;
  transition: transform 0.3s ease;
}

.process-step:hover .step-icon svg {
  transform: scale(1.1);
}

.step-content {
  flex: 1;
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(0);
  transition: all 0.3s ease;
}

.step-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.step-content h3 {
  color: #1a1a1a;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.step-content p {
  color: #374151;
  margin-bottom: 1rem;
}

.step-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.step-content ul li {
  padding-left: 24px;
  position: relative;
  margin-bottom: 0.5rem;
  color: #4b5563;
}

/* Audience Section Enhancements */
.audience-section .hero-content,
.audience-section .process-steps,
.audience-section .cta-buttons {
  opacity: 0;
  transform: translateY(20px);
}

.audience-section.active .hero-content,
.audience-section.active .process-steps,
.audience-section.active .cta-buttons {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease-out 0.2s, transform 0.5s ease-out 0.2s;
}

/* Flowchart Animation Styles */
.flowchart-container {
  margin-top: 40px;
}

.flowchart-animation {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.flowchart-animation svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

/* Flow node animations */
.flow-node {
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.flow-node.animate {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.flow-node circle,
.flow-node rect {
  fill: #ffffff;
  stroke: #2563EB;
  stroke-width: 2;
  transition: all 0.3s ease;
}

.flow-node:hover circle,
.flow-node:hover rect {
  filter: drop-shadow(0 8px 16px rgba(37, 99, 235, 0.2));
  transform: translateY(-2px);
}

/* Flow arrow animations */
.flow-arrows path {
  stroke: #2563EB;
  stroke-width: 2;
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: none;
  opacity: 0.6;
}

.flow-arrows path.animate {
  animation: drawArrow 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Flow text styles */
.flow-text {
  font-size: 14px;
  font-weight: 600;
  fill: #1a1a1a;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease;
}

.flow-text.animate {
  opacity: 1;
  transform: translateY(0);
}

@keyframes drawArrow {
  to {
    stroke-dashoffset: 0;
  }
}

/* Even-odd layout for process steps */
.process-step:nth-child(odd) .step-content {
  margin-right: 60px;
}

.process-step:nth-child(even) {
  flex-direction: row-reverse;
}

.process-step:nth-child(even) .step-content {
  margin-left: 60px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .process-steps::before {
    left: 41px;
  }
    .process-step,
  .process-step:nth-child(even) {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 15px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    margin-bottom: 25px;
    border-radius: var(--radius-md);
    background-color: var(--white);
  }
  
  .step-icon {
    width: 70px;
    height: 70px;
    margin: 0 0 15px 0;
  }
  
  .step-icon svg {
    width: 32px;
    height: 32px;
  }
  
  .step-content,
  .process-step:nth-child(odd) .step-content,
  .process-step:nth-child(even) .step-content {
    margin: 0;
    padding: 0;
  }
  
  .step-content h3 {
    font-size: 1.3rem;
  }
}

/* Additional styles for flowchart animations and vertical alignment */
.tech-flow {
  margin-top: 60px;
  padding: 40px 0;
  position: relative;
}

.tech-flow::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, transparent, #2563EB 5%, #2563EB 95%, transparent);
  transform: translateX(-50%);
  opacity: 0.3;
}

.flowchart-container {
  position: relative;
  max-width: 400px;
  margin: 0 auto;
  padding: 20px 0;
  z-index: 2;
}

.flowchart-animation svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

/* Flow node animations */
.flow-node {
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.flow-node.animate {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.flow-node circle,
.flow-node rect {
  fill: #ffffff;
  stroke: #2563EB;
  stroke-width: 2;
  transition: all 0.3s ease;
}

.flow-node:hover circle,
.flow-node:hover rect {
  filter: drop-shadow(0 8px 16px rgba(37, 99, 235, 0.2));
  transform: translateY(-2px);
}

/* Flow arrow animations */
.flow-arrows path {
  stroke: #2563EB;
  stroke-width: 2;
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: none;
  opacity: 0.6;
}

.flow-arrows path.animate {
  animation: drawArrow 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Flow text styles */
.flow-text {
  font-size: 14px;
  font-weight: 600;
  fill: #1a1a1a;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease;
}

.flow-text.animate {
  opacity: 1;
  transform: translateY(0);
}

@keyframes drawArrow {
  to {
    stroke-dashoffset: 0;
  }
}

/* Mobile adjustments for flowchart */
@media (max-width: 768px) {
  .tech-flow {
    padding: 20px 0;
  }
  
  .flowchart-container {
    padding: 10px;
  }
  
  .flow-node circle {
    r: 30;
  }
  
  .flow-node rect {
    width: 100px;
    height: 50px;
  }
  
  .flow-text {
    font-size: 12px;
  }
}

.flowchart-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.8);
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.flowchart-animation svg {
  width: 100%;
  height: auto;
  min-height: 400px;
  display: block;
}

/* Improve node spacing and alignment */
.flow-node {
  transform-origin: center;
}

.flow-arrows path {
  stroke-width: 2.5px;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Mobile optimizations */
@media (max-width: 768px) {
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .feature-item {
    min-height: 240px;
    padding: 2rem;
  }

  .flowchart-container {
    padding: 20px;
    margin: 20px auto;
  }

  .flowchart-animation svg {
    min-height: 300px;
  }

  .flow-text {
    font-size: 12px;
  }
}

/* Enhanced FAQ Section */
.faq-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.faq-category {
  margin-bottom: 40px;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  overflow: hidden;
}

.faq-question {
  padding: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  color: var(--text-color);
  position: relative;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}

.faq-question:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--primary-color);
}

.faq-question::after {
  content: '';
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--primary-color);
  border-bottom: 2px solid var(--primary-color);
  transform: rotate(45deg);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.active .faq-question::after {
  transform: rotate(-135deg);
}

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

.faq-answer-content {
  padding: 0 20px 20px;
  color: var(--text-light);
  line-height: 1.6;
}

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

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

.faq-category h2 {
  color: var(--text-color);
  margin-bottom: 24px;
  font-size: 1.5rem;
  position: relative;
  padding-left: 16px;
}

.faq-category h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 24px;
  background: var(--primary-color);
  border-radius: var(--radius-sm);
}

@media (max-width: 768px) {
  .faq-question {
    padding: 16px;
    font-size: 0.95rem;
  }
  
  .faq-answer-content {
    padding: 0 16px 16px;
    font-size: 0.9rem;
  }
  
  .faq-category h2 {
    font-size: 1.25rem;
  }
}

/* SVG Flowchart Styles */
.flowchart-container svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.hex-node {
  fill: white;
  stroke: #2563EB;
  stroke-width: 2;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.flow-node circle,
.flow-node rect {
  fill: white;
  stroke: #2563EB;
  stroke-width: 2;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.flow-text {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  fill: #1a1a1a;
  pointer-events: none;
}

.flow-arrow {
  stroke: #2563EB;
  stroke-width: 2;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* Flowchart Animations */
.flow-node {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.flow-node.animate {
  opacity: 1;
  transform: translateY(0);
}

.flow-arrow {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  transition: stroke-dashoffset 1s ease;
}

.flow-arrow.animate {
  stroke-dashoffset: 0;
}

@media (max-width: 768px) {
  .flowchart-container svg {
    height: 400px;
  }
  
  .flow-text {
    font-size: 12px;
  }
  
  .hex-node,
  .flow-node circle,
  .flow-node rect {
    transform: scale(0.8);
    transform-origin: center;
  }
}

/* Enhanced CTA Section */
.cta {
  position: relative;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.97), rgba(29, 78, 216, 0.97));
  color: #fff;
  padding: 80px 0;
  text-align: center;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../assets/optimized/cta-bg.jpg') no-repeat center center/cover;
  opacity: 0.1;
  z-index: 0;
}

.cta .btn-primary {
  background: #fff;
  color: #2563EB;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.cta .btn-primary:hover {
  background: #f8fafc;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

.cta .btn-secondary {
  border-color: #fff;
  color: #fff;
}

/* Animated steps section */
.steps-section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.step-container {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 4rem;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-container.animate {
  opacity: 1;
  transform: translateY(0);
}

.step-number {
  font-size: 4rem;
  font-weight: 800;
  color: #2563EB;
  opacity: 0.1;
  position: absolute;
  left: -2rem;
  top: 50%;
  transform: translateY(-50%);
}

.step-content {
  background: #fff;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  flex: 1;
  position: relative;
  z-index: 1;
}

.step-content::before {
  content: '';
  position: absolute;
  left: -15px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  background: #2563EB;
  border-radius: 50%;
  z-index: -1;
}

.step-content::after {
  content: '';
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background: #fff;
  border-radius: 50%;
  z-index: -1;
}

/* Animated background objects */
.animated-objects {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.bg-object {
  position: absolute;
  opacity: 0.5;
  animation: float 20s infinite ease-in-out;
}

.bg-object.hexagon {
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.bg-object.circle {
  border-radius: 50%;
}

.bg-object.triangle {
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}

@keyframes float {
  0% {
    transform: translate(0, 0) rotate(0deg);
    opacity: 0.6;
  }
  25% {
    transform: translate(var(--moveX), var(--moveY)) rotate(90deg);
    opacity: 0.8;
  }
  50% {
    transform: translate(calc(var(--moveX) * -0.5), calc(var(--moveY) * -0.5)) rotate(180deg);
    opacity: 0.6;
  }
  75% {
    transform: translate(calc(var(--moveX) * 0.5), calc(var(--moveY) * 0.5)) rotate(270deg);
    opacity: 0.8;
  }
  100% {
    transform: translate(0, 0) rotate(360deg);
    opacity: 0.6;
  }
}

/* Process steps animation */
.process-steps {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

.process-step {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  padding: 2rem;
  margin-bottom: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease;
}

.process-step:hover {
  transform: translateX(10px);
}

.step-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.3);
}

.step-content {
  flex-grow: 1;
}

/* Footer button highlight */
.footer .btn-primary {
  background: linear-gradient(135deg, #3B82F6, #2563EB);
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
  color: white;
  border: none;
  transition: all 0.3s ease;
}

/* SEO Schema additions */
[itemtype="https://schema.org/WebSite"],
[itemtype="https://schema.org/Organization"] {
  display: block;
}

/* Footer alignment */
.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 1rem;
}

.footer-nav {
  display: flex;
  gap: 2rem;
}

/* Animated Background Objects */
.animated-objects {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.bg-object {
  position: absolute;
  opacity: 0.15;
  animation: float 15s infinite;
  filter: blur(2px);
}

.bg-object.hexagon {
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  width: 100px;
  height: 100px;
}

.bg-object.circle {
  border-radius: 50%;
  width: 80px;
  height: 80px;
}

.bg-object.triangle {
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
  width: 90px;
  height: 90px;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(var(--moveX), var(--moveY)) rotate(90deg);
  }
  50% {
    transform: translate(calc(var(--moveX) * -0.5), calc(var(--moveY) * -0.5)) rotate(180deg);
  }
  75% {
    transform: translate(calc(var(--moveX) * 0.5), calc(var(--moveY) * 0.5)) rotate(270deg);
  }
}

/* Step Animation */
.process-steps {
  position: relative;
  padding: 2rem 0;
}

.process-step {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  padding: 2rem;
  margin-bottom: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease;
}

.process-step:hover {
  transform: translateX(10px);
}

.step-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.3);
}

.step-content {
  flex-grow: 1;
}

/* Connecting lines between steps */
.process-step::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 40px;
  width: 2px;
  height: 2rem;
  background: linear-gradient(to bottom, var(--primary-color), transparent);
  transform: translateX(-50%);
}

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

/* Animated background objects */
.animated-objects {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.bg-object {
  position: absolute;
  opacity: 0.15;
  animation: float 15s infinite;
  filter: blur(2px);
}

.bg-object.hexagon {
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  width: 100px;
  height: 100px;
}

.bg-object.circle {
  border-radius: 50%;
  width: 80px;
  height: 80px;
}

.bg-object.triangle {
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
  width: 90px;
  height: 90px;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(var(--moveX), var(--moveY)) rotate(90deg);
  }
  50% {
    transform: translate(calc(var(--moveX) * -0.5), calc(var(--moveY) * -0.5)) rotate(180deg);
  }
  75% {
    transform: translate(calc(var(--moveX) * 0.5), calc(var(--moveY) * 0.5)) rotate(270deg);
  }
}

/* Process Steps Animation Enhancement */
.process-steps {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

/* Vertical connecting line with animated data transfer */
.process-steps::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #e4e4e7;
  z-index: 1;
}

/* Animated data transfer effect */
.process-steps::after {
  content: '';
  position: absolute;
  left: 30px;
  top: 0;
  width: 3px;
  height: 20%;
  background: linear-gradient(to bottom, rgba(37, 99, 235, 0), #2563EB, rgba(37, 99, 235, 0));
  z-index: 2;
  animation: dataTransferVertical 3s infinite linear;
}

/* Individual process step styling */
.process-step {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease-out;
}

/* Show steps when section is active */
.audience-section.active .process-step {
  opacity: 1;
  transform: translateY(0);
}

/* Step animation delays */
.process-step:nth-child(1) { transition-delay: 0.1s; }
.process-step:nth-child(2) { transition-delay: 0.2s; }
.process-step:nth-child(3) { transition-delay: 0.3s; }
.process-step:nth-child(4) { transition-delay: 0.4s; }

/* Step icon with pulse effect */
.step-icon {
  width: 60px;
  height: 60px;
  min-width: 60px; /* Prevent icon shrinking */
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #2563EB;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 3;
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.3);
}

/* Animated pulse around step icons */
.step-icon::before {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  border-radius: 50%;
  border: 2px solid #2563EB;
  opacity: 0;
  z-index: -1;
  animation: pulse 2s infinite;
}

/* Horizontal data transfer between icon and content */
.process-step::after {
  content: '';
  position: absolute;
  top: 30px;
  left: 60px;
  height: 3px;
  width: 2rem;
  background: #e4e4e7;
  z-index: 0;
}

/* Animated data flowing through horizontal connector */
.process-step::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 60px;
  height: 3px;
  width: 0;
  background: linear-gradient(to right, rgba(37, 99, 235, 0), #2563EB, rgba(37, 99, 235, 0));
  animation: dataTransferHorizontal 3s infinite linear;
  z-index: 1;
}

/* Step content styling - FIXED FOR SCALING */
.step-content {
  flex: 1;  /* Allow content to take up all remaining space */
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  min-height: 160px;  /* Set minimum height */
}

.step-content h3 {
  color: #1E40AF;
  margin-bottom: 0.75rem;
  font-size: 1.4rem;
  transition: all 0.3s ease;
  position: relative;
}

.step-content p {
  color: var(--text-light);
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
  font-size: 1rem;
  flex-grow: 1;  /* Allow text to grow and fill available space */
}

/* Improved hover effect that scales text properly */
.step-content:hover {
  transform: scale(1.05);

  box-shadow: var(--shadow-lg);
  background-color: #f8fafc;
}

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

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

/* Animation keyframes */
@keyframes dataTransferVertical {
  0% { height: 0; top: 0; }
  50% { height: 100%; top: 0; }
  50.001% { height: 0; top: 100%; }
  100% { height: 0; top: 100%; }
}

@keyframes dataTransferHorizontal {
  0% { width: 0; }
  50% { width: 100%; }
  100% { width: 0; }
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 0.4; }
  100% { transform: scale(1); opacity: 0.8; }
}

/* Mobile responsiveness for process steps */
@media (max-width: 768px) {
  .process-steps::before,
  .process-steps::after {
    left: 1.5rem;
  }
  
  .step-icon {
    width: 3rem;
    height: 3rem;
    min-width: 3rem;
  }
  
  .process-step {
    gap: 1rem;
  }
  
  .process-step::after {
    left: 2.9rem;
    top: 1.5rem;
    width: 1rem;
  }
  
  .process-step::before {
    left: 2.9rem;
    top: 1.5rem;
  }
  
  .step-content {
    padding: 1rem;
    min-height: 100px;
  }
  
  .step-content h3 {
    font-size: 1.2rem;
  }
  
  .step-content p {
    font-size: 0.9rem;
  }
}

/* Audience Section Enhancements */
.audience-section .hero-content,
.audience-section .process-steps,
.audience-section .cta-buttons {
  opacity: 0;
  transform: translateY(20px);
}

.audience-section.active .hero-content,
.audience-section.active .process-steps,
.audience-section.active .cta-buttons {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease-out 0.2s, transform 0.5s ease-out 0.2s;
}

/* Enhanced audience section transitions for CTA and hero areas */
.cta .audience-section {
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease-out;
  visibility: hidden;
  pointer-events: none;
  height: 0;
  overflow: hidden;
}

.cta .audience-section.active {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
  height: auto;
  overflow: visible;
}

/* Ensure hero sections also transition properly */
.hero .audience-section {
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
  visibility: hidden;
  pointer-events: none;
  min-height: 0;
}

.hero .audience-section.active {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
  min-height: auto;
}
