* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f7f7f7;
  color: #333;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Header */

.main-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 40px;
  background-color: #ffffffdd;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #eee;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 0.9rem;
  font-weight: 600;
}

.brand-subtitle {
  font-size: 0.8rem;
  opacity: 0.75;
}

.main-nav {
  display: flex;
  gap: 24px;
  font-size: 0.95rem;
}

.main-nav a {
  position: relative;
  padding-bottom: 2px;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background-color: #007bff;
  transition: width 0.2s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

/* Hero */

.hero-section {
  min-height: 80vh;
  padding: 70px 7vw 40px 7vw;
  display: flex;
  align-items: center;
  background-color: #f7f7f7;
}

.hero-inner {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
}

.hero-left {
  flex: 1 1 380px;
}

.hero-right {
  flex: 0.8 1 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-kicker {
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 8px;
}

.hero-title {
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 18px;
}

.hero-subtext {
  font-size: 1.02rem;
  color: #666;
  max-width: 540px;
}

.cta-row {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  align-items: center;
}

.cta-button {
  background-color: #007bff;
  color: white;
  padding: 16px 40px;
  font-size: 18px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.cta-button:hover {
  background-color: #0056b3;
  transform: translateY(-1px);
}

.cta-button.small {
  font-size: 16px;
  padding: 12px 32px;
}

.cta-secondary {
  font-size: 0.95rem;
  color: #555;
}

.cta-secondary:hover {
  color: #007bff;
}

.hero-stats {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
}

.stat-item {
  min-width: 150px;
}

.stat-number {
  font-size: 1.6rem;
  font-weight: 600;
  color: #007bff;
}

.stat-label {
  font-size: 0.9rem;
  color: #666;
  margin-top: 4px;
}

/* Profile badge */

.profile-badge {
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: radial-gradient(circle at 20% 20%, #d9ebff, #b3cfff, #7f9cff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  font-weight: 700;
  color: #1f3b63;
  margin-bottom: 14px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}

.profile-photo-wrap {
  width: 260px;
  height: 260px;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
  background: #f2f2f2;
}

.profile-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-caption {
  font-size: 0.92rem;
  color: #555;
  text-align: center;
  max-width: 260px;
}

/* Client logos */
.client-base {
  text-align: center;
  padding: 24px 0;
  background-color: #f7f7f7;
}

.client-base h2 {
  font-size: 1.4rem;
  margin-bottom: 32px;
  font-weight: 600;
}
.carousel-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 10px 0 18px 0;
  overflow: visible;
  position: relative;
}
.carousel-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  /* turn off the scroll animation */
  animation: none;
}

.carousel-track img {
  max-height: 60px;
  width: auto;
  display: block;
  transition: transform 0.2s ease;
}

.carousel-track img:hover {
  transform: scale(1.05);
}

/* fade edges */

.carousel-wrapper::before,
.carousel-wrapper::after {
  content: none;
}

.carousel-wrapper::before {
  left: 0;
  background: linear-gradient(to right, #f7f7f7, transparent);
}

.carousel-wrapper::after {
  right: 0;
  background: linear-gradient(to left, #f7f7f7, transparent);
}

@keyframes scrollCarousel {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* About */

.lms-section {
  background-color: #ffffff;
  padding: 60px 7vw;
}

.lms-content {
  max-width: 1150px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.lms-text {
  flex: 1 1 380px;
}

.lms-text h2 {
  font-size: 2.1rem;
  margin-bottom: 16px;
}

.lms-text p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 10px;
}

.lms-text ul {
  margin-top: 10px;
  padding-left: 20px;
  font-size: 0.98rem;
  color: #555;
}

.lms-text li + li {
  margin-top: 6px;
}

.fcg-image {
  flex: 1 1 320px;
  text-align: center;
}

.fcg-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

/* Experience */

.services {
  padding: 60px 7vw;
  background-color: #f9f9f9;
}

.experience-inner {
  max-width: 1150px;
  margin: 0 auto;
}

.experience-section h2 {
  text-align: center;
  font-size: 2.1rem;
  margin-bottom: 32px;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.experience-card {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 20px 20px 18px 20px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
}

.experience-meta {
  font-size: 0.86rem;
  opacity: 0.7;
  margin-bottom: 2px;
}

.experience-card h3 {
  font-size: 1.25rem;
  margin-bottom: 2px;
}

.experience-time {
  font-size: 0.86rem;
  opacity: 0.75;
  margin-bottom: 10px;
}

.experience-card ul {
  padding-left: 18px;
  font-size: 0.96rem;
  color: #555;
}

.experience-card li + li {
  margin-top: 4px;
}

.experience-footer {
  margin-top: 0px;
}

/* Services */

.services {
  padding: 50px 7vw 80px 7vw;
  background-color: #f7f7f7;
  text-align: center;
}

.services h2 {
  font-size: 2.1rem;
  margin-bottom: 35px;
}

.service-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  background-color: #ffffff;
  padding: 34px;
  border-radius: 12px;
  margin-bottom: 34px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  gap: 30px;
}

.service-card.reverse {
  flex-direction: row-reverse;
}

.service-text {
  flex: 1 1 360px;
  text-align: left;
}

.service-text h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.service-text p {
  font-size: 1rem;
  color: #555;
}

.service-image {
  flex: 1 1 320px;
  text-align: center;
}

.service-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Integration */

.integration-section {
  background-color: #ffffff;
  padding: 50px 7vw 70px 7vw;
  text-align: center;
}

.integration-section h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.integration-section p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 42px;
}

.integration-marquee {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.logo-track {
  display: flex;
  gap: 90px;
  align-items: center;
  animation: scrollLeft 30s linear infinite;
  padding: 10px 0;
}

.logo-track img {
  height: 120px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  padding: 12px;
  transition: transform 0.2s ease, opacity 0.2s ease;
  opacity: 0.95;
}

.logo-track img:hover {
  transform: scale(1.08);
  opacity: 1;
}

@keyframes scrollLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Contact */

.contact-us {
  margin-top: 40px;
  background-color: #f9f9f9;
  padding: 60px 7vw;
  border-radius: 0;
}

.contact-us h2 {
  font-size: 2.1rem;
  margin-bottom: 26px;
  text-align: center;
}

#contactForm {
  max-width: 700px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 22px;
  text-align: left;
}

.form-group label {
  font-size: 1rem;
  color: #555;
  margin-bottom: 6px;
  display: block;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #ddd;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #007bff;
}

.form-group textarea {
  min-height: 160px;
}

.form-success {
  display: none;
  background-color: #e6f7e6;
  color: #2a7a2a;
  padding: 18px;
  border-radius: 8px;
  margin-top: 24px;
  text-align: center;
  font-size: 0.98rem;
  animation: fadeIn 0.4s ease-in-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Footer */

footer {
  background-color: #007bff;
  color: white;
  padding: 34px;
  text-align: center;
  margin-top: 40px;
}

footer .footer-content p {
  margin: 6px 0;
}

footer a {
  color: #ffffff;
  text-decoration: none;
  margin: 0 8px;
}

footer a:hover {
  text-decoration: underline;
}

/* Responsive */

@media (max-width: 900px) {
  .main-header {
    padding: 12px 18px;
  }

  .main-nav {
    gap: 16px;
    font-size: 0.9rem;
  }

  .hero-section {
    padding: 60px 6vw 30px 6vw;
  }

  .hero-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-right {
    align-items: flex-start;
  }

  .profile-caption {
    text-align: left;
  }

  .profile-badge {
    width: 220px;
    height: 220px;
  }
}

@media (max-width: 768px) {
  .main-header {
    flex-wrap: wrap;
    gap: 10px;
  }

  .main-nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .hero-subtext {
    font-size: 0.96rem;
  }

  .hero-stats {
    gap: 14px 20px;
  }

  .client-base h2,
  .lms-text h2,
  .experience-section h2,
  .services h2,
  .integration-section h2,
  .contact-us h2 {
    font-size: 1.7rem;
  }

  .service-card,
  .service-card.reverse {
    flex-direction: column;
    text-align: center;
  }

  .service-text {
    text-align: center;
  }

  .fcg-image img {
    max-width: 90%;
  }

  .carousel-track {
    gap: 40px;
    animation-duration: 15s;
  }

  .logo-track {
    gap: 60px;
    animation-duration: 18s;
  }

  footer {
    padding: 26px 18px;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding-top: 50px;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-subtext {
    font-size: 0.9rem;
  }

  .cta-button {
    font-size: 0.95rem;
    padding: 12px 26px;
  }

  .profile-badge {
    width: 190px;
    height: 190px;
    font-size: 3rem;
  }

  .client-base h2 {
    font-size: 1.2rem;
  }

  .carousel-track img {
    max-height: 54px;
  }

  .logo-track img {
    height: 90px;
    max-width: 130px;
  }

  .contact-us {
    padding: 42px 6vw;
  }

  .contact-us h2 {
    font-size: 1.5rem;
  }

  footer .footer-content p,
  footer a {
    font-size: 0.82rem;
  }

  .carousel-track {
    animation-duration: 10s;
  }

  .logo-track {
    animation-duration: 15s;
  }
}
