@font-face {
  font-family: "Cairo";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/cairo-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC;
}

@font-face {
  font-family: "Cairo";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/cairo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122;
}

@font-face {
  font-family: "Alexandria";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/alexandria-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC;
}

@font-face {
  font-family: "Alexandria";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/alexandria-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122;
}

:root {
  --gt-primary: #ffb606;
  --gt-primary-rgb: 255, 182, 6;
  --gt-primary-hover: #e5a305;
  --gt-primary-hover-rgb: 229, 163, 5;
  --gt-primary-text: #ffb606;
  --gt-secondary: #442e66;
  --gt-secondary-rgb: 68, 46, 102;
  --gt-secondary-hover: #362452;
  --gt-secondary-hover-rgb: 54, 36, 82;
  --gt-bg: #f9fafb;
  --gt-surface: #ffffff;
  --gt-surface-rgb: 255, 255, 255;
  --gt-surface-soft: #f4f1f8;
  --gt-surface-soft-rgb: 244, 241, 248;
  --gt-text: #211a31;
  --gt-heading: #140d20;
  --gt-heading-rgb: 20, 13, 32;
  --gt-muted: #5f566d;
  --gt-muted-soft: #756b84;
  --gt-border: #e7dfef;
  --gt-dark-bg: #121212;
  --gt-dark-surface: #1b1624;
  --gt-header-bg: rgba(var(--gt-surface-rgb), 0.92);
  --gt-accent-soft: rgba(var(--gt-primary-rgb), 0.10);
  --gt-shadow: 0 20px 35px rgba(var(--gt-heading-rgb), 0.09);
  --gt-radius-xl: 24px;
  --gt-radius-lg: 16px;
  --gt-radius-md: 12px;
  color-scheme: light;
}

html[data-theme="dark"] {
  --gt-bg: var(--gt-dark-bg);
  --gt-surface: var(--gt-dark-surface);
  --gt-surface-rgb: 27, 22, 36;
  --gt-surface-soft: #241b33;
  --gt-surface-soft-rgb: 36, 27, 51;
  --gt-text: #f2ecf8;
  --gt-heading: #ffffff;
  --gt-heading-rgb: 255, 255, 255;
  --gt-muted: #cfc4dc;
  --gt-muted-soft: #aa9abf;
  --gt-primary-text: #ffb606;
  --gt-border: #3a2d4e;
  --gt-header-bg: rgba(var(--gt-surface-rgb), 0.92);
  --gt-shadow: 0 20px 35px rgba(0, 0, 0, 0.28);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--gt-bg);
  color: var(--gt-text);
  font-family: "Cairo", Tahoma, Arial, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.admin-bar .gt-header {
  top: 32px;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

button,
input,
textarea {
  font: inherit;
}

.gt-skip-link {
  position: fixed;
  top: 10px;
  inset-inline-start: 10px;
  z-index: 999;
  transform: translateY(-160%);
  background: var(--gt-secondary);
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
}

.gt-skip-link:focus {
  transform: translateY(0);
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.gt-honeypot {
  position: absolute;
  inset-inline-start: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.gt-container {
  width: min(100% - 32px, 1280px);
  margin-inline: auto;
}

.gt-container--narrow {
  width: min(100% - 32px, 896px);
}

.gt-main {
  min-height: 60vh;
}

.gt-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gt-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gt-secondary);
  font-family: "Alexandria", "Cairo", sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
}

html[data-theme="dark"] .gt-logo {
  color: var(--gt-primary);
}

.gt-logo__mark {
  width: 32px;
  height: 32px;
  color: var(--gt-primary);
}

.gt-logo__mark svg,
.gt-stat__icon svg,
.gt-badge svg,
.gt-btn svg,
.gt-track-facts svg,
.gt-course-card__meta svg,
.gt-contact svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gt-logo__mark svg {
  fill: currentColor;
  stroke: none;
}

.gt-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: var(--gt-header-bg);
  border-bottom: 1px solid var(--gt-border);
  box-shadow: 0 1px 2px rgba(var(--gt-heading-rgb), 0.05);
  backdrop-filter: blur(12px);
  overflow: visible;
}

html[data-theme="dark"] .gt-header {
  background: var(--gt-header-bg);
  border-color: var(--gt-border);
}

.gt-header__inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}

.gt-nav__list {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-weight: 700;
}

.gt-nav__list li {
  position: relative;
}

.gt-nav__list a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gt-muted);
  transition: color 180ms ease;
}

.gt-nav__list a:hover,
.gt-nav__list a.is-active {
  color: var(--gt-primary);
}

.gt-nav__chevron {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 180ms ease;
}

.gt-nav-item--has-submenu:hover .gt-nav__chevron,
.gt-nav-item--has-submenu:focus-within .gt-nav__chevron {
  transform: rotate(180deg);
}

.gt-nav-submenu,
.gt-nav__list .sub-menu {
  position: absolute;
  top: calc(100% + 18px);
  right: 50%;
  z-index: 60;
  display: grid;
  min-width: 260px;
  max-width: min(360px, calc(100vw - 32px));
  gap: 4px;
  margin: 0;
  padding: 12px;
  list-style: none;
  border: 1px solid var(--gt-border);
  border-radius: 12px;
  background: var(--gt-surface);
  box-shadow: 0 18px 40px rgba(var(--gt-heading-rgb), 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translate(50%, 8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.gt-nav-submenu::before,
.gt-nav__list .sub-menu::before {
  content: "";
  position: absolute;
  right: 50%;
  bottom: 100%;
  width: 18px;
  height: 18px;
  border-top: 1px solid var(--gt-border);
  border-right: 1px solid var(--gt-border);
  background: var(--gt-surface);
  transform: translate(50%, 9px) rotate(-45deg);
}

.gt-nav-item--has-submenu:hover .gt-nav-submenu,
.gt-nav-item--has-submenu:focus-within .gt-nav-submenu,
.gt-nav__list .menu-item-has-children:hover > .sub-menu,
.gt-nav__list .menu-item-has-children:focus-within > .sub-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(50%, 0);
}

.gt-nav-submenu a,
.gt-nav__list .sub-menu a {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--gt-muted);
  line-height: 1.4;
}

.gt-nav-submenu a:hover,
.gt-nav-submenu a.is-active,
.gt-nav__list .sub-menu a:hover,
.gt-nav__list .sub-menu a.is-active {
  background: rgba(var(--gt-primary-rgb), 0.13);
  color: var(--gt-primary);
}

.gt-header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.gt-icon-btn,
.gt-menu-toggle {
  border: 0;
  background: transparent;
  color: var(--gt-muted-soft);
  cursor: pointer;
}

.gt-icon-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  transition: background 180ms ease, color 180ms ease;
}

.gt-icon-btn:hover {
  background: var(--gt-surface-soft);
  color: var(--gt-secondary);
}

html[data-theme="dark"] .gt-icon-btn:hover {
  color: var(--gt-primary);
}

.gt-icon-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.gt-icon-btn__sun {
  display: none;
}

html[data-theme="dark"] .gt-icon-btn__sun {
  display: block;
}

html[data-theme="dark"] .gt-icon-btn__moon {
  display: none;
}

.gt-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
}

.gt-menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
  border-radius: 999px;
}

.gt-mobile-menu {
  border-top: 1px solid var(--gt-border);
  background: var(--gt-surface);
  padding: 8px 16px 14px;
}

.gt-mobile-menu__list,
.gt-mobile-menu__list .sub-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.gt-mobile-menu__list .sub-menu {
  margin-inline-start: 18px;
  padding-inline-start: 18px;
  border-inline-start: 2px solid var(--gt-border);
}

.gt-mobile-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--gt-muted);
  font-weight: 700;
}

.gt-mobile-menu a:hover,
.gt-mobile-menu a.is-active {
  background: var(--gt-surface-soft);
  color: var(--gt-primary);
}

.gt-mobile-menu__subitem {
  margin-inline-start: 18px;
  padding-inline-start: 18px !important;
  border-inline-start: 2px solid var(--gt-border);
  font-size: 0.94rem;
}

.gt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 24px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 800;
  line-height: 1.2;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.gt-btn:hover {
  transform: translateY(-1px);
}

.gt-btn svg {
  width: 20px;
  height: 20px;
  transform: rotate(180deg);
}

.gt-btn--primary {
  background: var(--gt-primary);
  color: var(--gt-secondary);
  box-shadow: 0 14px 24px rgba(var(--gt-primary-rgb), 0.22);
}

.gt-btn--primary:hover {
  background: var(--gt-primary-hover);
}

.gt-btn--secondary {
  background: var(--gt-secondary);
  color: #fff;
  border-radius: 10px;
}

.gt-btn--secondary:hover {
  background: var(--gt-secondary-hover);
}

.gt-btn--outline {
  background: var(--gt-surface);
  color: var(--gt-secondary);
  border-color: var(--gt-border);
}

html[data-theme="dark"] .gt-btn--outline {
  color: #fff;
}

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

.gt-hero {
  position: relative;
  overflow: hidden;
  padding: 136px 0 96px;
}

.gt-hero__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 92% 0%, rgba(var(--gt-primary-rgb), 0.08), transparent 28%),
    radial-gradient(circle at 0% 95%, rgba(var(--gt-secondary-rgb), 0.07), transparent 26%);
  pointer-events: none;
}

.gt-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 1fr);
  align-items: center;
  gap: 48px;
}

.gt-hero__content {
  text-align: start;
}

.gt-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 800;
}

html[data-theme="dark"] .gt-badge {
  background: rgba(30, 64, 175, 0.28);
  color: #93c5fd;
}

.gt-badge svg {
  width: 20px;
  height: 20px;
}

.gt-hero h1 {
  margin: 0 0 24px;
  color: var(--gt-secondary);
  font-family: "Alexandria", "Cairo", sans-serif;
  font-size: clamp(2.45rem, 4.8vw, 4rem);
  font-weight: 800;
  line-height: 1.22;
}

html[data-theme="dark"] .gt-hero h1 {
  color: #fff;
}

.gt-hero h1 span {
  color: var(--gt-primary-text);
}

.gt-hero p {
  max-width: 680px;
  margin: 0 0 32px;
  color: var(--gt-muted);
  font-size: clamp(1.08rem, 2vw, 1.25rem);
}

.gt-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.gt-hero__visual {
  position: relative;
  min-height: 430px;
}

.gt-hero__image {
  position: relative;
  z-index: 1;
  height: min(56vw, 500px);
  min-height: 340px;
  overflow: hidden;
  border: 4px solid var(--gt-surface);
  border-radius: 24px;
  box-shadow: var(--gt-shadow);
}

.gt-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.46), transparent 54%);
}

.gt-hero__video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}

.gt-floating-card {
  position: absolute;
  z-index: 2;
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  column-gap: 14px;
  min-width: 210px;
  padding: 14px;
  border: 1px solid var(--gt-border);
  border-radius: 18px;
  background: var(--gt-surface);
  box-shadow: var(--gt-shadow);
  animation: gt-float 4s ease-in-out infinite;
}

.gt-floating-card--one {
  right: -24px;
  bottom: -24px;
}

.gt-floating-card--two {
  left: -24px;
  top: -24px;
  animation-delay: 2s;
}

.gt-floating-card__icon {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
}

.gt-floating-card__icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.gt-floating-card__icon--green {
  background: #dcfce7;
  color: #16a34a;
}

.gt-floating-card__icon--orange {
  background: #ffedd5;
  color: #ea580c;
}

.gt-floating-card strong {
  color: var(--gt-heading);
  font-weight: 800;
}

.gt-floating-card > span:last-child {
  color: var(--gt-muted-soft);
  font-size: 0.82rem;
}

@keyframes gt-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

.gt-stats {
  padding: 48px 0;
  background: var(--gt-surface);
  border-block: 1px solid var(--gt-border);
}

.gt-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.gt-stat {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
}

.gt-stat__icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(var(--gt-primary-rgb), 0.12);
  color: var(--gt-primary);
}

.gt-stat__icon--briefcase {
  background: rgba(var(--gt-secondary-rgb), 0.10);
  color: var(--gt-secondary);
}

.gt-stat__icon--bolt {
  background: #dbeafe;
  color: #2563eb;
}

.gt-stat__icon--users {
  background: #dcfce7;
  color: #16a34a;
}

html[data-theme="dark"] .gt-stat__icon--briefcase {
  color: var(--gt-primary);
}

.gt-stat__icon svg {
  width: 32px;
  height: 32px;
}

.gt-stat h2 {
  margin: 0 0 4px;
  color: var(--gt-secondary);
  font-size: 1.08rem;
}

html[data-theme="dark"] .gt-stat h2 {
  color: #fff;
}

.gt-stat p {
  margin: 0;
  color: var(--gt-muted);
  font-size: 0.94rem;
}

.gt-section {
  padding: 80px 0;
  background: var(--gt-surface);
  scroll-margin-top: 112px;
}

.gt-section--muted {
  background: var(--gt-bg);
  border-block: 1px solid var(--gt-border);
}

.gt-section--accent {
  background: var(--gt-surface);
  border-block: 1px solid var(--gt-border);
}

html[data-theme="dark"] .gt-section--accent {
  background: var(--gt-surface);
  border-color: var(--gt-border);
}

.gt-about {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 48px;
}

.gt-about h2 {
  max-width: 780px;
  margin: 0 auto 18px;
  color: var(--gt-secondary);
  font-family: "Alexandria", "Cairo", sans-serif;
  font-size: clamp(2rem, 3vw, 2.5rem);
  line-height: 1.35;
}

html[data-theme="dark"] .gt-about h2 {
  color: #fff;
}

.gt-about p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--gt-muted);
  font-size: 1.08rem;
}

.gt-about__stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  width: 100%;
}

