/* ==========================================================================
   NEGAREH EDUCATIONAL PLATFORM - HEADER & HERO SLIDER
   Scope: .negareh-home (WordPress Friendly & Standalone)
   Tech: Pure CSS3 (No Frameworks, No Preprocessors)
   ========================================================================== */

/* --------------------------------------------------------------------------
   01. DESIGN TOKENS & CSS VARIABLES
   -------------------------------------------------------------------------- */
.negareh-home {
  /* Brand Colors */
  --ng-primary: #00d2d3;
  --ng-primary-hover: #00b4b5;
  --ng-primary-light: rgba(0, 210, 211, 0.12);
  --ng-primary-glow: rgba(0, 210, 211, 0.35);
  --ng-accent: #38ef7d;
  --ng-cyan-bright: #00f2fe;

  /* Background & Surface Colors */
  --ng-dark: #060d19;
  --ng-dark-2: #0a172a;
  --ng-dark-card: rgba(13, 27, 49, 0.7);
  --ng-dark-surface: rgba(15, 23, 42, 0.65);
  --ng-header-bg: rgba(6, 13, 25, 0.88);

  /* Typography Colors */
  --ng-white: #ffffff;
  --ng-text: #f1f5f9;
  --ng-text-secondary: #94a3b8;
  --ng-muted: #64748b;

  /* Borders & Dividers */
  --ng-border: rgba(255, 255, 255, 0.08);
  --ng-border-focus: rgba(0, 210, 211, 0.45);
  --ng-border-glass: rgba(0, 210, 211, 0.18);

  /* Layout */
  --ng-container: 1240px;
  --ng-header-height-desktop: 78px;
  --ng-header-height-mobile: 68px;

  /* Radii */
  --ng-radius-sm: 8px;
  --ng-radius-md: 12px;
  --ng-radius-lg: 16px;
  --ng-radius-full: 9999px;

  /* Transitions & Shadows */
  --ng-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --ng-shadow-glow: 0 0 35px rgba(0, 210, 211, 0.18);
  --ng-shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);

  /* Typography */
  font-family: "Vazirmatn", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  direction: rtl;
  text-align: right;
  background-color: var(--ng-dark);
  color: var(--ng-text);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Scoped Reset for child elements */
.negareh-home *,
.negareh-home *::before,
.negareh-home *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.negareh-home a {
  color: inherit;
  text-decoration: none;
  transition: var(--ng-transition);
}

.negareh-home button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: transparent;
  transition: var(--ng-transition);
}

.negareh-home input {
  font-family: inherit;
  outline: none;
  border: none;
}

.negareh-home img,
.negareh-home svg {
  display: block;
  max-width: 100%;
}

/* --------------------------------------------------------------------------
   02. CONTAINER & UTILITIES
   -------------------------------------------------------------------------- */
.negareh-home__container {
  width: 100%;
  max-width: var(--ng-container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

@media (max-width: 768px) {
  .negareh-home__container {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* --------------------------------------------------------------------------
   03. HEADER COMPONENT
   -------------------------------------------------------------------------- */
.negareh-home__header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: var(--ng-header-height-desktop);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background-color 0.35s ease, backdrop-filter 0.35s ease, box-shadow 0.35s ease, height 0.35s ease;
  border-bottom: 1px solid transparent;
}

.negareh-home__header.is-sticky {
  position: fixed;
  background-color: var(--ng-header-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--ng-border);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  height: 70px;
}

.negareh-home__header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* Header Logo */
.negareh-home__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.negareh-home__logo-symbol {
  width: 38px;
  height: 38px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.negareh-home__logo-text-group {
  display: flex;
  flex-direction: column;
}

.negareh-home__logo-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--ng-white);
  letter-spacing: -0.5px;
  line-height: 1.1;
  display: flex;
  align-items: center;
  gap: 4px;
}

.negareh-home__logo-title span {
  color: var(--ng-primary);
}

.negareh-home__logo-sub {
  font-size: 9.5px;
  font-weight: 500;
  color: var(--ng-text-secondary);
  letter-spacing: -0.2px;
  margin-top: 2px;
}

/* Header Navigation (Desktop) */
.negareh-home__nav {
  display: flex;
  align-items: center;
  justify-content: center;
}

.negareh-home__nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 28px;
}

.negareh-home__nav-link {
  font-size: 14.5px;
  font-weight: 500;
  color: #e2e8f0;
  position: relative;
  padding: 6px 2px;
  display: inline-block;
  white-space: nowrap;
}

.negareh-home__nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--ng-primary);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.negareh-home__nav-link:hover,
.negareh-home__nav-link:focus-visible {
  color: var(--ng-primary);
}

