@font-face {
  font-family: "Yekan";
  src: url("/font/Yekan.woff2") format("woff2"),
       url("/font/Yekan.woff") format("woff"),
       url("/font/Yekan.ttf") format("truetype"),
       url("/font/Yekan.eot");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
    /*--cq-bg: #040a1f;*/
    --cq-bg: #411c3d;
    --cq-bg-deep: #020615;
    --cq-ice: #aee9ff;
    --cq-ice-strong: #d7f6ff;
    --cq-ice-dark: #58b8d8;
    --cq-ice-glow: #1be0ff;
    --cq-text: #e8f7ff;
    --cq-btn: #20066B;
    --cq-text-soft: #b7d3e6;
    --cq-accent: #22c9ff;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body.cq-body {
  margin: 0;
  font-family: "Yekan", "Segoe UI", Tahoma, Arial, sans-serif;
  background: var(--cq-bg);
  color: var(--cq-text);
}

.cq-hero {
  position: relative;
  min-height: 100vh;
  background:
    radial-gradient(1100px 560px at 18% 8%, rgba(27, 224, 255, 0.22), transparent 60%),
    radial-gradient(900px 520px at 82% 12%, rgba(38, 171, 255, 0.18), transparent 65%),
    radial-gradient(700px 420px at 50% 85%, rgba(38, 120, 255, 0.12), transparent 60%),
    radial-gradient(circle at 50% 0%, #1b0222 0%, var(--cq-bg) 55%, var(--cq-bg-deep) 100%);
  overflow: visible;
  padding: 40px 0 70px;
}

.cq-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(2px 2px at 20px 30px, rgba(170, 245, 255, 0.9) 50%, transparent 55%),
    radial-gradient(1.5px 1.5px at 160px 80px, rgba(140, 225, 255, 0.8) 50%, transparent 55%),
    radial-gradient(1px 1px at 60px 140px, rgba(120, 210, 255, 0.7) 50%, transparent 55%),
    radial-gradient(1.5px 1.5px at 260px 220px, rgba(185, 250, 255, 0.85) 50%, transparent 55%),
    radial-gradient(1px 1px at 340px 120px, rgba(150, 230, 255, 0.75) 50%, transparent 55%);
  background-size: 360px 280px;
  opacity: 0.6;
  mix-blend-mode: screen;
}

.cq-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(135deg, rgba(180, 245, 255, 0.12) 0 1px, transparent 1px),
    linear-gradient(45deg, rgba(120, 210, 255, 0.1) 0 1px, transparent 1px),
    radial-gradient(6px 6px at 10% 16%, rgba(230, 255, 255, 0.6) 30%, transparent 60%),
    radial-gradient(5px 5px at 26% 32%, rgba(190, 245, 255, 0.5) 30%, transparent 60%),
    radial-gradient(4px 4px at 42% 58%, rgba(210, 250, 255, 0.55) 30%, transparent 60%),
    radial-gradient(6px 6px at 64% 24%, rgba(200, 245, 255, 0.6) 30%, transparent 60%),
    radial-gradient(5px 5px at 78% 46%, rgba(180, 235, 255, 0.5) 30%, transparent 60%),
    radial-gradient(6px 6px at 86% 72%, rgba(200, 245, 255, 0.55) 30%, transparent 60%),
    radial-gradient(4px 4px at 56% 76%, rgba(210, 250, 255, 0.5) 30%, transparent 60%),
    radial-gradient(5px 5px at 18% 78%, rgba(190, 240, 255, 0.5) 30%, transparent 60%);
  background-size:
    70px 70px,
    70px 70px,
    280px 220px,
    280px 220px,
    280px 220px,
    280px 220px,
    280px 220px,
    280px 220px,
    280px 220px,
    280px 220px;
  opacity: 0.6;
  mix-blend-mode: screen;
}

