* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --gold: #d4af37;
  --gold-light: #e5c158;
  --gold-dark: #aa8c2c;
  --bg-dark: #0b0f19;
  --bg-card: #1a1a1a;
  --text-primary: #ffffff;
  --text-secondary: #cfcfcf;
  --text-tertiary: #999999;
  --border-color: rgba(212, 175, 55, 0.2);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.35);
  --shadow-xl: 0 24px 56px rgba(0, 0, 0, 0.45);
}

body {
  font-family: 'Tajawal', 'Poppins', sans-serif;
  background: radial-gradient(circle at top left, #111827 0%, #0b0f19 40%, #000000 100%);
  color: var(--text-primary);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

video::-webkit-media-controls-loading-panel,
video::-internal-media-controls-loading-panel,
video::-webkit-media-controls-spinner {
  display: none !important;
}

/* Hide legacy/custom loading indicators site-wide */
.loader,
.spinner,
.preloader,
.loading,
.loading-spinner,
.loading-icon,
.loading-overlay,
.page-loader,
.spinner-border,
.spinner-grow,
.fa-spinner {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

#loader,
#preloader {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

section {
  padding: 100px 0;
}

/* ================= NAVBAR ================= */

.navbar {
  position: fixed;
  width: 100%;
  backdrop-filter: blur(12px);
  background: rgba(0, 0, 0, 0.7);
  padding: 20px 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.navbar.shrink {
  padding: 12px 0;
  background: rgba(0, 0, 0, 0.92);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  user-select: none;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

.logo-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.2));
  transition: width 0.3s ease, height 0.3s ease, transform 0.3s ease, opacity 0.3s ease, filter 0.3s ease;
}

.logo-text {
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #d4af37, #e5c158);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: font-size 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}

.navbar.shrink .logo {
  transform: translateY(-1px);
  opacity: 0.95;
}

.navbar.shrink .logo-text {
  font-size: 1.2rem;
}

.navbar.shrink .logo-mark {
  width: 34px;
  height: 34px;
  opacity: 0.95;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  transition: color 0.3s ease, text-shadow 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-lang {
  display: none !important;
}

.nav-lang:hover {
  display: none !important;
}

/* ================= HERO SLIDER ================= */

.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-top: 120px;
}

.hero-slider {
  position: absolute;
  inset: 0;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    rgba(0, 0, 0, 0.85) 10%,
    rgba(0, 0, 0, 0.65) 40%,
    rgba(0, 0, 0, 0.3) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
}

.hero-tag {
  font-size: 0.9rem;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 20px;
  display: inline-block;
  background: rgba(212, 175, 55, 0.1);
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.hero-text h1 {
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 25px;
  letter-spacing: -1px;
}

.hero-text p {
  color: #ddd;
  margin-bottom: 35px;
}

.hero-support {
  font-size: 1.15rem;
  max-width: 520px;
  line-height: 1.8;
  color: #e0e0e0;
}

.highlight {
  color: #ffcb4a;
  font-weight: 700;
}

/* ================= BUTTONS ================= */

.btn-primary {
  background: linear-gradient(135deg, #ffcb4a, #ffd86b);
  padding: 13px 32px;
  text-decoration: none;
  color: #000;
  font-weight: 700;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  display: inline-block;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ffd86b, #ffdf8a);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:active {
  transform: translateY(-1px);
}

.btn-secondary {
  border: 2px solid var(--gold);
  padding: 11px 30px;
  text-decoration: none;
  color: var(--gold);
  font-weight: 700;
  border-radius: 10px;
  transition: all 0.3s ease;
  background: transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-secondary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gold);
  z-index: -1;
  transition: left 0.3s ease;
}

.btn-secondary:hover {
  color: #000;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.btn-secondary:hover::before {
  left: 0;
}

/* ================= SECTIONS (shared) ================= */

.section {
  padding: 100px 0;
  position: relative;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #fff, var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(212, 175, 55, 0.35), transparent);
}

/* ================= اختر طريقك ================= */

.choose-section {
  padding: 120px 0;
}

.choose-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.choose-card {
  position: relative;
  display: block;
  min-height: 340px;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1px solid rgba(212, 175, 55, 0.15);
}

.choose-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 30px 60px rgba(212, 175, 55, 0.2), var(--shadow-xl);
  border-color: rgba(212, 175, 55, 0.4);
}

.choose-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.choose-card:hover .choose-card-bg {
  transform: scale(1.12);
}

.choose-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.88) 100%);
  transition: background 0.4s ease;
}

.choose-card:hover .choose-card-overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.8) 100%);
}

.choose-card-content {
  position: relative;
  z-index: 2;
  padding: 2.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.choose-card-content h3 {
  font-size: 1.85rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: #fff;
  letter-spacing: -0.5px;
}

.choose-card-content p {
  color: #e0e0e0;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.6;
}

.choose-card-btn {
  display: inline-block;
  padding: 11px 26px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #000;
  font-weight: 700;
  border-radius: 10px;
  width: fit-content;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: var(--shadow-md);
  border: none;
}

.choose-card:hover .choose-card-btn {
  background: linear-gradient(135deg, var(--gold-light), #ffdf8a);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* ================= لماذا نحن ================= */

.why-section {
  background: radial-gradient(circle at center, rgba(212, 175, 55, 0.08), transparent 65%);
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.why-card {
  text-align: center;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.8), rgba(26, 26, 26, 0.4));
  border-radius: 16px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  backdrop-filter: blur(10px);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.why-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(212, 175, 55, 0.1);
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.9), rgba(26, 26, 26, 0.5));
}

.why-card:hover::before {
  opacity: 1;
}

.why-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 175, 55, 0.1);
  border-radius: 12px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  transition: all 0.3s ease;
}

.why-card:hover .why-icon {
  background: rgba(212, 175, 55, 0.2);
  border-color: rgba(212, 175, 55, 0.4);
  transform: scale(1.08);
}

.why-icon svg {
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease;
}

.why-card h3 {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: #fff;
  letter-spacing: -0.3px;
}

.why-card p {
  color: #b8b8b8;
  font-size: 0.98rem;
  line-height: 1.8;
  margin: 0;
}

/* ================= نماذج من المحتوى ================= */