.negareh-home__nav-link:hover::after,
.negareh-home__nav-link:focus-visible::after {
  transform: scaleX(1);
}

/* Header Actions */
.negareh-home__header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Search Icon Trigger */
.negareh-home__search-btn {
  width: 42px;
  height: 42px;
  border-radius: var(--ng-radius-md);
  background: var(--ng-dark-surface);
  border: 1px solid var(--ng-border);
  color: var(--ng-text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.negareh-home__search-btn:hover {
  background: var(--ng-primary-light);
  border-color: var(--ng-border-glass);
  color: var(--ng-primary);
  transform: translateY(-1px);
}

/* Login/Register Button */
.negareh-home__login-btn {
  height: 42px;
  padding: 0 18px;
  border-radius: var(--ng-radius-md);
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--ng-border-glass);
  color: var(--ng-white);
  font-size: 13.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.negareh-home__login-btn:hover {
  background: var(--ng-primary-light);
  border-color: var(--ng-primary);
  color: var(--ng-primary);
  box-shadow: 0 0 20px rgba(0, 210, 211, 0.2);
  transform: translateY(-1px);
}

/* Mobile Hamburger Toggle */
.negareh-home__menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--ng-radius-md);
  background: var(--ng-dark-surface);
  border: 1px solid var(--ng-border);
  color: var(--ng-text);
  align-items: center;
  justify-content: center;
  position: relative;
}

.negareh-home__menu-toggle:hover {
  border-color: var(--ng-border-glass);
  color: var(--ng-primary);
}

.negareh-home__hamburger {
  width: 20px;
  height: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.negareh-home__hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
  border-radius: 2px;
  transition: var(--ng-transition);
}

.negareh-home__menu-toggle.is-active .negareh-home__hamburger span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.negareh-home__menu-toggle.is-active .negareh-home__hamburger span:nth-child(2) {
  opacity: 0;
}

.negareh-home__menu-toggle.is-active .negareh-home__hamburger span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile Navigation Drawer */
.negareh-home__mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 300px;
  max-width: 85vw;
  background: #07101e;
  border-left: 1px solid var(--ng-border);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.7);
  z-index: 200;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  transform: translateX(105%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.negareh-home__mobile-drawer.is-open {
  transform: translateX(0);
}

.negareh-home__drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 18, 0.75);
  backdrop-filter: blur(4px);
  z-index: 190;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.negareh-home__drawer-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.negareh-home__drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--ng-border);
  margin-bottom: 24px;
}