.cq-grid {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.cq-container {
  position: relative;
  z-index: 1;
}

.cq-header {
  text-align: center;
  margin-bottom: 14px;
}

.cq-crown {
  width: 140px;
  margin: 0 auto 12px;
  position: relative;
  height: 70px;
}

.cq-crown-top {
  position: absolute;
  inset: 0 10px 20px;
  border-radius: 0 0 50px 50px;
  background: linear-gradient(180deg, var(--cq-ice-strong), var(--cq-ice-dark));
  clip-path: polygon(0 100%, 8% 40%, 22% 75%, 36% 35%, 50% 75%, 64% 35%, 78% 75%, 92% 40%, 100% 100%);
}

.cq-crown-base {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  height: 18px;
  border-radius: 40px;
  background: linear-gradient(90deg, var(--cq-ice-dark), var(--cq-ice-strong), var(--cq-ice-dark));
  box-shadow: 0 6px 12px rgba(0,0,0,0.35);
}

.cq-title-frame {
  display: inline-block;
  padding: 12px 40px;
  border-radius: 18px;
  border: 2px solid var(--cq-ice);
  background: linear-gradient(180deg, #0f2a5a, #0a1835);
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
}

.cq-title {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--cq-ice-strong);
  letter-spacing: 1px;
}

.cq-subtitle {
  margin: 16px 0 6px;
  color: var(--cq-text-soft);
  font-size: 1.1rem;
}

.cq-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 12px 0 8px;
  color: var(--cq-ice);
}

.cq-divider span {
  height: 2px;
  width: 90px;
  background: linear-gradient(90deg, transparent, var(--cq-ice), transparent);
}

.cq-divider em {
  font-style: normal;
  font-size: 0.95rem;
}

.cq-lead {
  font-size: 1.2rem;
  margin: 12px 0 0;
  color: var(--cq-ice-strong);
}

.cq-features {
  text-align: center;
  /*margin: 35px 0 25px;*/
}

.cq-feature {
 /* background: rgba(5, 14, 38, 0.75);
  border: 1px solid rgba(34, 201, 255, 0.3);
  border-radius: 20px;*/
  padding: 22px 16px;
  height: 100%;
}

