:root{
  --bs-primary-rgb: 90,72,228;
  --bs-primary: #5A48E4;
}
/* ---- fonts ---- */
@font-face {
    font-family: 'Rubik';
    src: url('./fonts/Rubik-Medium.woff2') format('woff2'),
        url('./fonts/Rubik-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Rubik';
    src: url('./fonts/Rubik-ExtraBold.woff2') format('woff2'),
        url('./fonts/Rubik-ExtraBold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Rubik';
    src: url('./fonts/Rubik-Regular.woff2') format('woff2'),
        url('./fonts/Rubik-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Rubik';
    src: url('./fonts/Rubik-Bold.woff2') format('woff2'),
        url('./fonts/Rubik-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Rubik';
    src: url('./fonts/Rubik-SemiBold.woff2') format('woff2'),
        url('./fonts/Rubik-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}


/* ----- generic ------ */
html {
  scroll-behavior: smooth;
}

html, body {
  margin: 0;
  font-family: 'Rubik';
  font-weight: 400;
  overflow-x: hidden;
  max-width: 100%;
  font-size: 18px;
}

a, a:hover {
  text-decoration: none;
}

a, button, .btn, input {
  transition: all 0.3s;
}

.font-light {
  font-weight: 300;
}

.text-center {
  text-align: center;
}

.btn-primary {
  --bs-btn-bg: rgb(var(--bs-primary-rgb));
  --bs-btn-border-color: rgb(var(--bs-primary-rgb));

  --bs-btn-hover-bg: rgb(73,59,187);
  --bs-btn-hover-border-color: rgb(73,59,187);
}

.custom-list {
    list-style: none;
    padding-left: 0;
}

.custom-list li {
    position: relative;
    padding-left: 40px;
    margin-bottom: 15px;
    font-size: 18px;
}

.custom-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 27px;
    height: 27px;
    background-color: white;
    border-radius: 50%;
    color: #5A48E4;
    font-size: 16px;
    line-height: 1;
}

.custom-list-dark {
    list-style: none;
    padding-left: 0;
}

.custom-list-dark li {
    position: relative;
    padding-left: 40px;
    margin-bottom: 15px;
    font-size: 18px;
}

.custom-list-dark li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 27px;
    height: 27px;
    background-color: rgba(var(--bs-primary-rgb), 0.2);
    border-radius: 50%;
    color: #5A48E4;
    font-size: 16px;
    line-height: 1;
}

.bg-map {
  background: url('../images/world-map.png') center center no-repeat;
  background-size: contain;
}

.bg-candle-stick {
  background: url('../images/candle-stick.png') center center no-repeat;
  background-size: contain;
}

h1 {
  font-size: 45px;
}

h2 {
  font-size: 40px;
}

h3 {
  font-weight: 400;
}

.landing-section {
  min-height: calc(100vh - 70px);
}

/* animation  */
section {
  opacity: 1;
  transform: translateY(0);
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}
/* animation  */

/* ----- menu ----- */

.logo {
  width: 100%;
  max-width: 220px;
}

.navbar {
    border-bottom: 1px solid #e9e8e8;
}

/* ----- blurb -----  */
.blurb-section {
    display: flex;
    align-items: center;
}

.blurb-widget {
    background-color: white;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 10px;
}

.blurb-widget:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.blurb-icon {
    font-size: 40px;
    color: #5A48E4;
    border: 5px solid #F8F9FA;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 15px auto;
    transition: transform 0.3s ease;
    background-color: white;
}

.blurb-widget:hover .blurb-icon {
    transform: rotate(360deg);
}

.blurb-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.blurb-description {
    font-size: 16px;
    color: #666;
}

/* ----- left right section ------ */
.section-container {
    display: flex;
    align-items: center;
}

.text-content {
    padding: 20px;
}

.section-image {
    border-radius: 20px;
}

/* ----- faqs ----- */
.faq-header {
/*    background: linear-gradient(to bottom, #5A48E4, white);*/
    background: rgb(var(--bs-primary-rgb));
    color: white;
}

.faq-header h1 {
    font-size: 3rem;
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.faq-header p {
    font-size: 1.2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.accordion-button {
    background-color: #5A48E4;
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 0;
    transition: background-color 0.3s ease;
}

.accordion-button.collapsed {
    background-color: white;
    color: #5A48E4;
}

.accordion-item {
    border: 1px solid #5A48E4;
    margin-bottom: 10px;
    border-radius: 8px;
}

.accordion-body {
    font-size: 16px;
    color: #333;
    padding: 1rem;
}

.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.info-box {
    background-color: #f1f1f1;
    border-left: 4px solid #5A48E4;
    font-size: 1.1rem;
}

.info-box h3 {
    font-weight: bold;
    color: #333;
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
  color: #fff;
  background-color: rgb(var(--bs-primary-rgb));
}

.cta-section {
    background-color: #5A48E4;
    color: white;
}

.cta-section h2 {
    font-size: 2rem;
    font-weight: bold;
}

.cta-section .btn {
    background-color: white;
    color: #5A48E4;
    font-weight: bold;
    border-radius: 50px;
    padding: 10px 30px;
}


/* ----- footer ----- */
.footer {
  background-color: rgb(var(--bs-primary-rgb));;
  color: white;
  padding: 20px 0;
}

.footer h5 {
  font-size: 18px;
  font-weight: bold;
}

.footer a {
  color: #5A48E4;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

hr.border-light {
  border-color: rgba(255, 255, 255, 0.2);
}

.text-white {
  color: white !important;
}

.me-2 {
  margin-right: 10px;
}


/* ----- media queries ----- */
@media (max-width: 768px) {
  html, body {
    font-size: 16px;
  }
  .logo {
    max-width: 160px;
  }

  h1 {
      font-size: 35px;
  }
  h2 {
      font-size: 30px;
  }
  .section-container {
      flex-direction: column;
      text-align: center;
  }
  .text-content {
      padding: 20px 15px;
  }
}