@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");
}
/* ===== CSS VARIABLES ===== */
:root {
  /* Primary Colors */
  --primary-color: #0a3d6e;
  --primary-color2: #0b5588;
  --primary-color3: #082f55;

  /* Secondary Colors */
  --secondary-color: #91bed5;
  --secondary-color2: #b8d5e8;
  --secondary-color3: #d4e8f2;

  /* Accent Colors */
  --accent-orange: #f16101;
  --accent-orange2: #e05500;
  --accent-yellow: #ffd166;

  /* Background Colors */
  --background-color: #ffffff;
  --background-color2: #f4f8fb;
  --background-color3: #eaf3f9;

  /* Light Color */
  --light-color: #ffffff;

  /* Text Colors */
  --text-color: #1a1a2e;
  --text-color2: #4a5568;
  --text-color3: #718096;

  /* Border Colors */
  --border-color: #d4e8f2;
  --border-color2: #b8d5e8;

  /* Shadows */
  --shadow-sm: 0 1px 4px rgba(1, 51, 84, 0.08);
  --shadow-md: 0 4px 16px rgba(1, 51, 84, 0.12);
  --shadow-lg: 0 8px 32px rgba(1, 51, 84, 0.16);

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  /* Transitions */
  --transition: all 0.3s ease;

  /* Fonts */
  --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);
  background-color: var(--background-color);
  color: var(--text-color);
  direction: rtl;
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

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

ul,
ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

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

/* ===== UTILITY CLASSES ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 12px;
}

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

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header .title-badge {
  display: inline-block;
  background-color: var(--secondary-color3);
  color: var(--primary-color);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: var(--radius-xl);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--accent-orange);
  color: var(--light-color);
  padding: 13px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-fa);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary:hover {
  background-color: var(--accent-orange2);
  color: var(--light-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: transparent;
  color: var(--primary-color);
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-fa);
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid var(--primary-color);
  cursor: pointer;
  transition: var(--transition);
}

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

.btn-outline-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: transparent;
  color: var(--light-color);
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-fa);
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition);
}

.btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--light-color);
  border-color: var(--light-color);
}

.filter-btn {
  padding: 8px 20px;
  border: 1.5px solid var(--border-color);
  background-color: var(--background-color);
  color: var(--text-color2);
  border-radius: var(--radius-xl);
  font-family: var(--font-fa);
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--light-color);
}

/* ===== COURSES SECTION ===== */
.courses-section {
  padding: 80px 0;
}

.course-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.course-card {
  background-color: var(--light-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

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

.course-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
}

.course-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.course-card:hover .course-card-img img {
  transform: scale(1.04);
}

.course-card-lang-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: var(--primary-color);
  color: var(--light-color);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-xl);
}

.course-card-body {
  padding: 20px;
}

.course-card-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.course-card-body p {
  font-size: 0.88rem;
  color: var(--text-color2);
  margin-bottom: 14px;
  line-height: 1.6;
}

.course-card-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.course-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.82rem;
  color: var(--text-color3);
}

.course-meta-item i {
  color: var(--primary-color);
  font-size: 0.78rem;
}

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

.course-type-tags {
  display: flex;
  gap: 6px;
}

.course-type-tag {
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: var(--radius-xl);
  background-color: var(--background-color2);
  color: var(--text-color2);
  border: 1px solid var(--border-color);
}

.course-card-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-orange);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
}

.course-card-link:hover {
  gap: 8px;
}

.courses-footer {
  text-align: center;
  margin-top: 40px;
}

/* ===== NAVBAR ===== */
.navbar {
  width: 100%;
  background-color: var(--light-color);
  color: var(--text-color);
  z-index: 2;
}
.navbar .brand-text {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
  line-height: 1.15;
  gap: 3px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}
.navbar .brand-name {
  font-size: 16.5px;
  font-weight: 800;
  color: var(--primary-color);
  white-space: nowrap;
  display: block;
  width: 0;
  min-width: 100%;
  letter-spacing: 0;
  text-align: justify;
  text-align-last: justify;
  text-justify: inter-word;
  box-sizing: border-box;
}
.navbar .brand-name-en {
  font-size: 10.5px;
  color: var(--text-color3);
  letter-spacing: 1.6px;
  font-weight: 500;
  white-space: nowrap;
  display: block;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
}

.logo-a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 12px;
}

.logo-a img {
  width: 58px;
  height: auto;
  border-radius: 50%;
}
.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-color2);
  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;
}

/* Mobile nav */
.mobile-nav {
  display: none;
  background-color: var(--primary-color3);
  padding: 16px 24px;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.mobile-nav a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--light-color);
}

/* Mobile bottom bar */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--primary-color);
  z-index: 999;
  padding: 8px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-bottom-bar-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.mbb-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.7rem;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  cursor: pointer;
}

.mbb-item i {
  font-size: 1.1rem;
}

.mbb-item.highlight {
  background-color: var(--accent-orange);
  color: var(--light-color);
  border-radius: var(--radius-md);
}

.mbb-item:hover {
  color: var(--light-color);
}

/* ===== FOOTER ===== */
.footer {
  background-color: var(--primary-color);
  color: var(--light-color);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand h3 {
  color: var(--light-color);
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
  transition: var(--transition);
}

.footer-socials a:hover {
  background-color: var(--accent-orange);
  color: var(--light-color);
}

.footer-col h4 {
  color: var(--light-color);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 32px;
  height: 2px;
  background-color: var(--accent-orange);
  border-radius: 2px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
}

.footer-contact-item i {
  color: var(--secondary-color);
  margin-top: 3px;
  flex-shrink: 0;
}

/* App Download Section */
.footer-app {
  background-color: var(--primary-color2);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin-bottom: 32px;
}

.footer-app-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-app-text h4 {
  color: var(--light-color);
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.footer-app-text p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
}

.footer-app-text h4::after {
  display: none;
}

.footer-app-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--light-color);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-family: var(--font-fa);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.store-btn:hover {
  background-color: rgba(255, 255, 255, 0.18);
  color: var(--light-color);
}

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