.cq-feature-image {
  display: block;
  height: 110px;
  width: 70px;
  margin: 0 auto;
  background-image: url('/1.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.35));
}

.cq-feature-art {
    height: 260px;
    width: 300px;
    margin: 0 auto;
    background-image: url('/neshan2.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.25));
    margin-bottom: 6px;
}
.cq-feature-art2 {
    height: 260px;
    width: 300px;
    margin: 0 auto;
    background-image: url('/neshan3.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.25));
    margin-bottom: 6px;
}
.cq-feature-art3 {
    height: 260px;
    width: 300px;
    margin: 0 auto;
    background-image: url('/neshan1.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.25));
    margin-bottom: 6px;
}
.cq-feature p {
  margin: 16px 0 0;
  color: var(--cq-text-soft);
  font-size: 1.05rem;
}

.cq-feature-text {
  margin: 0;
  color: var(--cq-text-soft);
  font-size: 1.05rem;
}

.cq-icon {
  width: 88px;
  height: 88px;
  margin: 0 auto;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--cq-ice-strong), var(--cq-ice-dark) 60%, #0b3a5a 100%);
  box-shadow: 0 0 0 6px rgba(34, 201, 255, 0.25), 0 8px 20px rgba(0,0,0,0.35);
  position: relative;
}

.cq-icon::after {
  position: absolute;
  inset: 18px;
  border-radius: 14px;
  background: rgba(20, 8, 38, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  content: "";
}

.cq-icon-power::before,
.cq-icon-heart::before,
.cq-icon-idea::before {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 2rem;
  color: var(--cq-accent);
  content: "⚡";
}

.cq-icon-heart::before { content: "❤"; }
.cq-icon-idea::before { content: "✦"; }

.cq-callout {
  text-align: center;
  color: var(--cq-ice-strong);
  font-size: 1.3rem;
  margin: 30px 0 25px;
}

.cq-bottom {
  margin-top: 20px;
}

.cq-brand-row {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
}

.cq-brand-badge {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, var(--cq-ice-strong), var(--cq-ice-dark));
  color: #041127;
  font-weight: 700;
  font-size: 1.4rem;
}

.cq-brand-title {
  font-weight: 700;
  text-transform: uppercase;
  color: var(--cq-ice);
  letter-spacing: 2px;
  margin-bottom: 6px;
}

.cq-brand-text {
  color: var(--cq-text-soft);
  line-height: 1.9;
}

.cq-qr-box {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px;
  border-radius: 16px;
  border: 1px dashed rgba(34, 201, 255, 0.45);
  background: rgba(6, 16, 40, 0.7);
}

.cq-qr {
  width: 120px;
  height: 120px;
  background: repeating-linear-gradient(45deg, #061635 0 10px, #9fe8ff 10px 20px);
  color: #041127;
  font-weight: 700;
  display: grid;
  place-items: center;
  border-radius: 12px;
}

.cq-qr-caption {
  font-size: 0.9rem;
  color: var(--cq-text-soft);
}

.cq-character {
  position: relative;
  min-height: 260px;
  display: grid;
  place-items: center;
}

.cq-character-body {
  width: 220px;
  height: 260px;
  border-radius: 120px 120px 40px 40px;
  background: linear-gradient(180deg, #153b6a, #0c2446 60%, #07172e 100%);
  border: 3px solid rgba(174, 233, 255, 0.6);
  box-shadow: 0 18px 40px rgba(0,0,0,0.4);
}

.cq-staff {
  position: absolute;
  width: 24px;
  height: 220px;
  border-radius: 16px;
  background: linear-gradient(180deg, var(--cq-ice-strong), var(--cq-ice-dark));
  left: 20%;
  top: 10%;
}

.cq-body-content {
  margin-top: 30px;
}

@media (max-width: 992px) {
  .cq-brand-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .cq-character {
    min-height: 220px;
  }
}

@media (max-width: 576px) {
  .cq-title-frame {
    padding: 10px 20px;
  }

  .cq-divider span {
    width: 45px;
  }

  .cq-callout {
    font-size: 1.1rem;
  }
}

.cq-placeholder {
  margin-top: 30px;
  padding: 18px;
  border-radius: 14px;
  border: 1px solid rgba(34, 201, 255, 0.3);
  background: rgba(6, 16, 40, 0.55);
  text-align: center;
}

.cq-placeholder-text {
  color: var(--cq-text-soft);
}

.cq-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.cq-navbar {
  background: linear-gradient(90deg, rgba(6, 18, 44, 0.98), rgba(10, 30, 70, 0.95));
  border-bottom: 1px solid rgba(34, 201, 255, 0.35);
  backdrop-filter: blur(8px);
  padding: 1px 0;
}

.cq-brand {
  color: var(--cq-ice-strong) !important;
  font-weight: 700;
  letter-spacing: 1px;
}

.cq-navbar .nav-link {
  color: var(--cq-text-soft) !important;
  padding: 4px 6px;
  /* font-weight: 600; */
  font-weight: 300;
}

.cq-navbar .nav-link:hover,
.cq-navbar .nav-link:focus {
  color: var(--cq-ice-strong) !important;
}

.cq-dropdown {
    background: rgba(6, 18, 44, 0.98);
    /*  border: 1px solid rgba(34, 201, 255, 0.35);
  box-shadow: 0 14px 26px rgba(0,0,0,0.35);*/
    border-top: 1px solid rgba(34, 201, 255, 0.6);
 /*   box-shadow: 0 14px 26px rgba(34, 201, 255, 0.6);*/
}

.cq-dropdown .dropdown-item {
  color: var(--cq-text);
  padding: 10px 14px;
  font-weight: 500;
  font-size: 0.92rem;
  text-align: center;
}

    .cq-dropdown .dropdown-item:hover,
    .cq-dropdown .dropdown-item:focus {
        /*background: rgba(34, 201, 255, 0.12);*/
        background: #06132c;
        color: var(--cq-ice-glow);
        /*color: var(--cq-ice-glow);*/
    }

    .cq-dropdown .dropdown-item.dropdown-toggle:hover,
    .cq-dropdown .dropdown-item.dropdown-toggle:focus {
        /*background: rgba(34, 201, 255, 0.12);*/
        background: #06132c;
        color: var(--cq-ice-glow);
    }

    .cq-dropdown .dropdown-menu .dropdown-item:hover,
    .cq-dropdown .dropdown-menu .dropdown-item:focus,
    .cq-dropdown .dropdown-menu .dropdown-item.dropdown-toggle:hover,
    .cq-dropdown .dropdown-menu .dropdown-item.dropdown-toggle:focus {
        /*background: rgba(34, 201, 255, 0.12);*/
        background: #06132c;
        color: var(--cq-ice-glow);
    }

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu > .dropdown-menu {
  top: 0;
  right: 100%;
  margin-right: 6px;
}

.dropdown-submenu:hover > .dropdown-menu,
.dropdown-submenu:focus-within > .dropdown-menu {
  display: block;
}

@media (max-width: 991.98px) {
  .dropdown-submenu > .dropdown-menu {
    right: auto;
    margin-right: 0;
    margin-top: 6px;
  }
}

.cq-hero {
  padding-top: 5px;
}

@media (max-width: 991.98px) {
  .cq-navbar .navbar-collapse {
  justify-content: center;
}

}

.cq-logo {
  width: min(260px, 70vw);
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.35));
  background: transparent;
  mix-blend-mode: normal;
}

.cq-crown {
  width: auto;
  height: auto;
  margin: 0 auto 0px;
}

.cq-crown-top,
.cq-crown-base {
  display: none;
}
.cq-video-grid {
    margin: 14px 0 10px;
    position: relative;
    height: 56vh;
    min-height: 300px;
    /*max-height: 520px;*/
    max-height: 300px;
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid rgba(34, 201, 255, 0.25);
    box-shadow: 0 16px 40px rgba(0,0,0,0.45);
}

.cq-video-carousel {
  margin: 28px 0 10px;
}

.cq-video-carousel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.cq-video-carousel-title {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  color: var(--cq-ice-strong);
}

.cq-video-carousel-actions {
  display: inline-flex;
  gap: 8px;
}

.cq-carousel-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(34, 201, 255, 0.5);
  background: rgba(6, 18, 44, 0.85);
  color: var(--cq-ice-strong);
  font-size: 1.6rem;
  display: grid;
  place-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.cq-carousel-btn:hover {
  transform: translateY(-1px);
  background: rgba(8, 24, 58, 0.95);
  box-shadow: 0 8px 18px rgba(0,0,0,0.3);
}

.cq-carousel-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.cq-video-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 1fr);
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 8px 6px 18px;
  scrollbar-width: none;
}

.cq-video-track::-webkit-scrollbar {
  display: none;
}

.cq-video-track .cq-video-card {
  scroll-snap-align: start;
}

.cq-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}