.gt-about__stats > div {
  flex: 1;
  min-width: 200px;
  max-width: 280px;
  min-height: 142px;
  padding: 24px;
  border: 1px solid var(--gt-border);
  border-radius: 16px;
  background: var(--gt-bg);
  box-shadow: 0 4px 6px -1px rgba(var(--gt-heading-rgb), 0.05), 0 2px 4px -1px rgba(var(--gt-heading-rgb), 0.03);
}

html[data-theme="dark"] .gt-about__stats > div {
  background: var(--gt-surface);
  border-color: var(--gt-border);
}

.gt-about__stats strong {
  display: block;
  margin-bottom: 6px;
  color: var(--gt-primary-text);
  font-family: "Alexandria", "Cairo", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
}

.gt-about__stats span {
  display: block;
  color: var(--gt-heading);
  font-weight: 800;
}

.gt-section-heading {
  margin-bottom: 48px;
}

.gt-section-heading--center {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}

.gt-section-heading--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.gt-section-heading > span,
.gt-section-heading--split span,
.gt-eyebrow {
  display: block;
  margin-bottom: 8px;
  color: var(--gt-primary-text);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0;
  text-align: center;
  width: 100%;
}

.gt-section-heading h2 {
  margin: 0 0 16px;
  color: var(--gt-secondary);
  font-family: "Alexandria", "Cairo", sans-serif;
  font-size: clamp(2rem, 3vw, 2.5rem);
  line-height: 1.35;
}

html[data-theme="dark"] .gt-section-heading h2 {
  color: #fff;
}

.gt-section-heading p {
  margin: 0;
  color: var(--gt-muted);
  font-size: 1.08rem;
}

.gt-section-heading--split a {
  display: inline-flex;
  align-items: center;
  color: var(--gt-primary-text);
  font-weight: 800;
}

.gt-track-explorer {
  overflow: hidden;
  border: 1px solid var(--gt-border);
  border-radius: var(--gt-radius-xl);
  background: var(--gt-surface);
  box-shadow: var(--gt-shadow);
}

.gt-track-tabs {
  display: flex;
  overflow-x: auto;
  border-bottom: 1px solid var(--gt-border);
  scrollbar-width: none;
}

.gt-track-tabs::-webkit-scrollbar {
  display: none;
}

.gt-track-tab {
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--gt-muted-soft);
  cursor: pointer;
  padding: 20px 32px;
  font-weight: 800;
  white-space: nowrap;
}

.gt-track-tab:hover,
.gt-track-tab.is-active {
  color: var(--gt-primary-text);
}

.gt-track-tab.is-active {
  border-bottom-color: var(--gt-primary);
  background: var(--gt-surface-soft);
}

.gt-track-panel {
  display: none;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 1fr);
  align-items: center;
  gap: 48px;
  padding: 48px;
}

.gt-track-panel.is-active {
  display: grid;
}

.gt-track-panel__content {
  text-align: center;
}

.gt-track-panel h3 {
  margin: 0 0 16px;
  color: var(--gt-secondary);
  font-family: "Alexandria", "Cairo", sans-serif;
  font-size: 2rem;
  line-height: 1.35;
}

html[data-theme="dark"] .gt-track-panel h3 {
  color: #fff;
}

.gt-track-panel p {
  margin: 0 0 28px;
  color: var(--gt-muted);
}

.gt-track-facts {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.gt-track-facts > div {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: right;
}

.gt-track-facts span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--gt-surface-soft);
  color: var(--gt-secondary);
}

html[data-theme="dark"] .gt-track-facts span {
  color: var(--gt-primary);
}

.gt-track-facts svg {
  width: 24px;
  height: 24px;
}

.gt-track-facts small {
  display: block;
  color: var(--gt-muted-soft);
}

.gt-track-facts strong {
  color: var(--gt-heading);
}

.gt-track-panel__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.gt-track-panel__media {
  position: relative;
  overflow: hidden;
  min-height: 350px;
  border-radius: 18px;
  box-shadow: 0 12px 26px rgba(var(--gt-heading-rgb), 0.14);
}

.gt-track-panel__caption {
  position: absolute;
  inset: auto 0 0;
  padding: 24px;
  color: #fff;
  background: linear-gradient(to top, rgba(var(--gt-secondary-rgb), 0.82), transparent);
}

.gt-track-panel__caption strong,
.gt-track-panel__caption span {
  display: block;
}

/* Premium Flowing Fluid Gradient and Wavy Transition for all Hero Sections */
.gt-page-hero,
.gt-track-hero,
.gt-profile-hero,
.gt-course-single-hero {
  position: relative;
  overflow: hidden;
  padding: 132px 0 112px; /* Increased bottom padding to accommodate the smooth wave divider */
  background: linear-gradient(135deg, #1b0f30 0%, #442e66 50%, #682e70 100%);
  background-size: 400% 400%;
  animation: gt-fluid-flow 15s ease infinite;
  color: #fff;
  z-index: 1;
}

/* Subtle glowing organic mesh blobs in the background */
.gt-page-hero::before,
.gt-track-hero::before,
.gt-profile-hero::before,
.gt-course-single-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 15% 20%, rgba(255, 182, 6, 0.15), transparent 40%),
    radial-gradient(circle at 85% 75%, rgba(139, 92, 246, 0.35), transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.25), transparent 60%);
  opacity: 0.85;
  pointer-events: none;
  z-index: 0;
}

/* Elegant seamless wavy divider transition to the next section */
.gt-page-hero::after,
.gt-track-hero::after,
.gt-profile-hero::after,
.gt-course-single-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 48px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0,32L120,42.7C240,53,480,75,720,74.7C960,75,1200,53,1320,42.7L1440,32L1440,120L1320,120C1200,120,960,120,720,120C480,120,240,120,120,120L0,120Z' fill='%23f9fafb'/%3E%3C/svg%3E");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 2;
  transition: background-image 0.3s ease;
}

/* Dark mode adjustment for the wavy divider to match the dark background */
html[data-theme="dark"] .gt-page-hero::after,
html[data-theme="dark"] .gt-track-hero::after,
html[data-theme="dark"] .gt-profile-hero::after,
html[data-theme="dark"] .gt-course-single-hero::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0,32L120,42.7C240,53,480,75,720,74.7C960,75,1200,53,1320,42.7L1440,32L1440,120L1320,120C1200,120,960,120,720,120C480,120,240,120,120,120L0,120Z' fill='%23121212'/%3E%3C/svg%3E");
}

/* Ensure the text container resides above background decorations */
.gt-page-hero .gt-container,
.gt-track-hero .gt-container,
.gt-profile-hero .gt-container,
.gt-course-single-hero .gt-container {
  position: relative;
  z-index: 3;
}

@keyframes gt-fluid-flow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.gt-page-hero h1 {
  margin: 12px 0 12px;
  font-family: "Alexandria", "Cairo", sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
}

.gt-page-hero p {
  max-width: 720px;
  margin: 0;
  color: #d1d5db;
  font-size: 1.08rem;
}

.gt-tracks-list {
  display: grid;
  gap: 28px;
}

.gt-track-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.85fr);
  gap: 32px;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--gt-border);
  border-radius: var(--gt-radius-xl);
  background: var(--gt-surface);
  box-shadow: var(--gt-shadow);
  padding: 28px;
}

.gt-track-card h3 {
  margin: 0 0 12px;
  color: var(--gt-secondary);
  font-family: "Alexandria", "Cairo", sans-serif;
  font-size: 1.8rem;
}

.gt-track-card__status {
  display: inline-flex;
  width: fit-content;
  margin-inline-start: 10px;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(var(--gt-primary-rgb), 0.18);
  color: var(--gt-secondary);
  font-size: 0.78rem;
  font-weight: 900;
}

html[data-theme="dark"] .gt-track-card h3 {
  color: #fff;
}

.gt-track-card p {
  margin: 0 0 20px;
  color: var(--gt-muted);
}

.gt-track-card__media {
  overflow: hidden;
  min-height: 280px;
  border-radius: 18px;
}

.gt-meta-list,
.gt-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.gt-meta-list {
  margin-bottom: 20px;
}

.gt-meta-list span {
  border-radius: 999px;
  background: var(--gt-surface-soft);
  color: var(--gt-muted);
  padding: 6px 12px;
  font-size: 0.9rem;
  font-weight: 800;
}

.gt-btn--ghost {
  background: transparent;
  color: var(--gt-secondary);
  border-color: var(--gt-border);
  border-radius: 10px;
}

html[data-theme="dark"] .gt-btn--ghost {
  color: #fff;
}

.gt-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.gt-course-card,
.gt-testimonial {
  overflow: hidden;
  border: 1px solid var(--gt-border);
  border-radius: 18px;
  background: var(--gt-bg);
  box-shadow: 0 1px 2px rgba(var(--gt-heading-rgb), 0.04);
  transition: box-shadow 180ms ease, transform 180ms ease;
}

html[data-theme="dark"] .gt-course-card {
  background: var(--gt-surface-soft);
}

.gt-course-card:hover,
.gt-testimonial:hover {
  transform: translateY(-2px);
  box-shadow: var(--gt-shadow);
}

.gt-course-card__image {
  position: relative;
  display: block;
  height: 224px;
  overflow: hidden;
}

.gt-course-card__image img {
  transition: transform 500ms ease;
}

.gt-course-card:hover .gt-course-card__image img {
  transform: scale(1.05);
}

.gt-course-card__image span {
  position: absolute;
  top: 16px;
  right: 16px;
  border-radius: 999px;
  background: var(--gt-primary);
  color: var(--gt-secondary);
  padding: 4px 12px;
  font-size: 0.78rem;
  font-weight: 800;
}

.gt-course-card__body {
  padding: 24px;
}

.gt-course-card h3 {
  min-height: 64px;
  margin: 0 0 12px;
  color: var(--gt-secondary);
  font-size: 1.25rem;
  line-height: 1.5;
}

html[data-theme="dark"] .gt-course-card h3 {
  color: #fff;
}

.gt-course-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--gt-muted-soft);
  font-size: 0.92rem;
  margin-bottom: 24px;
}

.gt-course-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.gt-course-card__meta svg {
  width: 16px;
  height: 16px;
}

.gt-course-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--gt-border);
}

.gt-course-card__footer strong {
  color: var(--gt-primary-text);
  font-size: 1.1rem;
}

.gt-course-card__footer a {
  color: var(--gt-secondary);
  font-weight: 800;
}

html[data-theme="dark"] .gt-course-card__footer a {
  color: #fff;
}

.gt-testimonial {
  position: relative;
  padding: 32px;
  background: var(--gt-surface);
}

.gt-quote-mark {
  position: absolute;
  top: 18px;
  left: 24px;
  color: var(--gt-surface-soft);
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 1;
}

.gt-testimonial p,
.gt-testimonial__text {
  position: relative;
  z-index: 1;
  margin: 0 0 24px;
  color: var(--gt-muted);
  font-style: italic;
}

.gt-testimonial__person {
  display: flex;
  align-items: center;
  gap: 16px;
}

.gt-testimonial__person img,
.gt-testimonial__person .wp-post-image {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border-radius: 999px;
  object-fit: cover;
}

.gt-avatar-placeholder {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: var(--gt-surface-soft);
}

.gt-testimonial__person strong,
.gt-testimonial__person span {
  display: block;
}

.gt-testimonial__person strong {
  color: var(--gt-heading);
}

.gt-testimonial__person span {
  color: var(--gt-primary-text);
  font-size: 0.92rem;
  font-weight: 800;
}

.gt-faq-list {
  display: grid;
  gap: 16px;
}

.gt-faq {
  overflow: hidden;
  border: 1px solid var(--gt-border);
  border-radius: 14px;
  background: var(--gt-bg);
}

html[data-theme="dark"] .gt-faq {
  background: var(--gt-surface-soft);
}

.gt-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  padding: 24px;
  color: var(--gt-heading);
  font-weight: 800;
  list-style: none;
}

.gt-faq summary::-webkit-details-marker {
  display: none;
}

.gt-faq summary svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--gt-primary);
  stroke-width: 2;
  transition: transform 180ms ease;
}

.gt-faq[open] summary svg {
  transform: rotate(180deg);
}

.gt-faq div {
  padding: 0 24px 24px;
  color: var(--gt-muted);
}

.gt-faq div p {
  margin: 0;
}

.gt-contact {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  overflow: hidden;
  border: 1px solid var(--gt-border);
  border-radius: var(--gt-radius-xl);
  background: var(--gt-surface);
  box-shadow: var(--gt-shadow);
}

.gt-contact__info {
  background: var(--gt-secondary);
  color: #fff;
  padding: 48px;
}

.gt-contact__info h2,
.gt-contact__form h2 {
  margin: 0 0 28px;
  font-family: "Alexandria", "Cairo", sans-serif;
  font-size: 1.55rem;
}

.gt-contact__info ul {
  display: grid;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gt-contact__info li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.gt-contact__info i {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  color: var(--gt-primary);
  font-style: normal;
}

.gt-contact__info svg {
  width: 24px;
  height: 24px;
}

.gt-contact__info span {
  display: block;
  color: #d1d5db;
  font-size: 0.9rem;
}

.gt-contact__info a,
.gt-contact__info li div {
  font-size: 1.06rem;
  font-weight: 800;
}

.gt-contact__social {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 48px;
}

.gt-contact__social a {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  color: #fff;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.gt-contact__social a:hover {
  transform: translateY(-2px);
  background: var(--gt-primary);
  color: var(--gt-secondary);
}

.gt-social-link svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  stroke: none;
}

.gt-contact__map {
  position: relative;
  min-height: 520px;
  background: var(--gt-surface);
}

.gt-contact__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 520px;
  border: 0;
}

.gt-contact__map-link {
  position: absolute;
  inset-inline: 24px;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--gt-secondary);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 12px 22px rgba(var(--gt-heading-rgb), 0.18);
  transition: transform 180ms ease, background 180ms ease;
}

