@font-face {
  font-family: IRANYekanX;
  font-style: normal;
  font-weight: 100;
  display: swap;
  src: url("../webfonts/woff/IRANYekanX-Thin.woff") format("woff"),
    url("../webfonts/woff2/IRANYekanX-Thin.woff2") format("woff2");
}

@font-face {
  font-family: IRANYekanX;
  font-style: normal;
  font-weight: 200;
  display: swap;
  src: url("../webfonts/woff/IRANYekanX-UltraLight.woff") format("woff"),
    url("../webfonts/woff2/IRANYekanX-UltraLight.woff2") format("woff2");
}

@font-face {
  font-family: IRANYekanX;
  font-style: normal;
  font-weight: 300;
  display: swap;
  src: url("../webfonts/woff/IRANYekanX-Light.woff") format("woff"),
    url("../webfonts/woff2/IRANYekanX-Light.woff2") format("woff2");
}

@font-face {
  font-family: IRANYekanX;
  font-style: normal;
  font-weight: 500;
  display: swap;
  src: url("../webfonts/woff/IRANYekanX-Medium.woff") format("woff"),
    url("../webfonts/woff2/IRANYekanX-Medium.woff2") format("woff2");
}

@font-face {
  font-family: IRANYekanX;
  font-style: normal;
  font-weight: 600;
  display: swap;
  src: url("../webfonts/woff/IRANYekanX-DemiBold.woff") format("woff"),
    url("../webfonts/woff2/IRANYekanX-DemiBold.woff2") format("woff2");
}

@font-face {
  font-family: IRANYekanX;
  font-style: normal;
  font-weight: 800;
  display: swap;
  src: url("../webfonts/woff/IRANYekanX-ExtraBold.woff") format("woff"),
    url("../webfonts/woff2/IRANYekanX-ExtraBold.woff2") format("woff2");
}

@font-face {
  font-family: IRANYekanX;
  font-style: normal;
  font-weight: 900;
  display: swap;
  src: url("../webfonts/woff/IRANYekanX-Black.woff") format("woff"),
    url("../webfonts/woff2/IRANYekanX-Black.woff2") format("woff2");
}
@font-face {
  font-family: IRANYekanX;
  font-style: normal;
  font-weight: 950;
  display: swap;
  src: url("../webfonts/woff/IRANYekanX-ExtraBlack.woff") format("woff"),
    url("../webfonts/woff2/IRANYekanX-ExtraBlack.woff2") format("woff2");
}

@font-face {
  font-family: IRANYekanX;
  font-style: normal;
  font-weight: 1000;
  display: swap;
  src: url("../webfonts/woff/IRANYekanX-Heavy.woff") format("woff"),
    url("../webfonts/woff2/IRANYekanX-Heavy.woff2") format("woff2");
}

@font-face {
  font-family: IRANYekanX;
  font-style: normal;
  font-weight: bold;
  display: swap;
  src: url("../webfonts/woff/IRANYekanX-Bold.woff") format("woff"),
    url("../webfonts/woff2/IRANYekanX-Bold.woff2") format("woff2");
}

@font-face {
  font-family: IRANYekanX;
  font-style: normal;
  font-weight: normal;
  display: swap;
  src: url("../webfonts/woff/IRANYekanX-Regular.woff") format("woff"),
    url("../webfonts/woff2/IRANYekanX-Regular.woff2") format("woff2");
}

:root {
  --primary-color: #0d5eae;
  --primary-color2: #0055a9;
  --primary-color3: #0f2540;

  --secondary-color: #e8a020;
  --secondary-color2: #f5b840;
  --secondary-color3: #c88010;

  --accent-yellow: #f5c842;
  --accent-teal: #1e8fa0;
  --accent-teal2: #25a8bc;

  --background-color: #f4f7fc;
  --background-color2: #eef2f8;
  --background-color3: #dde5f0;

  --light-color: #fff;

  --text-color: #1a2435;
  --text-color2: #4a5568;
  --text-color3: #8a9bb0;
  --text-light: #c8d5e8;

  --border-color: #d0dce8;
  --border-color2: #bfcfdf;

  --shadow-sm: 0 2px 8px rgba(26, 60, 94, 0.08);
  --shadow-md: 0 6px 24px rgba(26, 60, 94, 0.14);
  --shadow-lg: 0 12px 40px rgba(26, 60, 94, 0.18);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-full: 50%;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  --font-fa: "IRANYekanX", sans-serif;
}

