/* Modern CSS Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --theme-blue: #0400ff;
  --theme-light-blue: #0400ff1a;
  --theme-orange: rgb(239, 86, 35);

  /* headings */
  --text-subheading: clamp(1rem, 2.2vw, 1.3rem);
  --main-heading: clamp(2rem, 6vw, 3rem);
  --description-para: clamp(0.85rem, 1.5vw, 1.1rem);
  --sub-heading: clamp(1.5rem, 3vw, 2.3rem);
  --main-sub-heading: clamp(1.5rem, 4.5vw, 3rem);
  --card-para: clamp(0.7rem, 1.5vw, 0.9rem);
  --color-gray: #f3f4f6;
}

.custom-header {
  background-color: #ffffff;
  border-bottom: 1px solid #f3f3f3;
  box-shadow: 0px 4px 2px 0px #00000040;
  position: sticky;
  top: 0;
  z-index: 1000;

  .navbar-brand picture {
    max-height: 60px;
  }

  .nav-item {
    display: flex;
    justify-content: center;
    align-items: center;

    .nav-link {
      padding-inline: 1rem;
    }
    .nav-link:hover {
      color: var(--theme-blue);
    }

    .nav-link.active {
      color: var(--theme-blue);
      font-weight: 600;
      border-bottom: 2px solid var(--theme-blue);
    }
  }

  /* Show dropdown on hover */
  .navbar .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
  }

  /* Optional smooth animation */
  .dropdown-menu {
    transition: all 0.2s ease-in-out;
  }

  .navbar .dropdown {
    position: relative;
  }

  .navbar .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    display: block;
    opacity: 0;
    visibility: hidden;
    margin-top: 8px;
    transition: all 0.2s ease;
  }

  .navbar .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
  }

  @media (max-width: 991px) {
    .navbar .dropdown:hover .dropdown-menu {
      display: none;
    }
  }

  @media (max-width: 768px) {
    .navbar-brand picture {
      /* max-height: 35px;
      max-width: 60px; */

      img {
          width: 150px;
      }
    }
  }
}

.bg-blue {
  background-color: var(--theme-blue);
}

.text-blue {
  color: var(--theme-blue);
}

.custom-description {
  font-size: var(--description-para);
}

.btn-blue {
  background-color: var(--theme-blue);

  color: white;

  &:hover {
    background-color: var(--theme-blue);
    opacity: 75%;
    color: white;
  }
}

.bg-gray {
  background-color: #f9f9f9 !important;
}

.section-badge {
  background-color: var(--theme-light-blue);
  border: 1px solid #e8ebff;
  border-radius: 25px;
  padding: clamp(0.3rem, 0.8vw, 0.5rem) clamp(0.8rem, 2vw, 1.2rem);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: clamp(0.7rem, 1.5vw, 0.9rem);
  color: var(--theme-blue);
  font-weight: 500;
}

.section-badge i {
  width: clamp(14px, 2vw, 18px);
  height: clamp(14px, 2vw, 18px);
}

/* Animations */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

/* ============================
            FAQ Section Styles
        ============================ */

.faq-section {
  background-color: #f8f9fa;

  .faq-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    line-height: 1.2;
  }

  .faq-subtitle {
    font-size: 1.125rem;
    line-height: 1.6;
    max-width: 600px;
  }

  .faq-accordion {
    border: none;
  }

  .faq-item {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
  }

  .faq-item:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }

  .faq-question {
    background-color: white;
    border: none;
    padding: 1.5rem 1.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: #333;
    text-align: left;
    width: 100%;
    position: relative;
    box-shadow: none;
    transition: all 0.3s ease;
  }

  .faq-question:focus {
    box-shadow: none;
    border: none;
  }

  .faq-question:not(.collapsed) {
    background-color: white;
  }

  .accordion-button.faq-question::after {
    content: "+";
    background-color: var(--theme-blue);
    background-image: unset !important;
    color: white;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 400;
    position: absolute;
    right: 1.5rem;
    top: 50%;
    padding-bottom: 4px;
    transition: transform 0.3s ease, background-color 0.3s ease;
    background-image: none;
  }

  .faq-question:not(.collapsed)::after {
    content: "-";
    transform: translateY(-50%) rotate(0deg);
  }

  .faq-question.collapsed::after {
    transform: translateY(-50%) rotate(0deg);
  }

  .faq-answer {
    padding: 0 1.5rem 1.5rem 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
  }

  /* Mobile Responsiveness */
  @media (max-width: 768px) {
    .faq-title {
      font-size: 2rem;
    }

    .faq-subtitle {
      font-size: 1rem;
    }

    .faq-question {
      padding: 1.25rem 1.25rem;
      font-size: 1rem;
      padding-right: 4rem;
    }

    .faq-question::after {
      right: 1.25rem;
      width: 28px;
      height: 28px;
      font-size: 18px;
    }

    .faq-answer {
      padding: 0 1.25rem 1.25rem 1.25rem;
      font-size: 0.9rem;
    }
  }

  @media (max-width: 576px) {
    .faq-title {
      font-size: 1.75rem;
    }

    .faq-question {
      padding: 1rem 1rem;
      padding-right: 3.5rem;
      font-size: 0.95rem;
    }

    .faq-question::after {
      right: 1rem;
      width: 24px;
      height: 24px;
      font-size: 16px;
    }

    .faq-answer {
      padding: 0 1rem 1rem 1rem;
      font-size: 0.85rem;
    }
  }
}
