/* ═══════════════════════════════════════════════════════════════════════════
   TEDQU FUTURISTIC DESIGN SYSTEM
   Built for EduAll child theme — tedqu.local
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Custom Properties ─────────────────────────────────────────────────────── */
:root {
  /* Brand */
  --tq-blue:        #1A47C8;
  --tq-blue-light:  #2D5DE8;
  --tq-blue-glow:   rgba(26, 71, 200, 0.4);
  --tq-orange:      #F97316;
  --tq-orange-glow: rgba(249, 115, 22, 0.35);
  --tq-cyan:        #00d4ff;
  --tq-cyan-glow:   rgba(0, 212, 255, 0.2);

  /* Backgrounds */
  --tq-bg-dark:     #080e1d;
  --tq-bg-section:  #0b1222;
  --tq-bg-alt:      #0e1828;
  --tq-bg-card:     rgba(255, 255, 255, 0.04);
  --tq-bg-card-h:   rgba(255, 255, 255, 0.08);

  /* Text */
  --tq-white:       #ffffff;
  --tq-text-muted:  rgba(255, 255, 255, 0.6);
  --tq-text-dim:    rgba(255, 255, 255, 0.4);

  /* Borders */
  --tq-border:      rgba(255, 255, 255, 0.08);
  --tq-border-glow: rgba(26, 71, 200, 0.5);

  /* Spacing */
  --tq-section-py:  100px;
  --tq-radius:      16px;
  --tq-radius-sm:   10px;
  --tq-radius-pill: 50px;

  /* Shadows */
  --tq-glow-blue:   0 0 40px rgba(26, 71, 200, 0.3);
  --tq-glow-orange: 0 0 30px rgba(249, 115, 22, 0.3);
  --tq-shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);

  /* Transitions */
  --tq-ease:        cubic-bezier(0.4, 0, 0.2, 1);
  --tq-duration:    0.35s;

  /* Override EduAll theme colors for dark mode */
  --main-color-one: #1A47C8;
  --heading-color:  #ffffff;
  --paragraph-color: rgba(255,255,255,0.65);
}

/* ── Global Overrides ──────────────────────────────────────────────────────── */
body.tedqu-futuristic {
  background: var(--tq-bg-dark);
  color: var(--tq-white);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.tedqu-futuristic h1,
body.tedqu-futuristic h2,
body.tedqu-futuristic h3,
body.tedqu-futuristic h4,
body.tedqu-futuristic h5,
body.tedqu-futuristic h6 {
  color: var(--tq-white);
  font-family: 'Inter', sans-serif;
}

body.tedqu-futuristic p {
  color: var(--tq-text-muted);
  line-height: 1.75;
}

body.tedqu-futuristic a:hover {
  color: var(--tq-cyan);
}

/* ── Keyframe Animations ───────────────────────────────────────────────────── */
@keyframes tq-float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-20px); }
}

@keyframes tq-pulse-glow {
  0%, 100% { box-shadow: 0 0 20px var(--tq-blue-glow); }
  50%       { box-shadow: 0 0 60px var(--tq-blue-glow), 0 0 100px rgba(26,71,200,0.2); }
}

@keyframes tq-grid-move {
  0%   { transform: translateY(0); }
  100% { transform: translateY(60px); }
}

@keyframes tq-shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes tq-spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes tq-fade-up {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes tq-particle-drift {
  0%   { transform: translateY(0) translateX(0) scale(1); opacity: 0.6; }
  33%  { transform: translateY(-30px) translateX(15px) scale(1.1); opacity: 1; }
  66%  { transform: translateY(-15px) translateX(-10px) scale(0.9); opacity: 0.7; }
  100% { transform: translateY(0) translateX(0) scale(1); opacity: 0.6; }
}

@keyframes tq-gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50%       { background-position: 100% 50%; }
}

@keyframes tq-border-glow {
  0%, 100% { border-color: rgba(26,71,200,0.3); }
  50%       { border-color: rgba(26,71,200,0.8); }
}

@keyframes tq-scan-line {
  0%   { top: -2px; opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* ── Reveal Animations ─────────────────────────────────────────────────────── */
.tq-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--tq-ease), transform 0.6s var(--tq-ease);
}
.tq-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.tq-reveal-delay-1 { transition-delay: 0.1s; }
.tq-reveal-delay-2 { transition-delay: 0.2s; }
.tq-reveal-delay-3 { transition-delay: 0.3s; }
.tq-reveal-delay-4 { transition-delay: 0.4s; }
.tq-reveal-delay-5 { transition-delay: 0.5s; }

/* ══════════════════════════════════════════════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════════════════════════════════════════════ */
body.tedqu-futuristic #masthead {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  transition: all 0.4s var(--tq-ease);
}

/* Ensure hero sits below fixed nav */
body.tedqu-futuristic .tq-hero {
  padding-top: 100px;
}