/* RESET & BASE */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-fa);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-color);
  background-color: var(--background-color);
  direction: rtl;
  text-align: right;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul {
  list-style: none;
  padding: 0;
}

button {
  cursor: pointer;
  font-family: var(--font-fa);
  border: none;
  outline: none;
  transition: var(--transition);
}

input,
textarea,
select {
  font-family: var(--font-fa);
  direction: rtl;
}

/* TYPOGRAPHY */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--primary-color);
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-color);
  position: relative;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-color2);
  margin-bottom: 2.5rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header .section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--secondary-color),
    var(--accent-yellow)
  );
  border-radius: 2px;
  margin: 0.75rem auto 0;
}

/* BUTTONS */
.btn-primary {
  background: linear-gradient(
    135deg,
    var(--secondary-color),
    var(--secondary-color2)
  );
  color: var(--light-color);
  padding: 0.75rem 2rem;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary:hover {
  background: linear-gradient(
    135deg,
    var(--secondary-color3),
    var(--secondary-color)
  );
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  color: var(--light-color);
}

.btn-outline {
  background: transparent;
  color: var(--primary-color);
  padding: 0.75rem 2rem;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid var(--primary-color);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-outline:hover {
  background: var(--primary-color);
  color: var(--light-color);
  transform: translateY(-2px);
}

.btn-light {
  background: var(--light-color);
  color: var(--primary-color);
  padding: 0.75rem 2rem;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-light:hover {
  background: var(--background-color);
  color: var(--primary-color);
  transform: translateY(-2px);
}

/* NAVBAR */

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.navbar-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.navbar-brand-text {
  display: flex;
  flex-direction: column;
}

.navbar-brand-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1.2;
}

.navbar-brand-sub {
  font-size: 0.75rem;
  color: var(--text-color2);
}
.navbar-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-color2)
  );
  color: var(--light-color) !important;
  padding: 0.5rem 1.25rem !important;
  border-radius: var(--radius-md) !important;
  font-weight: 600 !important;
  font-size: 1rem;
}

.navbar-cta:hover {
  background: linear-gradient(
    135deg,
    var(--secondary-color),
    var(--secondary-color2)
  ) !important;
  color: var(--light-color) !important;
}

.navbar-toggler {
  border: none;
  background: var(--background-color);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.65rem;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2826, 60, 94, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.navbar {
  width: 100%;
  background-color: var(--light-color);
  color: var(--text-color);
  z-index: 2;
  border-bottom: solid 1px var(--border-color);
}

.menu label,
.toggler-label {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 10px;
}
.menu label:hover,
.toggler-label:hover {
  cursor: pointer;
}
.menu-dropdown,
.menu-check,
.toggler-check {
  display: none;
}
.menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
  -ms-flex-item-align: center;
  -ms-grid-row-align: center;
  align-self: center;
}
.menu a {
  color: var(--text-color);
  font-weight: 700;
  font-size: 0.8rem;
  display: block;
  white-space: nowrap;
}
.menu-dropdown a {
  padding: 10px 15px;
  display: block;
  color: var(--text-color);
}

.menu li label {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}
.left-menu {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 12px;
}

/* FOOTER */
.footer {
  background: linear-gradient(
    160deg,
    var(--primary-color3) 0%,
    var(--primary-color) 60%,
    var(--primary-color2) 100%
  );
  color: var(--text-light);
  padding-top: 4rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.footer-brand-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--light-color);
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

