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

:root {
  /* Colors - Teal and Lime Green */
  --primary: hsl(189.7, 49.2%, 54.9%);
  --primary-light: hsl(189.7, 49.2%, 65%);
  --secondary: hsl(82.4, 60.4%, 55.5%);
  --secondary-light: hsl(82.4, 60.4%, 65%);

  --background: hsl(0, 0%, 98%);
  --foreground: hsl(0, 0%, 12%);
  --card: hsl(0, 0%, 100%);
  --muted: hsl(0, 0%, 92%);
  --muted-foreground: hsl(0, 1%, 28%);
  --border: hsl(0, 0%, 92%);

  /* Spacing */
  --container-max: 1280px;
  --container-small: 896px;

  /* Typography */
  --font-sans: system-ui, -apple-system, sans-serif;

  /* Transitions */
  --transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: var(--font-sans);
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1rem;
}

.container-small {
  max-width: var(--container-small);
  margin: 0 auto;
  padding: 0 1rem;
}

/* --- UTILITIES --- */
/* FIXED: Added !important to ensure this works regardless of order */
.hidden {
  display: none !important;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(249, 250, 251, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.2);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
}

.nav {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.logo-header {
  width: 170px;
}
@media (max-width: 600px) {
  .logo-header {
    width: 100px;
  }
}

.logo-box {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(29, 150, 175, 0.3);
  box-shadow: 0 4px 12px rgba(29, 150, 175, 0.2);
  transition: var(--transition);
}

.logo-container:hover .logo-box {
  box-shadow: 0 8px 20px rgba(29, 150, 175, 0.3);
}

.logo-text {
  color: white;
  font-weight: 700;
  font-size: 1.125rem;
}

.logo-info {
  display: none;
}

@media (min-width: 640px) {
  .logo-info {
    display: block;
  }
}

.logo-title {
  font-size: 1.125rem;
  font-weight: 700;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-subtitle {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

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

@media (min-width: 768px) {
  .nav-menu {
    display: flex;
  }
}

.nav-link {
  position: relative;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: var(--transition);
}

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

.nav-underline {
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  transition: var(--transition);
}

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

.btn {
  padding: 0.5rem 1.5rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(to right, var(--primary), var(--primary-light));
  color: white;
}

.btn-primary:hover {
  box-shadow: 0 8px 16px rgba(29, 150, 175, 0.4);
  transform: scale(1.05);
}

.btn-outline {
  background: transparent;
  border: 2px solid rgba(29, 150, 175, 0.4);
  color: var(--primary);
}

.btn-outline:hover {
  background: rgba(29, 150, 175, 0.1);
  transform: scale(1.05);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
}

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  transition: var(--transition);
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none !important;
  }
}

.mobile-menu-btn:hover {
  background: rgba(29, 150, 175, 0.1);
}

.menu-icon,
.close-icon {
  color: var(--foreground);
}

.mobile-menu {
  background: rgba(249, 250, 251, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.2);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  animation: slideDown 0.3s ease-out;
}

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

.mobile-menu-link {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: var(--transition);
}

.mobile-menu-link:hover {
  color: var(--primary);
}

/* Hero Section */
.hero {
  position: relative;
  padding: 6rem 0 10rem;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero {
    padding: 7rem 0;
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
  animation: pulse 4s ease-in-out infinite;
}

.hero-blob-1 {
  top: -10rem;
  right: -10rem;
  width: 20rem;
  height: 20rem;
  background: rgba(29, 150, 175, 0.2);
}

.hero-blob-2 {
  bottom: -10rem;
  left: -10rem;
  width: 20rem;
  height: 20rem;
  background: rgba(139, 194, 60, 0.15);
  animation-delay: 1s;
}

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

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.hero-content {
  position: relative;
  z-index: 10;
  animation: fadeInLeft 0.7s ease-out;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-16px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(29, 150, 175, 0.1);
  border: 1px solid rgba(29, 150, 175, 0.3);
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.badge-text {
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 1.5rem 0;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.5rem;
  }
}

.gradient-text {
  background:  var(--primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  line-height: 1.7;
  max-width: 32rem;
  font-weight: 300;
  margin: 2rem 0;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2.5rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

.hero-image {
  display: none;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .hero-image {
    display: flex;
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(16px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-image-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(29, 150, 175, 0.2), transparent, rgba(139, 194, 60, 0.2));
  border-radius: 24px;
  filter: blur(32px);
}

.hero-image-box {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(to bottom right, rgba(29, 150, 175, 0.1), rgba(139, 194, 60, 0.1));
  border-radius: 24px;
  border: 1px solid rgba(29, 150, 175, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
}

.hero-image-placeholder,
.about-image-placeholder {
  text-align: center;
}

.placeholder-text {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  font-weight: 600;
}

.placeholder-subtext {
  color: rgba(0, 0, 0, 0.4);
  font-size: 0.75rem;
  margin-top: 0.5rem;
}

/* About Section */
.about {
  padding: 6rem 0 10rem;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.3), var(--background));
}

@media (min-width: 768px) {
  .about {
    padding: 10rem 0;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
  /* FIXED: Removed animation here to let JS handle it if needed, or keep standard */
  animation: fadeIn 0.7s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 1rem 0;
}

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

.section-description {
  color: var(--muted-foreground);
  margin: 1.5rem auto 0;
  max-width: 42rem;
  line-height: 1.7;
  font-weight: 300;
}

.about-grid {
  display: grid;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.about-content {
  /* JS will animate this */
}

.about-subtitle {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.about-text {
  color: var(--muted-foreground);
  line-height: 1.7;
  margin-bottom: 2rem;
  font-weight: 300;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border-radius: 8px;
  transition: var(--transition);
  /* FIXED: Removed keyframe animation to prevent conflict with JS scroll observer */
}

.feature-item:hover {
  background: rgba(29, 150, 175, 0.05);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(29, 150, 175, 0.2);
  transition: var(--transition);
}

.feature-item:hover .feature-icon {
  box-shadow: 0 8px 20px rgba(29, 150, 175, 0.4);
}

.feature-icon span {
  color: white;
  font-weight: 700;
}

.feature-content {
  flex: 1;
}

.feature-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.feature-desc {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.about-image {
  position: relative;
  /* JS will animate */
}

.about-image-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(29, 150, 175, 0.2), rgba(139, 194, 60, 0.2));
  border-radius: 24px;
  filter: blur(32px);
}

.about-image-box {
  position: relative;
  aspect-ratio: 1;
  background: linear-gradient(135deg, rgba(29, 150, 175, 0.1), transparent, rgba(139, 194, 60, 0.1));
  border-radius: 24px;
  border: 1px solid rgba(29, 150, 175, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
}

/* Products Section */
.products {
  padding: 6rem 0 10rem;
  background: hsla(190, 50%, 55%, 0.098);
}

@media (min-width: 768px) {
  .products {
    padding: 10rem 0;
  }
}

.products-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.product-card {
  position: relative;
  background: var(--card);
  border: 1px solid rgba(229, 231, 235, 0.4);
  border-radius: 16px;
  padding: 2rem;
  overflow: hidden;
  transition: var(--transition);
  /* FIXED: Removed 'animation: fadeIn' to allow JS to trigger it on scroll */
}

.product-card:hover {
  border-color: rgba(29, 150, 175, 0.5);
  box-shadow: 0 20px 40px rgba(29, 150, 175, 0.1);
  transform: translateY(-8px);
}

.product-card-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(29, 150, 175, 0.05), rgba(139, 194, 60, 0.05));
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}

.product-card:hover .product-card-bg {
  opacity: 1;
}

.product-card-content {
  position: relative;
  z-index: 10;
}

.product-icon {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.product-card:hover .product-icon {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transform: scale(1.1);
}

.product-icon-blue {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(37, 99, 235, 0.3));
}

.product-icon-orange {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.3), rgba(220, 38, 38, 0.3));
}

.product-icon-green {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.3), rgba(16, 185, 129, 0.3));
}

.product-icon-purple {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.3), rgba(236, 72, 153, 0.3));
}