/* Nav CTA wrap alignment */
.tq-nav-cta-wrap {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

body.tedqu-futuristic .site-header .navbar {
  background: transparent;
  backdrop-filter: none;
  border-bottom: 1px solid transparent;
  padding: 20px 0 !important;
  transition: all 0.4s var(--tq-ease);
}

/* Push nav items + CTA to the right */
body.tedqu-futuristic .navbar .navbar-collapse {
  flex-grow: 0 !important;
  margin-left: auto;
}

body.tedqu-futuristic .navbar .custom-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

body.tedqu-futuristic .site-header.scrolled .navbar {
  background: rgba(8, 14, 29, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--tq-border);
  padding: 12px 0 !important;
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

/* Logo */
body.tedqu-futuristic .tq-logo-img {
  height: 40px;
  width: auto;
  max-width: 160px;
  display: block;
  object-fit: contain;
}

body.tedqu-futuristic .site-logo img,
body.tedqu-futuristic .custom-logo {
  max-height: 44px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
}

/* Nav links */
body.tedqu-futuristic .navbar .navbar-nav > li > a,
body.tedqu-futuristic .navbar .navbar-nav li.tedqu-nav-item > a {
  color: rgba(255,255,255,0.85) !important;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 8px 16px !important;
  position: relative;
  transition: color 0.3s ease;
}

body.tedqu-futuristic .navbar .navbar-nav > li > a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--tq-cyan);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.3s var(--tq-ease);
}

body.tedqu-futuristic .navbar .navbar-nav > li > a:hover,
body.tedqu-futuristic .navbar .navbar-nav > li.current-menu-item > a {
  color: #fff !important;
}

body.tedqu-futuristic .navbar .navbar-nav > li > a:hover::after,
body.tedqu-futuristic .navbar .navbar-nav > li.current-menu-item > a::after {
  transform: scaleX(1);
}

/* Nav CTA button */
.tq-nav-cta {
  background: linear-gradient(135deg, var(--tq-blue), var(--tq-blue-light));
  color: #fff !important;
  border-radius: var(--tq-radius-pill) !important;
  padding: 10px 24px !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 20px var(--tq-blue-glow);
  transition: all 0.3s ease !important;
  text-decoration: none;
}

.tq-nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--tq-blue-glow);
  color: #fff !important;
}

.tq-nav-cta::after {
  display: none !important;
}

/* Parent li needs relative positioning so the dropdown is anchored under it */
body.tedqu-futuristic .navbar-nav > li {
  position: relative;
}

/* Dropdown menus — desktop: CSS hover only; JS inline styles cleared by tqNavFix */
@media (min-width: 992px) {
  body.tedqu-futuristic .navbar-nav > li.menu-item-has-children > .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 99999;
    min-width: 210px;
    margin: 0;
    padding: 14px 0 6px; /* padding-top bridges the visual gap without breaking hover */
    list-style: none;
    /* Hidden by default via opacity+pointer-events (JS clears inline styles) */
    opacity: 0;
    pointer-events: none;
    transform: translateY(6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    /* Dark glassmorphism */
    background: #0a101e;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }

  /* Show on hover */
  body.tedqu-futuristic .navbar-nav > li.menu-item-has-children:hover > .sub-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
}

/* Mobile: sub-menus shown via EduAll's slideDown (no override needed) */
@media (max-width: 991px) {
  body.tedqu-futuristic .navbar-nav li.menu-item-has-children > .sub-menu {
    background: rgba(10, 16, 30, 0.98) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    border-radius: 8px !important;
    padding: 4px 0 !important;
    margin-top: 4px !important;
  }
}

body.tedqu-futuristic .navbar-nav .sub-menu li {
  display: block !important;
  position: relative !important;
}

body.tedqu-futuristic .navbar-nav .sub-menu li a {
  display: block !important;
  color: rgba(255,255,255,0.75) !important;
  background: transparent !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  padding: 10px 20px !important;
  border-bottom: 1px solid rgba(255,255,255,0.05) !important;
  white-space: nowrap !important;
  transition: color 0.2s ease, background 0.2s ease !important;
}

body.tedqu-futuristic .navbar-nav .sub-menu li:last-child a {
  border-bottom: none !important;
}

body.tedqu-futuristic .navbar-nav .sub-menu li a:hover {
  color: var(--tq-cyan) !important;
  background: rgba(255,255,255,0.06) !important;
}

/* Navbar toggler mobile */
body.tedqu-futuristic .navbar-toggler {
  border-color: var(--tq-border);
  color: white;
  padding: 6px 10px;
}
body.tedqu-futuristic .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%28255%2C255%2C255%2C0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  width: 24px;
  height: 24px;
  display: block;
}