.gt-contact__map-link:hover {
  transform: translateY(-2px);
  background: var(--gt-primary);
  color: var(--gt-secondary);
}

.gt-contact__form,
.gt-contact__map {
  padding: 0;
}

.gt-form,
.wpcf7-form {
  display: grid;
  gap: 20px;
}

.gt-form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.gt-form label,
.wpcf7-form label {
  display: grid;
  gap: 8px;
  color: var(--gt-muted);
  font-weight: 700;
}

.gt-form input,
.gt-form textarea,
.gt-newsletter input,
.wpcf7-form input,
.wpcf7-form textarea {
  width: 100%;
  border: 1px solid var(--gt-border);
  border-radius: 10px;
  background: var(--gt-bg);
  color: var(--gt-heading);
  outline: none;
  padding: 12px 16px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.gt-form textarea,
.wpcf7-form textarea {
  resize: vertical;
}

.gt-form input:focus,
.gt-form textarea:focus,
.gt-newsletter input:focus,
.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
  border-color: var(--gt-primary);
  box-shadow: 0 0 0 3px rgba(var(--gt-primary-rgb), 0.20);
}

.gt-form .gt-btn {
  width: 100%;
  border-radius: 10px;
  min-height: 56px;
}

.gt-footer {
  background: var(--gt-surface);
  border-top: 1px solid var(--gt-border);
  padding: 64px 0 32px;
}

.gt-footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.gt-footer p {
  color: var(--gt-muted);
}

.gt-footer-app-download {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding: 12px 14px;
  border: 1px solid rgba(var(--gt-primary-rgb), 0.45);
  border-radius: 8px;
  background: var(--gt-accent-soft);
  color: var(--gt-secondary);
  font-weight: 800;
}

.gt-footer-app-download:hover,
.gt-footer-app-download:focus {
  color: var(--gt-secondary);
  border-color: var(--gt-primary);
  transform: translateY(-1px);
}

.gt-footer-app-download__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--gt-primary);
  color: var(--gt-secondary);
  flex: 0 0 auto;
}

.gt-footer-app-download__icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gt-footer-app-download span:last-child {
  display: grid;
  gap: 2px;
}

.gt-footer-app-download small {
  color: var(--gt-muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.gt-footer h2 {
  display: inline-block;
  margin: 0 0 24px;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--gt-primary);
  color: var(--gt-heading);
  font-size: 1.08rem;
}

.gt-footer__map {
  margin-bottom: 48px;
}

.gt-footer__map-frame {
  overflow: hidden;
  min-height: 280px;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--gt-border);
  border-radius: 8px;
  background: var(--gt-surface-soft);
}

.gt-footer__map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.gt-footer__links {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gt-footer__links a,
.gt-footer__links li {
  color: var(--gt-muted);
}

.gt-footer__links a:hover,
.gt-footer__bottom a:hover {
  color: var(--gt-primary);
}

.gt-newsletter {
  display: flex;
  align-items: stretch;
}

.gt-newsletter input {
  border-radius: 0 10px 10px 0;
}

.gt-newsletter button {
  border: 0;
  border-radius: 10px 0 0 10px;
  background: var(--gt-primary);
  color: var(--gt-secondary);
  cursor: pointer;
  font-weight: 800;
  padding: 0 16px;
}

.gt-newsletter button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: rotate(180deg);
}

.gt-newsletter__message {
  margin: 0 0 10px;
  font-size: 0.9rem;
  font-weight: 800;
}

.gt-newsletter__message--success {
  color: #1a7f37;
}

.gt-newsletter__message--error {
  color: #b42318;
}

.gt-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 32px;
  border-top: 1px solid var(--gt-border);
  color: var(--gt-muted-soft);
  font-size: 0.92rem;
}

.gt-footer__bottom p {
  margin: 0;
}

.gt-footer__bottom div {
  display: flex;
  gap: 18px;
}

.gt-floating-actions {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  display: grid;
  gap: 12px;
}

.gt-floating-actions a,
.gt-floating-actions button {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(var(--gt-heading-rgb), 0.16);
  transition: transform 180ms ease, opacity 180ms ease, visibility 180ms ease, background 180ms ease;
}

.gt-floating-actions a:hover,
.gt-floating-actions button:hover {
  transform: scale(1.08);
}

.gt-whatsapp {
  background: #22c55e;
}

.gt-scroll-top {
  visibility: hidden;
  opacity: 0;
  background: var(--gt-heading);
}

.gt-floating-actions svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.gt-scroll-top svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gt-scroll-top.is-visible {
  visibility: visible;
  opacity: 1;
}

.gt-scroll-top:hover {
  background: var(--gt-primary);
  color: var(--gt-secondary);
}

/* .gt-track-hero styles have been consolidated into the shared premium hero class in lines 1050+ */

.gt-track-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  align-items: center;
  gap: 48px;
}

.gt-back-link {
  display: inline-block;
  margin-bottom: 18px;
  color: #d1d5db;
  font-weight: 700;
}

.gt-track-hero h1 {
  max-width: 720px;
  margin: 12px 0 20px;
  font-family: "Alexandria", "Cairo", sans-serif;
  font-size: clamp(2.4rem, 4.2vw, 3.4rem);
  line-height: 1.25;
}

.gt-track-hero p {
  max-width: 640px;
  margin: 0 0 28px;
  color: #d1d5db;
  font-size: 1.1rem;
}

.gt-track-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.gt-track-hero__meta span {
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.10);
  padding: 8px 14px;
  color: #fff;
  font-weight: 800;
}

.gt-track-hero__image {
  overflow: hidden;
  height: 320px;
  border: 4px solid rgba(255, 255, 255, 0.10);
  border-radius: 18px;
  box-shadow: var(--gt-shadow);
}

.gt-track-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 0.9fr);
  gap: 48px;
  align-items: start;
}

.gt-track-main h2 {
  display: inline-block;
  margin: 0 0 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--gt-primary);
  color: var(--gt-secondary);
  font-family: "Alexandria", "Cairo", sans-serif;
  font-size: 2rem;
}

html[data-theme="dark"] .gt-track-main h2 {
  color: #fff;
}

.gt-content {
  margin-bottom: 44px;
  color: var(--gt-muted);
  font-size: 1.05rem;
}

.gt-track-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 44px;
}

.gt-track-highlights section {
  border: 1px solid var(--gt-border);
  border-radius: 16px;
  background: var(--gt-surface);
  padding: 24px;
}

.gt-track-highlights h2 {
  font-size: 1.35rem;
}

.gt-track-highlights ul {
  margin: 0;
  padding-inline-start: 20px;
  color: var(--gt-muted);
}

.gt-track-highlights li + li {
  margin-top: 10px;
}

.gt-curriculum {
  display: grid;
  gap: 20px;
  margin-bottom: 44px;
}

.gt-term,
.gt-info-box,
.gt-cta-box {
  border: 1px solid var(--gt-border);
  border-radius: 16px;
  background: var(--gt-surface);
  padding: 24px;
}

.gt-term__head {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 12px;
}

.gt-term__head > span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--gt-primary);
  color: var(--gt-secondary);
  font-weight: 900;
}

.gt-term h3,
.gt-term p {
  margin: 0;
}

.gt-term__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.gt-term ul {
  margin: 0;
  padding-inline-start: 20px;
  color: var(--gt-muted);
}

.gt-track-sidebar {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 20px;
}

.gt-info-box h2,
.gt-cta-box h2 {
  margin: 0 0 16px;
  color: var(--gt-heading);
}

.gt-info-box dl {
  display: grid;
  gap: 14px;
  margin: 0;
}

.gt-info-box dl div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gt-border);
}

.gt-info-box dt {
  color: var(--gt-muted-soft);
}

.gt-info-box dd {
  margin: 0;
  color: var(--gt-heading);
  font-weight: 800;
}

.gt-cta-box {
  background: var(--gt-secondary);
  color: #fff;
}

.gt-cta-box p {
  color: #d1d5db;
}

.gt-cta-box .gt-btn {
  width: 100%;
  background: var(--gt-primary);
  color: var(--gt-secondary);
}

.gt-empty {
  color: var(--gt-muted);
}

@media (max-width: 1024px) {
  .gt-nav {
    display: none;
  }

  .gt-header--logo-image .gt-header__actions {
    margin-inline-start: auto;
  }

  .gt-menu-toggle {
    display: block;
  }

  .gt-header__cta {
    display: none;
  }

  .gt-hero__grid,
  .gt-track-panel,
  .gt-track-card,
  .gt-contact,
  .gt-track-hero__grid,
  .gt-track-layout {
    grid-template-columns: 1fr;
  }

  .gt-hero__visual {
    min-height: auto;
  }

  .gt-stats__grid,
  .gt-card-grid,
  .gt-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gt-track-sidebar {
    position: static;
  }
}

@media (max-width: 782px) {
  body.admin-bar .gt-header {
    top: 46px;
  }
}

@media (max-width: 720px) {
  .gt-container,
  .gt-container--narrow {
    width: min(100% - 24px, 1280px);
  }

  .gt-header__inner {
    min-height: 72px;
  }

  .gt-hero {
    padding: 112px 0 64px;
  }

  .gt-hero__grid {
    gap: 32px;
  }

  .gt-hero__image {
    min-height: 270px;
    height: 72vw;
    border-radius: 18px;
  }

  .gt-floating-card {
    position: relative;
    inset: auto;
    min-width: 0;
    width: calc(50% - 6px);
    display: inline-grid;
    margin-top: 12px;
    vertical-align: top;
    animation: none;
  }

  .gt-floating-card--one {
    margin-inline-end: 8px;
  }

  .gt-section,
  .gt-stats {
    padding: 56px 0;
  }

  .gt-stats__grid,
  .gt-card-grid,
  .gt-footer__grid,
  .gt-track-highlights,
  .gt-term__cols {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .gt-section-heading--split {
    align-items: flex-start;
    flex-direction: column;
  }

  .gt-track-panel {
    padding: 28px 20px;
  }

  .gt-track-panel__media {
    min-height: 260px;
  }

  .gt-contact__info,
  .gt-contact__form {
    padding: 28px 20px;
  }

  .gt-contact__map,
  .gt-contact__map iframe {
    min-height: 360px;
  }

  .gt-contact__map-link {
    inset-inline: 16px;
    bottom: 16px;
  }

  .gt-form__row {
    grid-template-columns: 1fr;
  }

  .gt-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .gt-footer__map-frame {
    min-height: 220px;
    aspect-ratio: 4 / 3;
  }

  .gt-floating-actions {
    right: 16px;
    bottom: 16px;
  }

.gt-floating-actions a,
.gt-floating-actions button {
  width: 50px;
  height: 50px;
}
}

.gt-logo__image,
.gt-logo img {
  display: block;
  width: auto;
  max-width: 180px;
  max-height: 46px;
  object-fit: contain;
  background: transparent;
  border: 0;
  box-shadow: none;
  filter: none;
}

.gt-logo--image {
  align-self: center;
  justify-content: center;
  min-width: 148px;
  min-height: 108px;
  padding: 12px 18px 16px;
  border: 0;
  border-radius: 0 0 12px 12px;
  background: var(--gt-surface);
  box-shadow: none;
  filter: none;
  position: relative;
  z-index: 2;
}

.gt-logo--image .gt-logo__image,
.gt-logo--image img {
  width: 100%;
  height: 100%;
  max-width: 146px;
  max-height: 92px;
  object-fit: contain;
}

.gt-header--logo-image .gt-header__inner {
  min-height: 82px;
  align-items: center;
  padding-inline-start: 188px;
}

.gt-header--logo-image .gt-logo--image {
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  width: 156px;
  min-width: 156px;
  height: 128px;
  min-height: 128px;
  padding: 14px 18px 18px;
  margin: 0;
}

.gt-header--logo-image .gt-logo--image .gt-logo__image,
.gt-header--logo-image .gt-logo--image img {
  width: 100%;
  height: 100%;
  max-width: 150px;
  max-height: 102px;
  object-fit: contain;
}

.gt-header--logo-image .gt-nav,
.gt-header--logo-image .gt-header__actions {
  align-self: center;
}

.gt-header--logo-image + .gt-main .gt-hero {
  padding-top: 154px;
}

.gt-header--logo-image + .gt-main .gt-page-hero,
.gt-header--logo-image + .gt-main .gt-track-hero,
.gt-header--logo-image + .gt-main .gt-course-single-hero,
.gt-header--logo-image + .gt-main .gt-profile-hero,
.gt-header--logo-image + .gt-main .gt-auth-section {
  padding-top: 150px;
}

html[data-theme="dark"] .gt-logo--image {
  background: var(--gt-surface);
  border-color: var(--gt-border);
}

.gt-auth-link {
  color: var(--gt-secondary);
  font-weight: 800;
  text-decoration: none;
  transition: color .2s ease;
}

.gt-auth-link:hover,
.gt-auth-link:focus {
  color: var(--gt-primary-hover);
}

.gt-auth-section {
  min-height: calc(100vh - 86px);
  padding: 132px 0 76px;
  background:
    linear-gradient(180deg, rgba(var(--gt-primary-rgb), .08), rgba(var(--gt-surface-rgb), 0) 34%),
    var(--gt-bg);
}

html[data-theme="dark"] .gt-auth-section {
  background:
    linear-gradient(180deg, rgba(var(--gt-primary-rgb), .12), rgba(var(--gt-surface-soft-rgb), 0) 38%),
    var(--gt-bg);
}

.gt-auth {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, 460px);
  gap: 36px;
  align-items: center;
}

.gt-auth__intro {
  display: grid;
  gap: 18px;
}

.gt-auth__intro h1 {
  max-width: 640px;
  margin: 0;
  color: var(--gt-secondary);
  font-family: var(--gt-heading-font);
  font-size: clamp(2.25rem, 5vw, 4.2rem);
  line-height: 1.1;
}