.content-section {
  padding: 120px 0;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.content-item {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.8), rgba(26, 26, 26, 0.4));
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1px solid rgba(212, 175, 55, 0.15);
  box-shadow: var(--shadow-sm);
}

.content-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl), inset 0 1px 0 rgba(212, 175, 55, 0.1);
  border-color: rgba(212, 175, 55, 0.4);
}

.content-thumb {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.05));
}

.content-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.content-item:hover .content-thumb img {
  transform: scale(1.12);
}

.content-item h3 {
  padding: 1.25rem 1.5rem 0.5rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.3px;
}

.content-cat {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  margin: 0.5rem 1.5rem 1.25rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold);
  background: rgba(212, 175, 55, 0.15);
  border-radius: 8px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.content-item:hover .content-cat {
  background: rgba(212, 175, 55, 0.25);
  border-color: rgba(212, 175, 55, 0.5);
}

/* ================= CTA ================= */

.cta-section {
  text-align: center;
  padding: 120px 0;
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.08) 0%, rgba(212, 175, 55, 0.04) 50%, transparent 100%);
  border-top: 1px solid rgba(212, 175, 55, 0.25);
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  position: relative;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.2), transparent);
  border-radius: 50%;
  filter: blur(40px);
}

.cta-text {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.cta-login-box {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 400px;
  margin: 0 auto 30px;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.login-form input {
  padding: 14px 18px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.login-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.login-form input:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.register-btn {
  align-self: stretch;
}

/* ================= FOOTER ================= */

.site-footer {
  background: linear-gradient(180deg, #0a0a0a 0%, #000000 100%);
  padding: 60px 0 0;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
}

.footer-brand .logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.25rem;
}

.footer-brand .logo-mark {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 2px 6px rgba(212, 175, 55, 0.15));
}

.footer-mission {
  color: var(--text-tertiary);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 320px;
  margin: 0;
}

.footer-links h4,
.footer-social h4 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 1.25rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-tertiary);
  text-decoration: none;
  font-size: 0.98rem;
  transition: all 0.3s ease;
  position: relative;
}

.footer-links a::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-links a:hover::before {
  width: 100%;
}

.social-icons {
  display: flex;
  gap: 12px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold);
  border: 1px solid rgba(212, 175, 55, 0.2);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.social-icons a:hover {
  background: var(--gold);
  color: #000;
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

.footer-bottom {
  padding: 1.75rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.9rem;
  color: #555;
}

/* ================= ANIMATION ================= */

.hero-text {
  animation: fadeUp 0.8s ease forwards;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse-gold {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(212, 175, 55, 0);
  }
}

h2 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 25px;
  text-align: center;
  letter-spacing: -0.5px;
}

p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

/* ================= SCROLL REVEAL ================= */

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  will-change: opacity, transform;
}

.reveal-on-scroll.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================= HERO SLIDER ================= */

.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-top: 120px;
}

.hero-slider {
  position: absolute;
  inset: 0;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    rgba(0,0,0,0.85) 10%,
    rgba(0,0,0,0.65) 40%,
    rgba(0,0,0,0.3) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
}

.hero-tag {
  font-size: 0.9rem;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 20px;
  display: inline-block;
}


.hero-text h1 {
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 25px;
}

.hero-text p {
  color: #ddd;
  margin-bottom: 35px;
}

.hero-support {
  font-size: 1.15rem;
  max-width: 520px;
}

.highlight {
  color: #ffcb4a;
}

/* ================= BUTTONS ================= */

.btn-primary {
  background: #ffcb4a;
  padding: 12px 30px;
  text-decoration: none;
  color: #000;
  font-weight: 600;
  border-radius: 6px;
  transition: 0.3s;
}

.btn-primary:hover {
  background: #ffd86b;
  transform: translateY(-2px);
}

.btn-secondary {
  border: 1px solid #ffcb4a;
  padding: 12px 30px;
  text-decoration: none;
  color: var(--gold);
  border-radius: 6px;
  transition: 0.3s;
}

.btn-secondary:hover {
  background: var(--gold);
  color: #000;
}

/* ================= SECTIONS (shared) ================= */

.section {
  padding: 100px 0;
  position: relative;
}

.section-title {
  font-size: 2.6rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 3rem;
  color: #fff;
}

.section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(212,175,55,0.35), transparent);
}

/* ================= اختر طريقك ================= */

.choose-section {
  padding: 120px 0;
}

.choose-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.choose-card {
  position: relative;
  display: block;
  min-height: 320px;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.choose-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 24px 48px rgba(0,0,0,0.5);
}

.choose-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.choose-card:hover .choose-card-bg {
  transform: scale(1.08);
}

.choose-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.85) 100%);
  transition: background 0.4s ease;
}

.choose-card:hover .choose-card-overlay {
  background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.75) 100%);
}

.choose-card-content {
  position: relative;
  z-index: 2;
  padding: 2.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.choose-card-content h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #fff;
}

.choose-card-content p {
  color: #ddd;
  margin-bottom: 1.25rem;
  font-size: 1rem;
}

.choose-card-btn {
  display: inline-block;
  padding: 10px 24px;
  background: var(--gold);
  color: #000;
  font-weight: 600;
  border-radius: 8px;
  width: fit-content;
  transition: background 0.3s ease, transform 0.3s ease;
}

.choose-card:hover .choose-card-btn {
  background: #ffd86b;
  transform: translateY(-2px);
}

/* ================= لماذا نحن ================= */

.why-section {
  background: radial-gradient(circle at center, rgba(212,175,55,0.06), transparent 65%);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.why-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: rgba(26,26,26,0.6);
  border-radius: 16px;
  border: 1px solid rgba(212,175,55,0.15);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.why-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212,175,55,0.4);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}

.why-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  color: var(--gold);
}

.why-icon svg {
  width: 100%;
  height: 100%;
}

.why-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #fff;
}

.why-card p {
  color: #b8b8b8;
  font-size: 0.98rem;
  line-height: 1.7;
  margin: 0;
}

/* ================= نماذج من المحتوى ================= */

