/* ===== Root Theme Variables ===== */

:root {
  /* Primary Color Scheme */
  --primary: #FCB400;
  --primary-dark: #D69400;

  --secondary: #6c757d;
  --secondary-dark: #5a6268;

  --accent:#B00000;


  /* Text and Background Colors */
  --text-color: #0A0A0A;
  --muted-text: #393939;
  --bg-color: #ffffff;
  --bg-light: #f8f9fa;

  /* Accent Colors */
  --success: #198754;
  --black: #393939;
  --danger: #dc3545;
  --warning: #ffc107;
  --info: #0dcaf0;

  /* Spacing */
  --section-padding: 4rem;
  --card-radius: 0.5rem;
  --button-radius: 0.4rem;

  /* Font */
  --font-family: 'Inter', sans-serif;
}

/* ===== Base Theme Usage ===== */
body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-family);
}


.bg-primary {
  background-color: var(--primary) !important;
  color: #fff;
}

.bg-primary-dark {
  background-color: var(--primary-dark) !important;
  color: #fff;
}

.bg-secondary {
  background-color: var(--secondary) !important;
  color: #fff;
}

.bg-secondary-dark {
  background-color: var(--secondary-dark) !important;
  color: #fff;
}

.text-primary {
  color: var(--primary) !important;
}

.text-primary-dark {
  color: var(--primary-dark) !important;
}

.text-secondary {
  color: var(--secondary) !important;
}

.text-secondary-dark {
  color: var(--secondary-dark) !important;
}

.text-accent {
  color: var(--accent) !important;
}
.text-black {
  color: var(--text-color) !important;
}


.text-dark {
  color: var(--black) !important;
}

.text-muted {
  color: var(--muted-text) !important;
}

.border-primary {
  border-color: var(--primary) !important;
}

.rounded-primary {
  border-radius: var(--button-radius) !important;
}




/* custom modification */
.dropdown-toggle::after {
  border-radius: 40px !important;
}

.nav-link {
  background: linear-gradient(to right, #FFEEC3, #FFF9E9);
  background-size: 0% 100%;
  background-repeat: no-repeat;
  background-position: left center;
  padding: 5px 14px !important;
  
  border-radius: var(--button-radius);
  transition: background-size 0.2s ease-in-out, color 0.2s, font-weight 0.2s;
}

.nav-link.active {
  color: var(--primary);
  font-weight: bold !important;
  background-size: 100% 100%;
  border-radius: var(--button-radius);
   padding: 5px 14px !important;
}
.sub-menu.active{
  color: var(--primary) !important;
}
/* Keep the arrow rotation when dropdown is open */
.navbar-nav .dropdown.show > .dropdown-toggle::after {
  transform: rotate(180deg) !important;
}

/* Base tab style (inactive) */
.menu-tab {
  background: linear-gradient(to right, #FFEEC3, #FFF9E9);
  background-size: 0% 100%;
  background-repeat: no-repeat;
  background-position: left center;
  padding-top: 7px !important;
  padding-bottom: 7px !important;
  border-radius: var(--button-radius);
  transition: background-size 0.3s ease-in-out, color 0.2s, font-weight 0.2s;
  color: var(--muted-text); /* default fallback */
  font-weight: 500;
}

/* Icon and name default to muted */
.menu-tab .icon,
.menu-tab .menu-name {
  color: var(--muted-text); /* text-muted */

}

/* Active tab */
.menu-tab.active {
  background-size: 100% 100%;
  font-weight: bold !important;
}

/* Active icon */
.menu-tab.active .icon {
  color: var(--primary) !important;
}

/* Active text */
.menu-tab.active .menu-name {
  color: var(--text-color) !important; /* text-black */
}

.flip-container {
  perspective: 1000px;
  width: 100%;
  height: 90px !important;
  
}

.flip-tile {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  animation: flipAnimation 6s infinite linear;
}

.flip-front,
.flip-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flip-front {
  transform: rotateY(0deg);
}

.flip-back {
  transform: rotateY(180deg);
}

@keyframes flipAnimation {
  0% {
    transform: rotateY(0deg);
  }
  50% {
    transform: rotateY(180deg);
  }
  100% {
    transform: rotateY(360deg);
  }
}

@keyframes spin-slow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.tw-animate-spin-slow {
  animation: spin-slow 20s linear infinite;
}

.arc-mask {
  clip-path: inset(0% 0 0% 50%);
}
.fade-mask {
  -webkit-mask-image: linear-gradient(to bottom, transparent -5%, black 15%, black 85%, transparent 105%);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: cover;
  mask-image: linear-gradient(to bottom, transparent -5%, black 15%, black 85%, transparent 105%);
  mask-repeat: no-repeat;
  mask-size: cover;
}
/* Hide horizontal scrollbar only */
::-webkit-scrollbar:horizontal {
  height: 0px !important; /* Makes horizontal scrollbar invisible */
  width: 0px !important;
}

/* Hide scrollbar for WebKit (Chrome, Safari) */
.hide-scrollbar::-webkit-scrollbar {
  display: none !important;
}

/* Hide scrollbar for Firefox */
.hide-scrollbar {
  scrollbar-width: none  !important;
}

/* Hide scrollbar for IE & Edge */
.hide-scrollbar {
  -ms-overflow-style: none;
}

.tw-border-active{
  border-bottom: 2px solid #B00000 !important;
}