.cq-carousel-dots button {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(34, 201, 255, 0.6);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.cq-carousel-dots button.is-active {
  transform: scale(1.2);
  background: var(--cq-ice-strong);
}

@media (min-width: 992px) {
  .cq-video-track {
    grid-auto-columns: minmax(240px, 1fr);
  }
}

@media (max-width: 576px) {
  .cq-video-carousel-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

.cq-video-card {
  position: absolute;
  inset: 0;
  border-radius: 0;
  overflow: hidden;
  cursor: pointer;
  border: none;
  box-shadow: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

.cq-video-card.is-active {
  opacity: 1;
  pointer-events: auto;
}

.cq-video-preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #061635;
}

.cq-video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 28px;
  background: linear-gradient(180deg, rgba(4, 12, 32, 0.25) 0%, rgba(4, 12, 32, 0.75) 70%);
  color: var(--cq-text);
}

.cq-video-title {
  margin: 0 0 18px;
  font-weight: 700;
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  color: var(--cq-ice-strong);
  text-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.cq-video-controls {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 18px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  z-index: 2;
}

.cq-video-nav {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(34, 201, 255, 0.6);
  background: rgba(6, 18, 44, 0.8);
  color: var(--cq-ice-strong);
  font-size: 1.1rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.cq-video-nav:hover {
  transform: translateY(-1px);
  background: rgba(10, 28, 64, 0.9);
  box-shadow: 0 10px 18px rgba(0,0,0,0.3);
}

.cq-video-progress {
  height: 6px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(174, 233, 255, 0.18);
  border: 1px solid rgba(34, 201, 255, 0.35);
}

.cq-video-progress-fill {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, rgba(174, 233, 255, 0.4), rgba(27, 224, 255, 0.95));
  box-shadow: 0 0 12px rgba(27, 224, 255, 0.7);
  transition: width 0.1s linear;
}


.cq-video-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.45);
}