.content-section {
  padding: 120px 0;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.content-item {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 14px;
  overflow: hidden;
  background: #1a1a1a;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.content-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.content-thumb {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.content-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.content-thumb--icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  background: linear-gradient(145deg, rgba(212,175,55,0.12), rgba(212,175,55,0.04));
  border-bottom: 2px solid rgba(212,175,55,0.25);
}

.content-thumb.content-thumb--icon {
  overflow: visible;
}

.content-icon-tooltip {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%) translateY(4px);
  padding: 10px 14px;
  background: rgba(20,20,20,0.98);
  color: #eee;
  font-size: 0.85rem;
  line-height: 1.4;
  max-width: calc(100% - 20px);
  width: max-content;
  white-space: normal;
  text-align: center;
  border-radius: 10px;
  border: 1px solid rgba(212,175,55,0.4);
  box-shadow: 0 8px 24px rgba(0,0,0,0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  z-index: 10;
  pointer-events: none;
}

.content-icon-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: rgba(20,20,20,0.98);
}

.content-item:hover .content-icon-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.content-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.content-icon svg {
  width: 56px;
  height: 56px;
  transition: transform 0.35s ease;
}

.content-item:hover .content-thumb--icon .content-icon svg {
  transform: scale(1.1);
}

.content-item:hover .content-thumb img {
  transform: scale(1.08);
}

.content-item h3 {
  padding: 1rem 1.25rem 0.35rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}

.content-cat {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  margin: 0 1.25rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  background: rgba(212,175,55,0.15);
  border-radius: 6px;
}

/* ================= CTA ================= */

.cta-section {
  text-align: center;
  padding: 120px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(212,175,55,0.08) 50%, transparent 100%);
  border-top: 1px solid rgba(212,175,55,0.25);
  border-bottom: 1px solid rgba(212,175,55,0.25);
}

.cta-text {
  font-size: 1.2rem;
  color: #cfcfcf;
  margin-bottom: 1.5rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.cta-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.cta-input {
  padding: 14px 18px;
  font-size: 1rem;
  font-family: inherit;
  color: #fff;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(212,175,55,0.35);
  border-radius: 10px;
  min-width: 180px;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.cta-input::placeholder {
  color: rgba(255,255,255,0.45);
}

.cta-input:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255,255,255,0.1);
}

.cta-submit {
  padding: 14px 28px;
  cursor: pointer;
  border: none;
  font-size: 1rem;
  white-space: nowrap;
}

.cta-submit:hover {
  background: #ffd86b;
  color: #000;
}

.cta-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.cta-note {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
  margin: 0.75rem 0 1rem;
}

.cta-section .btn-secondary {
  display: inline-block;
  margin-bottom: 1rem;
}

.cta-form-message {
  font-size: 0.95rem;
  min-height: 1.5em;
  margin-top: 0.5rem;
}

.cta-form-message.success {
  color: #8bc34a;
}

.cta-form-message.error {
  color: #f44336;
}

.cta-buttons{
  display:flex;
  justify-content:center;
  gap:24px;
  margin-top:30px;
  margin-bottom:40px; /* <-- this pushes buttons away from the bottom line */
}
.cta-buttons{
  margin-bottom:60px;
}


/* ================= FOOTER ================= */

.site-footer {
  background: #0a0a0a;
  padding: 56px 0 0;
  border-top: 1px solid rgba(212,175,55,0.2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
}

.footer-brand .logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
}

.footer-brand .logo-mark {
  width: 36px;
  height: 36px;
}

.footer-mission {
  color: #999;
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 320px;
  margin: 0;
}

.footer-links h4,
.footer-social h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #b8b8b8;
  text-decoration: none;
  font-size: 0.98rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--gold);
}

.social-icons {
  display: flex;
  gap: 14px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(212,175,55,0.12);
  color: var(--gold);
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
  background: var(--gold);
  color: #000;
  transform: translateY(-2px);
}

.footer-bottom {
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.9rem;
  color: #666;
}

/* ================= ANIMATION ================= */

.hero-text {
  animation: fadeUp 1s ease forwards;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
h2 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 25px;
  text-align: center;
}

p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #cfcfcf;
}

/* ================= SCROLL REVEAL ================= */

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  will-change: opacity, transform;
}

.reveal-on-scroll.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1024px) {
  .choose-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .why-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .content-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero-text h1 {
    font-size: 3rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    gap: 15px;
    font-size: 0.9rem;
  }
  
  .content-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-text h1 {
    font-size: 2.5rem;
  }
  
  section {
    padding: 60px 0;
  }
  
  .why-card {
    padding: 2rem 1.5rem;
  }
}
  
  .content-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }


@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
  .hero-text h1 {
    font-size: 2.8rem;
  }
  .choose-card {
    min-height: 280px;
  }
  .content-grid {
    grid-template-columns: 1fr;
  }
  .cta-form {
    flex-direction: column;
  }
  .cta-input {
    min-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }
  .cta-submit {
    width: 100%;
  }
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-brand .logo {
    justify-content: center;
  }
  .footer-mission {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }
  .footer-links ul,
  .footer-social .social-icons {
    justify-content: center;
  }
  .nav-links {
    gap: 16px;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    width: 100%;
    text-align: center;
  }
}

/* ================= VIDEO SECTION ================= */
.video-section .video-row {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
}
.video-wrap {
  width: 100%;
  max-width: 560px;
}
.video-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}
.video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.35));
  color: #fff;
  font-size: 3rem;
  opacity: 1;
  transition: opacity 0.18s ease;
  pointer-events: none;
}
.video-overlay-icon {
  display: inline-block;
  background: rgba(0,0,0,0.35);
  padding: 0.4rem 0.7rem;
  border-radius: 8px;
}
.video-wrap.playing .video-overlay { opacity: 0; }
.video-wrap:hover .video-overlay { opacity: 0.65; }
.video-wrap.no-hover-preview .video-overlay { display: none !important; }
.video-wrap.no-hover-preview .site-video {
  opacity: 1 !important;
  transform: none !important;
}
.site-video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  background: #000;
}
.video-title {
  margin-top: 0.75rem;
  font-size: 1.05rem;
  text-align: center;
  color: #fff;
}
.video-note {
  text-align: center;
  margin-top: 1rem;
  color: #d0d0d0;
  font-size: 0.95rem;
}
@media (min-width: 900px) {
  .video-wrap { width: 48%; }
}
.video-frame {
  width: 700px;
  height: 420px;
  margin: 0 auto;
  border-radius: 14px 14px 0 0;
  overflow: hidden;
  background: #000;
}

