@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #5200CE;
  --secondary: #3d00a0;
  --bg-dark: #ffffff;
  --bg-card: #F2F0F3;
  --text-white: #21003E;
  --text-muted: #786D81;
  --text-light: #786D81;
  --border: #e0dce8;

  --shadow-secondary: color-mix(in srgb, var(--primary) 30%, transparent);
  --shadow-secondary-hover: color-mix(in srgb, var(--primary) 50%, transparent);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #ffffff;
  color: #786D81;
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  position: relative;
}

.container {
  max-width: 100% !important;
  padding: 0 !important;
  overflow: hidden;
}

.fw-bold {
  font-weight: 600 !important;
}

h1 {
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--primary);
  margin-bottom: 0.875rem;
  text-transform: uppercase;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--primary);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.125rem;
  }

  h3 {
    font-size: 0.9375rem;
  }
}

.bg-light {
  background-color: #F2F0F3 !important;
}

.bg-light-to-grey {
  background: linear-gradient(to bottom, #ffffff, #faefff) !important;
}

.bg-white {
  background-color: #ffffff !important;
}

.bg-light-blur {
  background-color: rgba(82, 0, 206, 0.05) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.bg-primary {
  background-color: var(--primary) !important;
}

.bg-success {
  background-color: #00B67A !important;
}

.text-muted {
  color: var(--text-muted) !important;
}

.text-light {
  color: var(--text-light) !important;
}

.text-primary {
  color: var(--primary) !important;
}

.border {
  border-color: var(--border) !important;
}

.border-primary {
  border-color: var(--primary) !important;
}

.card {
  background-color: #F2F0F3;
  border-color: var(--border);
  color: #21003E;
}

.btn {
  border-radius: 14px 4px 14px 4px;
  font-weight: 600;
  padding: 0.75rem 2rem;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .btn {
    width: 100% !important;
  }
}

.btn-primary {
  background: #5200CE !important;
  border: 3px solid #5200CE !important;
  color: #fff !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
  border-radius: 14px 4px 14px 4px !important;
  box-shadow: 0 8px 25px var(--shadow-secondary) !important;
  transition: all 0.3s ease !important;
  position: relative !important;
  overflow: hidden !important;
}

.btn-primary:hover {
  background: #3d00a0 !important;
  border-color: #3d00a0 !important;
  color: #fff !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 15px 35px var(--shadow-secondary-hover) !important;
}

.btn-primary::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: -100% !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent) !important;
  transition: left 0.5s !important;
}

.btn-primary:hover::before {
  left: 100% !important;
}

.btn-outline-primary {
  background: transparent !important;
  border: 2px solid var(--primary) !important;
  color: var(--primary) !important;
  padding: 0.75rem 2rem !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  border-radius: 14px 4px 14px 4px !important;
  transition: all 0.3s ease !important;
}

.btn-outline-primary:hover {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: #fff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px var(--shadow-secondary) !important;
}

.btn-sm {
  padding: 0.5rem 1.25rem !important;
  font-size: 0.875rem !important;
  border-width: 3px !important;
  letter-spacing: 0.5px !important;
}

.btn-xl {
  padding: 1.25rem 2.5rem !important;
}

#submitBtn2 {
  width: 100% !important;
}

.form-control {
  background-color: #ffffff;
  border-color: var(--border);
  color: #21003E;
}

.form-control:focus {
  background-color: #ffffff;
  border-color: var(--primary);
  color: #21003E;
  box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--primary) 15%, transparent);
}

.form-control::placeholder {
  color: var(--text-muted);
}

select.form-control,
textarea.form-control {
  background-color: #ffffff;
}

select.form-control:focus,
textarea.form-control:focus {
  background-color: #ffffff;
}

/* Checkbox styles */
.form-check-input {
  background-color: #ffffff !important;
  border-color: var(--border) !important;
}

.form-check-input:checked {
  background-color: var(--primary) !important;
  border-color: var(--primary) !important;
}

.form-check-input:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 0.25rem color-mix(in srgb, var(--primary) 25%, transparent) !important;
}

.navbar {
  background-color: #ffffff !important;
  border-bottom: 1px solid var(--border);
}

.navbar-brand {
  color: #21003E !important;
}

.nav-link {
  color: var(--text-muted) !important;
}

.nav-link:hover {
  color: var(--primary) !important;
}

.text-xs {
  font-size: 0.625rem !important;
  line-height: 1.5;
}

.text-sm {
  font-size: 0.75rem !important;
  line-height: 1.5;
}

.text-md {
  font-size: 1.125rem !important;
  line-height: 1.6;
}

.text-lg {
  font-size: 1.25rem !important;
  line-height: 1.5;
}

u {
  color: #21003E;
  font-weight: 600;
  text-decoration: none;
}

.form-check-label u {
  font-weight: 400 !important;
  text-decoration: underline !important;
}

.text-decoration-underline {
  text-decoration-color: var(--primary) !important;
  text-underline-offset: 3px !important;
}