.footer h5 {
  color: var(--light-color);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer h5::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 30px;
  height: 2px;
  background: var(--secondary-color);
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: var(--text-light);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links a:hover {
  color: var(--secondary-color2);
  padding-right: 4px;
}

.footer-links a i {
  font-size: 0.75rem;
  color: var(--secondary-color);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.9rem;
}

.footer-contact i {
  color: var(--secondary-color);
  margin-top: 3px;
  min-width: 16px;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-social a:hover {
  background: var(--secondary-color);
  color: var(--light-color);
  border-color: var(--secondary-color);
  transform: translateY(-3px);
}

/* APP DOWNLOAD SECTION */
.footer-app {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  margin-bottom: 2rem;
}

.footer-app-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--light-color);
  margin-bottom: 0.5rem;
}

.footer-app-desc {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 1.25rem;
}

.footer-app-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.app-store-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--light-color);
  color: var(--primary-color);
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.85rem;
}

.app-store-btn:hover {
  background: var(--accent-yellow);
  color: var(--primary-color);
  transform: translateY(-2px);
}

.app-store-btn i {
  font-size: 1.3rem;
}

.activation-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(
    135deg,
    var(--secondary-color),
    var(--secondary-color2)
  );
  color: var(--light-color);
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.85rem;
  border: none;
  cursor: pointer;
}

.activation-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 160, 32, 0.4);
}

.activation-btn i {
  font-size: 1rem;
}

/* FOOTER BOTTOM */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem 0;
  margin-top: 2.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-color3);
}

/* BREADCRUMB */
.page-hero {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--primary-color2) 100%
  );
  padding: 3rem 0;
  color: var(--light-color);
  text-align: center;
}

.page-hero-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--light-color);
  margin-bottom: 0.5rem;
}

.breadcrumb {
  justify-content: center;
  margin-bottom: 0;
}

.breadcrumb-item a {
  color: var(--text-light);
}

.breadcrumb-item a:hover {
  color: var(--accent-yellow);
}

.breadcrumb-item.active {
  color: var(--accent-yellow);
}

.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.4);
}

/* CARDS */
.card-course {
  background: var(--light-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border-color);
  height: 100%;
}

.card-course:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary-color);
}

.card-course-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-course-body {
  padding: 1.25rem;
}

.card-course-cat {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--secondary-color);
  background: rgba(232, 160, 32, 0.1);
  padding: 0.2rem 0.75rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.5rem;
}

.card-course-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.card-course-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--text-color2);
  margin-bottom: 0.75rem;
}

.card-course-meta i {
  color: var(--secondary-color);
  margin-left: 4px;
}

.card-course-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-color);
  margin-top: 0.5rem;
}

.card-course-price {
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary-color);
}

.card-course-price span {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-color2);
}

/* BADGE */
.badge-primary {
  background: var(--primary-color);
  color: var(--light-color);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
}

.badge-secondary {
  background: var(--secondary-color);
  color: var(--light-color);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
}

/* FORM STYLES */
.form-control,
.form-select {
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.7rem 1rem;
  font-family: var(--font-fa);
  font-size: 0.95rem;
  color: var(--text-color);
  background: var(--light-color);
  direction: rtl;
  transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color2);
  box-shadow: 0 0 0 3px rgba(36, 82, 128, 0.1);
  outline: none;
}

.form-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-color);
  margin-bottom: 0.4rem;
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* TAGS */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: var(--background-color2);
  color: var(--primary-color2);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.tag:hover {
  background: var(--primary-color);
  color: var(--light-color);
  border-color: var(--primary-color);
}

/* SCROLLBAR */
::-webkit-scrollbar {
  width: 7px;
}

::-webkit-scrollbar-track {
  background: var(--background-color2);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color2);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
}

/* ANIMATIONS */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