/* Mobile nav layout */
@media (max-width: 991px) {
  .tq-nav-cta-wrap { display: none; }

  body.tedqu-futuristic .responsive-mobile-menu {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  body.tedqu-futuristic .navbar .custom-container {
    flex-wrap: wrap;
  }

  body.tedqu-futuristic .navbar-toggler {
    margin-left: auto;
  }
}

/* ══════════════════════════════════════════════════════════════════════════════
   UTILITY CLASSES
   ══════════════════════════════════════════════════════════════════════════════ */

/* Section wrapper */
.tq-section {
  padding: var(--tq-section-py) 0;
  position: relative;
  overflow: hidden;
}

.tq-section-dark  { background: var(--tq-bg-dark); }
.tq-section-alt   { background: var(--tq-bg-alt); }
.tq-section-navy  { background: var(--tq-bg-section); }

/* Dot grid background overlay */
.tq-dot-grid::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

/* Gradient background overlays */
.tq-glow-top-left::after {
  content: '';
  position: absolute;
  top: -200px;
  left: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(26,71,200,0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.tq-glow-bottom-right::before {
  content: '';
  position: absolute;
  bottom: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(249,115,22,0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.tq-section > .container,
.tq-section > .tq-container {
  position: relative;
  z-index: 1;
}

/* Section label */
.tq-section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(26,71,200,0.15);
  border: 1px solid rgba(26,71,200,0.4);
  border-radius: var(--tq-radius-pill);
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--tq-cyan);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.tq-section-label .dot {
  width: 6px;
  height: 6px;
  background: var(--tq-cyan);
  border-radius: 50%;
  animation: tq-pulse-glow 2s ease infinite;
}

/* Section headings */
.tq-section-title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--tq-white);
  margin-bottom: 20px;
}

.tq-section-title .tq-highlight {
  background: linear-gradient(135deg, var(--tq-cyan) 0%, var(--tq-blue-light) 50%, var(--tq-orange) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: tq-gradient-shift 4s ease infinite;
}

.tq-section-subtitle {
  font-size: 18px;
  color: var(--tq-text-muted);
  line-height: 1.7;
  max-width: 600px;
}

/* Buttons */
.tq-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: none;
  border-radius: var(--tq-radius-pill);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s var(--tq-ease);
  white-space: nowrap;
}

.tq-btn-primary {
  background: linear-gradient(135deg, var(--tq-orange) 0%, #f05e00 100%);
  color: #fff !important;
  padding: 14px 32px;
  box-shadow: 0 6px 24px var(--tq-orange-glow);
}
.tq-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px var(--tq-orange-glow);
  color: #fff !important;
}

.tq-btn-secondary {
  background: transparent;
  color: rgba(255,255,255,0.9) !important;
  padding: 13px 32px;
  border: 1.5px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(10px);
}
.tq-btn-secondary:hover {
  border-color: var(--tq-cyan);
  color: var(--tq-cyan) !important;
  transform: translateY(-3px);
  background: rgba(0,212,255,0.06);
}

.tq-btn-blue {
  background: linear-gradient(135deg, var(--tq-blue) 0%, var(--tq-blue-light) 100%);
  color: #fff !important;
  padding: 14px 32px;
  box-shadow: 0 6px 24px var(--tq-blue-glow);
}
.tq-btn-blue:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px var(--tq-blue-glow);
  color: #fff !important;
}

.tq-btn svg, .tq-btn .btn-icon {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}
.tq-btn:hover svg, .tq-btn:hover .btn-icon {
  transform: translateX(4px);
}

/* Card base */
.tq-card {
  background: var(--tq-bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--tq-border);
  border-radius: var(--tq-radius);
  padding: 32px;
  transition: all 0.35s var(--tq-ease);
  position: relative;
  overflow: hidden;
}

.tq-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(26,71,200,0.6), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tq-card:hover {
  border-color: rgba(26,71,200,0.4);
  background: var(--tq-bg-card-h);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(26,71,200,0.2);
}
.tq-card:hover::before {
  opacity: 1;
}

/* Icon box */
.tq-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.tq-icon-blue   { background: rgba(26,71,200,0.15); color: var(--tq-cyan); border: 1px solid rgba(26,71,200,0.3); }
.tq-icon-orange { background: rgba(249,115,22,0.12); color: var(--tq-orange); border: 1px solid rgba(249,115,22,0.3); }
.tq-icon-green  { background: rgba(16,185,129,0.12); color: #10b981; border: 1px solid rgba(16,185,129,0.3); }
.tq-icon-purple { background: rgba(139,92,246,0.12); color: #8b5cf6; border: 1px solid rgba(139,92,246,0.3); }

/* Divider */
.tq-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--tq-blue), var(--tq-cyan));
  border-radius: 3px;
  margin: 0 auto 40px;
}

/* ══════════════════════════════════════════════════════════════════════════════
   HERO SECTION
   ══════════════════════════════════════════════════════════════════════════════ */
.tq-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #060b18 0%, #0a1428 50%, #080e1d 100%);
  padding: 140px 0 80px;
}

/* Animated grid */
.tq-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26,71,200,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,71,200,0.07) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: tq-grid-move 20s linear infinite;
  z-index: 0;
}

/* Glow orbs */
.tq-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.tq-hero-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(26,71,200,0.18) 0%, transparent 70%);
  top: -150px;
  left: -150px;
  animation: tq-float 8s ease-in-out infinite;
}

.tq-hero-orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(249,115,22,0.1) 0%, transparent 70%);
  bottom: -100px;
  right: 5%;
  animation: tq-float 10s ease-in-out infinite reverse;
}

.tq-hero-orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0,212,255,0.08) 0%, transparent 70%);
  top: 40%;
  right: 25%;
  animation: tq-float 12s ease-in-out infinite;
}

/* Floating particles */
.tq-hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.tq-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--tq-cyan);
  border-radius: 50%;
  opacity: 0;
  animation: tq-particle-drift 6s ease-in-out infinite;
}

/* Hero content */
.tq-hero-content {
  position: relative;
  z-index: 2;
}

.tq-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(26,71,200,0.12);
  border: 1px solid rgba(26,71,200,0.35);
  border-radius: var(--tq-radius-pill);
  padding: 8px 20px;
  margin-bottom: 32px;
  font-size: 13px;
  font-weight: 600;
  color: var(--tq-cyan);
  letter-spacing: 0.06em;
  animation: tq-fade-up 0.8s var(--tq-ease) both;
}

.tq-hero-badge .badge-dot {
  width: 8px;
  height: 8px;
  background: var(--tq-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--tq-cyan);
  animation: tq-pulse-glow 2s ease infinite;
}

.tq-hero-title {
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--tq-white);
  margin-bottom: 24px;
  animation: tq-fade-up 0.8s 0.1s var(--tq-ease) both;
}

.tq-hero-title .gradient-word {
  background: linear-gradient(135deg, #60a5fa 0%, var(--tq-cyan) 40%, #a78bfa 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: tq-gradient-shift 3s ease infinite;
}

.tq-hero-desc {
  font-size: 18px;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  max-width: 560px;
  margin-bottom: 40px;
  animation: tq-fade-up 0.8s 0.2s var(--tq-ease) both;
}

.tq-hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  animation: tq-fade-up 0.8s 0.3s var(--tq-ease) both;
}