input {
  border: 1px solid var(--border) !important;
}

.iti--allow-dropdown {
  width: 100% !important;
}

.vsl-step-spaced #content {
  padding-top: 1.5rem;
}

.badge {
  background: color-mix(in srgb, var(--primary) 12%, #ffffff);
  color: var(--primary);
}

.modal-content h3 {
  font-size: 1.25rem !important;
}

.modal-content a {
  color: var(--primary) !important;
  text-decoration: underline !important;
}


.modal-content h3,
.modal-content h2,
.modal-content .bi-x-lg {
  color: #000 !important;
}

img.rounded-2,
img.img-fluid:not(#hero img) {
  border-radius: 14px 4px 14px 4px !important;
}

#hero img {
  border-radius: 0 !important;
}

@media (min-width: 992px) {
  .py-lg-6 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
  }

  .bg-content {
    min-height: calc(100vh - 130px);
  }
}

@media (max-width: 991px) {
  .bg-content {
    min-height: calc(100vh - 130px);
  }
}

@media (max-width: 768px) {
  .deco-svg {
    width: 140px !important;
  }

  .deco-svg-hero {
    width: 100px !important;
  }
}

@media (max-width: 991px) {
  .hero-img-mobile {
    height: 220px !important;
    object-fit: cover !important;
    object-position: top center !important;
  }
}


.quote-handwriting {
  font-style: italic;
  color: var(--text-muted);
}

/* ===== QUIZ STYLES ===== */

#progress-bar {
  padding: 1.5rem 0;
}

.trackbar {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 1rem;
}

.time-bar {
  color: var(--text-muted);
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.progress {
  border-radius: 2rem;
  margin-top: 0.5rem;
  background-color: #e0dce8 !important;
  height: 12px;
}

.progress-bar {
  background: linear-gradient(90deg, var(--primary), var(--secondary)) !important;
  border-radius: 2rem;
  margin-bottom: 0 !important;
  transition: width 0.3s ease-in-out !important;
}

#quiz {
  padding: 2rem 0;
}

.container-2 {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 1rem;
}

.hn-quizz {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary);
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 0;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .hn-quizz {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hn-quizz {
    font-size: 1.25rem;
  }
}

.list-group-checkable {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.quizz-answers {
  background-color: #ffffff !important;
  border: 1px solid var(--border) !important;
  color: #786D81 !important;
  border-radius: 10px !important;
  transition: all 0.3s ease;
  cursor: pointer;
  margin-bottom: 0 !important;
}

.quizz-answers:hover {
  background-color: #F2F0F3 !important;
  border-color: var(--primary) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--shadow-secondary) !important;
}

.quizz-answers:has(input:checked) {
  background-color: color-mix(in srgb, var(--primary) 8%, #ffffff) !important;
  border-color: var(--primary) !important;
  border-width: 2px !important;
  color: #21003E !important;
  box-shadow: 0 4px 12px var(--shadow-secondary) !important;
}

.quizz-answers label {
  color: inherit;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1.5;
}

.quizz-answers:has(input:checked) label {
  color: #21003E;
  font-weight: 500;
}

#precedent {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 0.75rem 1.5rem;
  border-radius: 14px 4px 14px 4px;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
}

#precedent:hover {
  background-color: #F2F0F3;
  border-color: var(--primary);
  color: #21003E;
}

.setup-content {
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== TESTIMONIALS MASONRY ===== */

.testimonials-masonry {
  padding: 2rem 0;
}

.masonry-grid {
  column-count: 2;
  column-gap: 1rem;
  width: 100%;
}

.masonry-item {
  display: inline-block;
  width: 100%;
  margin-bottom: 1rem;
  break-inside: avoid;
  page-break-inside: avoid;
}

.testimonial-img {
  height: auto;
  display: block;
  width: 100%;
}

.masonry-item iframe {
  aspect-ratio: 16 / 9;
  height: auto;
  min-height: 200px;
  border-radius: 10px;
}

@media (max-width: 768px) {
  .masonry-grid {
    column-count: 2;
    column-gap: 0.75rem;
  }

  .masonry-item {
    margin-bottom: 0.75rem;
  }
}

@media (max-width: 480px) {
  .masonry-grid {
    column-count: 1;
    column-gap: 0.5rem;
  }

  .masonry-item {
    margin-bottom: 0.5rem;
  }
}

/* ===== WHATSAPP BUTTON ===== */

.btn-whatsapp {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn-whatsapp:hover {
  background: #1db954 !important;
  border-color: #1db954 !important;
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.5);
}

.btn-whatsapp:hover::before {
  left: 100%;
}

/* ===== ANIMATIONS ===== */

@keyframes shimmer {
  0%   { background-position: 200% center; }
  100% { background-position: -200% center; }
}

/* SMS not-received dropdown card */
.bg-sms {
  background-color: #F2F0F3;
  border-radius: 0.5rem;
}

/* SMS label link */
.sms-label {
  color: #21003E;
  text-decoration-line: underline;
}