.negareh-home__drawer-close {
  width: 36px;
  height: 36px;
  border-radius: var(--ng-radius-sm);
  background: var(--ng-dark-surface);
  border: 1px solid var(--ng-border);
  color: var(--ng-text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.negareh-home__drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.negareh-home__drawer-link {
  padding: 12px 14px;
  border-radius: var(--ng-radius-md);
  color: var(--ng-text);
  font-size: 15px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.negareh-home__drawer-link:hover,
.negareh-home__drawer-link:focus-visible {
  background: var(--ng-primary-light);
  color: var(--ng-primary);
}

.negareh-home__drawer-footer {
  padding-top: 20px;
  border-top: 1px solid var(--ng-border);
}

.negareh-home__drawer-footer .negareh-home__login-btn {
  width: 100%;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   04. HERO SECTION & BACKGROUND ENVIRONMENT
   -------------------------------------------------------------------------- */
.negareh-home__hero {
  position: relative;
  min-height: 540px;
  background: radial-gradient(circle at 75% 20%, #0d2342 0%, #060d19 65%, #030712 100%);
  padding-top: calc(var(--ng-header-height-desktop) + 24px);
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

/* Ambient Background Lights & Grid */
.negareh-home__hero-glow {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(90px);
  z-index: 1;
}

.negareh-home__hero-glow--primary {
  width: 480px;
  height: 480px;
  top: 10%;
  left: 5%;
  background: rgba(0, 210, 211, 0.16);
}

.negareh-home__hero-glow--secondary {
  width: 380px;
  height: 380px;
  bottom: 0%;
  right: 15%;
  background: rgba(14, 116, 144, 0.12);
}

.negareh-home__hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at 50% 40%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 50% 40%, black 20%, transparent 80%);
  pointer-events: none;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   05. HERO SLIDER SCROLL TRACK
   -------------------------------------------------------------------------- */
.negareh-home__slider-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
}

.negareh-home__slider-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

.negareh-home__slider-track::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

/* Slide Item */
.negareh-home__slide {
  flex: 0 0 100%;
  width: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.negareh-home__hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 36px;
  min-height: 420px;
}

/* --------------------------------------------------------------------------
   06. HERO CONTENT (RIGHT COLUMN IN RTL)
   -------------------------------------------------------------------------- */
.negareh-home__hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 560px;
  z-index: 3;
}

/* Heading H1 */
.negareh-home__hero-heading {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--ng-white);
  margin-bottom: 16px;
  letter-spacing: -0.6px;
}

.negareh-home__accent-text {
  position: relative;
  display: inline-block;
  color: var(--ng-cyan-bright);
  text-shadow: 0 0 25px rgba(0, 242, 254, 0.4);
}

/* Description */
.negareh-home__hero-description {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ng-text-secondary);
  margin-bottom: 28px;
  max-width: 500px;
}

/* Search Box Container */
.negareh-home__hero-search {
  width: 100%;
  max-width: 490px;
  margin-bottom: 20px;
}

.negareh-home__search-form {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(11, 22, 39, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--ng-radius-lg);
  padding: 6px;
  box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--ng-transition);
}

.negareh-home__search-form:focus-within {
  border-color: var(--ng-primary);
  box-shadow: 0 0 0 3px var(--ng-primary-light), 0 12px 30px -8px rgba(0, 0, 0, 0.6);
  background: rgba(13, 27, 49, 0.9);
}

/* Search Button */
.negareh-home__search-submit {
  width: 44px;
  height: 44px;
  border-radius: var(--ng-radius-md);
  background: rgba(20, 36, 61, 0.85);
  border: 1px solid var(--ng-border);
  color: var(--ng-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--ng-transition);
}

.negareh-home__search-submit:hover {
  background: var(--ng-primary);
  color: #040913;
  box-shadow: 0 0 16px var(--ng-primary-glow);
}

/* Search Input */
.negareh-home__search-input {
  flex: 1;
  background: transparent;
  color: var(--ng-white);
  font-size: 14.5px;
  padding: 0 16px;
  height: 44px;
}

.negareh-home__search-input::placeholder {
  color: var(--ng-muted);
  font-size: 14px;
}

/* Popular Search Tags */
.negareh-home__hero-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
}

.negareh-home__tags-label {
  font-size: 13px;
  font-weight: 600;
  color: #cbd5e1;
  margin-left: 6px;
  white-space: nowrap;
}

.negareh-home__tag-pill {
  padding: 6px 14px;
  border-radius: var(--ng-radius-full);
  background: rgba(15, 29, 52, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  transition: var(--ng-transition);
}

.negareh-home__tag-pill:hover {
  background: var(--ng-primary-light);
  border-color: var(--ng-border-glass);
  color: var(--ng-primary);
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   07. HERO ARTWORK COMPONENT (LEFT COLUMN IN RTL)
   -------------------------------------------------------------------------- */
.negareh-home__hero-artwork {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 380px;
}

/* Production Image Container */
.negareh-home__artwork-container {
  position: relative;
  width: 100%;
  max-width: 520px;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Production Image Element */
.negareh-home__artwork-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.6));
  z-index: 2;
}