.preview-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Make it responsive on smaller screens */
@media (max-width: 768px) {
  .video-frame {
    width: 100%;
    height: auto;
    aspect-ratio: 700 / 420; /* keeps same shape */
  }
  .preview-video {
    height: 100%;
  }
}

.video-row{
  display:flex;
  gap:24px;
  justify-content:center;
  flex-wrap:wrap;
}

.video-wrap{
  width: 700px;
  margin: 0 auto;
}

.site-video{
  width: 700px;
  height: 420px;          /* <-- force same frame size */
  object-fit: cover;       /* <-- crop to fill */
  object-position: center; /* <-- keep center */
  display: block;
  border-radius: 12px;
  background: #000;
  opacity: 0;              /* for fade-in */
  transition: opacity 350ms ease; /* fade effect */
}

/* Fade in when playing */
.video-wrap.playing .site-video{
  opacity: 1;
}

/* Optional: vertical video often needs better framing */
.video-wrap.is-vertical .site-video{
  object-position: center 20%; /* move focus a bit upward (face area) */
}

/* responsive */
@media (max-width: 768px){
  .video-wrap{ width:100%; max-width:700px; }
  .site-video{ width:100%; height:auto; aspect-ratio:700/420; }
}
/* Smooth transition feel */
.video-wrap{
  position: relative;
}

/* video starts hidden */
.site-video{
  width: 700px;
  height: 420px;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 12px;
  background: #000;

  opacity: 0;
  transform: scale(1.03);
  transition: opacity 420ms ease, transform 650ms ease;
  will-change: opacity, transform;
}

/* overlay fades o 
ut smoothly */
.video-overlay{
  opacity: 1;
  transition: opacity 420ms ease;
}

/* when playing (hover), fade video in + overlay out */
.video-wrap.playing .site-video{
  opacity: 1;
  transform: scale(1);
}

.video-wrap.playing .video-overlay{
  opacity: 0;
}
.site-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
html{
  scroll-padding-top:120px;
}
.cta-login-box{
display:flex;
flex-direction:column;
align-items:center;
gap:20px;
margin-top:40px;
}

.login-form{
display:flex;
gap:16px;
justify-content:center;
align-items:center;
flex-wrap:wrap;
}

.login-form input{
padding:14px 18px;
width:260px;

border-radius:10px;

background:rgba(212,175,55,0.06);

border:1px solid rgba(212,175,55,0.35);

color:#fff;

font-family:inherit;

transition: all .25s ease;
}

.login-form input::placeholder{
color:#aaa;
}

.register-btn{
margin-top:10px;
}
.login-form input{
padding:14px 18px;
width:260px;

border-radius:10px;

background:rgba(212,175,55,0.06);

border:1px solid rgba(212,175,55,0.35);

color:#fff;

font-family:inherit;

transition: all .25s ease;
}


/*=============Register-page=================*/
/* REGISTER PAGE */

.register-box{

max-width:420px;

margin:auto;

background:rgba(0,0,0,0.45);

border:1px solid rgba(212,175,55,0.25);

padding:40px;

border-radius:16px;

backdrop-filter:blur(10px);

margin-top:40px;

}


.register-form{

display:flex;

flex-direction:column;

gap:16px;

}


.register-form input{

padding:14px 18px;

border-radius:10px;

background:rgba(212,175,55,0.06);

border:1px solid rgba(212,175,55,0.35);

color:#fff;

font-family:inherit;

transition:all .25s ease;

}


.register-form input::placeholder{

color:#aaa;

}


.register-form input:focus{

outline:none;

border-color:#d4af37;

}


.register-login{

text-align:center;

margin-top:18px;

color:#aaa;

}


.register-login a{

color:#d4af37;

text-decoration:none;

font-weight:600;

}

/*============ DASHBOARD============ */
.dashboard-layout{

display:flex;
min-height:100vh;

}


/* Sidebar */

.dashboard-sidebar{

width:240px;

background:#0c0f17;

border-left:1px solid rgba(212,175,55,0.15);

padding:30px 20px;

}


.sidebar-logo{

font-weight:700;

color:#d4af37;

margin-bottom:40px;

}


.sidebar-menu{

display:flex;

flex-direction:column;

gap:18px;

}


.sidebar-menu a{

color:#bbb;

text-decoration:none;

padding:10px;

border-radius:6px;

transition:.3s;

}


.sidebar-menu a:hover{

background:rgba(212,175,55,0.1);

color:#fff;

}


.sidebar-menu .active{

background:rgba(212,175,55,0.2);

color:#fff;

}


/* Main area */

.dashboard-main{

flex:1;

padding:30px;

}


/* Top bar */

.dashboard-topbar{

display:flex;

justify-content:space-between;

align-items:center;

margin-bottom:30px;

}


/* Cards */

.dashboard-cards{

display:grid;

grid-template-columns:repeat(3,1fr);

gap:20px;

margin-bottom:30px;

}


.dash-card{

background:rgba(0,0,0,0.45);

border:1px solid rgba(212,175,55,0.25);

padding:25px;

border-radius:12px;

text-align:center;

}


/* Feature section */

.dashboard-feature{

background:linear-gradient(
135deg,
rgba(212,175,55,0.15),
rgba(0,0,0,0.5)
);

border-radius:16px;

padding:40px;

text-align:center;

}
.user-box{
background:rgba(212,175,55,0.15);
padding:8px 14px;
border-radius:8px;
color:var(--gold);
font-weight:600;
}
.sidebar-menu a{
display:flex;
align-items:center;
gap:8px;
font-size:14px;
}

.menu-icon{
width:16px;
height:16px;
flex-shrink:0;
}

.menu-icon path,
.menu-icon rect,
.menu-icon circle{
stroke:#bbb;
}

.sidebar-menu a:hover .menu-icon path,
.sidebar-menu a:hover .menu-icon rect,
.sidebar-menu a:hover .menu-icon circle{
stroke:#d4af37;
}

.sidebar-menu .active .menu-icon path,
.sidebar-menu .active .menu-icon rect,
.sidebar-menu .active .menu-icon circle{
stroke:#d4af37;
}
.sidebar-menu a{
display:flex;
align-items:center;
gap:10px;
font-size:14px;
}

