/* =========================================================
   GLOBAL RESET
========================================================= */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #fefefe;
  color: #333;
}

/* =========================================================
   SECTION
========================================================= */
.section {
  padding: 80px 0;
}

/* =========================================================
   HERO SECTION
========================================================= */
.hero {
  background-color: #BBE0EF;
  padding: 100px 0;
}

.hero h1 {
  font-family: 'Dancing Script', cursive;
  font-size: 3rem;
  color: #161E54;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  color: #161E54;
  margin-bottom: 30px;
}

.hero .btn {
  border: 2px solid #161E54;
  background: transparent;
  color: #161E54;
  border-radius: 50px;
  padding: 12px 30px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.hero .btn:hover {
  background: #161E54;
  color: #fff;
  box-shadow: 0 4px 10px rgba(22,30,84,.3);
}

/* =========================================================
   CAROUSEL
========================================================= */
.carousel-item img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 15px;
}

/* =========================================================
   CARD / PRODUCT
========================================================= */
.card {
  border: none;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,.1);
  transition: transform .3s;
}

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

.card-img-top {
  height: 245px;
  object-fit: cover;
  border-radius: 15px 15px 0 0;
  background: #BBE0EF;
}

/* =========================================================
   BUTTONS
========================================================= */
.btn-demo {
  border: 2px solid #161E54;
  color: #161E54;
  background: transparent;
  border-radius: 50px;
  padding: 8px 20px;
  transition: .3s;
}

.btn-demo:hover {
  background: #BBE0EF;
}

.btn-whatsapp {
  border: 2px solid #25d366;
  color: #25d366;
  background: transparent;
  border-radius: 50px;
  padding: 8px 20px;
  transition: .3s;
}

.btn-whatsapp:hover {
  background: #25d366;
  color: #fff;
}

/* =========================================================
   FILTER TABS
========================================================= */
.filter-tabs .nav-link {
  border-radius: 50px;
  padding: 10px 20px;
  margin: 0 5px;
  border: none;
  transition: .3s;
}

.filter-tabs .nav-link.active {
  background: #161E54;
  color: #fff;
}

/* =========================================================
   GUIDE STEP
========================================================= */
.guide-step {
  background: #BBE0EF;
  border-radius: 20px;
  padding: 28px 22px;
  text-align: center;
  height: 100%;
  box-shadow: 0 10px 25px rgba(0,0,0,.08);
  transition: .3s;
}

.guide-step:hover {
  transform: translateY(-6px);
}

.step-number {
  width: 42px;
  height: 42px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-weight: 600;
}

/* =========================================================
   TESTIMONIAL (FIXED)
========================================================= */
.testimonial-card {
  background: #BBE0EF;
  border-radius: 20px;
  padding: 32px 26px;
  text-align: center;
  height: 100%;

  display: flex;
  flex-direction: column;
  align-items: center;

  box-shadow: 0 12px 30px rgba(0,0,0,.08);
}

.testimonial-card img {
  width: 80px;
  height: 80px;
  min-width: 80px;
  min-height: 80px;

  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 16px;

  border: 3px solid #fff;
  box-shadow: 0 6px 15px rgba(0,0,0,.15);
}

.testimonial-card .quote {
  font-style: italic;
  font-size: .95rem;
  line-height: 1.6;
  flex-grow: 1;
}

.testimonial-card h5 {
  font-weight: 600;
  margin-bottom: 2px;
}

.testimonial-card span {
  font-size: .85rem;
  color: #777;
}

.carousel-item .testimonial-card {
  width: 100%;
}

/* =========================================================
   FOOTER
========================================================= */
.footer-section {
  background: #0f172a;
  color: #cbd5e1;
  padding: 60px 0 30px;
}

.footer-title {
  color: #fff;
  font-weight: 600;
}

.footer-contact {
  list-style: none;
  padding: 0;
}

.footer-contact a {
  color: #cbd5e1;
  text-decoration: none;
}

.footer-contact a:hover {
  color: #fff;
}

.footer-btn {
  background: #fff;
  color: #0f172a;
  padding: 12px 26px;
  border-radius: 30px;
  display: inline-block;
  transition: .3s;
}

.footer-btn:hover {
  transform: translateY(-2px);
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 992px) {
  .hero {
    padding: 70px 0;
  }

  .hero h1 {
    font-size: 2.4rem;
    text-align: center;
  }

  .hero p {
    font-size: 1rem;
    text-align: center;
  }

  .carousel-item img {
    height: 300px;
  }
}

@media (max-width: 768px) {
  #hero .row {
    flex-direction: column-reverse;
  }

  .carousel-item .col-md-4:not(:first-child) {
    display: none;
  }
}

@media (max-width: 576px) {
  .hero {
    padding: 50px 0;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: .95rem;
  }

  .carousel-item img {
    height: 220px;
    border-radius: 12px;
  }

  .testimonial-card {
    padding: 24px 18px;
  }

  .testimonial-card img {
    width: 70px;
    height: 70px;
  }

  .hero .container {
    padding: 0 20px;
  }
}