/* High-Fidelity Futuristic Educational Portal Graphic (CSS + SVG) */
.negareh-home__portal-scene {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Glowing Archway Portal */
.negareh-home__portal-arch {
  position: absolute;
  width: 190px;
  height: 290px;
  border: 3px solid var(--ng-cyan-bright);
  border-bottom: none;
  border-radius: 95px 95px 0 0;
  box-shadow: 
    0 0 35px rgba(0, 210, 211, 0.6),
    inset 0 0 30px rgba(0, 210, 211, 0.3);
  background: linear-gradient(180deg, rgba(0, 242, 254, 0.25) 0%, rgba(6, 13, 25, 0.9) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
  z-index: 2;
}

/* Portal Inner Staircase */
.negareh-home__portal-steps {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.negareh-home__portal-step {
  height: 4px;
  background: var(--ng-cyan-bright);
  border-radius: 2px;
  box-shadow: 0 0 10px var(--ng-cyan-bright);
}
.negareh-home__portal-step:nth-child(1) { width: 40px; }
.negareh-home__portal-step:nth-child(2) { width: 65px; }
.negareh-home__portal-step:nth-child(3) { width: 95px; }
.negareh-home__portal-step:nth-child(4) { width: 130px; }

/* Floating UI Cards */
.negareh-home__floating-card {
  position: absolute;
  background: rgba(11, 23, 42, 0.85);
  border: 1px solid rgba(0, 210, 211, 0.35);
  border-radius: var(--ng-radius-md);
  padding: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 210, 211, 0.15);
  backdrop-filter: blur(10px);
  z-index: 4;
  animation: ngFloat 4s ease-in-out infinite;
}

.negareh-home__floating-card--video {
  top: 35px;
  left: 20px;
  width: 145px;
  animation-delay: 0s;
}

.negareh-home__card-video-thumb {
  width: 100%;
  height: 65px;
  background: linear-gradient(135deg, #1e3a5f 0%, #0c1a2e 100%);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 8px;
}

.negareh-home__card-play-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ng-primary);
  color: #030712;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px var(--ng-primary);
}

.negareh-home__card-line {
  height: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  margin-bottom: 4px;
}

.negareh-home__card-line--short {
  width: 60%;
  background: var(--ng-primary);
}

.negareh-home__floating-card--stats {
  top: 75px;
  right: 15px;
  width: 135px;
  animation-delay: 2s;
}

.negareh-home__card-task-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.negareh-home__card-check {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: var(--ng-primary-light);
  border: 1px solid var(--ng-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Foreground Desk Elements (Book & Headphones) */
.negareh-home__desk-elements {
  position: absolute;
  bottom: 10px;
  left: 30px;
  right: 30px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  z-index: 5;
  pointer-events: none;
}

.negareh-home__desk-book {
  position: relative;
  width: 140px;
  height: 90px;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border-radius: 4px;
  transform: perspective(400px) rotateX(25deg) rotateY(-15deg);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.7), 0 0 25px rgba(255, 215, 0, 0.15);
  border-left: 4px solid #b45309;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.negareh-home__book-pages {
  width: 90%;
  height: 80%;
  background: #f8fafc;
  border-radius: 2px;
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
}

.negareh-home__book-line {
  height: 3px;
  background: #cbd5e1;
  border-radius: 1px;
}

.negareh-home__desk-headphones {
  width: 90px;
  height: 90px;
  position: relative;
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.6));
}

@keyframes ngFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* --------------------------------------------------------------------------
   08. SLIDER CONTROLS (ARROWS & DOTS)
   -------------------------------------------------------------------------- */
/* Slider Navigation Arrows */
.negareh-home__slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(11, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--ng-white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.negareh-home__slider-arrow:hover {
  background: var(--ng-primary-light);
  border-color: var(--ng-primary);
  color: var(--ng-primary);
  box-shadow: 0 0 20px var(--ng-primary-glow);
  transform: translateY(-50%) scale(1.05);
}

.negareh-home__slider-arrow--prev {
  right: 16px;
}

.negareh-home__slider-arrow--next {
  left: 16px;
}

/* Slider Pagination Dots */
.negareh-home__slider-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  z-index: 10;
}

