@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

:root {
  --bg-col-1: #343a40;
  --bg-col-2: #f8f9fa;
  --bg-col-3: #dee2e6;
  --bg-col-4: #3a4f5c;
  --text-col-1: #6c757d;
  --text-col-2: #555;
  --text-col-3: #212529;
  --text-col-4: #007bff;
  --text-col-5: #adb5bd;
  --text-white: #fff;
}

body,
html {
  height: 100%;
  margin: 0;
  font-family: "Open Sans", system-ui !important;
}

.btn {
  font-family: "Poppins", system-ui !important;
}

.hero {
  color: var(--text-white);
  padding-bottom: 20px;
}

.navbar,
header {
  background-color: var(--bg-col-1);
}

.navbar .navbar-brand,
.navbar .nav-link {
  color: var(--text-white);
  font-family: "Poppins", system-ui;
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.1) !important;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%28255, 255, 255, 1%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
}
.nav-link:focus,
.nav-link:hover {
  color: var(--text-white) !important;
}

.hero-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Breadcrumb refinement */
nav[aria-label="breadcrumb"] {
  font-size: 0.9rem;
  background-color: var(--bg-col-2);
  color: var(--text-col-1); /* Bootstrap's text-muted */
  border-bottom: 1px solid var(--bg-col-3);
}

.screenshot-wrapper {
  border: 10px solid rgba(150, 170, 200, 0.2); /* soft bluish-transparent border */
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.25); /* subtle shadow for depth */
}

.hero-left {
  text-align: center;
}

.hero-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  padding: 20px;
}

.text-soft-note {
  color: var(--text-col-5); /* softer than the main text */
}

.featured-logos img {
  filter: grayscale(100%);
  opacity: 0.55;
  max-height: 60px;
  margin: 10px;
}

.carousel-control-prev,
.carousel-control-next {
  width: auto !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  opacity: 1 !important;
  background: none !important;
  z-index: 2 !important;
  padding: 0.5rem !important;
}

.carousel-control-prev {
  left: -50px !important;
}

.carousel-control-next {
  right: -50px !important;
}

/* Keep the default Bootstrap icons but make them darker */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: brightness(0); /* Makes arrow black */
  background-size: 100% 100%;
}

/* Remove hover background box */
.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: none;
  opacity: 1;
}

.img-bn {
  filter: grayscale(100%);
}

.book-cover {
  width: 100%;
  max-width: 300px;
  height: auto;
}

.box-shadow {
  box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.2);
}

.graph-container {
  background-color: var(--text-white);
  border-radius: 8px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.08);
  padding: 1rem;
}

.justified {
  text-align: justify;
}

.reviews .star {
  color: gold;
}

.reviews .card {
  height: 100%;
}

.reviews .star-empty {
  color: rgba(255, 215, 0, 0.4);
}

.book-details {
  display: flex;
  align-items: center;
  height: 100%;
}

.about-me-photo {
  width: 100%;
  max-width: 350px;
  height: auto;
}

.section-padding {
  padding: 40px 0;
}

/* Section backgrounds */
.bg-light-gray {
  background-color: var(--bg-col-2);
  padding: 40px 0;
}

.bg-white {
  background-color: var(--text-white);
  padding: 40px 0;
}

.section-with-triangle {
  position: relative;
}

/* Default: white triangle (for gray background below) */
.section-with-triangle::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 20px solid var(--text-white); /* default = white triangle */
  z-index: 10;
}

/* If section is gray, triangle should be gray (to match section) */
.bg-light-gray.section-with-triangle::after {
  border-top-color: var(--bg-col-2);
}

/* Ensure bg-white does NOT override the triangle color */
.bg-white.section-with-triangle::after {
  border-top-color: var(--text-white);
}

.disable-triangle {
  position: static !important;
}