.icon{
width:16px;
height:16px;
stroke:#bbb;
fill:none;
stroke-width:2;
}

.sidebar-menu a:hover .icon{
stroke:#d4af37;
}

.sidebar-menu .active .icon{
stroke:#d4af37;
}
/* ===== Dashboard additions (safe) ===== */

/* header spacing */
.dashboard-header{
margin-bottom:30px;
}

/* icon sizing (compatible with your sidebar system) */
.icon{
width:16px;
height:16px;
stroke:#bbb;
fill:none;
stroke-width:2;
}

.sidebar-menu a:hover .icon{
stroke:var(--gold);
}

.sidebar-menu .active .icon{
stroke:var(--gold);
}

/* progress cards container */
.progress-cards{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:20px;
margin-bottom:30px;
}

/* progress card */
.progress-card{
background:rgba(0,0,0,0.45);
border:1px solid rgba(212,175,55,0.25);
padding:25px;
border-radius:12px;
text-align:center;
}

/* circle progress */
.progress-circle{
width:90px;
height:90px;
border-radius:50%;
border:6px solid var(--gold);
display:flex;
align-items:center;
justify-content:center;
font-weight:700;
margin:auto;
}

/* progress bar */
.progress-bar{
height:8px;
background:#1b1b1b;
border-radius:20px;
overflow:hidden;
margin:12px 0;
}

.progress-fill{
width:75%;
height:100%;
background:var(--gold);
}

/* challenge box */
.challenge-box{
margin-top:30px;
padding:40px;
background:linear-gradient(
135deg,
rgba(212,175,55,0.15),
rgba(0,0,0,0.6)
);
border-radius:16px;
text-align:center;
}

/* video grid */
.video-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:20px;
margin-top:20px;
}

.video-card{
background:#111;
border-radius:10px;
overflow:hidden;
border:1px solid rgba(212,175,55,0.15);
}

.video-card img{
width:100%;
height:160px;
object-fit:cover;
}

.video-card p{
padding:12px;
text-align:center;
font-size:14px;
}
/* ===== Dashboard layout container ===== */

.dashboard-main{

max-width:1200px;

margin:auto;

}
/* ===== universal card ===== */

.card{

background:rgba(0,0,0,0.45);

border:1px solid rgba(212,175,55,0.25);

border-radius:12px;

}
/* ===== spacing helpers ===== */

.mt-20{ margin-top:20px; }

.mt-30{ margin-top:30px; }

.mb-30{ margin-bottom:30px; }
.icon{
width:16px;
height:16px;
stroke:#bbb;
fill:none;
stroke-width:2;
flex-shrink:0;
}
.grid-3{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:20px;
}
.card:hover{

border-color:rgba(212,175,55,0.5);

box-shadow:
0 10px 25px rgba(0,0,0,0.6),
0 0 10px rgba(212,175,55,0.15);

}
.daily-progress{
padding:25px;
margin-top:30px;
}

.progress-item{
margin-top:15px;
}

.mini-bar{
height:6px;
background:#1b1b1b;
border-radius:10px;
overflow:hidden;
margin-top:6px;
}

.mini-fill{
height:100%;
background:var(--gold);
}
.activity{
padding:25px;
margin-top:30px;
}

.activity ul{
list-style:none;
margin-top:15px;
}

.activity li{
padding:6px 0;
color:#ccc;
font-size:14px;
}
.dashboard-row{
display:grid;
grid-template-columns:1fr 1fr;
gap:20px;
margin-top:30px;
}
/* Dashboard layout improvements */

.dashboard-content{
display:flex;
flex-direction:column;
gap:30px;
margin-top:30px;
}

/* program + daily row */

.dashboard-row{
display:grid;
grid-template-columns:1fr 1fr;
gap:20px;
}

/* video grid */

.video-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:20px;
}

/* activity list */

.activity ul{
list-style:none;
padding:0;
margin-top:10px;
}

.activity li{
padding:8px 0;
border-bottom:1px solid rgba(255,255,255,0.08);
}

/* responsive */

@media(max-width:900px){

.dashboard-row{
grid-template-columns:1fr;
}

.video-grid{
grid-template-columns:1fr;
}

}
/* ===== Progress Ring ===== */

.progress-ring{
position:relative;
width:120px;
height:120px;
margin:auto;
}

.ring-bg{
fill:none;
stroke:rgba(255,255,255,0.08);
}

.ring-progress{
fill:none;
stroke:#d4af37;
stroke-linecap:round;
stroke-dasharray:314;
stroke-dashoffset:47;
transform:rotate(-90deg);
transform-origin:center;
animation:ringFill 1.5s ease;
}

.ring-text{
position:absolute;
top:50%;
left:50%;
transform:translate(-50%,-50%);
font-weight:700;
}

@keyframes ringFill{
from{stroke-dashoffset:314;}
to{stroke-dashoffset:47;}
}


/* ===== Streak Tracker ===== */

.streak-grid{
display:grid;
grid-template-columns:repeat(7,1fr);
gap:10px;
margin-top:15px;
}

.day{
padding:10px;
border-radius:8px;
text-align:center;
font-weight:600;
}

.day.done{
background:rgba(212,175,55,0.2);
color:#d4af37;
}

.day.missed{
background:rgba(255,70,70,0.2);
color:#ff6b6b;
}

.day.pending{
background:rgba(255,255,255,0.05);
color:#aaa;
}


/* ===== Video Carousel ===== */

.video-carousel{
display:flex;
gap:20px;
overflow-x:auto;
scroll-snap-type:x mandatory;
padding-bottom:10px;
}

.video-card{
min-width:260px;
scroll-snap-align:start;
}

.video-carousel::-webkit-scrollbar{
height:6px;
}

.video-carousel::-webkit-scrollbar-thumb{
background:#d4af37;
border-radius:4px;
}
/* card hover life */

.card,
.progress-card,
.video-card,
.challenge-box{

transition: all .25s ease;
cursor: pointer;

}

.card:hover,
.progress-card:hover,
.video-card:hover,
.challenge-box:hover{

transform: translateY(-6px);
box-shadow: 0 15px 35px rgba(0,0,0,0.35);

}
.btn-primary{

transition: all .25s ease;

}

