@font-face {
  font-family: "mianhuatang";
  src: url("../parent/font/yaermianhuatang-webfont.woff2");
}

:root {
  --primary-color: #8c52ff;
  --secondary-color: #ffe060;
  --accent-color-1: #b18aff; /* Light purple */
  --accent-color-2: #fff3b0; /* Soft yellow */
  --text-color: #1e1e1e;
  --background-light: #f6f6f6;
  --font-family: "mianhuatang", sans-serif;
}

/* Global Styles */
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-family);
  color: var(--text-color);
  background: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  padding: 2rem 0;
  flex: 1;
}

/* Floating CTA */
.floating-cta {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1000;
  animation: fadeIn 1s ease-in-out;
}

.floating-cta .btn-cta {
  background: var(--primary-color);
  color: var(--secondary-color);
  border: none;
  border-radius: 100px;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: background 0.3s, color 0.3s;
}

.floating-cta .btn-cta:hover {
  background: var(--accent-color-1);
  color: #fff;
}

/* Header */
header {
  background: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
}

#logo {
  width: 50px;
}

header h2 {
  font-size: 1.5rem;
  color: var(--text-color);
  font-weight: 100;
  margin: 0 0 0 1rem;
}

/* Hero Section */
.hero-section {
  background-image: url('hero.jpg'); /* Add your hero image here */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 6rem 0; /* Adjust padding as needed */
  position: relative;
  color: #fff; /* Default text color */
  height:55rem;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.hero-section .container {
  padding-top:13rem;
}

.hero-content {
  position: relative;
  z-index: 2;
  animation: fadeIn 1.5s ease-in-out;
}

.hero-section h1 {
  font-size: 3rem;
  font-weight: bold;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
  margin-bottom: 1.5rem;
}

.hero-section p {
  font-size: 1.5rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
  margin-bottom: 2rem;
}

.hero-section .btn {
  background: var(--secondary-color);
  color: var(--primary-color);
  border: none;
  border-radius: 100px;
  padding: 0.75rem 2rem;
  font-size: 1.25rem;
  font-weight: 500;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: background 0.3s, color 0.3s;
}

.hero-section .btn2 {
  background: #ffffff;
  color: var(--primary-color);
  border: 3px solid var(--primary-color);
  border-radius: 100px;
  padding: 0.75rem 2rem;
  font-size: 1.25rem;
  font-weight: 500;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.hero-section .btn:hover {
  background: var(--accent-color-2);
  color: var(--primary-color);
}

/* Key Features Section */
.key-features .card {
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  animation: fadeIn 2s ease-in-out;
}

.key-features .card:hover {
  transform: translateY(-10px);
}

.key-features h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.key-features p {
  font-size: 1rem;
  color: var(--text-color);
}

.key-features .card-body img {
  width: 200px !important;;
}


/* Testimonials Section */
.testimonials .card {
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  animation: fadeIn 2.5s ease-in-out;
}

.testimonials .card:hover {
  transform: translateY(-10px);
}

.testimonials .card-text {
  font-size: 1rem;
  color: var(--text-color);
  margin-bottom: 1rem;
}

.testimonials .card-author {
  font-size: 0.875rem;
  color: var(--primary-color);
  font-weight: 500;
  margin: 0;
}

/* Interactive Demo Section */
.demo-section {
  background: var(--background-light);
  padding: 6rem 0;
}

.demo-section iframe {
  border-radius: 10px;
}

/* Team Section */
.team-section .card {
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  animation: fadeIn 3s ease-in-out;
}

.team-section .card:hover {
  transform: translateY(-10px);
}

.team-section .card-img-top {
  border-radius: 10px 10px 0 0;
  height: 200px;
  object-fit: cover;
}

.team-section .card-title {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.team-section .card-subtitle {
  font-size: 1rem;
  color: var(--text-color);
  margin-bottom: 1rem;
}

.team-section .card-text {
  font-size: 1rem;
  color: var(--text-color);
}

/* Call to Action Section */
.cta-section {
  background: linear-gradient(to right, var(--secondary-color), #ffd700);
  padding: 6rem 0;
  color: var(--primary-color);
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.cta-section p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.cta-section .btn-cta {
  background: var(--primary-color);
  color: var(--secondary-color);
  border: none;
  border-radius: 100px;
  padding: 0.75rem 2rem;
  font-size: 1.25rem;
  font-weight: 500;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: background 0.3s, color 0.3s;
}

.cta-section .btn-cta:hover {
  background: var(--accent-color-1);
  color: #fff;
}

/* Footer */
.footer {
  background: var(--background-light);
  color: var(--text-color);
  padding: 2rem 0;
}

.footer h3 {
  font-size: 1.25rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.footer p {
  font-size: 1rem;
  margin: 0.5rem 0;
}

.footer a {
  color: var(--primary-color);
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.social-links img {
  transition: transform 0.3s;
}

.social-links img:hover {
  transform: scale(1.1);
}

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

/* Testimonials Carousel */
#testimonialCarousel {
  margin-bottom: 3rem;
}

.carousel-inner {
  border-radius: 10px;
  overflow: hidden;
}


.carousel-item img {
  height: 400px; /* Adjust height as needed */
  object-fit: contain;
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1); /* Make arrows white */
}

/* Screenshot Carousel */
#screenshotCarousel {
  margin: 0 auto;
  max-width: 800px; /* Adjust width as needed */
}

