:root {
  --color-main: #001e14;
  --color-v1: #04544a;
  --color-v2: #c5be9e;
  --bg-v1: #092c24;
  --bg-v2: #f5f0dc;
  --color-scrollbar: #c5be9e;
  --font-main: "Montserrat", sans-serif;
}

html {
  font-size: 14px;
  scroll-behavior: smooth;
  /* Firefox Scrollbar Style */
  scrollbar-width: thin;
  scrollbar-color: var(--color-scrollbar) #f8f9fa;
}

@media (min-width: 1024px) {
  html {
    font-size: 16px;
  }
}
body {
  margin-left: auto;
  margin-right: auto;
  overflow-x: hidden;
  font-family: var(--font-main);
  color: var(--color-main);
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

input,
button,
select,
textarea {
  font-family: var(--font-main);
  outline: none;
}

/* Custom Scrollbar Styling (Webkit) */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f8f9fa;
}

::-webkit-scrollbar-thumb {
  background: var(--color-scrollbar);
  border-radius: 100px;
  border: 2px solid #f8f9fa;
  transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-v1);
}

a,
i,
input[type="submit"],
button {
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.s-content ol {
  list-style: decimal;
  margin-left: 15px;
  margin-bottom: 10px;
}

.s-content ul {
  list-style: initial;
  margin-left: 15px;
  margin-bottom: 10px;
}

.s-content li {
  list-style: inherit;
  margin-bottom: 5px;
}

.s-content p {
  margin-bottom: 10px;
}

.s-content img {
  display: block;
  max-width: 100%;
  margin: 10px auto;
  width: auto !important;
  -o-object-fit: contain;
  object-fit: contain;
  height: auto !important;
}

.s-content table,
.s-content iframe {
  max-width: 100%;
  width: 100%;
}

.s-content table {
  border-collapse: collapse;
  width: 100%;
  border: solid 1px rgba(0, 0, 0, 0.431372549);
}

.s-content table td {
  border-collapse: collapse;
  border: solid 1px rgba(0, 0, 0, 0.431372549);
  padding: 3px;
}

.s-content h1,
.s-content h2,
.s-content h3,
.s-content h4,
.s-content h5,
.s-content h6 {
  display: block;
  margin-left: 0;
  margin-right: 0;
  font-weight: bold;
}

.s-content h1 {
  font-size: 2em;
  margin-top: 0.67em;
  margin-bottom: 0.67em;
}

.s-content h2 {
  font-size: 1.5em;
  margin-top: 0.3em;
  margin-bottom: 0.3em;
}

.s-content h3 {
  font-size: 1.17em;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

.s-content h4 {
  font-size: 1em;
  margin-top: 0.6em;
  margin-bottom: 0.6em;
}

.s-content h5 {
  font-size: 0.83em;
  margin-top: 0.8em;
  margin-bottom: 0.8em;
}

.s-content h6 {
  font-size: 0.67em;
  margin-top: 0.8em;
  margin-bottom: 0.8em;
}

.c-img {
  position: relative;
  display: block;
}

.c-img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.scale-img {
  transition: all 0.5s;
  overflow: hidden;
}

.scale-img img {
  scale: 1.1;
  transition: all 0.5s;
}

.img__ {
  position: relative;
  overflow: hidden;
}

.img__:hover::after {
  -webkit-animation: shine 0.75s;
  animation: shine 0.75s;
}

.img__::after {
  position: absolute;
  top: 0;
  left: -75%;
  z-index: 2;
  display: block;
  content: "";
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 100%
  );
  transform: skewX(-25deg);
}

@keyframes shine {
  100% {
    left: 125%;
  }
}

.hv_img {
  display: block;
  position: relative;
  overflow: hidden;
}

.hv_img::before {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: block;
  content: "";
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 100%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  opacity: 0;
}

.hv_img:hover::before {
  -webkit-animation: circle 0.75s;
  animation: circle 0.75s;
}

@keyframes circle {
  0% {
    opacity: 1;
  }

  40% {
    opacity: 1;
  }

  100% {
    width: 200%;
    height: 200%;
    opacity: 0;
  }
}

.video {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
}

.video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.img__contain img {
  width: 100%;
  height: auto;
  object-fit: contain;
  -o-object-fit: contain;
}

.img__h-full img {
  height: 100%;
}

.img__w-full img {
  width: 100%;
}

.img__center img {
  display: block;
  margin: 0 auto;
}

@media not all and (min-width: 1024px) {
  .menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    background-color: var(--color-main);
    display: flex !important;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 6rem 2rem;
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.6s cubic-bezier(0.77, 0, 0.175, 1);
  }

  .menu.show {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
  }

  .menu ul {
    width: 100%;
    text-align: center;
  }

  .menu li {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s ease;
  }

  .menu.show li {
    opacity: 1;
    transform: translateY(0);
  }

  .menu li a {
    display: inline-block;
    padding: 0.5rem 1rem;
    letter-spacing: 0.1em;
    position: relative;
  }

  .menu li a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background-color: var(--color-v2);
    transition: all 0.3s ease;
    transform: translateX(-50%);
  }

  .menu li a:hover::after {
    width: 80%;
  }

  .menu li a:hover {
    color: var(--color-v2);
  }
}