/* UTILITIES */
.text-primary-custom {
  color: var(--primary-color);
}
.text-secondary-custom {
  color: var(--secondary-color);
}
.text-muted-custom {
  color: var(--text-color2);
}
.bg-primary-custom {
  background-color: var(--primary-color);
}
.bg-secondary-custom {
  background-color: var(--secondary-color);
}
.bg-light-custom {
  background-color: var(--background-color);
}

/* RESPONSIVE */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: var(--light-color);
    padding: 1rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    margin-top: 0.5rem;
  }

  .navbar-nav .nav-link.active::after {
    display: none;
  }

  .section-title {
    font-size: 1.6rem;
  }
}

@media (max-width: 575.98px) {
  .section-title {
    font-size: 1.4rem;
  }

  .footer-app-buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* UTILITY CLASSES (جایگزین استایل‌های خطی) */

/* Buttons */
.btn-primary-sm {
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
}

.btn-block-center {
  justify-content: center;
}

/* Sort label */
.sort-label {
  white-space: nowrap;
  font-size: 0.85rem;
  margin-bottom: 0;
  font-weight: 600;
  color: var(--text-color2);
}

/* About section text */
.about-body-text {
  color: var(--text-color2);
  font-size: 0.97rem;
  line-height: 2;
  margin-bottom: 1rem;
}

/* Section title left-aligned */
.section-title-start {
  text-align: right;
  margin-bottom: 1rem;
}

/* CTA container */
.cta-container {
  position: relative;
  z-index: 1;
}

/* Course detail title */
.course-detail-title {
  font-size: 1.6rem;
  margin: 0.75rem 0 0.5rem;
  color: var(--primary-color);
}

/* Course detail intro */
.course-detail-intro {
  color: var(--text-color2);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* Course session list */
.course-desc-list {
  list-style: disc;
  color: var(--text-color2);
  padding-right: 1.5rem;
  font-size: 0.95rem;
  line-height: 2;
}

/* Teacher profile card */
.teacher-profile {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.teacher-profile-img {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 3px solid var(--border-color);
  flex-shrink: 0;
}

.teacher-profile-name {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.teacher-profile-role {
  color: var(--secondary-color);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.teacher-profile-bio {
  color: var(--text-color2);
  font-size: 0.9rem;
  line-height: 1.8;
}

/* Sidebar price note */
.price-note {
  color: var(--text-color2);
  font-size: 0.82rem;
  margin-top: 0.25rem;
}

/* Sidebar categories list */
.sidebar-cat-list {
  gap: 0;
  margin: 0;
  padding: 0;
}

.sidebar-cat-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-color);
}

.sidebar-cat-list li:last-child {
  border-bottom: none;
}

.sidebar-cat-link {
  color: var(--text-color2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.sidebar-cat-link:hover {
  color: var(--primary-color2);
}

.sidebar-cat-icon {
  color: var(--secondary-color);
}

.badge-xs {
  font-size: 0.72rem;
  padding: 0.15rem 0.55rem;
}

/* Tags cloud wrapper */
.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

/* Share section */
.news-share-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 0;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.news-share-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-color);
}

/* Comment avatar variants */
.comment-avatar-admin {
  background: linear-gradient(
    135deg,
    var(--secondary-color),
    var(--accent-yellow)
  );
}

.comment-avatar-teal {
  background: linear-gradient(135deg, var(--accent-teal), var(--accent-teal2));
}

.comment-avatar-purple {
  background: linear-gradient(135deg, #7c3aed, #a855f7);
}

/* Required field asterisk */
.required-mark {
  color: var(--error-color, #e53e3e);
}

/* Lightbox video/img */
.lightbox-img {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
}

.lightbox-video {
  width: 100%;
  max-height: 80vh;
}

/* Lightbox hidden state */
.lightbox-video--hidden {
  display: none;
}

/* Lightbox img hidden state */
.lightbox-img--hidden {
  display: none;
}

@media screen and (min-width: 1201px) {
  .menu .menu-hasdropdown > a .fa-chevron-down {
    -webkit-transition-property: -webkit-transform;
    transition-property: -webkit-transform;
    transition-property: transform;
    transition-property: transform, -webkit-transform;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
  }
  .menu .menu-hasdropdown:hover > a .fa-chevron-down {
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
  }
  .menu {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-flex: 1;
    -ms-flex: auto;
    flex: auto;
    margin-right: 35px;
  }

  .toggler-label,
  .menu-check,
  .toggler-check {
    display: none;
  }

  .menu > ul > li > a.active,
  .menu > ul > li > a:hover {
    color: var(--primary-color2);
    background: var(--background-color);
  }

  .menu > ul > li > a {
    padding: 5px 15px;
    line-height: 32px;
    border-radius: var(--radius-sm);
  }

  .menu > ul > li {
    display: inline-block;
  }

  .menu-dropdown a:hover {
    color: var(--primary-color);
  }

  .menu-hasdropdown {
    position: relative;
  }
  .menu-hasdropdown:hover > ul {
    -webkit-transform: scale(1, 1);
    -ms-transform: scale(1, 1);
    transform: scale(1, 1);
    opacity: 1;
    z-index: 2;
  }
  .menu-hasdropdown > ul {
    position: absolute;
    display: block;
    top: 100%;
    right: 0;
    z-index: 1;
    padding: 8px 0;
    border-radius: 5px;
    background-color: var(--light-color);
    -webkit-transform-origin: top;
    -ms-transform-origin: top;
    transform-origin: top;
    -webkit-transform: scale(1, 0.1);
    -ms-transform: scale(1, 0.1);
    transform: scale(1, 0.1);
    opacity: 0;
    -webkit-transition: 300ms cubic-bezier(0.25, 0.8, 0.25, 1);
    transition: 300ms cubic-bezier(0.25, 0.8, 0.25, 1);
    min-width: 150px;
    -webkit-box-shadow: var(--shadow-sm);
    box-shadow: var(--shadow-sm);
  }
  .menu-hasflyout > ul {
    right: 100%;
    top: 0;
  }
  .menu-hasflyout .menu-downicon {
    display: none;
  }
}
@media screen and (max-width: 1200px) {
  .menu {
    width: 400px;
    max-width: 100%;
  }
  .menu .toggler-label {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    font-size: 18px;
    padding: 13px;
    color: var(--primary-color);
    font-weight: bold;
  }
  .menu,
  .menu-lefticon,
  .menu-backdrop {
    display: none;
  }
  .toggler-check:checked + .menu-backdrop {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--secondary-color);
    opacity: 0.75;
    z-index: 0;
  }

  .toggler-check:checked ~ .menu-backdrop {
    content: "";
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background-color: #0000003b;
    opacity: 0.5;
    z-index: 8;
  }

  .toggler-check:checked ~ .menu {
    display: block;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    position: fixed;
    background-color: var(--light-color);
    -webkit-animation: slideInRight 0.3s ease-in-out;
    animation: slideInRight 0.3s ease-in-out;
    height: 100vh;
    overflow: auto;
    z-index: 9;
  }

  .menu-check:checked ~ ul {
    display: block;
    background-color: rgba(241, 241, 241, 0.482);
    -webkit-animation: slideInRight 0.3s ease-in-out;
    animation: slideInRight 0.3s ease-in-out;
  }
  .menu a {
    font-size: 0.9rem;
    color: var(--text-color);
  }

  .menu ul a {
    border-bottom: 1px solid var(--border-color);
    padding: 13px;
    font-weight: 400;
  }
  .menu > ul > li:last-child a {
    border: none;
    margin-bottom: 15px;
  }
  .menu-check:checked ~ ul.menu-dropdown {
    -webkit-animation: none;
    animation: none;
  }
  .left-menu .button-style {
    padding: 0;
    width: 40px;
  }
  .left-menu .button-style span {
    display: none;
  }
}