.btn-primary:hover{

transform: translateY(-2px);
box-shadow: 0 6px 18px rgba(212,175,55,.45);

}
.sidebar-menu a{

transition: all .2s ease;

}

.sidebar-menu a:hover{

transform: translateX(-6px);
background: rgba(212,175,55,0.12);

}
.video-card{

overflow: hidden;

}

.video-card img{

transition: transform .35s ease;

}

.video-card:hover img{

transform: scale(1.08);

}
.dashboard-content{

animation: dashboardFade .5s ease;

}

@keyframes dashboardFade{

from{
opacity:0;
transform:translateY(10px);
}

to{
opacity:1;
transform:translateY(0);
}

}.dashboard-glow{
position:relative;
}

.dashboard-glow::before{

content:"";
position:absolute;

top:120px;
left:50%;
transform:translateX(-50%);

width:1100px;   /* stretch horizontally */
height:450px;   /* keep it flatter */

background:radial-gradient(
ellipse,
rgba(212,175,55,0.22) 0%,
rgba(212,175,55,0.10) 35%,
transparent 70%
);

pointer-events:none;
z-index:0;

}

.dashboard-glow > *{
position:relative;
z-index:1;
}
.card,
.progress-card,
.challenge-box,
.continue-watch {

transition: all .35s ease;

}

.card:hover,
.progress-card:hover,
.challenge-box:hover,
.continue-watch:hover {

transform: translateY(-6px);

box-shadow:
0 10px 30px rgba(0,0,0,0.6),
0 0 15px rgba(212,175,55,0.35);

border-color: rgba(212,175,55,0.6);

}
.sidebar-menu a{

transition: all .25s ease;

}

.sidebar-menu a:hover{

transform: translateX(-6px);

background: rgba(212,175,55,0.12);

box-shadow: inset 3px 0 0 #d4af37;

}
.btn-primary{

transition: all .3s ease;

}

.btn-primary:hover{

transform: translateY(-2px);

box-shadow:
0 6px 20px rgba(212,175,55,0.45);

}
.continue-video img{

transition: all .4s ease;

}

.continue-video:hover img{

transform: scale(1.05);

}
.progress-fill{

transition: width 1.2s ease;

}

/* PAGE */

.sports-page{
padding-top:140px;
max-width:1200px;
margin:auto;
padding-left:20px;
padding-right:20px;
}


/* INTRO */

.course-intro{
background:rgba(0,0,0,0.45);
border:1px solid rgba(212,175,55,0.25);
padding:30px;
border-radius:14px;
margin-bottom:50px;
}

.course-intro h1{
color:#d4af37;
margin-bottom:20px;
}

.course-intro p{
color:#ccc;
line-height:1.8;
}


/* WEEK SECTION */

.week-section{
margin-bottom:60px;
}

.week-section h2{
color:#d4af37;
margin-bottom:25px;
}


/* GRID */

.week-grid{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:20px;
}

.day-card{
background:rgba(0,0,0,0.45);
border:1px solid rgba(212,175,55,0.25);
border-radius:12px;
padding:20px;
transition:.25s;
}

.day-card:hover{
transform:translateY(-4px);
box-shadow:0 10px 25px rgba(0,0,0,.6);
}

.day-card h3{
color:#fff;
margin-bottom:10px;
}

.day-card ul{
list-style:none;
padding:0;
}

.day-card li{
padding:6px 0;
border-bottom:1px solid rgba(255,255,255,0.08);
color:#bbb;
}


/* PROGRAM BLOCK */

.program-block{
background:rgba(0,0,0,0.45);
border:1px solid rgba(212,175,55,0.25);
border-radius:12px;
padding:25px;
margin-bottom:20px;
}

.program-block h3{
color:#fff;
margin-bottom:10px;
}

.program-block ul{
list-style:none;
padding:0;
}

.program-block li{
padding:6px 0;
border-bottom:1px solid rgba(255,255,255,0.08);
color:#bbb;
}


/* REST BOX */

.rest-box{
background:rgba(212,175,55,0.08);
border-radius:12px;
padding:20px;
margin-top:20px;
}


/* RESPONSIVE */

@media(max-width:900px){

.week-grid{
grid-template-columns:1fr;
}

}
/* FORCE SIDEBAR FULL HEIGHT */

.dashboard-layout{
display:flex;
min-height:100vh;
}

.dashboard-sidebar{
width:240px;
background:#0b0f19;
position:fixed;
top:0;
right:0;
bottom:0;
overflow-y:auto;
}

.dashboard-main{
flex:1;
margin-right:240px;
padding:20px;
}
.course-layout {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 20px;
  align-items: start;
}

.course-video {
  background: #000;
  border-radius: 10px;
  overflow: hidden;
  width: 100%;
  min-height: auto;
}
.video-description {

margin-top: 12px;

background: rgba(255,215,0,0.05);

border: 1px solid rgba(255,215,0,0.2);

border-radius: 10px;

padding: 12px;

color: #ddd;

font-size: 0.9em;

}     
.course-lessons {

background: rgba(255, 215, 0, 0.05);
border: 1px solid rgba(255, 215, 0, 0.2);

border-radius: 10px;

display: flex;
flex-direction: column;

max-height: 600px;

overflow: hidden;

}
.lessons-list {

overflow-y: auto;
flex: 1;

}
/* PAGE TRANSITION */

html, body {
  height: 100%;
  opacity: 1;
}

body {
  opacity: 1 !important;
  /* NO transition - this blocks content visibility */
  /* Ensure body is visible by default */
}

