@import url("https://fonts.googleapis.com/css2?family=Syne:wght@400..800&display=swap");

.syne-1 {
  font-family: "Syne", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.syne-2 {
  font-family: "Syne", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}

.syne-3 {
  font-family: "Syne", sans-serif;
  font-optical-sizing: auto;
  font-weight: 800;
  font-style: normal;
}

/* Dropdown Smooth Animation */
.dropdown-enter {
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.group:hover .dropdown-enter {
  opacity: 1;
  transform: translateY(0);
}

/* Hide scrollbar for mobile menu */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Sticky Navbar Slide Animation */
#mainNavbar.fixed {
  animation: slideDown 0.4s ease forwards;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* navbar  */
.nav-link {
  position: relative;
  text-decoration: none;
  color: #EDC144;
  transition: color 0.3s ease;
}

/* Underline element */
.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  /* start at center */
  transform: translateX(-50%);
  width: 0;
  /* start hidden */
  height: 2px;
  background-color: #fff;
  /* underline color */
  transition: width 0.3s ease;
}

/* Hover effects */
.nav-link:hover {
  color: #fff;
  /* hover text color */
}

.nav-link:hover::after {
  width: 100%;
  /* animate outward */
}

.arc {
  --v: 35;
  --b: 30px;
  --_v: min(99.99, var(--v));
  --_f: round(down, var(--_v), 50);
  width: 200px;
  aspect-ratio: 1;
  display: grid;
  position: absolute;
  /* as in your code */
  transform-origin: center center;
  /* explicitly center */
  animation: rotate 4s linear infinite;
  /* apply rotation here */
}

.arc:before {
  content: "";
  width: 100%;
  height: 100%;
  background: linear-gradient(60deg in hsl, #010149, #ffb805);
  clip-path: shape(from top,
      arc to calc(50% + 50%*sin(var(--_v)*3.6deg)) calc(50% - 50%*cos(var(--_v)*3.6deg)) of 50% cw var(--_c, large),
      arc to calc(50% + (50% - var(--b))*sin(var(--_v)*3.6deg)) calc(50% - (50% - var(--b))*cos(var(--_v)*3.6deg)) of 1% cw,
      arc to 50% var(--b) of calc(50% - var(--b)) var(--_c, large),
      arc to top of 1% cw);

  @container style(--_f: 0) {
    --_c: small
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}


/* Float fix */
.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

.faq-content {
  transition: max-height 0.4s ease, padding 0.3s ease;
}


section[style*="background-image"] {
  transition: transform 1.5s ease;
}

section[style*="background-image"]:hover {
  transform: scale(0.97);
}


/* footer */
/* WebKit browsers (Chrome, Safari, Edge) */
.scrollbar-thin::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.scrollbar-thin::-webkit-scrollbar-thumb {
  background-color: #010149;
  /* brown */
  border-radius: 9999px;
}

.scrollbar-thin::-webkit-scrollbar-track {
  background: transparent;
}

/* Firefox */
.scrollbar-thin {
  scrollbar-width: thin;
  scrollbar-color: #010149 transparent;
}

/* breadcrumb */
.breadcrumb-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}

.breadcrumb-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: #fff;
  transition: width 0.3s ease;
}

.breadcrumb-link:hover::after {
  width: 100%;
}

/* arrow slide effect on hover */
.breadcrumb-link::before {
  content: "→";
  opacity: 0;
  transform: translateX(-5px);
  margin-right: 4px;
  transition: all 0.3s ease;
}

.breadcrumb-link:hover::before {
  opacity: 1;
  transform: translateX(0);
}



/*  */
.heading-h1 {
  font-size: 2.25rem;
  /* 36px */
  font-weight: 700;
  line-height: 1.2;
  /* color: #0e2b5c; */
}

.heading-h2 {
  font-size: 1.875rem;
  /* 30px */
  font-weight: 700;
  line-height: 1.3;
  /* color: #0e2b5c */
}

.heading-h3 {
  font-size: 1.5rem;
  /* 24px */
  font-weight: 600;
  line-height: 1.4;
  /* color: #0e2b5c; */
}

.heading-h4 {
  font-size: 1.25rem;
  /* 20px */
  font-weight: 600;
  line-height: 1.4;
  /* color: #0e2b5c; */
}

.heading-h5 {
  font-size: 1.125rem;
  /* 18px */
  font-weight: 500;
  line-height: 1.5;
  /* color: #0e2b5c; */
}

.heading-h6 {
  font-size: 1rem;
  /* 16px */
  font-weight: 500;
  line-height: 1.5;
  /* color: #0e2b5c; */
}

.custom-ul {
  list-style-type: disc;
  /* Bullet points */
  padding-left: 1.5rem;
  /* Indent */
  margin-bottom: 1rem;
  /* color: #0e2b5c; */
  font-size: 1rem;
  /* 16px */
  line-height: 1.6;
}

.custom-ul li {
  margin-bottom: 0.5rem;
}