/* Module Section Styles */
.module-section {
  padding: 80px 0;
  scroll-margin-top: 80px; /* Adjust this value based on your header height */
}

.module-section.bg-colorSpace {
  background: linear-gradient(to top right, #ffffff, #f7f9ff,#fcffff, #e1f5fb, #ffffff);
  background-size: 400% 400%;
  animation: gradientAnimation 10s ease infinite;
}

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

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.module-subtitle {
  font-size: 1.5rem;
  color: #00a1e4; /* Adjust to match your primary blue color */
  font-weight: 500;
  margin-bottom: 2rem;
  font-style: italic;
}

/* Screenshot container with controlled size */
.module-screenshot-container {
  max-width: 300px; /* Control the maximum width of the screenshot */
  margin: 0 auto;
}

.module-screenshot {
  border-radius: 15px;
  width: 100%;
}

.module-features {
  margin-top: 2rem;
}

/* Simplified feature item structure */
.feature-item {
  display: flex;
  align-items: center;
  line-height: 1.6;
}

.feature-item i {
  font-size: 1.25rem;
  color: #0099cc; /* Adjust to match your primary blue color */
  margin-right: 15px;
  flex-shrink: 0;
  margin-top: 0.2rem; /* Slight adjustment to align with first line of text */
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .module-section {
    padding: 60px 10px;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .module-screenshot-container {
    margin-bottom: 2rem;
    max-width: 280px; /* Smaller on mobile */
  }
}

/* Hero Section Styles */
.hero-section {
  background: linear-gradient(to top right,  #ffffff,#beecff,#fcffff, #fbfae1, #ffffff);
  background-size: 200% 200%;
  animation: gradientAnimationModules 10s ease infinite;
  padding: 60px 0 40px;
  overflow: hidden;
  margin-top: 48px;
  position: relative;
  z-index: 1;
}


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

/* Decorative circles */
.hero-section::before,
.hero-section::after {
  content: '';
  position: absolute;
  background-image: url('/assets/deco_circle.png');
  background-repeat: no-repeat;
  background-size: contain;
  z-index: -1;
}

.hero-section::before {
  width: 40vw;
  height: 40vw;
  top: -100px;
  right: -150px;
  transform: rotate(15deg);
}

.hero-section::after {
  width: 25vw;
  height: 25vw;
  bottom: -100px;
  left: 45%;
  transform: rotate(-10deg);
}

.hero-title {
  color: #00a1e4;
  font-size: 2.8rem;
  line-height: 1.2;
  margin: 0;
  position: relative;
  z-index: 2;
}

.hero-subtitle {
  color: #666;
  font-size: 1.2rem;
  line-height: 1.6;
  max-width: 90%;
  position: relative;
  z-index: 2;
}

.hero-illustration {
  position: relative;
  text-align: center;
  z-index: 2;
}

.hero-illustration img {
  max-width: 90%;
  height: auto;
  animation: float 6s ease-in-out infinite;
}


/* Update responsive styles */
@media (max-width: 991.98px) {
  .hero-section {
    padding: 50px 0 30px;
    text-align: center;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    margin: 0 auto;
    max-width: 100%;
  }

  .hero-illustration {
    margin-top: 30px;
  }

  .hero-section::before {
    width: 300px;
    height: 300px;
    top: -50px;
    right: -100px;
  }

  .hero-section::after {
    width: 200px;
    height: 200px;
    bottom: -30px;
    left: -50px;
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Navigation Active States */
.nav-link.active {
  color: #00a1e4 !important;
  font-weight: 500;
}

.dropdown-menu .category-title.active {
  color: #00a1e4;
  font-weight: 500;
}

.module-category ul li a.active {
  color: #00a1e4;
  font-weight: 500;
}
