/*!
 * Start Bootstrap - Landing Page v5.0.0 (https://startbootstrap.com/template-overviews/landing-page)
 * Copyright 2013-2018 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap-landing-page/blob/master/LICENSE)
 */

body {
  font-family: 'Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

h1.pageTitle {
    font-size: 30px !important;
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 700;
}

header.masthead {
  position: relative;
  background-color: #343a40;
  background: url("../img/bg-masthead.jpg") no-repeat center center;
  background-size: cover;
  padding-top: 8rem;
  padding-bottom: 8rem;
}

header.masthead .overlay {
  position: absolute;
  background-color: #212529;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  opacity: 0.3;
}

header.masthead h1 {
  font-size: 2rem;
}

@media (min-width: 768px) {
  header.masthead {
    padding-top: 12rem;
    padding-bottom: 12rem;
  }
  header.masthead h1 {
    font-size: 3rem;
  }
}

.showcase .showcase-text {
  padding: 3rem;
}

.showcase .showcase-img {
  min-height: 30rem;
  background-size: cover;
}

@media (min-width: 768px) {
  .showcase .showcase-text {
    padding: 7rem;
  }
}

.features-icons {
    padding-top: 1rem;
    padding-bottom: 3rem;
}

.features-icons .features-icons-item {
  max-width: 20rem;
}

.features-icons .features-icons-item .features-icons-icon {
  height: 7rem;
}

.features-icons .features-icons-item .features-icons-icon i {
  font-size: 4.5rem;
}

.features-icons .features-icons-item:hover .features-icons-icon i {
  font-size: 5rem;
}
/*
.testimonials {
  padding-top: 7rem;
  padding-bottom: 7rem;
}

.testimonials .testimonial-item {
  max-width: 18rem;
}

.testimonials .testimonial-item img {
  max-width: 12rem;
  -webkit-box-shadow: 0px 5px 5px 0px #adb5bd;
  box-shadow: 0px 5px 5px 0px #adb5bd;
}*/

.call-to-action {
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.call-to-action .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="stars" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23stars)"/></svg>');
    opacity: 0.3;
}

footer.footer {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.bd-callout {
    padding: 1.25rem;
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
    border: 1px solid #eee;
    border-left-width: .25rem;
    border-radius: .25rem
}

    .bd-callout h4 {
        margin-top: 0;
        margin-bottom: .25rem
    }

    .bd-callout p:last-child {
        margin-bottom: 0
    }

    .bd-callout code {
        border-radius: .25rem
    }

    .bd-callout + .bd-callout {
        margin-top: -.25rem
    }

.bd-callout-info {
    border-left-color: #5bc0de
}

    .bd-callout-info h4 {
        color: #5bc0de
    }

.bd-callout-warning {
    border-left-color: #f0ad4e
}

    .bd-callout-warning h4 {
        color: #f0ad4e
    }

.bd-callout-danger {
    border-left-color: #d9534f
}

    .bd-callout-danger h4 {
        color: #d9534f
    }

code {
    font-size: 87.5%;
    font-weight: 600;
    color: #8f0303;
    word-break: break-word;
}

.formula-table td:first-child {
    white-space: nowrap;
    min-width: 200px;
}

.formula-table th:first-child {
    white-space: nowrap;
}

.formula-table {
    table-layout: auto;
}

/* Homepage Testimonials */
.home-testimonials {
  background-color: #f8f9fa;
}

/* Equal-height columns: without this, h-100 on the card often fails (no definite
   parent height), so cards are content-sized and author border-tops misalign. */
.home-testimonials .row > [class*="col-"] {
  display: flex;
}

.testimonial-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-color, #dee2e6);
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 0;
}

.testimonial-blockquote {
  margin: 0;
  padding: 0;
  border: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.stars {
  margin-bottom: 1rem;
  flex-shrink: 0;
}

  .stars i {
      margin-right: 0.25rem;
  }

.testimonial-headline {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  line-height: 1.35;
  /* Same vertical space whether the title is 1 or 2 lines, so quote bodies line up */
  min-height: calc(2 * 1.35 * 1em);
}

.testimonial-body {
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 10;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-color, #dee2e6);
  /* Same footer height across cards so the divider and author block line up when role text wraps differently */
  min-height: 5.25rem;
  box-sizing: border-box;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  object-fit: cover;
  flex-shrink: 0;
}

.testimonial-cite-name {
  font-style: normal;
  font-weight: 700;
  color: var(--text-primary, #212529);
}

.testimonial-author small {
  color: var(--text-secondary, #6c757d);
}
/* Homepage Benefits List */
.benefits-list {
  margin: 2rem 0;
}

.benefit-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

  .benefit-item i {
      margin-right: 0.75rem;
      font-size: 1.25rem;
      flex-shrink: 0;
  }

/* Example / knowledge-base spreadsheet download callout */
/* Download Callout Component */
.download-callout {
  background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
  border: 1px solid #ffeaa7;
  border-left: 5px solid #f39c12;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(243, 156, 18, 0.1);
}

.download-callout-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.download-callout .download-icon img {
  width: 50px;
  height: auto;
  transition: transform 0.3s ease;
}

.download-callout .download-text {
  flex: 1;
  color: #856404;
  line-height: 1.6;
}

.btn.btn-modern.btn-success-modern {
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border-radius: 0.35rem;
  color: #fff;
  background-color: #28a745;
  border: 1px solid #28a745;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
}

.btn.btn-modern.btn-success-modern:hover {
  color: #fff;
  background-color: #218838;
  border-color: #1e7e34;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}