.negareh-home__dot {
  width: 9px;
  height: 9px;
  border-radius: var(--ng-radius-full);
  background: rgba(255, 255, 255, 0.25);
  border: none;
  padding: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.negareh-home__dot:hover {
  background: rgba(255, 255, 255, 0.5);
}

.negareh-home__dot.is-active {
  width: 28px;
  background: var(--ng-primary);
  box-shadow: 0 0 12px var(--ng-primary-glow);
}

/* --------------------------------------------------------------------------
   09. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
/* Tablet (Max 992px) */
@media (max-width: 992px) {
  .negareh-home__hero-heading {
    font-size: 38px;
  }

  .negareh-home__nav-list {
    gap: 16px;
  }

  .negareh-home__nav-link {
    font-size: 13.5px;
  }

  .negareh-home__artwork-container {
    height: 320px;
  }

  .negareh-home__portal-arch {
    width: 160px;
    height: 240px;
  }
}

/* Mobile Devices (Max 768px) */
@media (max-width: 768px) {
  .negareh-home__header {
    height: var(--ng-header-height-mobile);
  }

  .negareh-home__nav {
    display: none;
  }

  .negareh-home__login-btn {
    display: none;
  }

  .negareh-home__menu-toggle {
    display: flex;
  }

  .negareh-home__hero {
    min-height: auto;
    padding-top: calc(var(--ng-header-height-mobile) + 16px);
    padding-bottom: 32px;
  }

  .negareh-home__hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: auto;
  }

  .negareh-home__hero-content {
    max-width: 100%;
    align-items: flex-start;
  }

  .negareh-home__hero-heading {
    font-size: 32px;
    line-height: 1.4;
  }

  .negareh-home__hero-description {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .negareh-home__hero-search {
    max-width: 100%;
  }

  .negareh-home__hero-tags {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 6px;
    scrollbar-width: none;
  }

  .negareh-home__hero-tags::-webkit-scrollbar {
    display: none;
  }

  .negareh-home__hero-artwork {
    min-height: 280px;
    order: 5;
  }

  .negareh-home__artwork-container {
    max-width: 360px;
    height: 260px;
  }

  .negareh-home__portal-arch {
    width: 140px;
    height: 210px;
  }

  .negareh-home__slider-arrow {
    display: none; /* Hidden on mobile to maximize touch swipe surface */
  }

  .negareh-home__slider-dots {
    margin-top: 16px;
  }
}

/* --------------------------------------------------------------------------
   10. LEARNING PATHS SECTION (.negareh-home__paths) - LIGHT SECTION
   -------------------------------------------------------------------------- */
.negareh-home__paths {
  position: relative;
  background-color: #f8fafc;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(0, 210, 211, 0.05) 0%, transparent 60%),
    radial-gradient(circle at 85% 90%, rgba(56, 189, 248, 0.04) 0%, transparent 50%);
  padding-top: 72px;
  padding-bottom: 80px;
  color: #0f172a;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Section Header (Centered) */
.negareh-home__paths-header {
  text-align: center;
  margin-bottom: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.negareh-home__paths-title {
  font-size: 38px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.negareh-home__paths-subtitle {
  font-size: 16.5px;
  color: #64748b;
  font-weight: 500;
  max-width: 600px;
}

/* Paths Grid (4 Columns on Desktop) */
.negareh-home__paths-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  width: 100%;
}

/* Path Card */
.negareh-home__path-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  padding: 32px 24px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.02);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.negareh-home__path-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 210, 211, 0.5);
  box-shadow: 0 20px 35px -10px rgba(15, 23, 42, 0.1), 0 0 25px rgba(0, 210, 211, 0.1);
}

/* Icon Box with Soft Tint Background */
.negareh-home__path-icon-wrapper {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s ease;
  flex-shrink: 0;
}

.negareh-home__path-card:hover .negareh-home__path-icon-wrapper {
  transform: scale(1.08);
}

/* Icon Variants */
.negareh-home__path-icon-wrapper--management {
  background-color: #ecfdf5;
  color: #059669;
  border: 1px solid #d1fae5;
}
.negareh-home__path-card:hover .negareh-home__path-icon-wrapper--management {
  background-color: #d1fae5;
}

.negareh-home__path-icon-wrapper--accounting {
  background-color: #ecfeff;
  color: #0891b2;
  border: 1px solid #cffafe;
}
.negareh-home__path-card:hover .negareh-home__path-icon-wrapper--accounting {
  background-color: #cffafe;
}

.negareh-home__path-icon-wrapper--phd {
  background-color: #f5f3ff;
  color: #7c3aed;
  border: 1px solid #ede9fe;
}
.negareh-home__path-card:hover .negareh-home__path-icon-wrapper--phd {
  background-color: #ede9fe;
}

.negareh-home__path-icon-wrapper--general {
  background-color: #fffbeb;
  color: #d97706;
  border: 1px solid #fef3c7;
}
.negareh-home__path-card:hover .negareh-home__path-icon-wrapper--general {
  background-color: #fef3c7;
}

/* Card Typography */
.negareh-home__path-title {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
  line-height: 1.3;
}

.negareh-home__path-desc {
  font-size: 13.5px;
  line-height: 1.7;
  color: #64748b;
  margin-bottom: 24px;
  flex-grow: 1;
}

