/*
  Colours:
    Dark Purple #402D6B
    Pink #FF325D

*/

html {
  scroll-padding-top: 96px;
}

html, body {
  /* Fix an issue with AOS animations causing white space down the right side of the page, see https://github.com/michalsnik/aos/issues/234 */
  /* Tried overflow-x:hidden but that caused the sticky menu to not be sticky, so used clip instead */
  overflow-x: clip;
}

p, li {
  font-size: 18px;
}

p, h1, h2, h3, h4, h5, h6, li {
  color: #4B5B6A;
}

.btn-weweb {
  color: #FFFFFF;
  background-color: #FF325D;
  border: 2px solid #FF325D;
  border-radius: 0;
}

.btn-weweb:hover {
  color: #FF325D;
  background-color: #FFFFFF;
  border: 2px solid #FF325D;
}

.nav-link.active {
  border-bottom: 4px solid #FF325D;
}

.highlight {
  color: #FF325D;
}

.underline {
  border-bottom: 4px solid #FF325D;
}

.navbar-nav .nav-link {
  font-size: 20px;
}

/* Footer */
footer {
  color: #FFFFFF;
  background-color: #402D6B;
  font-size: 16px;
}

footer .section {
  margin-bottom: 20px;
}

footer .section .bi {
  font-size: 50px;
}

footer .section:last-of-type {
  margin-bottom: 0;
}

footer a {
  color: #FFFFFF;
  text-decoration: none;
}

.copyright {
  color: #FFFFFF;
  background-color: #1D0F3E;
  font-size: 80%;
}

/* Page header */
.page-header {
  display: inline-block;
}

.page-header div, .page-header h1 {
  color: #FFFFFF;
  font-size: 46px;
  margin-bottom: 5px;
}

.page-header div span, .page-header h1 span {
  background-color: #FF325D;
  padding: 5px 10px;
  font-weight: bold;
}

.page-header p {
  color: #FFFFFF;
}

/* Typewriter */
.typewriter-container {
  font-size: 46px;
  color: #FF325D;
}

.txt-rotate::after {
  content: "|";
  display: inline;
  animation: blink 1s infinite;
}

@keyframes blink {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* Price cards */
.pricing-card {
  border: none;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  overflow: hidden;
  position: relative;
  background: #FFFFFF;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.pricing-card.best-value {
  border: 2px solid #FF325D;
}

.best-value-badge {
  position: absolute;
  top: 20px;
  right: -35px;
  background-color: #FF325D;
  color: #FFFFFF;
  padding: 5px 40px;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  transform: rotate(45deg);
  z-index: 10;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.10);
  width: 150px;
  text-align: center;
}

.pricing-header {
  background-color: #F8F9FA;
  padding: 30px 20px;
  border-bottom: 1px solid #EEEEEE;
}

.pricing-card.best-value .pricing-header {
  background-color: #FF325D;
  color: #FFFFFF;
}

.pricing-card.best-value .pricing-header h3, .pricing-card.best-value .pricing-header .price-amount, .pricing-card.best-value .pricing-header .price-period {
  color: #FFFFFF;
}

.price-amount {
  font-size: 48px;
  font-weight: bold;
  color: #FF325D;
}

.price-period {
  font-size: 16px;
  color: #6C757D;
}

.pricing-features {
  padding: 30px 20px;
  text-align: left;
}

.pricing-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-features li {
  margin-bottom: 15px;
  font-size: 16px;
  position: relative;
  padding-left: 30px;
}

.pricing-features li::before {
  content: "\F26E"; /* Bootstrap Icons check-lg */
  font-family: "bootstrap-icons";
  color: #4FB932;
  position: absolute;
  left: 0;
  top: 4px;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
}

.pricing-footer {
  padding: 20px;
  background-color: transparent;
  border-top: none;
}

/* Feature Selector */
.feature-selector {
  border-right: none;
}

@media (min-width: 992px) {
  .feature-selector {
    border-right: 1px solid #DEE2E6;
  }
}

.feature-btn {
  width: 100%;
  text-align: left;
  padding: 20px;
  background: none;
  border: none;
  border-left: 4px solid transparent;
  transition: all 0.3s ease;
  color: #4B5B6A;
  font-size: 18px;
}

.feature-btn:hover {
  background-color: #F8F9FA;
  color: #FF325D;
}

.feature-btn.active {
  background-color: #F1F4FF;
  border-left-color: #FF325D;
  color: #402D6B;
  font-weight: bold;
}

.feature-btn i {
  margin-right: 15px;
  font-size: 24px;
  color: #FF325D;
  vertical-align: middle;
}

.feature-content {
  padding: 20px;
  animation: fadeIn 0.5s;
}

.feature-content h3 {
  color: #402D6B;
  margin-bottom: 20px;
}

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

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

@media (max-width: 768px) {
  .feature-selector {
    border-right: none;
    border-bottom: 1px solid #dee2e6;
    margin-bottom: 20px;
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
  }

  .feature-btn {
    border-left: none;
    border-bottom: 4px solid transparent;
    padding: 15px;
    width: auto;
  }

  .feature-btn.active {
    border-left: none;
    /* Reset desktop style */
    border-bottom-color: #FF325D;
  }
}

/* Sections */
.dark-section {
  color: #FFFFFF;
  background-color: #402D6B;
}

.mid-section {
  background-color: #F1F4FF;
}

.light-section {
  background-color: #F9F9F9;
}

.section-header {
  display: inline-block;
}

.section-header .stars {
  color: #FF325D;
  font-size: 40px;
}

/* Forms */
.form-error, .form-success {
  color: #FFFFFF;
  background-color: #4FB932;
  padding: 10px;
}

.form-error {
  background-color: #CE3838;
}

.attempted-submit .field-error {
  outline: 1px solid #CE3838;
}

/* Templates */
.template {
  padding: 32px;
  background-color: #F9F9F9;
}

/* AOS */
@media screen and (max-width: 480px) {
  /* We don't want to do AOS animation on phones, so the below stops that */
  .disable-aos-mobile [data-aos], .disable-aos-mobile[data-aos] {
    /* Turn off CSS transitions */
    opacity: 1 !important;
    -o-transition-property: none !important;
    -moz-transition-property: none !important;
    -ms-transition-property: none !important;
    -webkit-transition-property: none !important;
    transition-property: none !important;
    /*CSS transforms*/
    -o-transform: none !important;
    -moz-transform: none !important;
    -ms-transform: none !important;
    -webkit-transform: none !important;
    transform: none !important;
    /*CSS animations*/
    -webkit-animation: none !important;
    -moz-animation: none !important;
    -o-animation: none !important;
    -ms-animation: none !important;
    animation: none !important;
  }
}