/* Fade out animation when navigating away */
body.fade-out {
  opacity: 0;
  transition: opacity 0.25s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ===== MODERN DESIGN ENHANCEMENTS ===== */

/* Enhanced Dashboard Sidebar */
.dashboard-sidebar {
  background: linear-gradient(180deg, rgba(15, 18, 28, 0.95) 0%, rgba(12, 15, 23, 0.95) 100%);
  border-left: 2px solid rgba(212, 175, 55, 0.25);
  box-shadow: inset -8px 0 20px rgba(0, 0, 0, 0.4);
}

.sidebar-logo {
  background: linear-gradient(135deg, #d4af37, #e5c158);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.1em;
  letter-spacing: 0.5px;
  margin-bottom: 30px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.sidebar-menu a {
  position: relative;
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 500;
  color: #bbb;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}

.sidebar-menu a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, #d4af37, #e5c158);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sidebar-menu a:hover {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.1));
  color: #fff;
  transform: translateX(-8px);
  box-shadow: inset 2px 0 8px rgba(212, 175, 55, 0.2);
}

.sidebar-menu a:hover::before {
  opacity: 1;
}

/* Enhanced Cards */
.progress-card,
.card,
.admin-section,
.stat-box {
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.8), rgba(20, 20, 20, 0.6));
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.progress-card::before,
.card::before,
.admin-section::before,
.stat-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.5), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.progress-card:hover,
.card:hover,
.admin-section:hover,
.stat-box:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 12px 40px rgba(212, 175, 55, 0.15), inset 0 1px 0 rgba(212, 175, 55, 0.1);
  background: linear-gradient(135deg, rgba(30, 30, 30, 0.9), rgba(25, 25, 25, 0.7));
}

.progress-card:hover::before,
.card:hover::before,
.admin-section:hover::before,
.stat-box:hover::before {
  opacity: 1;
}

/* Enhanced Forms & Inputs */
.form-input,
.form-select,
.form-textarea {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  border: 1.5px solid rgba(212, 175, 55, 0.25);
  color: #fff;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.08));
  border-color: #d4af37;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.25), inset 0 1px 2px rgba(212, 175, 55, 0.1);
  transform: translateY(-2px);
}

/* Enhanced Buttons */
.btn-primary {
  background: linear-gradient(135deg, #ffcb4a, #ffd86b);
  box-shadow: 0 8px 20px rgba(255, 203, 74, 0.3);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ffd86b, #ffdf8a);
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(255, 203, 74, 0.4);
}

.btn-primary:active {
  transform: translateY(-1px);
}

.btn-secondary {
  border: 2px solid var(--gold);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-secondary:hover {
  background: rgba(212, 175, 55, 0.1);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.2);
  transform: translateY(-3px);
}

/* Enhanced Dashboard Header */
.dashboard-header {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.08), rgba(212, 175, 55, 0.04));
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  padding: 30px;
  border-radius: 12px;
  margin-bottom: 30px;
}

.dashboard-header h2 {
  color: #d4af37;
  font-size: 2em;
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.dashboard-header p {
  color: #999;
  font-size: 1.05em;
}

/* Enhanced Progress Circle */
.progress-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #d4af37 0deg, #d4af37 306deg, rgba(212, 175, 55, 0.1) 306deg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5em;
  font-weight: 800;
  color: #d4af37;
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.25), inset 0 1px 2px rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.progress-card:hover .progress-circle {
  box-shadow: 0 12px 35px rgba(212, 175, 55, 0.35), inset 0 2px 4px rgba(255, 255, 255, 0.15);
  transform: scale(1.05);
}

/* Enhanced Progress Bar */
.progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(212, 175, 55, 0.1);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #d4af37, #ffcb4a);
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
  transition: width 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Enhanced User Item */
.user-item {
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.6), rgba(20, 20, 20, 0.4));
  border-left: 3px solid #d4af37;
  border-radius: 8px;
  padding: 16px;
  transition: all 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.user-item:hover {
  background: linear-gradient(135deg, rgba(30, 30, 30, 0.8), rgba(25, 25, 25, 0.6));
  transform: translateX(-6px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.2);
}

.user-name {
  color: #d4af37;
  font-weight: 700;
  margin-bottom: 4px;
}

.user-email {
  color: #888;
  font-size: 0.9em;
}

/* Enhanced Alert */
.alert {
  border-radius: 10px;
  border-left: 4px solid;
  padding: 16px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.alert-info {
  background: rgba(100, 150, 255, 0.08);
  border-color: #6496ff;
  color: #a8c5ff;
}

.alert-success {
  background: rgba(100, 200, 100, 0.08);
  border-color: #64c864;
  color: #a8ffa8;
}

/* Enhanced Stats */
.stat-number {
  color: #ffcb4a;
  font-weight: 800;
  font-size: 2.5em;
  margin-bottom: 8px;
}

.stat-label {
  color: #999;
  font-size: 0.95em;
  font-weight: 500;
}

/* Tab Styling */
.tab-btn {
  position: relative;
  padding: 12px 20px;
  background: none;
  border: none;
  color: #aaa;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
}

.tab-btn::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #d4af37, #ffcb4a);
  transition: width 0.3s ease;
}

.tab-btn:hover {
  color: #d4af37;
}

.tab-btn.active {
  color: #d4af37;
}

.tab-btn.active::before {
  width: 100%;
}

/* Smooth Transitions */
* {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

button,
a,
input,
select,
textarea {
  transition: all 0.3s ease;
}

/* Responsive Enhancements */
@media (max-width: 1024px) {
  .dashboard-sidebar {
    width: 200px;
    padding: 20px 15px;
  }
  
  .sidebar-menu a {
    font-size: 0.9em;
  }
}

@media (max-width: 768px) {
  .dashboard-sidebar {
    width: 100%;
    border-left: none;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
  }
  
  .sidebar-menu {
    flex-direction: row;
    gap: 10px;
  }
  
  .dashboard-header h2 {
    font-size: 1.5em;
  }
  
  .stat-number {
    font-size: 2em;
  }
}
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  height: 100vh;
  padding-top: var(--navbar-height);
  overflow: hidden;
  margin-top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 80px 0 40px;
  z-index: 4;
}

.hero-text {
  max-width: 650px;
  text-align: right;
  transform: translateY(40px);
}
.hero-text h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.3;
  margin-bottom: 20px;
  font-family: 'Tajawal', sans-serif;
  font-weight: 800;
  letter-spacing: -1px;
}

/* ===== Dashboard Responsive Overrides ===== */

.dashboard-layout {
  align-items: flex-start;
}

.dashboard-main {
  min-width: 0;
}

@media (max-width: 1200px) {
  .dashboard-sidebar {
    width: 220px !important;
  }

  .dashboard-main {
    margin-right: 220px !important;
    padding: 20px 16px !important;
  }
}