html[data-theme="dark"] .gt-auth__intro h1 {
  color: #fff;
}

.gt-auth__intro p {
  max-width: 580px;
  margin: 0;
  color: var(--gt-muted);
  font-size: 1.05rem;
  line-height: 2;
}

.gt-auth__form {
  display: grid;
  gap: 16px;
  padding: 32px;
  border: 1px solid rgba(var(--gt-secondary-hover-rgb), .12);
  border-radius: 8px;
  background: var(--gt-surface);
  box-shadow: 0 18px 46px rgba(var(--gt-secondary-hover-rgb), .08);
}

html[data-theme="dark"] .gt-auth__form {
  border-color: var(--gt-border);
  background: var(--gt-surface);
  box-shadow: var(--gt-shadow);
}

.gt-auth__form label {
  display: grid;
  gap: 8px;
  color: var(--gt-secondary);
  font-weight: 800;
}

html[data-theme="dark"] .gt-auth__form label {
  color: var(--gt-muted);
}

.gt-auth__form input[type="text"],
.gt-auth__form input[type="email"],
.gt-auth__form input[type="tel"],
.gt-auth__form input[type="password"],
.gt-auth__form textarea,
.gt-auth__form select {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--gt-border);
  border-radius: 8px;
  background: var(--gt-bg);
  color: var(--gt-text);
  font: inherit;
  transition: border-color .2s ease, box-shadow .2s ease;
}

html[data-theme="dark"] .gt-auth__form input[type="text"],
html[data-theme="dark"] .gt-auth__form input[type="email"],
html[data-theme="dark"] .gt-auth__form input[type="tel"],
html[data-theme="dark"] .gt-auth__form input[type="password"],
html[data-theme="dark"] .gt-auth__form textarea,
html[data-theme="dark"] .gt-auth__form select {
  background: var(--gt-surface-soft);
  border-color: rgba(255, 255, 255, 0.08);
}

.gt-auth__form textarea {
  min-height: 120px;
  resize: vertical;
}

.gt-auth__form input:focus,
.gt-auth__form textarea:focus,
.gt-auth__form select:focus {
  outline: none;
  border-color: var(--gt-primary);
  box-shadow: 0 0 0 3px rgba(var(--gt-primary-rgb), .18);
}

.gt-auth__check {
  display: inline-flex !important;
  grid-template-columns: none !important;
  gap: 8px !important;
  align-items: center;
  color: var(--gt-muted) !important;
  font-weight: 700 !important;
}

.gt-auth__check input {
  width: 18px;
  height: 18px;
  accent-color: var(--gt-primary);
}

.gt-auth__notice {
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 700;
  line-height: 1.8;
}

.gt-auth__notice p {
  margin: 0;
}

.gt-auth__notice--error {
  border: 1px solid rgba(196, 28, 28, .2);
  background: #fff1f1;
  color: #8a1f1f;
}

html[data-theme="dark"] .gt-auth__notice--error {
  border-color: rgba(248, 113, 113, .28);
  background: rgba(127, 29, 29, .34);
  color: #fecaca;
}

.gt-auth__notice--success {
  border: 1px solid rgba(22, 128, 74, .2);
  background: #ecfdf3;
  color: #166534;
}

html[data-theme="dark"] .gt-auth__notice--success {
  border-color: rgba(74, 222, 128, .26);
  background: rgba(20, 83, 45, .34);
  color: #bbf7d0;
}

.gt-auth__email-pill {
  padding: 12px 14px;
  border: 1px solid rgba(var(--gt-secondary-hover-rgb), .14);
  border-radius: 8px;
  background: var(--gt-surface-soft);
  color: var(--gt-secondary);
  direction: ltr;
  font-weight: 800;
  text-align: center;
}

html[data-theme="dark"] .gt-auth__email-pill {
  border-color: var(--gt-border);
  color: #fff;
}

.gt-auth__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  justify-content: center;
  color: var(--gt-muted);
  font-weight: 700;
}

.gt-auth__links a {
  color: var(--gt-secondary);
  text-decoration: none;
}

html[data-theme="dark"] .gt-auth__links a {
  color: #fff;
}

.gt-auth__links a:hover,
.gt-auth__links a:focus {
  color: var(--gt-primary-hover);
}

/* .gt-profile-hero styles have been consolidated into the shared premium hero class in lines 1050+ */

.gt-profile-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  gap: 34px;
  align-items: center;
}

.gt-profile-hero__copy {
  display: grid;
  gap: 18px;
}

.gt-profile-hero h1 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-family: var(--gt-heading-font);
  font-size: clamp(2.2rem, 5vw, 4.1rem);
  line-height: 1.14;
}

.gt-profile-hero p {
  max-width: 660px;
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: 1.06rem;
  line-height: 2;
}

.gt-profile-card,
.gt-profile-panel {
  border: 1px solid var(--gt-border);
  border-radius: 8px;
  background: var(--gt-surface);
  box-shadow: var(--gt-shadow);
}

.gt-profile-card--hero {
  display: grid;
  gap: 18px;
  padding: 26px;
  border-color: rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .08);
  color: #fff;
}

.gt-profile-card--hero h2,
.gt-profile-card--hero p {
  margin: 0;
}

.gt-profile-card--hero p {
  color: rgba(255, 255, 255, .74);
  overflow-wrap: anywhere;
}

.gt-profile-hero__image {
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
}

.gt-profile-hero__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.gt-profile-avatar img {
  width: 96px;
  height: 96px;
  border: 3px solid var(--gt-primary);
  border-radius: 50%;
  object-fit: cover;
}

.gt-profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.gt-profile-section {
  position: relative;
}

.gt-profile-grid {
  display: grid;
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.gt-profile-panel {
  padding: 24px;
}

.gt-profile-panel h2,
.gt-profile-panel h3,
.gt-profile-panel p {
  margin-top: 0;
}

.gt-profile-panel h2,
.gt-profile-panel h3 {
  color: var(--gt-secondary);
  font-family: var(--gt-heading-font);
}

html[data-theme="dark"] .gt-profile-panel h2,
html[data-theme="dark"] .gt-profile-panel h3 {
  color: #fff;
}

.gt-profile-meta {
  display: grid;
  gap: 14px;
  margin: 18px 0 0;
}

.gt-profile-meta div {
  display: grid;
  gap: 4px;
  padding: 14px;
  border-radius: 8px;
  background: var(--gt-surface-soft);
}

.gt-profile-meta dt {
  color: var(--gt-muted);
  font-size: .9rem;
  font-weight: 800;
}

.gt-profile-meta dd {
  margin: 0;
  color: var(--gt-text);
  font-weight: 900;
}

.gt-profile-panel__heading {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.gt-profile-panel__heading h2 {
  margin: 0;
}

.gt-profile-courses {
  display: grid;
  gap: 12px;
}

.gt-profile-course {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--gt-border);
  border-radius: 8px;
  background: var(--gt-surface-soft);
}

.gt-profile-course h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.gt-profile-course h3 a {
  color: var(--gt-secondary);
  text-decoration: none;
}

html[data-theme="dark"] .gt-profile-course h3 a {
  color: #fff;
}

.gt-profile-course h3 a:hover,
.gt-profile-course h3 a:focus {
  color: var(--gt-primary-hover);
}

.gt-profile-course p {
  margin: 0;
  color: var(--gt-muted);
  font-weight: 700;
}

.gt-profile-course span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--gt-primary);
  color: var(--gt-secondary);
  font-weight: 900;
  white-space: nowrap;
}

.gt-profile-empty,
.gt-profile-guest {
  display: grid;
  gap: 14px;
  justify-items: start;
}

.gt-profile-empty {
  padding: 22px;
  border: 1px dashed var(--gt-border);
  border-radius: 8px;
  background: var(--gt-surface-soft);
}

.gt-profile-empty p,
.gt-profile-guest p {
  margin: 0;
  color: var(--gt-muted);
  line-height: 1.9;
}

.gt-courses-hero__grid,
.gt-course-single-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .55fr);
  gap: 34px;
  align-items: center;
}

.gt-courses-hero__summary {
  display: grid;
  gap: 6px;
  justify-items: center;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
}

.gt-courses-hero__summary strong {
  color: var(--gt-primary);
  font-family: "Alexandria", "Cairo", sans-serif;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1;
}

.gt-course-filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 20px;
  align-items: end;
  margin-bottom: 32px;
  padding: 24px;
  border: 1px solid var(--gt-border);
  border-radius: 16px;
  background: var(--gt-surface);
  box-shadow: var(--gt-shadow);
}

.gt-course-filters label {
  display: grid;
  gap: 8px;
  color: var(--gt-secondary);
  font-weight: 800;
}

html[data-theme="dark"] .gt-course-filters label {
  color: var(--gt-muted);
}

.gt-course-filters input,
.gt-course-filters select {
  width: 100%;
  min-height: 52px;
  padding: 10px 16px;
  border: 1px solid var(--gt-border);
  border-radius: 12px;
  background: var(--gt-bg);
  color: var(--gt-text);
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

html[data-theme="dark"] .gt-course-filters input,
html[data-theme="dark"] .gt-course-filters select {
  background: var(--gt-surface-soft);
  border-color: rgba(255, 255, 255, 0.08);
}

.gt-course-filters input:focus,
.gt-course-filters select:focus {
  outline: none;
  border-color: var(--gt-primary);
  box-shadow: 0 0 0 3px rgba(var(--gt-primary-rgb), 0.18);
}

.gt-filter-status {
  margin: -6px 0 18px;
  color: var(--gt-muted);
  font-weight: 800;
}

.gt-results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 22px;
  color: var(--gt-muted);
  font-weight: 800;
}

.gt-results-bar p {
  margin: 0;
}

.gt-course-listing-grid {
  align-items: stretch;
}

.gt-empty--large {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 44px 22px;
  border: 1px dashed rgba(var(--gt-secondary-hover-rgb), .22);
  border-radius: 8px;
  background: var(--gt-surface);
  text-align: center;
}

.gt-empty--large h2,
.gt-empty--large p {
  margin: 0;
}

.gt-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 34px;
}

.gt-pagination .page-numbers {
  min-width: 42px;
  padding: 8px 12px;
  border: 1px solid var(--gt-border);
  border-radius: 8px;
  background: var(--gt-surface);
  color: var(--gt-secondary);
  font-weight: 800;
  text-align: center;
}

.gt-pagination .current,
.gt-pagination .page-numbers:hover {
  border-color: var(--gt-primary);
  background: var(--gt-primary);
  color: var(--gt-secondary);
}

/* .gt-course-single-hero styles have been consolidated into the shared premium hero class in lines 1050+ */

.gt-course-single-hero__content h1 {
  max-width: 780px;
  margin: 14px 0 16px;
  font-family: "Alexandria", "Cairo", sans-serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.18;
}

.gt-course-single-hero__content p {
  max-width: 700px;
  margin: 0;
  color: #e5e7eb;
  font-size: 1.08rem;
}

.gt-course-single-hero__meta,
.gt-course-single-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 22px;
}

.gt-course-single-hero__meta span,
.gt-course-single-hero__meta a {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-weight: 800;
}

.gt-course-single-hero__image {
  min-height: 340px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
}

.gt-course-single-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 28px;
  align-items: start;
}

.gt-course-single-main,
.gt-course-single-sidebar .gt-info-box {
  border: 1px solid var(--gt-border);
  border-radius: 8px;
  background: var(--gt-surface);
  box-shadow: 0 10px 26px rgba(var(--gt-heading-rgb), .05);
}

.gt-course-single-main {
  padding: 34px;
}

.gt-course-panel {
  display: grid;
  gap: 18px;
}

.gt-course-panel + .gt-course-panel {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--gt-border);
}

.gt-course-single-main h2 {
  margin-top: 0;
}

.gt-course-badges,
.gt-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.gt-badge--soft {
  background: rgba(255, 255, 255, .1);
  color: #fff;
}

.gt-chip-list a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 12px;
  border: 1px solid var(--gt-border);
  border-radius: 999px;
  background: var(--gt-surface-soft);
  color: var(--gt-secondary);
  font-weight: 900;
  text-decoration: none;
}

html[data-theme="dark"] .gt-chip-list a {
  color: #fff;
}

.gt-chip-list a:hover,
.gt-chip-list a:focus {
  border-color: var(--gt-primary);
  color: var(--gt-primary-hover);
}

.gt-course-extra-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.gt-course-extra-box {
  padding: 18px;
  border: 1px solid var(--gt-border);
  border-radius: 8px;
  background: var(--gt-surface-soft);
}

.gt-course-extra-box h3 {
  margin: 0 0 12px;
  color: var(--gt-secondary);
  font-family: var(--gt-heading-font);
}

html[data-theme="dark"] .gt-course-extra-box h3 {
  color: #fff;
}

.gt-course-extra-box ul,
.gt-course-curriculum .curriculum-sections {
  margin: 0;
  padding: 0;
  list-style: none;
}

.gt-course-extra-box li,
.gt-course-curriculum .section-item,
.gt-course-curriculum .section-header,
.gt-course-curriculum .section {
  border-radius: 8px;
}

.gt-course-extra-box li + li {
  margin-top: 10px;
}

.gt-course-faqs details {
  border: 1px solid var(--gt-border);
  border-radius: 8px;
  background: var(--gt-surface-soft);
}

.gt-course-faqs details + details {
  margin-top: 12px;
}

.gt-course-faqs summary {
  cursor: pointer;
  padding: 14px 16px;
  color: var(--gt-secondary);
  font-weight: 900;
}

html[data-theme="dark"] .gt-course-faqs summary {
  color: #fff;
}

.gt-course-faqs details > div {
  padding: 0 16px 16px;
  color: var(--gt-muted);
  line-height: 1.9;
}