/* Video play button */
.tq-play-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.8) !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.tq-play-btn .play-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.tq-play-btn .play-circle svg {
  width: 16px;
  height: 16px;
  fill: white;
  margin-left: 2px;
}

.tq-play-btn:hover { color: var(--tq-cyan) !important; }
.tq-play-btn:hover .play-circle {
  background: var(--tq-blue);
  border-color: var(--tq-blue);
  box-shadow: 0 0 20px var(--tq-blue-glow);
  transform: scale(1.1);
}

/* Hero trust strip */
.tq-hero-trust {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--tq-border);
  flex-wrap: wrap;
  animation: tq-fade-up 0.8s 0.4s var(--tq-ease) both;
}

.tq-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tq-trust-number {
  font-size: 28px;
  font-weight: 800;
  color: var(--tq-white);
  line-height: 1;
}

.tq-trust-number .sup {
  font-size: 18px;
  color: var(--tq-orange);
}

.tq-trust-label {
  font-size: 12px;
  color: var(--tq-text-dim);
  line-height: 1.4;
  max-width: 110px;
}

.tq-trust-sep {
  width: 1px;
  height: 40px;
  background: var(--tq-border);
}

/* Hero visual (right side) */
.tq-hero-visual {
  position: relative;
  z-index: 2;
  animation: tq-fade-up 0.9s 0.2s var(--tq-ease) both;
}

/* AR Device mockup */
.tq-ar-device {
  position: relative;
  width: 100%;
  max-width: 540px;
  margin-left: auto;
}

.tq-ar-screen {
  background: rgba(10,20,40,0.8);
  border: 1px solid rgba(26,71,200,0.4);
  border-radius: 20px;
  padding: 28px;
  backdrop-filter: blur(20px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(26,71,200,0.15);
  animation: tq-pulse-glow 4s ease infinite;
  position: relative;
  overflow: hidden;
}

.tq-ar-screen::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--tq-cyan), transparent);
  animation: tq-scan-line 3s linear infinite;
}

.tq-ar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.tq-ar-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--tq-cyan);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tq-ar-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #10b981;
  font-weight: 600;
}
.tq-ar-status::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
  animation: tq-pulse-glow 1.5s ease infinite;
}

.tq-ar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}

.tq-ar-tag {
  background: rgba(26,71,200,0.15);
  border: 1px solid rgba(26,71,200,0.3);
  border-radius: 10px;
  padding: 12px 8px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: default;
}

.tq-ar-tag.active {
  background: rgba(26,71,200,0.3);
  border-color: var(--tq-cyan);
  box-shadow: 0 0 15px rgba(0,212,255,0.2);
}

.tq-ar-tag .tag-id {
  font-size: 16px;
  font-weight: 800;
  color: var(--tq-white);
  display: block;
}

.tq-ar-tag .tag-status {
  font-size: 9px;
  color: var(--tq-text-dim);
  margin-top: 4px;
}

.tq-ar-tag.active .tag-status {
  color: var(--tq-cyan);
}

.tq-ar-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.tq-ar-metric {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--tq-border);
  border-radius: 10px;
  padding: 12px;
  text-align: center;
}

.tq-ar-metric .m-value {
  font-size: 22px;
  font-weight: 800;
  color: var(--tq-white);
  display: block;
  line-height: 1;
}

.tq-ar-metric .m-label {
  font-size: 10px;
  color: var(--tq-text-dim);
  margin-top: 4px;
}

.tq-ar-metric.highlight .m-value {
  color: var(--tq-orange);
}

/* Floating cards around device */
.tq-float-card {
  position: absolute;
  background: rgba(10,20,40,0.9);
  backdrop-filter: blur(20px);
  border: 1px solid var(--tq-border);
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
  font-size: 13px;
  white-space: nowrap;
  z-index: 3;
}

.tq-float-card-1 {
  top: -20px;
  right: -30px;
  animation: tq-float 5s ease-in-out infinite;
  border-color: rgba(16,185,129,0.3);
}

.tq-float-card-2 {
  bottom: 40px;
  left: -40px;
  animation: tq-float 7s ease-in-out infinite reverse;
  border-color: rgba(249,115,22,0.3);
}

.tq-float-card .fc-icon {
  font-size: 18px;
  margin-right: 8px;
}

.tq-float-card .fc-text strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--tq-white);
}

.tq-float-card .fc-text span {
  font-size: 11px;
  color: var(--tq-text-dim);
}

/* ══════════════════════════════════════════════════════════════════════════════
   LOGOS / BRAND STRIP
   ══════════════════════════════════════════════════════════════════════════════ */
.tq-logo-strip {
  padding: 32px 0;
  background: rgba(255,255,255,0.02);
  border-top: 1px solid var(--tq-border);
  border-bottom: 1px solid var(--tq-border);
  overflow: hidden;
}

.tq-logo-strip-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--tq-text-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 24px;
}

.tq-logo-scroll-wrap {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, black 15%, black 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 15%, black 85%, transparent 100%);
}

/* Hide any JS-injected duplicate scroll row */
.tq-logo-scroll-wrap .tq-logo-scroll ~ .tq-logo-scroll {
  display: none !important;
}

.tq-logo-scroll {
  display: flex;
  flex-wrap: nowrap;
  gap: 60px;
  align-items: center;
  animation: tq-logo-scroll 25s linear infinite;
  width: max-content;
  flex-shrink: 0;
}

