/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */
@layer properties;
@layer theme, base, components, utilities;

@layer theme {
  :root,
  :host {
    --header-font-sans: ui-sans-serif, system-ui, sans-serif,
      'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
      'Noto Color Emoji';
    --header-font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
      'Liberation Mono', 'Courier New', monospace;
    --header-color-green-400: oklch(79.2% 0.209 151.711);
    --header-color-gray-800: oklch(27.8% 0.033 256.848);
    --header-color-white: #fff;
    --header-spacing: 0.25rem;
    --header-font-weight-bold: 700;
    --header-default-font-family: var(--header-font-sans);
    --header-default-mono-font-family: var(--header-font-mono);
  }
  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }
}

/* REMOVED @layer base - This conflicts heavily with Bootstrap */
/* If you need base styles, import them AFTER Bootstrap */

@layer utilities {
  .header\:relative {
    position: relative;
  }
  .header\:mx-auto {
    margin-inline: auto;
  }
  .header\:mt-2 {
    margin-top: calc(var(--header-spacing) * 2);
  }
  .header\:mt-4 {
    margin-top: calc(var(--header-spacing) * 4);
  }
  .header\:ml-3 {
    margin-left: calc(var(--header-spacing) * 3);
  }
  .header\:flex {
    display: flex;
  }
  .header\:hidden {
    display: none;
  }
  .header\:h-5 {
    height: calc(var(--header-spacing) * 5);
  }
  .header\:h-6 {
    height: calc(var(--header-spacing) * 6);
  }
  .header\:w-5 {
    width: calc(var(--header-spacing) * 5);
  }
  .header\:w-6 {
    width: calc(var(--header-spacing) * 6);
  }
  .header\:w-full {
    width: 100%;
  }
  .header\:cursor-pointer {
    cursor: pointer;
  }
  .header\:flex-col {
    flex-direction: column;
  }
  .header\:flex-row {
    flex-direction: row;
  }
  .header\:flex-row-reverse {
    flex-direction: row-reverse;
  }
  .header\:items-center {
    align-items: center;
  }
  .header\:items-start {
    align-items: flex-start;
  }
  .header\:justify-between {
    justify-content: space-between;
  }
  .header\:justify-center {
    justify-content: center;
  }
  .header\:justify-end {
    justify-content: flex-end;
  }
  .header\:gap-1 {
    gap: calc(var(--header-spacing) * 1);
  }
  .header\:gap-2 {
    gap: calc(var(--header-spacing) * 2);
  }
  .header\:gap-3 {
    gap: calc(var(--header-spacing) * 3);
  }
  .header\:bg-green-400 {
    background-color: var(--header-color-green-400);
  }
  .header\:p-0 {
    padding: calc(var(--header-spacing) * 0);
  }
  .header\:px-4 {
    padding-inline: calc(var(--header-spacing) * 4);
  }
  .header\:text-center {
    text-align: center;
  }
  .header\:font-bold {
    --tw-font-weight: var(--header-font-weight-bold);
    font-weight: var(--header-font-weight-bold);
  }
  .header\:text-gray-800 {
    color: var(--header-color-gray-800);
  }
  .header\:text-white {
    color: var(--header-color-white);
  }
  .header\:no-underline {
    text-decoration-line: none;
  }
  .header\:xl\:flex {
    @media (width >= 80rem) {
      display: flex;
    }
  }
  .header\:xl\:hidden {
    @media (width >= 80rem) {
      display: none;
    }
  }
}

@font-face {
  font-family: 'IRANSans';
  src: url('https://cdn.jsdelivr.net/gh/rastikerdar/vazir-font@v30.1.0/dist/Vazir-Regular.woff2')
    format('woff2');
}

header {
  font-family: 'IRANSans', Tahoma, Arial, sans-serif;
}

.sticky-header {
  position: fixed;
  top: 0;
  z-index: 9999;
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 0 10px;
}

.HeadNavHeight {
  height: 80px;
}

.header-text {
  font-size: 14px;
  color: #333 !important;
}

.font-10 {
  font-size: 10px;
}

.font-12 {
  font-size: 12px;
}

.ml-2-rem {
  margin-left: 2rem;
}

/* REMOVED .gap-1 - conflicts with Bootstrap's gap utilities */

.icon-w-18 {
  width: 18px;
}

.header-logo {
  width: 100px;
}

#logoAnimation {
  width: 80px;
  height: 60px;
}

.parent-menu {
  list-style: none;
  padding: 0;
  margin: 0 1rem;
  position: relative;
}

.parent-menu::before {
  content: url('/img/ArrowNav.svg');
  position: absolute;
  top: 3px;
  left: -13px;
}

.dropdown-div {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  border-right: 2px solid #009788;
  padding: 1rem;
  min-width: 250px;
  margin-top: 0.5rem;
  z-index: 10;
}

.dropdown-div li {
  list-style: none;
  margin: 0.3rem 0;
}

.dropdown-div a {
  display: flex;
  align-items: center;
  padding: 0.3rem;
  border-radius: 4px;
  transition: background 0.2s;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  font-weight: bold;
}

.dropdown-div a:hover {
  background: #f0f0f0;
}

.dropdown-div img {
  width: 20px;
  height: 20px;
  margin-left: 0.75rem;
}

.header-mobile {
  height: 70px;
}

.black-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.header-mobile-content {
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  height: 100%;
  background: white;
  z-index: 1000;
  overflow-y: auto;
  padding: 1rem;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.header-mobile-content.header-d-block {
  transform: translateX(0);
}

.menus-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: bold;
  font-size: 18px;
}

.menus-logo img {
  width: 40px;
}

.menu-scroll {
  margin-top: 2rem;
}

.menus-mobile {
  border-radius: 8px;
  margin-bottom: 0.5rem;
  padding: 0.75rem;
  height: 40px;
  overflow: hidden;
}

.menu-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.menu-title a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  font-size: 15px;
}

.menu-title a:hover {
  text-decoration: none;
  color: #333 !important;
  font-weight: bold;
  font-size: 15px;
}

.dropdown-arrow {
  width: 16px;
  transition: transform 0.3s;
}

.menus-mobile ul {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
}

.menus-mobile ul li {
  margin: 0.75rem 0;
}

.menus-mobile ul a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #333;
  font-weight: bold;
  font-size: 13px;
}

.menus-mobile ul img {
  width: 24px;
  margin-left: 0.75rem;
}

/* REMOVED .d-none and .d-block - Bootstrap has these */
/* Use .header-d-none and .header-d-block instead */
.header-d-none {
  display: none !important;
}

.header-d-block {
  display: block !important;
}

/* REMOVED .btn classes - Bootstrap has extensive button styles */
/* If you need custom buttons, use more specific names */
.header-btn {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s;
}

.header-btn-primary {
  background: #009788;
  color: white !important;
  text-align: center;
  margin-right: 12px;
}

.header-btn > a {
  color: white !important;
}

.header-btn-primary:hover {
  background: #007d71;
}

.header-btn-danger {
  background: #f44336;
  color: white;
}

.header-btn-danger:hover {
  background: #d32f2f;
}

@property --tw-font-weight {
  syntax: '*';
  inherits: false;
}

@layer properties {
  @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or
    ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
    *,
    ::before,
    ::after,
    ::backdrop {
      --tw-font-weight: initial;
    }
  }
}