.gt-course-curriculum .course-curriculum,
.gt-course-curriculum .learnpress-course-curriculum {
  margin: 0;
}

.gt-course-curriculum .section {
  overflow: hidden;
  border: 1px solid var(--gt-border);
  background: var(--gt-surface-soft);
}

.gt-course-curriculum .section + .section {
  margin-top: 12px;
}

.gt-course-curriculum .section-header,
.gt-course-curriculum .section-head {
  padding: 14px 16px;
}

.gt-course-curriculum .section-title,
.gt-course-curriculum .section-title h4 {
  margin: 0;
  color: var(--gt-secondary);
  font-family: var(--gt-heading-font);
}

html[data-theme="dark"] .gt-course-curriculum .section-title,
html[data-theme="dark"] .gt-course-curriculum .section-title h4 {
  color: #fff;
}

.gt-course-curriculum .section-content,
.gt-course-curriculum .section-list-items {
  padding: 0 16px 14px;
}

.gt-course-materials .course-material-table {
  width: 100%;
  border-collapse: collapse;
}

.gt-course-materials th,
.gt-course-materials td {
  padding: 10px;
  border-bottom: 1px solid var(--gt-border);
  text-align: start;
}

.gt-course-single-sidebar {
  position: sticky;
  top: 104px;
}

.gt-learnpress-button form,
.gt-learnpress-button .lp-button,
.gt-learnpress-button button {
  margin: 0;
}

.gt-learnpress-button .lp-button,
.gt-learnpress-button button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 20px;
  border: 0;
  border-radius: 8px;
  background: var(--gt-primary);
  color: var(--gt-secondary);
  font-weight: 900;
  cursor: pointer;
}

.gt-course-card {
  border-radius: 8px;
}

.gt-course-card__featured {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--gt-primary);
  color: var(--gt-secondary);
  font-size: .82rem;
  font-weight: 900;
}

.gt-course-card__body p {
  min-height: 58px;
  margin: 0 0 16px;
  color: var(--gt-muted);
}

.gt-course-card__track {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin: 0 0 16px;
  color: var(--gt-muted);
  font-size: .92rem;
  font-weight: 800;
}

.gt-course-card__track a {
  color: var(--gt-secondary);
  text-decoration: none;
}

html[data-theme="dark"] .gt-course-card__track a {
  color: #fff;
}

.gt-course-card__track a:hover,
.gt-course-card__track a:focus {
  color: var(--gt-primary-hover);
}

@media (max-width: 1040px) {
  .gt-course-filters,
  .gt-course-single-hero__grid,
  .gt-courses-hero__grid,
  .gt-profile-hero__grid,
  .gt-profile-grid,
  .gt-course-single-layout {
    grid-template-columns: 1fr;
  }

  .gt-course-single-sidebar {
    position: static;
  }
}

@media (max-width: 720px) {
  html,
  body {
    overflow-x: hidden;
  }

  .gt-header__inner {
    gap: 8px;
  }

  .gt-logo {
    min-width: 0;
    max-width: min(58vw, 220px);
  }

  .gt-logo span:not(.gt-logo__mark) {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .gt-logo__image,
  .gt-logo img {
    max-width: min(48vw, 150px);
    max-height: 38px;
    width: auto;
    height: auto;
    object-fit: contain;
  }

  .gt-logo--image {
    min-width: min(44vw, 170px);
    min-height: 96px;
    padding: 10px 14px 14px;
    border-radius: 0 0 10px 10px;
  }

  .gt-header--logo-image .gt-header__inner {
    min-height: 74px;
    padding-inline-start: clamp(108px, 34vw, 136px);
  }

  .gt-header--logo-image .gt-logo--image {
    width: clamp(92px, 29vw, 116px);
    min-width: 92px;
    max-width: 116px;
    height: clamp(82px, 26vw, 100px);
    min-height: 82px;
    padding: 9px 11px 11px;
    border-radius: 0 0 10px 10px;
    box-shadow: none;
  }

  .gt-header--logo-image + .gt-main .gt-hero {
    padding-top: 116px;
  }

  .gt-header--logo-image + .gt-main .gt-page-hero,
  .gt-header--logo-image + .gt-main .gt-track-hero,
  .gt-header--logo-image + .gt-main .gt-course-single-hero,
  .gt-header--logo-image + .gt-main .gt-profile-hero,
  .gt-header--logo-image + .gt-main .gt-auth-section {
    padding-top: 112px;
  }

  .gt-header--logo-image .gt-logo--image .gt-logo__image,
  .gt-header--logo-image .gt-logo--image img {
    max-width: min(25vw, 94px);
    max-height: 72px;
  }

  .gt-header__actions {
    flex-shrink: 0;
    gap: 6px;
  }

  .gt-icon-btn,
  .gt-menu-toggle {
    width: 38px;
    height: 38px;
  }

  .gt-header__actions .gt-auth-link {
    display: none;
  }

  .gt-mobile-menu {
    position: relative;
    z-index: 3;
    max-height: calc(100dvh - 74px);
    overflow: auto;
  }

  .gt-hero h1,
  .gt-page-hero h1,
  .gt-course-single-hero__content h1,
  .gt-profile-hero h1,
  .gt-auth__intro h1 {
    overflow-wrap: anywhere;
  }

  .gt-hero__grid,
  .gt-track-panel,
  .gt-about,
  .gt-contact,
  .gt-card-grid,
  .gt-course-filters,
  .gt-courses-hero__grid,
  .gt-course-single-hero__grid,
  .gt-profile-hero__grid,
  .gt-profile-grid,
  .gt-course-single-layout {
    min-width: 0;
  }

  .gt-course-filters {
    padding: 16px;
    gap: 12px;
  }

  .gt-course-filters input,
  .gt-course-filters select {
    min-width: 0;
  }

  .gt-course-filters__actions,
  .gt-profile-actions,
  .gt-course-single-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .gt-course-single-main {
    padding: 24px 18px;
  }

  .gt-profile-panel,
  .gt-profile-card--hero {
    padding: 20px 16px;
  }

  .gt-profile-course {
    grid-template-columns: 1fr;
  }

  .gt-btn {
    white-space: normal;
    text-align: center;
  }

  .gt-course-single-hero__image {
    min-height: 240px;
  }
}

@media (max-width: 920px) {
  .gt-about {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 860px) {
  .gt-auth {
    grid-template-columns: 1fr;
  }

  .gt-auth-section {
    padding-top: 112px;
  }

  .gt-auth__form {
    padding: 24px 18px;
  }
}

@media (max-width: 520px) {
  .gt-logo {
    font-size: 1.28rem;
  }

  .gt-badge {
    align-items: flex-start;
    border-radius: 16px;
    font-size: 0.9rem;
  }

  .gt-hero__actions,
  .gt-track-panel__actions {
    flex-direction: column;
  }

  .gt-btn {
    width: 100%;
  }

  .gt-floating-card {
    width: 100%;
  }

  .gt-about__stats {
    grid-template-columns: 1fr;
  }

  .gt-about__stats > div {
    min-height: 0;
  }

  .gt-track-tab {
    padding: 16px 20px;
  }

  .gt-course-card__footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .gt-container {
    width: min(100% - 20px, 1280px);
  }

  .gt-header--logo-image .gt-header__inner {
    padding-inline-start: 98px;
  }

  .gt-header--logo-image .gt-logo--image {
    width: 84px;
    min-width: 84px;
    height: 76px;
    min-height: 76px;
    padding: 8px 9px 9px;
  }

  .gt-header--logo-image .gt-logo--image .gt-logo__image,
  .gt-header--logo-image .gt-logo--image img {
    max-width: 68px;
    max-height: 58px;
  }

  .gt-section,
  .gt-stats {
    padding: 44px 0;
  }

  .gt-hero {
    padding: 100px 0 48px;
  }

  .gt-page-hero,
  .gt-profile-hero,
  .gt-course-single-hero {
    padding: 108px 0 52px;
  }

  .gt-auth-section {
    padding: 104px 0 52px;
  }

  .gt-course-card__image {
    height: 190px;
  }

  .gt-contact__info li {
    gap: 10px;
  }

  .gt-contact__info i {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
  }
}

/* ==========================================================================
   LearnPress Profile Overrides
   ========================================================================== */
#learn-press-user-profile {
  display: flex !important;
  flex-direction: column !important;
  gap: 32px !important;
  padding: 40px 0 !important;
  font-family: inherit !important;
  background: transparent !important;
  max-width: 1280px !important;
  margin: 0 auto !important;
}

@media (min-width: 992px) {
  #learn-press-user-profile {
    flex-direction: row !important;
    align-items: flex-start !important;
  }
}

#learn-press-user-profile::before,
#learn-press-user-profile::after {
  display: none !important;
}

#learn-press-user-profile .lp-profile-header {
  display: none !important; /* Hide LP's default generic header */
}

/* Sidebar Tabs */
#learn-press-user-profile .lp-profile-nav-tabs,
#learn-press-user-profile > ul.lp-profile-nav-tabs {
  width: 100% !important;
  margin: 0 !important;
  padding: 24px !important;
  list-style: none !important;
  background: var(--gt-surface) !important;
  border: 1px solid var(--gt-border) !important;
  border-radius: 16px !important;
  box-shadow: var(--gt-shadow) !important;
  float: none !important;
}

@media (min-width: 992px) {
  #learn-press-user-profile .lp-profile-nav-tabs,
  #learn-press-user-profile > ul.lp-profile-nav-tabs {
    width: 280px !important;
    flex-shrink: 0 !important;
  }
}

#learn-press-user-profile .lp-profile-nav-tabs li {
  margin: 0 0 8px !important;
  padding: 0 !important;
  border: none !important;
  float: none !important;
  display: block !important;
}

#learn-press-user-profile .lp-profile-nav-tabs li:last-child {
  margin-bottom: 0 !important;
}

#learn-press-user-profile .lp-profile-nav-tabs li a {
  display: flex !important;
  align-items: center !important;
  padding: 14px 20px !important;
  border-radius: 10px !important;
  color: var(--gt-muted) !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  background: transparent !important;
  border: none !important;
}

#learn-press-user-profile .lp-profile-nav-tabs li a:hover {
  background: var(--gt-surface-soft) !important;
  color: var(--gt-primary-text) !important;
}

#learn-press-user-profile .lp-profile-nav-tabs li.active a {
  background: var(--gt-primary) !important;
  color: var(--gt-secondary) !important;
}

html[data-theme="dark"] #learn-press-user-profile .lp-profile-nav-tabs li.active a {
  color: #fff !important;
}

/* Main Content Area */
#learn-press-user-profile .lp-profile-content {
  flex: 1 !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 32px !important;
  background: var(--gt-surface) !important;
  border: 1px solid var(--gt-border) !important;
  border-radius: 16px !important;
  box-shadow: var(--gt-shadow) !important;
  float: none !important;
}

/* Remove LP specific floats and clears */
.lp-profile-content::after,
.lp-profile-content::before {
  display: none !important;
}

#learn-press-user-profile .lp-profile-content h3,
#learn-press-user-profile .lp-profile-content h2,
#learn-press-user-profile .lp-profile-content h4 {
  color: var(--gt-secondary) !important;
  font-family: "Alexandria", "Cairo", sans-serif !important;
  margin-top: 0 !important;
  margin-bottom: 24px !important;
}

html[data-theme="dark"] #learn-press-user-profile .lp-profile-content h3,
html[data-theme="dark"] #learn-press-user-profile .lp-profile-content h2,
html[data-theme="dark"] #learn-press-user-profile .lp-profile-content h4 {
  color: #fff !important;
}

#learn-press-user-profile table {
  width: 100% !important;
  border-collapse: collapse !important;
  margin-bottom: 24px !important;
}

#learn-press-user-profile th,
#learn-press-user-profile td {
  padding: 16px !important;
  border-bottom: 1px solid var(--gt-border) !important;
  color: var(--gt-text) !important;
  text-align: right !important;
}

#learn-press-user-profile th {
  color: var(--gt-secondary) !important;
  font-weight: 800 !important;
  background: var(--gt-surface-soft) !important;
  border-bottom: 2px solid var(--gt-border) !important;
}

html[data-theme="dark"] #learn-press-user-profile th {
  color: #fff !important;
}

#learn-press-user-profile input[type="text"],
#learn-press-user-profile input[type="email"],
#learn-press-user-profile input[type="password"],
#learn-press-user-profile textarea,
#learn-press-user-profile select {
  width: 100% !important;
  padding: 12px 16px !important;
  border: 1px solid var(--gt-border) !important;
  border-radius: 8px !important;
  background: var(--gt-bg) !important;
  color: var(--gt-text) !important;
  font-family: inherit !important;
  transition: all 0.2s ease !important;
  margin-bottom: 12px !important;
}

#learn-press-user-profile input:focus,
#learn-press-user-profile textarea:focus,
#learn-press-user-profile select:focus {
  border-color: var(--gt-primary) !important;
  box-shadow: 0 0 0 3px rgba(var(--gt-primary-rgb), 0.18) !important;
  outline: none !important;
}

#learn-press-user-profile button,
#learn-press-user-profile .lp-button,
#learn-press-user-profile input[type="submit"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 12px 24px !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: var(--gt-primary) !important;
  color: var(--gt-secondary) !important;
  font-weight: 800 !important;
  font-family: inherit !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
  margin-top: 12px !important;
}

#learn-press-user-profile button:hover,
#learn-press-user-profile .lp-button:hover,
#learn-press-user-profile input[type="submit"]:hover {
  background: var(--gt-primary-hover) !important;
  transform: translateY(-2px) !important;
}

/* Fix generic LP form fields styling */
#learn-press-user-profile .lp-form-field {
  margin-bottom: 20px !important;
}

#learn-press-user-profile .lp-form-field label {
  display: block !important;
  margin-bottom: 8px !important;
  color: var(--gt-muted) !important;
  font-weight: 700 !important;
}

