#rotating-word {
  display: inline-block;
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.fade-out {
  opacity: 0;
  transform: translateY(-10px);
}

.fade-in {
  opacity: 1;
  transform: translateY(0);
}



/*about */
.about-somkaith {
  padding: 120px 20px 20px;
  background: var(--tj-theme-accent-1);
}

.about-somkaith__hero-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.about-somkaith__hero-text {
  flex: 1 1 50%;
  color: #fff;
}

.about-somkaith__hero-image {
  flex: 1 1 45%;
  text-align: center;
}

.about-somkaith__hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}


.about-somkaith__hero h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.about-somkaith__hero h3 {
  font-size: 20px;
  font-style: italic;
  color: #fff;
  margin-bottom: 20px;
}

.about-somkaith__details p,
.about-somkaith__hero p {
  font-size: 16px;
  line-height: 1.6;
  color: #fff;
  margin-bottom: 15px;
}

.about-somkaith__why {
  margin-top: 60px;
  padding: 40px 20px;
  border-radius: 12px;
}

.about-somkaith__why h3 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 50px;
}

.about-somkaith__features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.about-somkaith__feature-card {
  background: var(--tj-black-2); /* or your theme dark background */
  color: #fff;
  padding: 25px 20px;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  text-align: center;
  transition: all 0.3s ease;
}

.about-somkaith__feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.6);
}


@media (max-width: 768px) {
  .about-somkaith__hero-row {
    flex-direction: column;
  }

  .about-somkaith__hero-text,
  .about-somkaith__hero-image {
    flex: 1 1 100%;
  }
  .about-somkaith {
  padding: 150px 0px 0px;

}

}


/*services*/
.services-modern {
  background: var(--tj-theme-accent-1);
  padding: 220px 20px;
  color: #fff;
}

.services-header {
  text-align: center;
  margin-bottom: 60px;
}

.services-header h1 {
  font-size: 36px;
  margin-bottom: 10px;
  color: #fff;
}

.services-header p {
  font-size: 18px;
  color: #ddd;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.service-card {
  display: flex;
  background-color: rgba(255, 255, 255, 0.03);
  padding: 30px;
  border-radius: 16px;
  margin-bottom: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  align-items: flex-start;
  gap: 30px;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.4);
}

.service-icon {
  font-size: 48px;
  color: var(--tj-theme-secondary, #00d9ff);
  flex-shrink: 0;
}

.service-content h2 {
  font-size: 24px;
  margin-bottom: 8px;
  color: #fff;
}

.service-content .subtitle {
  font-style: italic;
  color: #ccc;
  margin-bottom: 12px;
}

.service-content p {
  margin-bottom: 10px;
  line-height: 1.6;
  color: #ddd;
}

.service-content ul {
  padding-left: 18px;
}

.service-content ul li {
  list-style-type: disc;
  margin-bottom: 6px;
  color: #fff;
}

/* ✅ Responsive */
@media (max-width: 768px) {
  .service-card {
    flex-direction: column;
    text-align: left;
  }

  .service-icon {
    margin-bottom: 20px;
  }

  .service-content h2 {
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  .services-header h1 {
    font-size: 28px;
  }

  .services-header p {
    font-size: 16px;
  }

  .service-card {
    padding: 20px;
  }

  .service-icon {
    font-size: 40px;
  }

  .service-content h2 {
    font-size: 20px;
  }
}