@keyframes tq-logo-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.tq-school-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0.5;
  transition: opacity 0.3s ease;
  flex-shrink: 0;
}

.tq-school-logo:hover { opacity: 0.9; }

.tq-school-logo .logo-icon {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}

.tq-school-logo .logo-name {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
}

/* ══════════════════════════════════════════════════════════════════════════════
   PROBLEM SECTION
   ══════════════════════════════════════════════════════════════════════════════ */
.tq-problem-section {
  background: var(--tq-bg-section);
}

.tq-problem-card {
  text-align: center;
  padding: 40px 28px;
}

.tq-problem-img {
  margin: -40px -28px 24px;
  height: 200px;
  border-radius: 15px 15px 0 0;
  overflow: hidden;
}
.tq-problem-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.tq-card:hover .tq-problem-img img {
  transform: scale(1.06);
}

.tq-problem-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--tq-white);
  margin-bottom: 12px;
}

.tq-problem-card p {
  font-size: 14px;
  color: var(--tq-text-muted);
  line-height: 1.7;
  margin: 0;
}

/* Connecting arrow */
.tq-problem-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--tq-text-dim);
  padding-top: 40px;
}

/* ══════════════════════════════════════════════════════════════════════════════
   THREE PILLARS
   ══════════════════════════════════════════════════════════════════════════════ */
.tq-pillars-section {
  background: var(--tq-bg-dark);
}

.tq-pillar-card {
  text-align: center;
  padding: 0 0 36px;
  position: relative;
  overflow: hidden;
}

.tq-pillar-photo {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  margin-bottom: 28px;
  border-radius: 16px 16px 0 0;
}

.tq-pillar-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.tq-pillar-card:hover .tq-pillar-photo img {
  transform: scale(1.05);
}

.tq-pillar-photo .tq-pillar-number {
  position: absolute;
  top: 12px;
  left: 16px;
  font-size: 40px;
  font-weight: 900;
  background: none;
  -webkit-text-fill-color: rgba(255,255,255,0.9);
  color: rgba(255,255,255,0.9);
  -webkit-background-clip: unset;
  background-clip: unset;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
  margin-bottom: 0;
  line-height: 1;
}

.tq-pillar-card h3,
.tq-pillar-card p,
.tq-pillar-card > div:not(.tq-pillar-photo) {
  padding-left: 28px;
  padding-right: 28px;
}

.tq-pillar-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  transition: opacity 0.3s ease;
  opacity: 0;
}

.tq-pillar-card.pillar-engage::after  { background: linear-gradient(90deg, var(--tq-blue), var(--tq-cyan)); }
.tq-pillar-card.pillar-assess::after  { background: linear-gradient(90deg, var(--tq-orange), #f59e0b); }
.tq-pillar-card.pillar-manage::after  { background: linear-gradient(90deg, #10b981, #06d6a0); }

.tq-pillar-card:hover::after { opacity: 1; }

.tq-pillar-number {
  font-size: 72px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: -20px;
}

.tq-pillar-icon-wrap {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 24px;
}

.tq-pillar-card h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--tq-white);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.tq-pillar-card p {
  font-size: 15px;
  color: var(--tq-text-muted);
  line-height: 1.7;
}

/* ══════════════════════════════════════════════════════════════════════════════
   FEATURES SECTION
   ══════════════════════════════════════════════════════════════════════════════ */
.tq-features-section {
  background: var(--tq-bg-alt);
}

.tq-feature-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  justify-content: center;
}

.tq-feature-tab {
  padding: 10px 22px;
  border-radius: var(--tq-radius-pill);
  border: 1px solid var(--tq-border);
  background: transparent;
  color: rgba(255,255,255,0.6);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tq-feature-tab.active,
.tq-feature-tab:hover {
  background: var(--tq-blue);
  border-color: var(--tq-blue);
  color: #fff;
  box-shadow: 0 4px 20px var(--tq-blue-glow);
}

.tq-feature-panel {
  display: none;
}
.tq-feature-panel.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  animation: tq-fade-up 0.4s ease both;
}

.tq-feature-visual {
  position: relative;
}

.tq-feature-screen {
  background: rgba(10,20,40,0.9);
  border: 1px solid rgba(26,71,200,0.3);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  position: relative;
  overflow: hidden;
}

.tq-feature-screen::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--tq-cyan), transparent);
}

.tq-feature-content h3 {
  font-size: 32px;
  font-weight: 800;
  color: var(--tq-white);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.tq-feature-content p {
  font-size: 16px;
  color: var(--tq-text-muted);
  line-height: 1.75;
  margin-bottom: 24px;
}

.tq-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}

.tq-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 14px;
  color: rgba(255,255,255,0.75);
}

.tq-feature-list li::before {
  content: '✓';
  width: 20px;
  height: 20px;
  background: rgba(26,71,200,0.15);
  border: 1px solid rgba(26,71,200,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--tq-cyan);
  flex-shrink: 0;
  margin-top: 1px;
}

/* Feature stats row */
.tq-feature-stats {
  display: flex;
  gap: 32px;
  margin-top: 8px;
}

.tq-feat-stat .stat-n {
  font-size: 28px;
  font-weight: 800;
  color: var(--tq-white);
  display: block;
  line-height: 1;
}

.tq-feat-stat .stat-n .sup { font-size: 18px; color: var(--tq-orange); }

.tq-feat-stat .stat-l {
  font-size: 12px;
  color: var(--tq-text-dim);
  margin-top: 4px;
}

/* Feature screen content */
.tq-att-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.tq-att-bar:last-child { border: 0; }