.disable-triangle::after {
  content: none !important;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.faq {
  max-width: 800px;
  margin: 0 auto;
}

.hero-right p {
  font-size: 1.25rem;
}

.social-icons a {
  margin: 0 10px;
  color: inherit;
  text-decoration: none;
  font-size: 1.5rem;
}

.social-icons a:hover {
  color: var(--text-col-4);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}

.footer-section {
  flex: 1;
  text-align: left;
  padding: 10px;
}

.footer-logo {
  max-width: 150px;
  margin-bottom: 20px;
}

.footer-form input[type="email"] {
  width: auto;
  flex-grow: 1;
  max-width: 200px;
}

.footer-heading,
.footer-subheading {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.accordion-button::after {
  content: "";
}

.footer {
  background-color: var(--bg-col-1);
  color: var(--text-white);
}

.footer a {
  color: var(--text-white);
}

.footer a:hover {
  color: var(--text-white);
}

.sales-letter {
  font-size: 1.1rem;
  margin: 0 auto;
  padding: 20px;
  max-width: 800px;
}

.collapsed-text {
  max-height: 450px; /* adjust as needed */
  overflow: hidden;
}

.sales-letter p,
.sales-letter ul,
.sales-letter ol,
.sales-letter img {
  margin-bottom: 1.5rem; /* Same as Bootstrap's mb-3 (16px in default spacing) */
}

.mt-6 {
  margin-top: 4rem;
}

.mb-6 {
  margin-bottom: 4rem;
}

.resalte {
  background: var(--bg-col-4);
  padding: 0px 5px;
}

/* =====================
   Responsive Layout
===================== */

@media (max-width: 991px) {
  .hero-left {
    padding: 25px 0;
  }

  .hero-right {
    padding: 25px 20px;
  }

  #email {
    max-width: 100% !important;
    width: 100%;
  }

  .footer-section {
    flex: auto;
    padding-left: 0;
    padding-right: 0;
  }
}

/* ====================
   Product Cards (Indicadores)
==================== */

.indicador-card .card {
  border-radius: 12px;
  background-color: var(--text-white);
  border: none;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.indicador-card .card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.indicador-card .card-title {
  font-weight: 700;
  font-size: 20px;
}

.indicador-card .card-text {
  font-size: 17px;
  color: var(--text-col-3);
}

.indicador-card .card-footer-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.indicador-card .price-badge {
  font-weight: bold;
  font-size: 1rem;
  color: var(--text-col-3);
}

.indicador-card .platforms .badge {
  margin-right: 5px;
  font-size: 0.85rem;
  padding: 0.45em 0.65em;
}

.indicador-card img {
  width: 100%;
  height: auto;
  border-radius: 0.75rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

@media (max-width: 575.98px) {
  .indicador-card .card-footer-line {
    flex-direction: column;
    gap: 0.5rem;
  }
}

a.card {
  display: block;
  color: inherit;
}
a.card:hover {
  text-decoration: none;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

.text-justify {
  text-align: justify;
}

.mt-neg-1 {
  margin-top: -0.25rem;
}

.mt-neg-2 {
  margin-top: -0.5rem;
}

.mt-neg-3 {
  margin-top: -1rem;
}

.mt-neg-4 {
  margin-top: -1.5rem;
}

.mt-neg-5 {
  margin-top: -3rem;
}

/* ====================
   Testimonial Cards
==================== */

.testimonial-card .card {
  border-radius: 10px;
  border: 1px solid var(--bg-col-3);
  background-color: var(--bg-col-2);
}

.testimonial-card .card-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.testimonial-card .card-text {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text-col-2);
}

@media (max-width: 991px) {
  .indicador-card .card-title {
    font-size: 16px;
  }
  .indicador-card .card-text {
    font-size: 14px;
  }
  .carousel-control-prev {
    left: 0px !important;
  }

  .carousel-control-next {
    right: 0px !important;
  }
}

@media (min-width: 1200px) and (max-width: 1400px) {
  .indicador-card .card-title {
    font-size: 19px;
  }
}