/* Sub-tabs inside profile */
#learn-press-user-profile .profile-settings-tabs,
#learn-press-user-profile .learn-press-sub-tabs {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 16px !important;
  margin-bottom: 32px !important;
  border-bottom: 1px solid var(--gt-border) !important;
  padding-bottom: 16px !important;
  list-style: none !important;
}

#learn-press-user-profile .profile-settings-tabs li,
#learn-press-user-profile .learn-press-sub-tabs li {
  margin: 0 !important;
  padding: 0 !important;
}

#learn-press-user-profile .profile-settings-tabs li a,
#learn-press-user-profile .learn-press-sub-tabs li a {
  padding: 8px 16px !important;
  border-radius: 8px !important;
  color: var(--gt-muted) !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  background: var(--gt-surface-soft) !important;
  border: none !important;
}

#learn-press-user-profile .profile-settings-tabs li.active a,
#learn-press-user-profile .learn-press-sub-tabs li.active a {
  background: var(--gt-secondary) !important;
  color: #fff !important;
}

html[data-theme="dark"] #learn-press-user-profile .profile-settings-tabs li.active a,
html[data-theme="dark"] #learn-press-user-profile .learn-press-sub-tabs li.active a {
  background: var(--gt-primary) !important;
  color: var(--gt-secondary) !important;
}

.gt-profile-learnpress {
  grid-column: 1 / -1;
  margin-top: 32px;
}

.gt-profile-learnpress__content {
  direction: rtl;
}

.gt-profile-learnpress .learn-press-message {
  margin-bottom: 18px;
}

#learn-press-profile.lp-user-profile {
  display: grid !important;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr) !important;
  align-items: start !important;
  gap: 24px !important;
  direction: rtl !important;
  margin: 0 !important;
  padding: 0 !important;
}

#learn-press-profile .lp-content-area {
  display: contents !important;
}

#learn-press-profile #profile-sidebar {
  width: 100% !important;
  margin: 0 !important;
  padding: 22px !important;
  border: 1px solid var(--gt-border) !important;
  border-radius: 16px !important;
  background: var(--gt-surface) !important;
  box-shadow: 0 18px 40px rgba(var(--gt-heading-rgb), 0.08) !important;
}

#learn-press-profile #profile-nav,
#learn-press-profile .profile-nav,
#learn-press-profile .lp-profile-nav-tabs {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

#learn-press-profile .lp-profile-nav-tabs li {
  margin: 0 0 8px !important;
  padding: 0 !important;
  border: 0 !important;
  list-style: none !important;
}

#learn-press-profile .lp-profile-nav-tabs li a,
#learn-press-profile .profile-tab-sections li a {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  min-height: 44px !important;
  padding: 10px 14px !important;
  border-radius: 10px !important;
  background: transparent !important;
  color: var(--gt-muted) !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  transition: background 0.2s ease, color 0.2s ease !important;
}

#learn-press-profile .lp-profile-nav-tabs li.active > a,
#learn-press-profile .lp-profile-nav-tabs li a:hover,
#learn-press-profile .profile-tab-sections li.active > a,
#learn-press-profile .profile-tab-sections li a:hover {
  background: var(--gt-primary) !important;
  color: var(--gt-secondary) !important;
}

#learn-press-profile .profile-tab-sections {
  margin: 8px 12px 0 0 !important;
  padding: 0 12px 0 0 !important;
  border-inline-start: 2px solid var(--gt-border) !important;
  list-style: none !important;
}

#learn-press-profile #profile-content,
#learn-press-profile .lp-profile-content {
  width: 100% !important;
  margin: 0 !important;
  padding: 28px !important;
  border: 1px solid var(--gt-border) !important;
  border-radius: 16px !important;
  background: var(--gt-surface) !important;
  box-shadow: 0 18px 40px rgba(var(--gt-heading-rgb), 0.08) !important;
  float: none !important;
  direction: rtl !important;
  text-align: right !important;
}

#learn-press-profile h2,
#learn-press-profile h3,
#learn-press-profile h4,
#learn-press-profile label,
#learn-press-profile th,
#learn-press-profile td,
#learn-press-profile p {
  direction: rtl !important;
  text-align: right !important;
}

#learn-press-profile table {
  width: 100% !important;
  border-collapse: collapse !important;
}

#learn-press-profile th,
#learn-press-profile td {
  padding: 14px !important;
  border-bottom: 1px solid var(--gt-border) !important;
}

#learn-press-profile input[type="text"],
#learn-press-profile input[type="email"],
#learn-press-profile input[type="password"],
#learn-press-profile input[type="url"],
#learn-press-profile input[type="tel"],
#learn-press-profile textarea,
#learn-press-profile select {
  width: 100% !important;
  padding: 12px 14px !important;
  border: 1px solid var(--gt-border) !important;
  border-radius: 10px !important;
  background: var(--gt-bg) !important;
  color: var(--gt-text) !important;
  font-family: inherit !important;
}

#learn-press-profile button,
#learn-press-profile .lp-button,
#learn-press-profile input[type="submit"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: var(--gt-primary) !important;
  color: var(--gt-secondary) !important;
  font-family: inherit !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

#learn-press-profile button:hover,
#learn-press-profile .lp-button:hover,
#learn-press-profile input[type="submit"]:hover {
  background: var(--gt-primary-hover) !important;
  color: var(--gt-secondary) !important;
}

html[data-theme="dark"] #learn-press-profile #profile-sidebar,
html[data-theme="dark"] #learn-press-profile #profile-content,
html[data-theme="dark"] #learn-press-profile .lp-profile-content {
  background: var(--gt-surface) !important;
  border-color: var(--gt-border) !important;
}

@media (max-width: 900px) {
  #learn-press-profile.lp-user-profile {
    grid-template-columns: 1fr !important;
  }

  #learn-press-profile #profile-content,
  #learn-press-profile .lp-profile-content {
    padding: 20px !important;
  }
}

/* UI reference refinements: shared heroes, logo, courses, tracks, footer */
.gt-site-brand,
.gt-logo--image,
.gt-footer__brand-logo,
.gt-logo-frame,
.gt-logo-holder {
  overflow: hidden;
  padding: 0 !important;
}

.gt-site-brand img,
.gt-logo--image img,
.gt-logo--image .gt-logo__image,
.gt-footer .gt-logo .gt-logo__image,
.gt-footer__brand-logo img,
.gt-logo-frame img,
.gt-logo-holder img {
  width: 100%;
  height: 100%;
  max-width: none !important;
  max-height: none !important;
  display: block;
  object-fit: cover;
  object-position: center;
  padding: 0 !important;
  margin: 0 !important;
}

.gt-site-brand {
  padding: 0;
}

.gt-page-hero,
.gt-track-hero,
.gt-profile-hero,
.gt-course-single-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 18%, rgba(212, 175, 55, 0.18), transparent 26%),
    linear-gradient(135deg, #201533 0%, #32204f 55%, #1c122d 100%) !important;
  color: #fff;
}

.gt-page-hero::before,
.gt-track-hero::before,
.gt-profile-hero::before,
.gt-course-single-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 82%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 82%);
}

.gt-page-hero > *,
.gt-track-hero > *,
.gt-profile-hero > *,
.gt-course-single-hero > * {
  position: relative;
  z-index: 1;
}

.gt-track-tabs,
.gt-track-filter-tabs,
.gt-home-tracks__tabs {
  background: #fff;
  border: 1px solid rgba(39, 24, 62, 0.1);
  box-shadow: 0 18px 50px rgba(32, 21, 51, 0.08);
}

html[data-theme="dark"] .gt-track-tabs,
html[data-theme="dark"] .gt-track-filter-tabs,
html[data-theme="dark"] .gt-home-tracks__tabs {
  background: #1f1730;
  border-color: rgba(255, 255, 255, 0.1);
}

.gt-track-panel,
.gt-track-card,
.gt-course-card {
  border-radius: 18px;
  border: 1px solid rgba(39, 24, 62, 0.1);
  box-shadow: 0 22px 55px rgba(32, 21, 51, 0.08);
}

.gt-track-card__image,
.gt-track-media,
.gt-course-card__image,
.gt-course-single-media,
.gt-course-single-cover,
.gt-course-hero__media {
  overflow: hidden;
  border-radius: 18px;
  background: var(--gt-surface-soft);
  border: 1px solid rgba(39, 24, 62, 0.1);
}

.gt-course-single-media,
.gt-course-single-cover,
.gt-course-hero__media {
  aspect-ratio: 16 / 10;
  box-shadow: 0 24px 60px rgba(32, 21, 51, 0.16);
}

.gt-track-card__image img,
.gt-track-media img,
.gt-course-card__image img,
.gt-course-single-media img,
.gt-course-single-cover img,
.gt-course-hero__media img,
.gt-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.gt-learnpress-button .lp-button,
.gt-course-actions .lp-button,
.gt-course-actions button,
.gt-course-actions input[type="submit"],
.lp-course-buttons .lp-button,
.lp-course-buttons button,
.lp-course-buttons input[type="submit"],
body.single-lp_course .lp-button,
body.single-lp_course button.lp-button,
body.single-lp_course input[type="submit"],
body.single-lp_course .button-purchase-course,
body.single-lp_course .purchase-course {
  border: 0 !important;
  border-radius: 10px !important;
  background: var(--gt-primary) !important;
  color: var(--gt-secondary) !important;
  font-family: inherit !important;
  font-weight: 800 !important;
  box-shadow: 0 16px 36px rgba(212, 175, 55, 0.22) !important;
}

.gt-learnpress-button .lp-button:hover,
.gt-course-actions .lp-button:hover,
.gt-course-actions button:hover,
.gt-course-actions input[type="submit"]:hover,
.lp-course-buttons .lp-button:hover,
.lp-course-buttons button:hover,
.lp-course-buttons input[type="submit"]:hover,
body.single-lp_course .lp-button:hover,
body.single-lp_course button.lp-button:hover,
body.single-lp_course input[type="submit"]:hover,
body.single-lp_course .button-purchase-course:hover,
body.single-lp_course .purchase-course:hover {
  background: var(--gt-primary-hover) !important;
  color: var(--gt-secondary) !important;
  transform: translateY(-2px);
}

.gt-course-curriculum,
.gt-course-curriculum *,
body.single-lp_course .course-curriculum,
body.single-lp_course .course-curriculum *,
body.single-lp_course #learn-press-course-curriculum,
body.single-lp_course #learn-press-course-curriculum * {
  direction: rtl;
  text-align: right;
}

body.single-lp_course .course-curriculum .section-header,
body.single-lp_course .course-curriculum .section-item-link,
body.single-lp_course #learn-press-course-curriculum .section-header,
body.single-lp_course #learn-press-course-curriculum .section-item-link {
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 10px;
}

body.single-lp_course .course-curriculum .section-left,
body.single-lp_course .course-curriculum .section-item-meta,
body.single-lp_course #learn-press-course-curriculum .section-left,
body.single-lp_course #learn-press-course-curriculum .section-item-meta {
  margin-inline-start: auto;
  margin-inline-end: 0;
}

.gt-avatar-placeholder {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gt-primary), #f4d77f);
  color: var(--gt-secondary);
  font-weight: 900;
  font-size: 1.35rem;
  border: 3px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 32px rgba(32, 21, 51, 0.16);
}

.gt-footer {
  position: relative;
  margin-top: 56px;
  padding-top: 86px;
  border-top: 0;
  overflow: hidden;
}

.gt-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  inset-inline: 0;
  height: 78px;
  background-color: var(--gt-bg);
  clip-path: ellipse(72% 88% at 50% 0%);
  z-index: 0;
}

.gt-footer > * {
  position: relative;
  z-index: 1;
}

.gt-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.gt-footer__social a,
.gt-contact__social a {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: currentColor;
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.gt-footer__social a:hover,
.gt-contact__social a:hover {
  transform: translateY(-2px);
  background: var(--gt-primary);
  color: var(--gt-secondary);
}

.gt-footer .gt-logo--image {
  width: 112px;
  min-width: 112px;
  height: 72px;
  min-height: 72px;
  border-radius: 12px;
  background: transparent;
}

@media (max-width: 640px) {
  .gt-site-brand {
    width: 104px;
    height: 56px;
  }

  .gt-footer {
    margin-top: 38px;
    padding-top: 70px;
  }

  .gt-course-single-media,
  .gt-course-single-cover,
  .gt-course-hero__media {
    aspect-ratio: 4 / 3;
  }
}

/* Implementation pass: settings sync, LearnPress support, RTL and UI matching */
.gt-header--logo-image .gt-logo--image,
.gt-footer .gt-logo--image {
  overflow: hidden !important;
  padding: 6px !important;
  background: rgba(255, 255, 255, 0.96) !important;
}

.gt-header--logo-image .gt-logo--image .gt-logo__image,
.gt-header--logo-image .gt-logo--image img,
.gt-footer .gt-logo--image .gt-logo__image,
.gt-footer .gt-logo--image img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center !important;
}

.gt-page-hero,
.gt-courses-hero,
.gt-track-hero,
.gt-profile-hero,
.gt-course-single-hero {
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 182, 6, 0.20), transparent 27%),
    radial-gradient(circle at 86% 20%, rgba(255, 255, 255, 0.10), transparent 24%),
    linear-gradient(135deg, #201533 0%, #442e66 54%, #1c122d 100%) !important;
}

.gt-track-hero__image,
.gt-course-single-hero__image {
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.22);
}

.gt-course-card__image {
  aspect-ratio: 16 / 9;
  min-height: 0;
}

.gt-course-card__image img,
.gt-course-single-hero__image img,
.gt-track-hero__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.gt-lp-course-buttons,
.gt-learnpress-button .lp-course-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  direction: rtl;
}