.tq-att-name {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  width: 100px;
  flex-shrink: 0;
}

.tq-att-track {
  flex: 1;
  height: 6px;
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
  overflow: hidden;
}

.tq-att-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--tq-blue), var(--tq-cyan));
  transition: width 1s var(--tq-ease);
}

.tq-att-badge {
  font-size: 12px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 20px;
  flex-shrink: 0;
}

.tq-att-badge.present { background: rgba(16,185,129,0.15); color: #10b981; }
.tq-att-badge.absent  { background: rgba(239,68,68,0.15);  color: #ef4444; }

/* ══════════════════════════════════════════════════════════════════════════════
   SOLUTIONS / PERSONAS
   ══════════════════════════════════════════════════════════════════════════════ */
.tq-personas-section {
  background: var(--tq-bg-section);
}

.tq-persona-card {
  padding: 36px 28px;
  height: 100%;
}

.tq-persona-img {
  margin: -36px -28px 24px;
  height: 200px;
  border-radius: 15px 15px 0 0;
  overflow: hidden;
}
.tq-persona-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.tq-card:hover .tq-persona-img img {
  transform: scale(1.06);
}

.tq-persona-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--tq-white);
  margin-bottom: 8px;
}

.tq-persona-card .persona-role {
  font-size: 12px;
  font-weight: 600;
  color: var(--tq-cyan);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.tq-persona-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tq-persona-benefits li {
  padding: 8px 0;
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.tq-persona-benefits li::before {
  content: '→';
  color: var(--tq-blue-light);
  flex-shrink: 0;
  font-weight: 700;
}

/* ══════════════════════════════════════════════════════════════════════════════
   IMPACT / METRICS
   ══════════════════════════════════════════════════════════════════════════════ */
.tq-metrics-section {
  background: linear-gradient(135deg, #0d1626 0%, #071020 100%);
  border-top: 1px solid var(--tq-border);
  border-bottom: 1px solid var(--tq-border);
  position: relative;
  overflow: hidden;
}

.tq-metrics-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(26,71,200,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.tq-metric-card {
  text-align: center;
  padding: 40px 24px;
  border-right: 1px solid var(--tq-border);
}

.tq-metric-card:last-child {
  border-right: 0;
}

.tq-metric-number {
  font-size: 56px;
  font-weight: 900;
  color: var(--tq-white);
  line-height: 1;
  letter-spacing: -0.04em;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
}

.tq-metric-number .counter-value {
  color: var(--tq-white);
}

.tq-metric-number .metric-suffix {
  font-size: 32px;
  color: var(--tq-orange);
  line-height: 1.1;
}

.tq-metric-label {
  font-size: 14px;
  color: var(--tq-text-dim);
  margin-top: 10px;
  font-weight: 500;
}

.tq-metric-sub {
  font-size: 12px;
  color: var(--tq-text-dim);
  margin-top: 4px;
}

/* ══════════════════════════════════════════════════════════════════════════════
   TESTIMONIALS
   ══════════════════════════════════════════════════════════════════════════════ */
.tq-testimonials-section {
  background: var(--tq-bg-dark);
}

.tq-testimonial-card {
  padding: 36px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.tq-quote-icon {
  font-size: 36px;
  line-height: 1;
  color: var(--tq-blue-light);
  opacity: 0.4;
  margin-bottom: 16px;
}

.tq-testimonial-text {
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  flex: 1;
  margin-bottom: 24px;
  font-style: italic;
}

.tq-testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.tq-author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  color: white;
  background: linear-gradient(135deg, var(--tq-blue), var(--tq-blue-light));
  flex-shrink: 0;
}

.tq-author-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--tq-white);
  margin-bottom: 2px;
}

.tq-author-role {
  font-size: 12px;
  color: var(--tq-text-dim);
}

.tq-stars {
  color: #f59e0b;
  font-size: 13px;
  margin-bottom: 12px;
}

/* Testimonial slider */
.tq-testimonial-slider-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
}

.tq-testimonial-track {
  display: flex;
  gap: 24px;
  flex: 1;
  overflow: hidden;
}

.tq-testimonial-slide {
  flex: 0 0 calc(33.333% - 16px);
  min-width: 0;
  transition: opacity 0.3s ease;
}

.tq-tslider-arrow {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.8);
  font-size: 28px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  padding: 0;
}

.tq-tslider-arrow:hover {
  background: var(--tq-blue);
  border-color: var(--tq-blue);
  color: #fff;
}

@media (max-width: 991px) {
  .tq-testimonial-slide { flex: 0 0 100%; }
  .tq-tslider-arrow { width: 40px; height: 40px; font-size: 22px; }
}

/* ══════════════════════════════════════════════════════════════════════════════
   BLOG SECTION
   ══════════════════════════════════════════════════════════════════════════════ */
.tq-blog-section {
  background: var(--tq-bg-alt);
}

.tq-blog-card {
  padding: 0;
  overflow: hidden;
}

.tq-blog-thumb {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, rgba(26,71,200,0.2), rgba(0,212,255,0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  position: relative;
  overflow: hidden;
}

.tq-blog-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(8,14,29,0.8) 100%);
}

.tq-blog-body {
  padding: 24px;
}

.tq-blog-cat {
  font-size: 11px;
  font-weight: 700;
  color: var(--tq-cyan);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.tq-blog-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--tq-white);
  line-height: 1.4;
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.tq-blog-card:hover h3 {
  color: var(--tq-cyan);
}

.tq-blog-card p {
  font-size: 13px;
  color: var(--tq-text-dim);
  line-height: 1.6;
  margin-bottom: 16px;
}