@media (max-width: 900px) {
  .dashboard-layout {
    display: block !important;
    min-height: auto !important;
  }

  .dashboard-sidebar {
    position: sticky !important;
    top: 0;
    right: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    border-left: none !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2) !important;
    padding: 12px 14px !important;
    z-index: 1001;
  }

  .sidebar-logo {
    margin-bottom: 10px !important;
    padding-bottom: 8px !important;
  }

  .sidebar-menu {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px !important;
  }

  .sidebar-menu a {
    justify-content: center;
    text-align: center;
    padding: 10px 8px !important;
    font-size: 0.9rem !important;
  }

  .dashboard-main {
    margin-right: 0 !important;
    width: 100% !important;
    padding: 16px !important;
  }

  .dashboard-header {
    padding: 16px !important;
    margin-bottom: 16px !important;
  }

  .dashboard-content.container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .dashboard-content [style*="grid-template-columns: 1fr 1fr"],
  .dashboard-content [style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  .course-layout {
    grid-template-columns: 1fr !important;
  }

  .course-lessons {
    max-height: none !important;
  }
}

@media (max-width: 600px) {
  .sidebar-menu {
    grid-template-columns: 1fr !important;
  }

  .dashboard-main {
    padding: 12px !important;
  }

  .dashboard-header h2 {
    font-size: 1.35rem !important;
  }

  .dashboard-header p {
    font-size: 0.92rem !important;
  }

  .dashboard-content [style*="minmax(300px, 1fr)"],
  .dashboard-content [style*="minmax(280px, 1fr)"],
  .dashboard-content [style*="minmax(250px, 1fr)"] {
    grid-template-columns: 1fr !important;
  }

  .dashboard-content video,
  .dashboard-content iframe {
    height: auto !important;
    max-width: 100% !important;
  }
  .video-description-section {
  direction: rtl;
  text-align: right;
  max-width: 850px;
  margin: 50px auto 0;
  padding: 20px 0;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.video-description-content {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.video-description-block {
  margin-bottom: 34px;
}

.video-description-block h3 {
  color: #FFD700;
  font-size: 26px;
  font-weight: 800;
  margin: 0 0 14px;
  line-height: 1.7;
}

.video-description-block p {
  color: #eaeaea;
  font-size: 20px;
  line-height: 2;
  margin: 0;
  white-space: pre-line;
}

.video-description-block:first-child h3 {
  text-align: center;
  font-size: 30px;
}
.video-description-section {
  direction: rtl;
  text-align: right;
  max-width: 850px;
  margin: 50px auto 0;
  padding: 20px 0;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.video-description-content {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.video-description-block {
  margin-bottom: 34px;
}

.video-description-block h3 {
  color: #FFD700;
  font-size: 26px;
  font-weight: 800;
  margin: 0 0 14px;
  line-height: 1.7;
}

.video-description-block p {
  color: #eaeaea;
  font-size: 20px;
  line-height: 2;
  margin: 0;
  white-space: pre-line;
}

.video-description-block:first-child h3 {
  text-align: center;
  font-size: 30px;
}
/* ===== Motivation Course Video Description ===== */

.video-description-section {
  direction: rtl;
  text-align: right;
  max-width: 850px;
  margin: 50px auto 0;
  padding: 20px 0;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.video-description-content {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.video-description-block {
  margin-bottom: 34px;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.video-description-block h3 {
  color: #FFD700;
  font-size: 26px;
  font-weight: 800;
  margin: 0 0 14px;
  line-height: 1.7;
}

.video-description-block p {
  color: #eaeaea;
  font-size: 20px;
  line-height: 2;
  margin: 0;
  white-space: pre-line;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.video-description-block:first-child h3 {
  text-align: center;
  font-size: 30px;
}
/* ===== Motivation Course Description - Improved Layout ===== */

.video-description-section {
  direction: rtl;
  text-align: right;
  max-width: 900px;
  margin: 60px auto 0;
  padding: 10px 24px 30px;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.video-description-content {
  display: flex;
  flex-direction: column;
  gap: 36px;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.video-description-block {
  padding: 0 0 28px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
  background: transparent !important;
  box-shadow: none !important;
}

.video-description-block:last-child {
  border-bottom: none;
}

.video-description-block h3 {
  color: #FFD700;
  font-size: 30px;
  font-weight: 900;
  line-height: 1.7;
  margin: 0 0 18px;
  text-shadow: 0 0 18px rgba(255, 215, 0, 0.18);
}

.video-description-block p {
  color: #e8e8e8;
  font-size: 18px;
  line-height: 2.2;
  margin: 0;
  white-space: pre-line;
  letter-spacing: 0.2px;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.video-description-block:first-child {
  text-align: center;
  padding-bottom: 34px;
}

.video-description-block:first-child h3 {
  font-size: 34px;
  margin-bottom: 22px;
}

.video-description-block:first-child p {
  font-size: 19px;
  line-height: 2.3;
}

@media (max-width: 768px) {
  .video-description-section {
    max-width: 100%;
    padding: 10px 18px 25px;
    margin-top: 45px;
  }

  .video-description-block h3 {
    font-size: 24px;
  }

  .video-description-block:first-child h3 {
    font-size: 27px;
  }

  .video-description-block p {
    font-size: 16px;
    line-height: 2;
  }
}
/* ===== FIX motivation page visibility ===== */

#videos-carousel,
#videos-carousel *,
#cta,
#cta * {
  visibility: visible !important;
}

#videos-carousel,
#cta {
  opacity: 1 !important;
  transform: none !important;
}

#videos-carousel.reveal-on-scroll,
#cta.reveal-on-scroll {
  opacity: 1 !important;
  transform: none !important;
}

#videos-carousel {
  display: block !important;
  min-height: auto !important;
  padding-top: 140px !important;
}

#videos-carousel .container {
  display: block !important;
}

#carouselVideo {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}
/* Move motivation video description to the right */
#videos-carousel .video-description-section {
  max-width: 760px !important;
  margin-left: auto !important;
  margin-right: 8% !important;
  text-align: right !important;
  direction: rtl !important;
}

#videos-carousel #videoDescription {
  align-items: stretch !important;
  text-align: right !important;
}

#videos-carousel #videoDescription .video-description-block {
  text-align: right !important;
}

#videos-carousel #videoDescription .video-description-block:first-child {
  text-align: right !important;
}

#videos-carousel #videoDescription .video-description-block:first-child h3 {
  text-align: right !important;
}
}