.product-icon-red {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.3), rgba(244, 63, 94, 0.3));
}

.product-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  transition: var(--transition);
}

.product-card:hover .product-title {
  color: var(--primary);
}

.product-description {
  color: var(--muted-foreground);
  line-height: 1.7;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.product-link {
  display: inline-flex;
  align-items: center;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: var(--transition);
}

.product-link:hover {
  color: var(--secondary);
}

.product-arrow {
  margin-left: 0.5rem;
  transition: var(--transition);
}

.product-link:hover .product-arrow {
  transform: translateX(4px);
}

/* Services Section */
.services {
  padding: 6rem 0 10rem;
  background: var(--background);
}

@media (min-width: 768px) {
  .services {
    padding: 10rem 0;
  }
}

.services-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-card {
  position: relative;
  background: var(--card);
  border: 1px solid rgba(229, 231, 235, 0.4);
  border-radius: 16px;
  padding: 2.5rem;
  transition: var(--transition);
  /* FIXED: Removed keyframe animation to avoid conflict */
}

.service-card:hover {
  border-color: rgba(29, 150, 175, 0.5);
  box-shadow: 0 20px 40px rgba(29, 150, 175, 0.1);
  transform: translateY(-8px);
}

.service-card-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(29, 150, 175, 0.05), rgba(139, 194, 60, 0.05));
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
  border-radius: 16px;
}

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

.service-card-content {
  position: relative;
  z-index: 10;
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(29, 150, 175, 0.3), rgba(139, 194, 60, 0.3));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.service-card:hover .service-icon {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transform: scale(1.1);
}

.service-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  transition: var(--transition);
}

.service-card:hover .service-title {
  color: var(--primary);
}

.service-description {
  color: var(--muted-foreground);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.service-list-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: var(--transition);
}

.service-card:hover .service-list-item {
  color: var(--foreground);
}

.service-bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  flex-shrink: 0;
}