.tq-blog-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--tq-text-dim);
}

.tq-blog-read-more {
  color: var(--tq-cyan);
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.3s ease;
  display: flex;
  align-items: center;
  gap: 4px;
}

.tq-blog-read-more:hover {
  gap: 8px;
  color: var(--tq-cyan) !important;
}

/* ══════════════════════════════════════════════════════════════════════════════
   FINAL CTA
   ══════════════════════════════════════════════════════════════════════════════ */
.tq-cta-section {
  background: linear-gradient(135deg, #0a1428 0%, #06091a 100%);
  text-align: center;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.tq-cta-section::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(26,71,200,0.14) 0%, transparent 65%);
  pointer-events: none;
}

.tq-cta-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

.tq-cta-section .container { position: relative; z-index: 2; }

.tq-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(26,71,200,0.15);
  border: 1px solid rgba(26,71,200,0.4);
  border-radius: var(--tq-radius-pill);
  padding: 6px 18px;
  font-size: 12px;
  font-weight: 600;
  color: var(--tq-cyan);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.tq-cta-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  color: var(--tq-white);
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 20px;
}

.tq-cta-desc {
  font-size: 18px;
  color: rgba(255,255,255,0.6);
  max-width: 500px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.tq-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.tq-cta-note {
  font-size: 13px;
  color: var(--tq-text-dim);
}

.tq-cta-note span { color: var(--tq-cyan); }

/* ══════════════════════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════════════════════ */
body.tedqu-futuristic .site-footer,
.tq-footer {
  background: #030710 !important;
  border-top: 1px solid var(--tq-border);
  padding: 64px 0 0;
  color: rgba(255,255,255,0.6);
}

.tq-footer-brand {
  margin-bottom: 24px;
}

.tq-footer-brand .footer-logo {
  max-height: 36px;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}

.tq-footer-tagline {
  font-size: 14px;
  color: var(--tq-text-dim);
  line-height: 1.6;
  max-width: 260px;
  margin-bottom: 24px;
}

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

.tq-social-link {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--tq-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5) !important;
  font-size: 14px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.tq-social-link:hover {
  background: var(--tq-blue);
  border-color: var(--tq-blue);
  color: white !important;
  box-shadow: 0 4px 15px var(--tq-blue-glow);
  transform: translateY(-2px);
}

.tq-footer-heading {
  font-size: 13px;
  font-weight: 700;
  color: var(--tq-white);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.tq-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tq-footer-links li {
  margin-bottom: 10px;
}

.tq-footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.45) !important;
  text-decoration: none;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tq-footer-links a:hover {
  color: var(--tq-cyan) !important;
}

.tq-footer-contact .fc-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 14px;
  color: rgba(255,255,255,0.45);
}

.tq-footer-contact .fc-icon {
  width: 32px;
  height: 32px;
  background: rgba(26,71,200,0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.tq-footer-bottom {
  margin-top: 48px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.tq-footer-copy {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
}

.tq-footer-legal {
  display: flex;
  gap: 24px;
}

.tq-footer-legal a {
  font-size: 13px;
  color: rgba(255,255,255,0.3) !important;
  text-decoration: none;
  transition: color 0.3s ease;
}

.tq-footer-legal a:hover {
  color: var(--tq-cyan) !important;
}

/* ══════════════════════════════════════════════════════════════════════════════
   INNER PAGES — PAGE HERO
   ══════════════════════════════════════════════════════════════════════════════ */
.tq-page-hero {
  padding: 160px 0 80px;
  background: linear-gradient(135deg, #080e1d 0%, #0d1626 100%);
  position: relative;
  overflow: hidden;
}

.tq-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26,71,200,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,71,200,0.06) 1px, transparent 1px);
  background-size: 50px 50px;
}

.tq-page-hero-content { position: relative; z-index: 1; }

.tq-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--tq-text-dim);
  margin-bottom: 20px;
}

.tq-breadcrumb a {
  color: var(--tq-text-dim) !important;
  transition: color 0.3s ease;
}

.tq-breadcrumb a:hover { color: var(--tq-cyan) !important; }

.tq-breadcrumb .sep { opacity: 0.4; }

.tq-page-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--tq-white);
  line-height: 1.05;
  margin-bottom: 20px;
}

.tq-page-desc {
  font-size: 18px;
  color: rgba(255,255,255,0.6);
  max-width: 580px;
  line-height: 1.7;
}

/* ══════════════════════════════════════════════════════════════════════════════
   CONTACT PAGE
   ══════════════════════════════════════════════════════════════════════════════ */
.tq-contact-form-wrap {
  background: var(--tq-bg-card);
  border: 1px solid var(--tq-border);
  border-radius: 20px;
  padding: 48px;
  backdrop-filter: blur(20px);
}

.tq-form-group {
  margin-bottom: 20px;
}

.tq-form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.tq-form-group input,
.tq-form-group select,
.tq-form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid var(--tq-border) !important;
  border-radius: 10px !important;
  padding: 14px 18px !important;
  color: var(--tq-white) !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  transition: all 0.3s ease !important;
  outline: none !important;
}

.tq-form-group input:focus,
.tq-form-group select:focus,
.tq-form-group textarea:focus {
  border-color: rgba(26,71,200,0.6) !important;
  background: rgba(26,71,200,0.06) !important;
  box-shadow: 0 0 0 3px rgba(26,71,200,0.12) !important;
}

.tq-form-group input::placeholder,
.tq-form-group textarea::placeholder {
  color: rgba(255,255,255,0.25);
}

.tq-form-group select option {
  background: #0d1626;
  color: white;
}

