:root {
  --slide-speed: 0.8s;
  --ease: cubic-bezier(0.65, 0, 0.35, 1);
  --bg-dark: #0f0026;
  --accent-dblue: #1c2541;
  --accent-blue: #1c5e74;
  --bg-white: #fcfcfc;
  --bg-gray: #a8b0c0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
  scroll-behavior: smooth;
}

/* loader */
/* Loader Styles */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-white);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

#loader.hidden {
  opacity: 0;
  visibility: hidden;
}

#loader img.logo {
  display: inline-block;
  width: 120px;
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
  animation: loader-pulse 2.5s ease-in-out infinite;
}

@keyframes loader-pulse {
  0% {
    transform: scale(1);
    filter: brightness(1);
    /* Optional: subtle brightness shift adds depth */
  }

  50% {
    transform: scale(1.1);
    /* 1.1 is often smoother/more subtle than 1.2 */
    filter: brightness(1.05);
  }

  100% {
    transform: scale(1);
    filter: brightness(1);
  }
}


/* 1. SHOW custom scrollbar on Desktop and iPad (Screens wider than 600px) */
@media screen and (min-width: 601px) {
  ::-webkit-scrollbar {
    width: 7px;
    height: 7px;
  }

  ::-webkit-scrollbar-track {
    background: var(--bg-white);
  }

  ::-webkit-scrollbar-thumb {
    background: #1e6091;
    border-radius: 0px;
  }

  ::-webkit-scrollbar-thumb:hover {
    background: #184e77;
  }
}

/* 2. HIDE scrollbar on Mobile (Screens 600px and narrower) */
@media screen and (max-width: 600px) {
  ::-webkit-scrollbar {
    display: none;
    width: 0 !important;
    height: 0 !important;
  }

  html,
  body {
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
  }
}

/* Update your existing body/html block to this */
html {
  overflow-x: hidden;
  overflow-y: auto;
  /* Let the browser decide when to scroll */
}

body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
  position: relative;
  min-height: 100vh;
  width: 100%;
}

/* 📱 Mobile Fix */
@media (max-width: 768px) {
  body {
    /* background-attachment: scroll; fixed causes issues on mobile */
    background-position: center;
  }
}

.faq-section {
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  text-align: center;
  color: var(--bg-white, #fff);
  padding: clamp(5rem, 15vh, 17rem) 5%;
  height: 80vh;
  background-image: url("/assets/faq/faq-header.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.faq-section .header-title {
  font-size: clamp(2rem, 8vw, 4rem);
  font-weight: 900;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.faq-section .header-description {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto;
}


@media (max-width: 768px) {
  .faq-section {
    padding: 6rem 7%;
  }
}


@media (max-width: 1440px) {
  .faq-section .header-title{
    font-size: 2.8rem ;
  }

  .faq-title{
    font-size: 2.5rem !important;
  }
  
}


/* faq */
.faq-container {
  padding: 60px 8%;
  background-color: var(--bg-white);
}

.faq-header {
  text-align: center;
  margin-bottom: 50px;
}

.faq-subtitle {
  color: var(--accent-dblue);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}

.faq-subtitle::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--accent-dblue);
  margin: 5px auto 0;
}

.faq-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--accent-dblue);
  /* Matches the sky blue in your image */
  font-weight: 800;
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.accordion-item {
  border: 2px solid var(--bg-gray);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.accordion-item:hover {
  border-color: var(--accent-dblue);
}

.accordion-header {
  width: 100%;
  padding: 25px 30px;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  outline: none;
}

.accordion-header span {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-dblue);
  line-height: 1.4;
}

/* Custom Plus/Minus Icon */
.plus-icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.plus-icon::before,
.plus-icon::after {
  content: '';
  position: absolute;
  background-color: var(--accent-dblue);
  transition: transform 0.3s ease;
}

/* Horizontal line */
.plus-icon::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
}

/* Vertical line */
.plus-icon::after {
  left: 50%;
  top: 0;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
}

/* Active State Styles */
.accordion-item.active {
  border-color: var(--accent-dblue);
}

.accordion-item.active .plus-icon::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
  /* Hide vertical line to make it a minus */
}

/* Animated Content Area */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
  background-color: #f9f9f9;
  /* Subtle gray background for answer */
}

.accordion-inner {
  padding: 0 30px 25px 30px;
  color: #3e4758;
  line-height: 1.6;
  font-size: 1rem;
}


/* Floating Chat Button */
.chat-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 1000;
  transition: background 0.3s ease, transform 0.3s ease;
  background: rgb(7, 7, 44);
  box-shadow: 0 0 20px 5px rgba(56, 52, 112, 0.7);
   transition: all 0.4s ease; /* Smooth transition for opacity and transform */
    opacity: 1;
    visibility: visible;
}


.chat-widget.hidden-widget {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px); /* Optional: slight slide down effect */
    pointer-events: none; /* Prevents clicking while invisible */
}

/* This class will be toggled via JS */
.chat-widget.stuck {
  position: absolute;
  bottom: 30px;
  /* This is 30px above the top of the footer container */
}

.chat-widget:hover {
  background: var(--accent-dblue);
  box-shadow: rgba(132, 139, 170, 0.25) 0px 54px 55px, rgba(113, 131, 165, 0.12) 0px -12px 30px, rgba(58, 63, 133, 0.12) 0px 4px 6px, rgba(106, 121, 189, 0.17) 0px 12px 13px, rgba(112, 123, 172, 0.09) 0px -3px 5px;
  transition: all .3s ease;
}

.chat-widget svg {
  fill: white;
  width: 25px;
}

.strong {
  color: var(--accent-dblue);
}


@keyframes slideDown {
  from {
    transform: translateY(-5000%);
  }

  to {
    transform: translateY(-5000%);
  }
}