/* CTA Link */
.negareh-home__path-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: #0284c7;
  padding: 8px 14px;
  border-radius: var(--ng-radius-md);
  background: transparent;
  transition: all 0.25s ease;
  margin-top: auto;
}

.negareh-home__path-cta-dot {
  font-size: 14px;
  line-height: 1;
  color: #0284c7;
}

.negareh-home__path-cta-arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}

.negareh-home__path-card:hover .negareh-home__path-cta {
  color: #0369a1;
  background: #e0f2fe;
}

.negareh-home__path-card:hover .negareh-home__path-cta-arrow {
  transform: translateX(-4px);
}

/* Responsive adjustments for Paths section */
@media (max-width: 1080px) {
  .negareh-home__paths-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .negareh-home__paths-title {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .negareh-home__paths {
    padding-top: 52px;
    padding-bottom: 60px;
  }

  .negareh-home__paths-header {
    margin-bottom: 32px;
  }

  .negareh-home__paths-title {
    font-size: 26px;
  }

  .negareh-home__paths-subtitle {
    font-size: 14.5px;
  }

  .negareh-home__paths-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .negareh-home__path-card {
    padding: 24px 20px;
    border-radius: 18px;
  }

  .negareh-home__path-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    margin-bottom: 16px;
  }

  .negareh-home__path-title {
    font-size: 18.5px;
    margin-bottom: 8px;
  }

  .negareh-home__path-desc {
    font-size: 13px;
    margin-bottom: 18px;
  }
}

/* --------------------------------------------------------------------------
   11. COURSES SECTION (.negareh-home__courses) - DARK SECTION
   -------------------------------------------------------------------------- */
.negareh-home__courses {
  position: relative;
  background: radial-gradient(circle at 15% 30%, #0d223f 0%, #060d19 70%, #030712 100%);
  padding-top: 90px;
  padding-bottom: 100px;
  color: var(--ng-text);
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Subtle Ambient Glow for Courses Section */
.negareh-home__courses-glow {
  position: absolute;
  top: 20%;
  right: -100px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(0, 210, 211, 0.08) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(80px);
  z-index: 1;
}

.negareh-home__courses-glow--bottom {
  top: auto;
  bottom: 0;
  left: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(14, 116, 144, 0.1) 0%, transparent 70%);
}

/* Section Header Bar (Title on Right + View All Link on Left) */
.negareh-home__courses-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
  position: relative;
  z-index: 2;
  gap: 20px;
}

.negareh-home__courses-title-group {
  display: flex;
  flex-direction: column;
}

.negareh-home__courses-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--ng-white);
  line-height: 1.3;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.negareh-home__courses-subtitle {
  font-size: 15.5px;
  color: var(--ng-text-secondary);
  font-weight: 400;
}

.negareh-home__courses-view-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--ng-radius-md);
  background: rgba(15, 29, 52, 0.6);
  border: 1px solid var(--ng-border-glass);
  color: var(--ng-primary);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: var(--ng-transition);
  flex-shrink: 0;
}

.negareh-home__courses-view-all:hover {
  background: var(--ng-primary-light);
  border-color: var(--ng-primary);
  color: var(--ng-white);
  box-shadow: 0 0 20px rgba(0, 210, 211, 0.2);
  transform: translateY(-2px);
}

.negareh-home__courses-view-all svg {
  transition: transform 0.25s ease;
}

.negareh-home__courses-view-all:hover svg {
  transform: translateX(-4px);
}

/* Category Filter Bar */
.negareh-home__course-filter {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 36px;
  position: relative;
  z-index: 2;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.negareh-home__course-filter::-webkit-scrollbar {
  display: none;
}

.negareh-home__filter-btn {
  padding: 8px 18px;
  border-radius: var(--ng-radius-full);
  background: rgba(15, 29, 52, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--ng-text-secondary);
  font-size: 13.5px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: var(--ng-transition);
}

.negareh-home__filter-btn:hover {
  background: rgba(20, 38, 68, 0.8);
  color: var(--ng-white);
  border-color: rgba(255, 255, 255, 0.16);
}

.negareh-home__filter-btn.is-active {
  background: var(--ng-primary);
  border-color: var(--ng-primary);
  color: #040913;
  font-weight: 700;
  box-shadow: 0 0 16px var(--ng-primary-glow);
}

/* Course Grid / Horizontal Scroll Track */
.negareh-home__courses-grid-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
}