@media (min-width: 1024px) {
  .menu ul {
    display: flex;
    gap: 1rem;
  }

  .menu ul li:hover > a {
    color: var(--color-v2);
  }

  .wow {
    visibility: hidden;
  }
}

/* Search Modal State */
#search-modal.show {
  opacity: 1 !important;
  pointer-events: auto !important;
}

#search-modal.show #search-content {
  transform: translateY(0) !important;
}

#search-modal #search-content {
  transition: all 0.5s ease;
}

/* Popup Registration State */
.module-modal {
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s;
}

.module-modal.active {
  visibility: visible;
  opacity: 1;
}

.module-modal .modal-content {
  transform: translateY(-5rem);
  transition: all 0.3s;
}

.module-modal.active .modal-content {
  transform: translateY(0);
}

.animate-ping-slow {
  animation: ping-slow 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping-slow {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  70%,
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

.animate-shake-slow {
  animation: ring-bell 2s ease-in-out infinite;
}

@keyframes ring-bell {
  0% {
    transform: rotate(0);
  }
  5% {
    transform: rotate(15deg);
  }
  10% {
    transform: rotate(-15deg);
  }
  15% {
    transform: rotate(12deg);
  }
  20% {
    transform: rotate(-12deg);
  }
  25% {
    transform: rotate(10deg);
  }
  30% {
    transform: rotate(-10deg);
  }
  35% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(0);
  }
}

/* Breadcrumb Style */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 0;
}

.breadcrumb li {
  display: flex;
  align-items: center;
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 0.5rem;
  color: #d1d5db;
}

.breadcrumb li a {
  color: var(--color-v1);
  font-weight: 500;
  transition: color 0.3s ease;
}

.breadcrumb li a:hover {
  color: var(--color-v2);
}

.breadcrumb li:last-child a,
.breadcrumb li:last-child span {
  color: #9ca3af;
  pointer-events: none;
}

/* Pagination Style */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
}

.pagination a,
.pagination strong {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  border-radius: 0.25rem;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all 0.3s ease;
  border: 1px solid #e5e7eb;
}

.pagination a {
  color: var(--color-main);
  background-color: #fff;
}

.pagination a:hover {
  background-color: var(--color-v2);
  border-color: var(--color-v2);
  color: var(--color-main);
}

.pagination strong {
  background-color: var(--color-v1);
  border-color: var(--color-v1);
  color: #fff;
}

.pagination a[rel="next"],
.pagination a[rel="prev"] {
  font-size: 1.25rem;
}

.text-linear {
  background: linear-gradient(90deg, #fed094 0%, #e8b069 16.68%, #b9753b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