/* CTA Section */
.cta {
  padding: 6rem 0 10rem;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(29, 150, 175, 0.15), transparent, rgba(139, 194, 60, 0.15));
}

@media (min-width: 768px) {
  .cta {
    padding: 10rem 0;
  }
}

.cta-box {
  position: relative;
  background: linear-gradient(135deg, rgba(29, 150, 175, 0.15), transparent, rgba(139, 194, 60, 0.15));
  border: 1px solid rgba(29, 150, 175, 0.3);
  border-radius: 24px;
  padding: 3rem;
  text-align: center;
  overflow: hidden;
}

@media (min-width: 768px) {
  .cta-box {
    padding: 5rem;
  }
}

.cta-bg {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  pointer-events: none;
}

.cta-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
  transition: var(--transition);
}

.cta-box:hover .cta-blob {
  filter: blur(48px);
}

.cta-blob-1 {
  top: 0;
  right: 0;
  width: 24rem;
  height: 24rem;
  background: var(--primary);
}

.cta-blob-2 {
  bottom: 0;
  left: 0;
  width: 20rem;
  height: 20rem;
  background: var(--secondary);
}

.cta-content {
  position: relative;
  z-index: 10;
  animation: fadeIn 0.7s ease-out;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

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

.cta-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin: 0 auto 2.5rem;
  max-width: 42rem;
  line-height: 1.7;
  font-weight: 300;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
  }
}

/* Footer */
.footer {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), var(--background));
  border-top: 1px solid rgba(29, 150, 175, 0.1);
  padding: 4rem 0 5rem;
}

@media (min-width: 768px) {
  .footer {
    padding: 5rem 0;
  }
}
.logo-footer {
  width: 120px;
}
@media (max-width: 600px) {
  .logo-footer {
    width: 90px;
  }
}

.footer-grid {
  display: grid;
  gap: 3rem;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo-box {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(29, 150, 175, 0.3);
  box-shadow: 0 4px 12px rgba(29, 150, 175, 0.2);
  transition: var(--transition);
}

.footer-brand:hover .footer-logo-box {
  box-shadow: 0 8px 20px rgba(29, 150, 175, 0.3);
}

.footer-logo-text {
  color: white;
  font-weight: 700;
  font-size: 0.875rem;
}

.footer-logo-title {
  font-size: 1.125rem;
  font-weight: 700;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-brand-text {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.7;
  font-weight: 300;
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-heading {
  font-weight: 600;
  margin-bottom: 1.5rem;
}

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

.footer-link {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-decoration: none;
  font-weight: 300;
  transition: var(--transition);
  display: inline-block;
}

.footer-link:hover {
  color: var(--primary);
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid rgba(29, 150, 175, 0.1);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-copyright {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  font-weight: 300;
}

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

.footer-social-link {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.footer-social-link:hover {
  color: var(--primary);
  transform: scale(1.1);
}

/* --- JS ANIMATION HELPER CLASS --- */
/* FIXED: This handles the entry animation cleanly */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

/* --- ORBIT ANIMATION STYLES (New Addition) --- */
.orbit-system {
  position: relative;
  width: 90%;
  aspect-ratio: 1;
  max-width: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.orbit-center {
  position: absolute;
  z-index: 10;
  width: 25%;
  aspect-ratio: 1;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(29, 150, 175, 0.15);
  border: 1px solid rgba(29, 150, 175, 0.1);
}

.orbit-center-text {
  font-weight: 800;
  font-size: 1.5rem;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.orbit-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  /* The Ring Rotates */
  animation: spin 30s linear infinite;
}

.orbit-item {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1px;
  height: 1px;
  /* Logic: 
     1. Rotate axis to item angle
     2. Move out by 140px (Radius)
     3. Counter-rotate by item angle so item stays upright relative to ring
  */
  transform: rotate(var(--angle)) translate(180px) rotate(calc(-1 * var(--angle)));
}

/* Responsive adjustment for small screens */
@media (max-width: 400px) {
  .orbit-item {
    transform: rotate(var(--angle)) translate(100px) rotate(calc(-1 * var(--angle)));
  }
}

.orbit-content {
  /* Counter-Rotate against Ring spin so content stays upright relative to page */
  animation: spin-reverse 30s linear infinite;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin-top: -30px; 
  margin-left: -30px;
}

.orbit-icon {
  width: 40px;
  height: 40px;
  background: var(--color, var(--primary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: white;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  margin-bottom: 4px;
  transition: transform 0.3s ease;
}



.orbit-item:hover .orbit-icon {
  transform: scale(1.2);
  cursor: pointer;
}

.orbit-label {
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--muted-foreground);
  background: transparent;
  padding: 2px 6px;
  
  white-space: nowrap;
  
}
@media (min-width: 400px) {
  .orbit-content {
    width: 80px;
    height: 80px;
    margin-top: -40px; 
    margin-left: -40px;
  }
  .orbit-icon {
    width: 50px;
    height: 50px;
  }
  .orbit-label {
    font-size: 0.75rem;
  }
}

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

@keyframes spin-reverse {
  100% { transform: rotate(-360deg); }
}