/* ---- Base & Utility ---- */
body {
  background: #fff;
  color: #333;
  font-family: 'Inter', sans-serif;
  scroll-behavior: smooth;
}

/* ---- Navbar / Header ---- */
.navbar {
  background: transparent;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.z-top {
  z-index: 1000;
}

/* ---- Hero ---- */
.hero-section {
  position: relative;
  height: 80vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.overlay-bg {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.8);
}
.hero-content {
  position: relative;
  z-index: 10;
  max-width: 700px;
  padding: 0 20px;
}
.hero-section h1 {
  font-size: 2.5rem;
  color: #222;
}
.hero-section p.lead {
  color: #555;
}

/* ---- Features ---- */
.features-section {
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.features-section .fa-2x {
  color: #0d6efd;
}
.features-section h5 {
  margin-top: 0.75rem;
}
.features-section p {
  color: #666;
}

/* ---- Steps ---- */
.steps-section {
  background: #f8f9fa;
}
.step-box {
  border: 1px solid #e3e6ea;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #fff;
  opacity: 0;
  transform: translateY(40px);
}
.step-box.visible {
  opacity: 1;
  transform: translateY(0);
}
.step-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}
.step-icon {
  color: #0d6efd;
}

/* ---- Testimonials ---- */
.testimonials-section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}
.carousel-container {
  position: relative;
  height: 200px;
}
.carousel-item {
  position: absolute;
  top: 0; left: 0; right: 0;
  opacity: 0;
  transition: opacity 1s ease, transform 1s ease;
}
.carousel-item:first-child {
  opacity: 1;
}
.testimonial-card {
  background: #fff;
  border: 1px solid #e3e6ea;
  border-radius: 8px;
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(40px);
}
.testimonial-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

/* ---- CTA ---- */
.cta-section {
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cta-section h4 {
  color: #fff;
}
.cta-section .btn-light {
  color: #0d6efd;
}

/* ---- Footer ---- */
footer {
  background: #222;
  color: #ddd;
}
footer a {
  color: #ddd;
  text-decoration: none;
}
footer a:hover {
  color: #fff;
}

/* ---- Scroll animations (common) ---- */
.feature-box, .step-box, .testimonial-card {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  transition: all 0.8s ease-out;
}
.feature-box.visible, .step-box.visible, .testimonial-card.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.hero-content {
  opacity: 0;
  transform: translateY(20px);
  transition: all 1s ease-out;
}
.hero-content.visible {
  opacity: 1;
  transform: translateY(0);
}
.accordion-button {
  background-color: #fff;
  color: #333;
  box-shadow: none;
  border: 1px solid #eee;
  border-radius: 6px;
  transition: all 0.2s ease;
}
.accordion-button:not(.collapsed) {
  color: #0d6efd;
  background-color: #f8f9fa;
  box-shadow: 0 0 10px rgba(13,110,253,0.1);
}
.accordion-button:focus {
  box-shadow: none;
  border-color: #af4646;
}
.accordion-body {
  background-color: #fff;
  border-radius: 0 0 6px 6px;
}
.card img {
  transition: transform 0.3s ease;
}
.card:hover img {
  transform: scale(1.05);
}
.card-body h6 {
  color: #222;
}