/* ══════════════════════════════════════════════════════════════════════════════
   WOOCOMMERCE / TUTOR OVERRIDES
   ══════════════════════════════════════════════════════════════════════════════ */
body.tedqu-futuristic .tutor-course-card,
body.tedqu-futuristic .woocommerce .product {
  background: var(--tq-bg-card) !important;
  border: 1px solid var(--tq-border) !important;
  border-radius: var(--tq-radius) !important;
  color: var(--tq-white) !important;
}

body.tedqu-futuristic .tutor-course-card:hover {
  border-color: rgba(26,71,200,0.4) !important;
  transform: translateY(-4px);
  box-shadow: var(--tq-shadow-card) !important;
}

/* ══════════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════════════════════ */
@media (max-width: 991px) {
  :root {
    --tq-section-py: 70px;
  }

  .tq-hero { min-height: auto; padding: 140px 0 60px; }
  .tq-hero-visual { margin-top: 60px; }
  .tq-ar-device { max-width: 400px; margin: 0 auto; }

  .tq-feature-panel.active {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .tq-metric-card {
    border-right: 0;
    border-bottom: 1px solid var(--tq-border);
    padding: 30px;
  }
  .tq-metric-card:last-child { border-bottom: 0; }

  .tq-float-card-1,
  .tq-float-card-2 { display: none; }

  .tq-hero-trust { gap: 20px; }

  .tq-contact-form-wrap { padding: 28px 20px; }
}

@media (max-width: 767px) {
  :root { --tq-section-py: 60px; }

  .tq-hero-title { font-size: clamp(32px, 8vw, 52px); }

  .tq-feature-tabs { gap: 6px; }
  .tq-feature-tab  { padding: 8px 16px; font-size: 12px; }

  .tq-hero-trust { flex-direction: column; align-items: flex-start; gap: 16px; }
  .tq-trust-sep  { display: none; }

  .tq-footer-bottom { flex-direction: column; text-align: center; }

  .tq-cta-title { font-size: clamp(28px, 7vw, 44px); }

  .tq-ar-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ══════════════════════════════════════════════════════════════════════════════
   POLISH — ADDITIONAL REFINEMENTS
   ══════════════════════════════════════════════════════════════════════════════ */

/* Pillar number background text — subtle, should not compete with content */
.tq-pillar-number {
  user-select: none;
  pointer-events: none;
}

/* Ensure the tq-nav-cta button doesn't show underline from nav styles */
body.tedqu-futuristic .tq-nav-cta::after {
  display: none !important;
}

/* Section divider glow lines */
.tq-section + .tq-section {
  position: relative;
}

/* EduAll parent theme overrides — prevent conflicts */
body.tedqu-futuristic .site-content > .container {
  max-width: none;
  padding: 0;
}

/* Ensure tq-logo-strip doesn't have weird margins from parent theme */
.tq-logo-strip {
  margin: 0;
}

/* Blog card thumbnail gradient overlay z-index */
.tq-blog-thumb::after {
  z-index: 1;
  pointer-events: none;
}

/* CTA button hover state smooth */
.tq-btn {
  position: relative;
  overflow: hidden;
}

.tq-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: left 0.5s ease;
}

.tq-btn:hover::before {
  left: 100%;
}

/* Smooth font rendering for large counters */
.tq-metric-number,
.tq-trust-number {
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums;
}

/* Particle dots should not intercept clicks */
.tq-hero-particles,
.tq-hero-grid,
.tq-hero-orb {
  pointer-events: none;
  user-select: none;
}

/* ══════════════════════════════════════════════════════════════════════════════
   PAGE-LEVEL CONTENT AREA
   ══════════════════════════════════════════════════════════════════════════════ */
body.tedqu-futuristic #content,
body.tedqu-futuristic .site-content {
  background: var(--tq-bg-dark);
}

/* Ensure page-content margins account for fixed header */
body.tedqu-futuristic #page {
  padding-top: 0;
}

/* WordPress admin bar offset */
body.admin-bar.tedqu-futuristic #masthead {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar.tedqu-futuristic #masthead {
    top: 46px;
  }
}

/* ── Suppress EduAll page header / breadcrumb on all inner pages ──────────── */
/* The parent theme renders a "page hero" section with title + breadcrumb that
   we never want to show on Elementor-built inner pages.                        */
.page-template-elementor_full_width .breadcrumb-wrap,
.page-template-elementor_full_width .breadcrumb-area,
.page-template-elementor_full_width .page-header-area,
.page-template-elementor_full_width .site-breadcrumb,
.page-template-elementor_full_width .page-header,
.page-template-elementor_full_width .eduall-breadcrumb,
.page-template-elementor_full_width [class*="breadcrumb"],
.page-template-elementor_full_width [class*="page-header"],
.elementor-page .breadcrumb-wrap,
.elementor-page .breadcrumb-area,
.elementor-page .page-header-area,
.elementor-page .site-breadcrumb,
.elementor-page .eduall-breadcrumb,
.elementor-page [class*="breadcrumb"]:not(.tq-breadcrumb),
.elementor-page [class*="page-header"] {
  display: none !important;
}

/* Ensure the Elementor content starts right below the fixed nav,
   with no extra gap from the hidden EduAll header area              */
.page-template-elementor_full_width .elementor,
.elementor-page .elementor {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Hide EduAll's h2.page-title rendered above Elementor content */
.elementor-page h2.page-title,
.page-template-elementor_full_width h2.page-title,
.elementor-page .entry-header,
.page-template-elementor_full_width .entry-header {
  display: none !important;
}