.cq-video-modal {
  background: #071532;
  border: 1px solid rgba(34, 201, 255, 0.4);
}

.cq-video-modal .modal-title {
  color: var(--cq-ice-strong);
}

#cqVideoPlayer {
  width: 100%;
  border-radius: 12px;
  background: #061635;
}
.cq-showcase {
  margin: 50px 0 10px;
}

.cq-showcase-row {
  margin-bottom: 34px;
}

.cq-showcase-content {
  padding: 12px 6px;
}

.cq-showcase-kicker {
  display: inline-block;
  margin-bottom: 10px;
  font-weight: 700;
  color: #a7d7f0;
  border-bottom: 2px solid #a7d7f0;
  padding-bottom: 4px;
  letter-spacing: 0.5px;
}

.cq-showcase-title {
    margin: 0 0 14px;
    font-size: clamp(1.4rem, 2.6vw, 2rem);
    color: #F9EFB6;
    line-height: 1.8;
    font-weight: 700;
}

.cq-showcase-text {
  color: #b8d1e5;
  line-height: 2;
  margin-bottom: 18px;
}

.cq-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    border-radius: 999px;
    background: linear-gradient(90deg, #E7FF86, #4CA8EA);
    color: #20066B;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.cq-pill-btn::after {
  content: "◀";
  font-size: 0.9rem;
}

.cq-pill-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.35);
}

.cq-showcase-media {
    position: relative;
    width: min(420px, 100%);
    height: clamp(210px, 32vw, 260px);
    margin-inline: auto;
    border-radius: 999px;
    background: #061631;
    border: 8px solid #09537a;
    box-shadow: 0 18px 40px rgba(0,0,0,0.45);
    overflow: hidden;
    transition: transform 0.9s ease;
    transform: rotate(0deg);
}

.cq-showcase-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(198, 245, 255, 0.18), transparent 45%);
  pointer-events: none;
}

.cq-showcase-media-top {
  background-image: url('/Academy.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.cq-showcase-media-top.is-flipped {
  background-image: url('/Reshtechin.png');
}

.cq-showcase-media-bottom {
  background-image: url('/neshan1.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.cq-showcase-media-bottom.is-flipped {
  background-image: url('/left.png');
}

.cq-spin-on-view.is-visible {
  transform: rotate(360deg);
}

.cq-spin-slow {
  transition-duration: 5s;
}
.cq-rotate-on-view {
  transform: rotate(90deg);
  transition: transform 0.10s ease;
  will-change: transform;
}

.cq-rotate-on-view.is-visible {
  transform: rotate(-90deg);
}