.gt-lp-action-form,
.gt-learnpress-button form,
body.single-lp_course form.purchase-course,
body.single-lp_course form.enroll-course,
body.single-lp_course form.course-external-link,
body.single-lp_course form.lp-form-retake-course {
  display: inline-flex !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.gt-lp-primary-button,
.gt-lp-secondary-button,
.gt-learnpress-button .lp-button,
.gt-learnpress-button button,
.gt-learnpress-button input[type="submit"],
.lp-course-buttons .lp-button,
.lp-course-buttons button,
.lp-course-buttons input[type="submit"],
body.single-lp_course .button-purchase-course,
body.single-lp_course .button-enroll-course,
body.single-lp_course .button-retake-course,
body.single-lp_course .lp-btn-finish-course,
body.single-lp_course .course-external-link .lp-button,
#learn-press-checkout .lp-button,
#learn-press-checkout button,
#learn-press-profile .lp-button,
#learn-press-profile button {
  min-height: 48px !important;
  padding: 0 24px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--gt-primary) !important;
  color: var(--gt-secondary) !important;
  font-family: inherit !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  box-shadow: 0 16px 32px rgba(var(--gt-primary-rgb), 0.24) !important;
  cursor: pointer !important;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease !important;
}

.gt-lp-secondary-button,
body.single-lp_course .button-retake-course {
  background: var(--gt-secondary) !important;
  color: #fff !important;
  box-shadow: 0 16px 32px rgba(var(--gt-secondary-rgb), 0.20) !important;
}

.gt-lp-primary-button:hover,
.gt-lp-secondary-button:hover,
.gt-learnpress-button .lp-button:hover,
.gt-learnpress-button button:hover,
.lp-course-buttons .lp-button:hover,
.lp-course-buttons button:hover,
body.single-lp_course .button-purchase-course:hover,
body.single-lp_course .button-enroll-course:hover,
body.single-lp_course .button-retake-course:hover,
body.single-lp_course .lp-btn-finish-course:hover,
#learn-press-checkout .lp-button:hover,
#learn-press-checkout button:hover,
#learn-press-profile .lp-button:hover,
#learn-press-profile button:hover {
  transform: translateY(-2px) !important;
  background: var(--gt-primary-hover) !important;
  color: var(--gt-secondary) !important;
  box-shadow: 0 18px 38px rgba(var(--gt-primary-rgb), 0.30) !important;
}

.gt-lp-curriculum,
.gt-lp-curriculum *,
.gt-course-curriculum,
.gt-course-curriculum *,
#learn-press-course-curriculum,
#learn-press-course-curriculum *,
body.single-lp_course .course-curriculum,
body.single-lp_course .course-curriculum *,
body.lp_course-template-default .course-curriculum,
body.lp_course-template-default .course-curriculum * {
  direction: rtl !important;
  text-align: right !important;
}

#learn-press-course-curriculum .curriculum-sections,
#learn-press-course-curriculum .section-content,
.gt-lp-curriculum .curriculum-sections,
.gt-lp-curriculum .section-content {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

#learn-press-course-curriculum .section-header,
#learn-press-course-curriculum .section-item-link,
.gt-lp-curriculum .section-header,
.gt-lp-curriculum .section-item-link {
  display: flex !important;
  align-items: center !important;
  flex-direction: row !important;
  gap: 10px !important;
}

#learn-press-course-curriculum .section-left,
#learn-press-course-curriculum .section-item-meta,
.gt-lp-curriculum .section-left,
.gt-lp-curriculum .section-item-meta {
  margin-inline-start: auto !important;
  margin-inline-end: 0 !important;
}

.gt-lp-message,
.learn-press-message {
  direction: rtl !important;
  text-align: right !important;
  border-radius: 12px !important;
  border-inline-start: 4px solid var(--gt-primary) !important;
  background: rgba(var(--gt-primary-rgb), 0.10) !important;
  color: var(--gt-heading) !important;
  padding: 14px 16px !important;
}

#learn-press-checkout,
#learn-press-checkout *,
#learn-press-profile,
#learn-press-profile *,
.lp-content-area,
.lp-content-area * {
  direction: rtl;
}

#learn-press-checkout input,
#learn-press-checkout textarea,
#learn-press-checkout select,
#learn-press-profile input,
#learn-press-profile textarea,
#learn-press-profile select {
  text-align: right !important;
  font-family: inherit !important;
}

.gt-footer {
  background-color: #442e66 !important;
  background-image:
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.055) 0,
      rgba(255, 255, 255, 0.055) 12px,
      rgba(0, 0, 0, 0) 12px,
      rgba(0, 0, 0, 0) 30px
    ) !important;
  background-size: auto !important;
  background-position: center !important;
  color: #fff;
}

.gt-footer::before {
  height: 96px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 130' preserveAspectRatio='none'%3E%3Cpath d='M0,62 C160,110 328,118 504,78 C706,31 831,15 1018,52 C1192,86 1302,90 1440,42 L1440,0 L0,0 Z' fill='%23f9fafb'/%3E%3C/svg%3E") center top / 100% 100% no-repeat;
  clip-path: none;
}

html[data-theme="dark"] .gt-footer::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 130' preserveAspectRatio='none'%3E%3Cpath d='M0,62 C160,110 328,118 504,78 C706,31 831,15 1018,52 C1192,86 1302,90 1440,42 L1440,0 L0,0 Z' fill='%23121212'/%3E%3C/svg%3E");
}

.gt-footer a,
.gt-footer p,
.gt-footer h2 {
  color: inherit;
}

.gt-footer__social a {
  color: #fff;
}

@media (max-width: 720px) {
  .gt-track-hero__image,
  .gt-course-single-hero__image {
    aspect-ratio: 4 / 3;
    border-radius: 16px;
  }

  .gt-lp-course-buttons,
  .gt-learnpress-button .lp-course-buttons {
    width: 100%;
  }

  .gt-lp-action-form,
  .gt-lp-primary-button,
  .gt-lp-secondary-button,
  .gt-learnpress-button .lp-button,
  .gt-learnpress-button button,
  .lp-course-buttons .lp-button,
  .lp-course-buttons button {
    width: 100% !important;
  }
}

/* UI match: purple diagonal pattern hero for tracks and courses */
.gt-page-hero,
.gt-courses-hero,
.gt-track-hero,
.gt-course-single-hero {
  background-color: #442e66 !important;
  background-image:
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.055) 0,
      rgba(255, 255, 255, 0.055) 12px,
      rgba(0, 0, 0, 0) 12px,
      rgba(0, 0, 0, 0) 30px
    ) !important;
  background-size: auto !important;
  background-position: center !important;
  animation: none !important;
}

.gt-page-hero::before,
.gt-courses-hero::before,
.gt-track-hero::before,
.gt-course-single-hero::before {
  background: none !important;
  background-image: none !important;
  opacity: 0 !important;
}

.gt-track-hero__image,
.gt-course-single-hero__image {
  border: 4px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  box-shadow: 0 28px 70px rgba(20, 12, 34, 0.34);
}

@media (min-width: 1024px) {
  .gt-track-hero__image,
  .gt-course-single-hero__image {
    transform: rotate(-2deg);
    transition: transform 300ms ease;
  }

  .gt-track-hero__image:hover,
  .gt-course-single-hero__image:hover {
    transform: rotate(0deg);
  }
}

/* Course content RTL and slightly larger logo frame */
body.single-lp_course .gt-course-single-main,
body.single-lp_course .gt-course-panel,
body.single-lp_course .gt-content,
body.single-lp_course .gt-content *,
body.single-lp_course .gt-course-curriculum,
body.single-lp_course .gt-course-curriculum *,
body.single-lp_course #learn-press-course-curriculum,
body.single-lp_course #learn-press-course-curriculum *,
body.lp_course-template-default .gt-course-single-main,
body.lp_course-template-default .gt-course-panel,
body.lp_course-template-default .gt-content,
body.lp_course-template-default .gt-content * {
  direction: rtl !important;
  text-align: right !important;
}

body.single-lp_course .gt-content p,
body.single-lp_course .gt-content li,
body.single-lp_course .gt-content div,
body.single-lp_course .gt-course-curriculum p,
body.single-lp_course .gt-course-curriculum li,
body.single-lp_course #learn-press-course-curriculum p,
body.single-lp_course #learn-press-course-curriculum li {
  unicode-bidi: plaintext;
}

body.single-lp_course .gt-content ul,
body.single-lp_course .gt-content ol,
body.single-lp_course .gt-course-curriculum ul,
body.single-lp_course .gt-course-curriculum ol,
body.single-lp_course #learn-press-course-curriculum ul,
body.single-lp_course #learn-press-course-curriculum ol {
  padding-inline-start: 0 !important;
  padding-inline-end: 1.3rem !important;
}

body.single-lp_course #learn-press-course-curriculum .section-header,
body.single-lp_course #learn-press-course-curriculum .section-item-link,
body.single-lp_course .gt-course-curriculum .section-header,
body.single-lp_course .gt-course-curriculum .section-item-link {
  justify-content: flex-start !important;
  flex-direction: row !important;
}

body.single-lp_course #learn-press-course-curriculum .section-left,
body.single-lp_course #learn-press-course-curriculum .section-item-meta,
body.single-lp_course .gt-course-curriculum .section-left,
body.single-lp_course .gt-course-curriculum .section-item-meta {
  margin-inline-start: auto !important;
  margin-inline-end: 0 !important;
}

.gt-header--logo-image .gt-logo--image {
  width: 166px !important;
  min-width: 166px !important;
  max-width: none !important;
  height: 136px !important;
  min-height: 136px !important;
  max-height: none !important;
  padding: 8px !important;
  border-inline: 2px solid rgba(68, 46, 102, 0.16) !important;
  border-bottom: 2px solid rgba(68, 46, 102, 0.16) !important;
  border-top: 0 !important;
  border-radius: 0 0 14px 14px !important;
  box-shadow: 0 12px 26px rgba(20, 12, 34, 0.10) !important;
}

.gt-header--logo-image .gt-header__inner {
  padding-inline-start: 198px !important;
}

.gt-header--logo-image .gt-logo--image .gt-logo__image,
.gt-header--logo-image .gt-logo--image img {
  max-width: none !important;
  max-height: none !important;
}

@media (max-width: 720px) {
  .gt-header--logo-image .gt-logo--image {
    width: clamp(104px, 31vw, 128px) !important;
    min-width: 104px !important;
    max-width: 128px !important;
    height: clamp(92px, 28vw, 110px) !important;
    min-height: 92px !important;
    max-height: 110px !important;
    padding: 8px !important;
    border-radius: 0 0 13px 13px !important;
  }

  .gt-header--logo-image .gt-header__inner {
    padding-inline-start: clamp(122px, 39vw, 150px) !important;
  }
}

/* Unified light/dark color system */
body {
  background: var(--gt-bg) !important;
  color: var(--gt-text) !important;
}

.gt-header,
.gt-mobile-menu,
.gt-nav-submenu,
.gt-course-single-main,
.gt-course-single-sidebar .gt-info-box,
.gt-course-card,
.gt-track-panel,
.gt-track-card,
.gt-testimonial,
.gt-faq details,
.gt-course-filters,
.gt-profile-panel,
.gt-auth-card,
.gt-form-card,
.gt-application-card,
.gt-course-extra-box,
.gt-course-faqs details,
.gt-course-curriculum .course-curriculum,
.gt-course-curriculum .learnpress-course-curriculum,
#learn-press-checkout,
#learn-press-profile #profile-sidebar,
#learn-press-profile #profile-content,
#learn-press-profile .lp-profile-content,
#learn-press-user-profile .lp-profile-content,
#learn-press-user-profile .lp-profile-nav-tabs,
#learn-press-user-profile .profile-settings-tabs,
#learn-press-user-profile .learn-press-sub-tabs {
  background-color: var(--gt-surface) !important;
  color: var(--gt-text) !important;
  border-color: var(--gt-border) !important;
}

.gt-section--muted,
.gt-section--accent,
.gt-course-filters input,
.gt-course-filters select,
.gt-search-input,
.gt-empty,
.gt-profile-course,
.gt-course-extra-box,
.gt-course-faqs summary,
.gt-course-curriculum .section,
.gt-course-curriculum .section-header,
.gt-course-curriculum .section-item,
#learn-press-course-curriculum .section,
#learn-press-course-curriculum .section-header,
#learn-press-course-curriculum .section-item,
#learn-press-checkout input,
#learn-press-checkout textarea,
#learn-press-checkout select,
#learn-press-profile input,
#learn-press-profile textarea,
#learn-press-profile select,
#learn-press-user-profile input,
#learn-press-user-profile textarea,
#learn-press-user-profile select {
  background-color: var(--gt-surface-soft) !important;
  color: var(--gt-text) !important;
  border-color: var(--gt-border) !important;
}

.gt-course-single-main h1,
.gt-course-single-main h2,
.gt-course-single-main h3,
.gt-course-single-main h4,
.gt-course-card h3,
.gt-track-panel h3,
.gt-track-card h3,
.gt-section-heading h2,
.gt-profile-panel h2,
.gt-profile-panel h3,
.gt-auth-card h1,
.gt-auth-card h2,
#learn-press-checkout h1,
#learn-press-checkout h2,
#learn-press-checkout h3,
#learn-press-profile h1,
#learn-press-profile h2,
#learn-press-profile h3,
#learn-press-user-profile h1,
#learn-press-user-profile h2,
#learn-press-user-profile h3 {
  color: var(--gt-heading) !important;
}

.gt-course-single-main p,
.gt-course-single-main li,
.gt-course-card p,
.gt-track-panel p,
.gt-track-card p,
.gt-section-heading p,
.gt-profile-panel p,
.gt-auth-card p,
.gt-muted,
.gt-course-card__meta,
#learn-press-checkout p,
#learn-press-profile p,
#learn-press-user-profile p {
  color: var(--gt-muted) !important;
}