.negareh-home__courses-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  width: 100%;
}

/* Course Card (.negareh-home__course-card) */
.negareh-home__course-card {
  background: #0d1b2a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease, opacity 0.3s ease;
  position: relative;
  overflow: hidden;
}

.negareh-home__course-card.is-hidden {
  display: none !important;
}

.negareh-home__course-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 210, 211, 0.4);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.7), 0 0 25px rgba(0, 210, 211, 0.15);
}

/* Course Image Container (16:9 Ratio) */
.negareh-home__course-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: #0a1422;
}

.negareh-home__course-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

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

/* Course Badges */
.negareh-home__course-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 700;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  z-index: 3;
  line-height: 1.2;
}

.negareh-home__course-badge--bestseller {
  background: rgba(245, 158, 11, 0.9);
  color: #ffffff;
  border: 1px solid rgba(254, 243, 199, 0.4);
}

.negareh-home__course-badge--popular {
  background: rgba(14, 165, 233, 0.9);
  color: #ffffff;
  border: 1px solid rgba(186, 230, 253, 0.4);
}

.negareh-home__course-badge--new {
  background: rgba(16, 185, 129, 0.9);
  color: #ffffff;
  border: 1px solid rgba(167, 243, 208, 0.4);
}

/* Course Content */
.negareh-home__course-body {
  padding: 16px 12px 10px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* Category Label */
.negareh-home__course-cat {
  font-size: 12px;
  font-weight: 600;
  color: var(--ng-primary);
  margin-bottom: 6px;
  letter-spacing: -0.2px;
}

/* Course Title (H3 with 2-line clamp) */
.negareh-home__course-title {
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.55;
  color: var(--ng-white);
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 50px;
}

.negareh-home__course-title a {
  color: inherit;
}

.negareh-home__course-title a:hover {
  color: var(--ng-primary);
}

/* Instructor Row */
.negareh-home__course-instructor {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ng-text-secondary);
  margin-bottom: 14px;
}

.negareh-home__course-instructor svg {
  color: var(--ng-muted);
  flex-shrink: 0;
}

/* Rating & Students Meta */
.negareh-home__course-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  margin-bottom: 14px;
  font-size: 12.5px;
  color: var(--ng-muted);
}

.negareh-home__course-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #fbbf24;
  font-weight: 700;
}

.negareh-home__course-students {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--ng-text-secondary);
}

/* Footer: Price & Enroll CTA */
.negareh-home__course-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.negareh-home__course-price-group {
  display: flex;
  flex-direction: column;
}

.negareh-home__course-price {
  font-size: 17px;
  font-weight: 800;
  color: var(--ng-white);
  letter-spacing: -0.3px;
}

.negareh-home__course-cta-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--ng-radius-md);
  background: rgba(0, 210, 211, 0.12);
  border: 1px solid var(--ng-border-glass);
  color: var(--ng-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--ng-transition);
}

.negareh-home__course-card:hover .negareh-home__course-cta-btn {
  background: var(--ng-primary);
  color: #030712;
  box-shadow: 0 0 14px var(--ng-primary-glow);
  transform: translateX(-2px);
}

/* --------------------------------------------------------------------------
   COURSES RESPONSIVE ADAPTATIONS
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .negareh-home__courses-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .negareh-home__courses-title {
    font-size: 30px;
  }
}

@media (max-width: 768px) {
  .negareh-home__courses {
    padding-top: 60px;
    padding-bottom: 70px;
  }

  .negareh-home__courses-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 24px;
  }

  .negareh-home__courses-title {
    font-size: 26px;
  }

  .negareh-home__courses-subtitle {
    font-size: 14px;
  }

  .negareh-home__courses-view-all {
    width: 100%;
    justify-content: center;
  }

  .negareh-home__course-filter {
    margin-bottom: 24px;
    padding-bottom: 8px;
  }

  /* Mobile Horizontal Scroll Snap Carousel */
  .negareh-home__courses-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding-bottom: 12px;
    scrollbar-width: none;
  }

  .negareh-home__courses-grid::-webkit-scrollbar {
    display: none;
  }

  .negareh-home__course-card {
    width: 82vw;
    min-width: 270px;
    max-width: 320px;
    flex: 0 0 auto;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
}