.store-btn-inner {
  text-align: right;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

.store-btn-inner small {
  display: block;
  font-size: 0.7rem;
  opacity: 0.7;
}

.store-btn-inner span {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
}

.activation-btn {
  background-color: var(--accent-orange);
  color: var(--light-color);
  border: none;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 600;
  font-family: var(--font-fa);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.activation-btn:hover {
  background-color: var(--accent-orange2);
  transform: translateY(-1px);
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 0;
}

.footer-bottom {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  transition: var(--transition);
}

.footer-bottom-links a:hover {
  color: var(--light-color);
}

/* ===== TOAST NOTIFICATION ===== */
.toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background-color: var(--primary-color);
  color: var(--light-color);
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transition: all 0.35s ease;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast i {
  color: var(--accent-orange);
}

/* ===== BREADCRUMB ===== */
.breadcrumb-section {
  background-color: var(--background-color2);
  padding: 20px 0;
  border-bottom: 1px solid var(--border-color);
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-color2);
}

.breadcrumb-nav a {
  color: var(--primary-color);
  transition: var(--transition);
}

.breadcrumb-nav a:hover {
  color: var(--accent-orange);
}

.breadcrumb-nav i {
  font-size: 0.7rem;
  color: var(--text-color3);
  transform: rotate(180deg);
}

.breadcrumb-nav span {
  color: var(--text-color3);
}

/* ===== FORM STYLES ===== */
.form-group {
  margin-bottom: 20px;
}

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

.form-control {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-fa);
  font-size: 0.95rem;
  color: var(--text-color);
  background-color: var(--background-color);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  outline: none;
  transition: var(--transition);
  direction: rtl;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(1, 51, 84, 0.1);
}

.form-control::placeholder {
  color: var(--text-color3);
}

select.form-control {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23718096' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 14px center;
  padding-left: 36px;
}

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

/* ===== CARDS ===== */
.card-hover {
  transition: var(--transition);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* ===== BADGE ===== */
.badge-primary {
  display: inline-block;
  background-color: var(--secondary-color3);
  color: var(--primary-color);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-xl);
}

.badge-orange {
  display: inline-block;
  background-color: rgba(241, 97, 1, 0.1);
  color: var(--accent-orange);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-xl);
}

/* ===== PAGINATION ===== */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 48px;
}

.page-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-color);
  background-color: var(--background-color);
  color: var(--text-color2);
  font-family: var(--font-fa);
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.page-btn.active {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--light-color);
  font-weight: 600;
}

/* ===== SECTION SPACING ===== */
.section-pad {
  padding: 80px 0;
}

.section-pad-sm {
  padding: 48px 0;
}

@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 {
    position: relative;
    color: var(--primary-color);
  }
  .menu > ul > li > a.active::before {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 1px;
    background-color: var(--primary-color);
  }

  .menu > ul > li > a {
    padding: 5px 15px;
    line-height: 32px;
  }

  .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: scroll;
    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;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  /* .navbar-menu,
  .navbar-phone {
    display: none;
  }

  .navbar-toggler {
    display: block;
  } */

  .mobile-bottom-bar {
    display: block;
  }

  body {
    padding-bottom: 64px;
  }

  .section-pad {
    padding: 56px 0;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .footer-app-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ===== UTILITY CLASSES (replacing inline styles) ===== */

/* Buttons full width */
.btn-full {
  width: 100%;
  justify-content: center;
}

/* Footer contact links */
.footer-contact-link {
  color: rgba(255, 255, 255, 0.65);
  transition: var(--transition);
}

.footer-contact-link:hover {
  color: var(--light-color);
}

/* Title badge inline */
.title-badge {
  display: inline-block;
  background-color: var(--secondary-color3);
  color: var(--primary-color);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: var(--radius-xl);
  margin-bottom: 12px;
}

/* Sidebar filter select */
.select-auto {
  width: auto;
}

/* Map section title */
.map-section-title {
  margin-bottom: 24px;
  font-size: 1.5rem;
}

/* Admin avatar */
.comment-avatar-admin {
  background-color: var(--accent-orange);
}

/* News sidebar CTA widget */
.news-sidebar-widget-cta {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.news-sidebar-widget-cta h4 {
  color: var(--light-color);
  border-bottom-color: rgba(255, 255, 255, 0.2);
}

.news-sidebar-widget-cta p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
  margin-bottom: 16px;
}

/* News meta space-between row */
.news-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* Category list in sidebar */
.category-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.category-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: var(--text-color2);
  padding: 8px 0;
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.category-list-item:last-child {
  border-bottom: none;
}

.category-list-item:hover {
  color: var(--primary-color);
}

/* Tags flex wrap */
.tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Share row */
.share-row {
  display: flex;
  gap: 8px;
  justify-content: center;
}

/* Course share section */
.course-share-section {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
  text-align: center;
}

.course-share-label {
  font-size: 0.82rem;
  color: var(--text-color3);
  margin-bottom: 10px;
}

/* Social icon button small */
.social-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background-color: var(--background-color2);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  transition: var(--transition);
}

.social-icon-btn:hover {
  background-color: var(--primary-color);
  color: var(--light-color);
  border-color: var(--primary-color);
}

/* Sidebar filter apply button */
.sidebar-apply-btn {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}

/* courses articles extra margin */
.articles-view-all {
  margin-top: 32px;
}

.btn-mt {
  margin-top: 16px;
}