.gt-chip-list a,
.gt-course-card__footer a,
.gt-course-card__track a,
.gt-track-tabs button,
.gt-track-filter-tabs button,
.gt-home-tracks__tabs button,
.gt-profile-course h3 a,
.gt-nav__list a,
.gt-mobile-menu a {
  color: var(--gt-secondary) !important;
}

html[data-theme="dark"] .gt-chip-list a,
html[data-theme="dark"] .gt-course-card__footer a,
html[data-theme="dark"] .gt-course-card__track a,
html[data-theme="dark"] .gt-track-tabs button,
html[data-theme="dark"] .gt-track-filter-tabs button,
html[data-theme="dark"] .gt-home-tracks__tabs button,
html[data-theme="dark"] .gt-profile-course h3 a,
html[data-theme="dark"] .gt-nav__list a,
html[data-theme="dark"] .gt-mobile-menu a {
  color: var(--gt-heading) !important;
}

.gt-nav__list a:hover,
.gt-nav__list a.is-active,
.gt-mobile-menu a:hover,
.gt-mobile-menu a.is-active,
.gt-course-card__footer a:hover,
.gt-course-card__track a:hover,
.gt-profile-course h3 a:hover {
  color: var(--gt-primary-text) !important;
}

.gt-page-hero .gt-badge,
.gt-courses-hero .gt-badge,
.gt-track-hero .gt-badge,
.gt-profile-hero .gt-badge,
.gt-course-single-hero .gt-badge,
.gt-pill,
.gt-course-single-hero__meta span,
.gt-course-single-hero__meta a,
.gt-track-hero__meta span {
  background-color: rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
}

.gt-btn--outline {
  background-color: var(--gt-surface) !important;
  color: var(--gt-secondary) !important;
  border-color: var(--gt-border) !important;
}

html[data-theme="dark"] .gt-btn--outline {
  color: var(--gt-heading) !important;
}

.gt-btn--primary,
.gt-btn--secondary:hover,
.gt-course-filters button,
.gt-track-tabs button.is-active,
.gt-track-filter-tabs button.is-active,
.gt-home-tracks__tabs button.is-active {
  background-color: var(--gt-primary) !important;
  color: var(--gt-secondary) !important;
  border-color: var(--gt-primary) !important;
}

.gt-btn--secondary,
.gt-btn--primary:hover {
  background-color: var(--gt-secondary) !important;
  color: #fff !important;
  border-color: var(--gt-secondary) !important;
}

input,
textarea,
select {
  background-color: var(--gt-surface) !important;
  color: var(--gt-text) !important;
  border-color: var(--gt-border) !important;
}

input::placeholder,
textarea::placeholder {
  color: var(--gt-muted-soft) !important;
}

html[data-theme="dark"] .gt-logo--image {
  background-color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.20) !important;
}

html[data-theme="dark"] .gt-header {
  background: var(--gt-header-bg) !important;
  background-color: var(--gt-header-bg) !important;
  border-bottom: 1px solid var(--gt-border) !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04), 0 18px 46px rgba(0, 0, 0, 0.22) !important;
}

html[data-theme="light"] .gt-header {
  background: var(--gt-header-bg) !important;
  background-color: var(--gt-header-bg) !important;
  border-bottom: 1px solid var(--gt-border) !important;
}

html[data-theme="dark"] .gt-header .gt-nav__list > li > a,
html[data-theme="dark"] .gt-header .gt-nav-dropdown-toggle,
html[data-theme="dark"] .gt-header .gt-icon-btn,
html[data-theme="dark"] .gt-header .gt-menu-toggle {
  color: var(--gt-heading) !important;
}

html[data-theme="light"] .gt-header .gt-nav__list > li > a,
html[data-theme="light"] .gt-header .gt-nav-dropdown-toggle,
html[data-theme="light"] .gt-header .gt-icon-btn,
html[data-theme="light"] .gt-header .gt-menu-toggle {
  color: var(--gt-secondary) !important;
}

html[data-theme="dark"] .gt-footer::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 130' preserveAspectRatio='none'%3E%3Cpath d='M0,62 C160,110 328,118 504,78 C706,31 831,15 1018,52 C1192,86 1302,90 1440,42 L1440,0 L0,0 Z' fill='%23121212'/%3E%3C/svg%3E") !important;
}

/* Header layout match */
.gt-header {
  background: var(--gt-primary) !important;
  background-color: var(--gt-primary) !important;
  border-bottom: 0 !important;
  box-shadow: 0 10px 26px rgba(68, 46, 102, 0.12) !important;
  backdrop-filter: none !important;
  color: var(--gt-secondary) !important;
}

html[data-theme="light"] .gt-header,
html[data-theme="dark"] .gt-header {
  background: var(--gt-primary) !important;
  background-color: var(--gt-primary) !important;
  border-bottom: 0 !important;
  color: var(--gt-secondary) !important;
}

.gt-header__top {
  min-height: 36px !important;
  height: 36px !important;
  background: var(--gt-secondary) !important;
  color: #fff !important;
  border: 0 !important;
  overflow: hidden !important;
  padding-block: 0 !important;
  display: flex !important;
  align-items: center !important;
}

.gt-header__top-inner {
  min-height: 36px !important;
  height: 36px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important; /* Aligns to left in LTR */
}
html[dir="rtl"] .gt-header__top-inner {
  justify-content: flex-end !important; /* Aligns to left in RTL */
}

.gt-header__top-contact {
  display: flex !important;
  align-items: center !important;
  gap: 18px !important;
  color: #fff !important;
  font-size: 0.86rem !important;
  font-weight: 800 !important;
  white-space: nowrap !important;
}

.gt-header__top-link {
  color: #fff !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.gt-header__top-link:hover {
  color: var(--gt-primary) !important;
}

.gt-header__inner {
  min-height: 82px !important;
  background: transparent !important;
  align-items: center !important;
  gap: 24px !important;
}

.gt-header--logo-image .gt-header__inner {
  padding-inline-start: 180px !important;
}

.gt-header--logo-image .gt-logo--image {
  inset-block-start: 0 !important;
  width: 156px !important;
  min-width: 156px !important;
  max-width: 156px !important;
  height: 132px !important;
  min-height: 132px !important;
  max-height: 132px !important;
  padding: 12px 14px !important;
  background: #fff !important;
  border: 0 !important;
  border-radius: 0 0 16px 16px !important;
  box-shadow: 0 12px 30px rgba(68, 46, 102, 0.16) !important;
}

.gt-header--logo-image .gt-logo--image .gt-logo__image,
.gt-header--logo-image .gt-logo--image img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center !important;
}

.gt-nav {
  flex: 1 1 auto !important;
}

.gt-nav__list {
  justify-content: flex-start !important;
  gap: 32px !important;
}

.gt-header .gt-nav__list > li > a,
.gt-header .gt-nav-dropdown-toggle,
html[data-theme="light"] .gt-header .gt-nav__list > li > a,
html[data-theme="light"] .gt-header .gt-nav-dropdown-toggle,
html[data-theme="dark"] .gt-header .gt-nav__list > li > a,
html[data-theme="dark"] .gt-header .gt-nav-dropdown-toggle {
  color: var(--gt-secondary) !important;
  font-size: 0.98rem !important;
  font-weight: 900 !important;
}

.gt-header .gt-nav__list > li > a:hover,
.gt-header .gt-nav__list > li > a.is-active,
.gt-header .gt-nav-dropdown-toggle:hover {
  color: #2f2048 !important;
}

.gt-header .gt-nav__list > li > a::after,
.gt-header .gt-nav-dropdown-toggle::after {
  background-color: var(--gt-secondary) !important;
}

.gt-header .gt-icon-btn,
.gt-header .gt-menu-toggle,
html[data-theme="light"] .gt-header .gt-icon-btn,
html[data-theme="light"] .gt-header .gt-menu-toggle,
html[data-theme="dark"] .gt-header .gt-icon-btn,
html[data-theme="dark"] .gt-header .gt-menu-toggle {
  color: var(--gt-secondary) !important;
  background: transparent !important;
}

.gt-header .gt-icon-btn:hover,
.gt-header .gt-menu-toggle:hover {
  background: rgba(68, 46, 102, 0.08) !important;
}

.gt-header .gt-auth-link,
.gt-header .gt-auth-link--login {
  color: var(--gt-secondary) !important;
  font-weight: 900 !important;
}

.gt-header .gt-header__cta {
  background: var(--gt-secondary) !important;
  color: #fff !important;
  box-shadow: 0 10px 22px rgba(68, 46, 102, 0.24) !important;
}

.gt-header--logo-image + .gt-main .gt-hero,
.gt-header--logo-image + .gt-main .gt-page-hero,
.gt-header--logo-image + .gt-main .gt-track-hero,
.gt-header--logo-image + .gt-main .gt-course-single-hero,
.gt-header--logo-image + .gt-main .gt-profile-hero,
.gt-header--logo-image + .gt-main .gt-auth-section {
  padding-top: 162px !important;
}

@media (max-width: 1024px) {
  .gt-nav {
    display: none !important;
  }

  .gt-header--logo-image .gt-header__inner {
    padding-inline-start: 162px !important;
  }
}

@media (max-width: 720px) {
  .gt-header__top-inner {
    justify-content: center !important;
  }

  .gt-header__top-contact {
    gap: 12px !important;
    font-size: 0.78rem !important;
  }

  .gt-header__inner {
    min-height: 74px !important;
  }

  .gt-header--logo-image .gt-header__inner {
    padding-inline-start: 134px !important;
  }

  .gt-header--logo-image .gt-logo--image {
    inset-block-start: 0 !important;
    width: 124px !important;
    min-width: 124px !important;
    max-width: 124px !important;
    height: 110px !important;
    min-height: 110px !important;
    max-height: 110px !important;
  }

  .gt-header__actions .gt-auth-link,
  .gt-header__cta {
    display: none !important;
  }

  .gt-header--logo-image + .gt-main .gt-hero,
  .gt-header--logo-image + .gt-main .gt-page-hero,
  .gt-header--logo-image + .gt-main .gt-track-hero,
  .gt-header--logo-image + .gt-main .gt-course-single-hero,
  .gt-header--logo-image + .gt-main .gt-profile-hero,
  .gt-header--logo-image + .gt-main .gt-auth-section {
    padding-top: 146px !important;
  }
}

/* Header visibility and active-state refinements */
.gt-header__top-inner,
.gt-header__top-contact,
.gt-header__top-link,
.gt-header__top-social,
.gt-header__social-link {
  align-items: center !important;
}

.gt-header__top-contact {
  min-height: 36px !important;
  height: 100% !important;
}

.gt-header__top-link {
  display: inline-flex !important;
  height: 100% !important;
  line-height: 1 !important;
  align-items: center !important;
  justify-content: center !important;
}

.gt-header__top-link svg,
.gt-header__top-link span {
  flex: 0 0 auto !important;
}

.gt-header__top-social {
  display: inline-flex !important;
  gap: 8px !important;
  height: 36px !important;
}

.gt-header__social-link {
  display: inline-grid !important;
  width: 24px !important;
  height: 24px !important;
  place-items: center !important;
  border-radius: 999px !important;
  color: #fff !important;
  opacity: 0.92 !important;
  transition: background 180ms ease, color 180ms ease, opacity 180ms ease, transform 180ms ease !important;
}

.gt-header__social-link:hover,
.gt-header__social-link:focus-visible {
  background: rgba(255, 255, 255, 0.14) !important;
  color: var(--gt-primary) !important;
  opacity: 1 !important;
  transform: translateY(-1px) !important;
}

.gt-header__social-link svg {
  width: 14px !important;
  height: 14px !important;
  fill: currentColor !important;
}

.gt-header .gt-nav__list > li > a.is-active::after,
.gt-header .gt-nav__list > li.current-menu-item > a::after,
.gt-header .gt-nav__list > li.current-menu-ancestor > a::after,
.gt-header .gt-nav__list > li.current_page_item > a::after,
.gt-header .gt-nav__list > li.current_page_ancestor > a::after,
.gt-header .gt-nav-dropdown-toggle.is-active::after {
  width: 100% !important;
}

.gt-header .gt-nav__list > li.current-menu-item > a,
.gt-header .gt-nav__list > li.current-menu-ancestor > a,
.gt-header .gt-nav__list > li.current_page_item > a,
.gt-header .gt-nav__list > li.current_page_ancestor > a {
  color: #2f2048 !important;
}

html[data-theme="light"] .gt-hero .gt-badge {
  background: #fff7df !important;
  color: var(--gt-secondary) !important;
  border: 1px solid rgba(var(--gt-primary-rgb), 0.42) !important;
}

html[data-theme="light"] .gt-hero .gt-badge svg {
  color: var(--gt-primary-hover) !important;
}

.gt-page-hero p,
.gt-track-hero p,
.gt-profile-hero p,
.gt-course-single-hero p,
.gt-course-single-hero__content p {
  color: rgba(255, 255, 255, 0.88) !important;
  text-shadow: 0 1px 2px rgba(20, 13, 32, 0.18) !important;
}

.gt-course-single-hero__meta span,
.gt-course-single-hero__meta a,
.gt-track-hero__meta span {
  color: #fff !important;
}

.gt-footer h2 {
  color: #fff !important;
}

.gt-footer p,
.gt-footer__links a,
.gt-footer__links li,
.gt-footer__bottom a,
.gt-footer__bottom p {
  color: rgba(255, 255, 255, 0.86) !important;
}

.gt-footer__links a:hover,
.gt-footer__bottom a:hover {
  color: var(--gt-primary) !important;
}

@media (max-width: 720px) {
  .gt-header__top-contact {
    justify-content: center !important;
  }

  .gt-header__top-social {
    gap: 6px !important;
  }

  .gt-header__social-link {
    width: 22px !important;
    height: 22px !important;
  }
}
