/* ==========================================================================
   Scoop MBA Landing Page - Design System & Styles
   Typography: IBM Plex Sans Arabic
   Palette & Dimensions: Matched exactly to Figma Design
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800;900&family=IBM+Plex+Sans+Arabic:wght@300;400;500;600;700;800&family=Open+Sans:wght@400;600;700&display=swap');

:root {
  --font-family: 'IBM Plex Sans Arabic', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Primary Colors */
  --primary-teal: #0d6e6e;
  --primary-teal-hover: #095555;
  --primary-teal-light: #e6f4f4;
  --primary-teal-soft: #f0f8f8;

  /* Navy / Blue Tones */
  --navy-dark: #032b43;
  --navy-deep: #022033;
  --navy-blue: #0b608a;
  --navy-blue-soft: #e5f2f9;
  --navy-hero-title: #084c70;
  --navy-section-bg: #032b43;
  --navy-footer-bg: #022033;

  /* Accent Colors */
  --accent-orange: #e57e20;
  --accent-orange-hover: #cf6f17;
  --accent-orange-light: #fef4ea;
  --price-orange: #e67e22;
  --green-whatsapp: #25d366;

  /* Neutral Colors */
  --bg-page: #ffffff;
  --bg-light-blue: #f5f8fa;
  --bg-card: #f7fafc;
  --text-primary: #032b43;
  --text-secondary: #5e6f82;
  --text-muted: #8392a5;
  --text-white: #ffffff;
  --border-light: #e6edf2;
  --border-card: #edf2f7;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-card: 0 12px 35px rgba(3, 43, 67, 0.05);
  --shadow-teal: 0 8px 24px rgba(13, 110, 110, 0.28);
  --shadow-orange: 0 6px 20px rgba(229, 126, 32, 0.25);
  --shadow-halo: 0 0 50px rgba(13, 110, 110, 0.15);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.6;
  direction: rtl;
  text-align: right;
  overflow-x: clip;
  max-width: 100%;
  width: 100%;
  position: relative;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
  transition: var(--transition-normal);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Section Headers & Common Accents
   ========================================================================== */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: 0px;
  color: #0F172A;
  position: relative;
  display: block;
  text-align: center;
  margin: 0 auto;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 6px;
  background-color: #107E7D;
  border-radius: 9999px;
  margin: 14px auto 16px;
}

.title-underline-wrapper {
  position: relative;
  display: inline-block;
}

.title-underline {
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 8px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  pointer-events: none;
}

.section-subtitle {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0px;
  color: #64748B;
  font-weight: 400;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

/* Orange pill tag */
.pill-tag-orange {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--accent-orange-light);
  color: var(--accent-orange);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  margin: 0 auto 14px;
  box-shadow: 0 2px 8px rgba(229, 126, 32, 0.1);
}

.section-header .pill-tag-orange {
  display: table;
}

/* ==========================================================================
   1. Announcement Top Bar (Exact Figma Gradient)
   ========================================================================== */
.top-bar {
  background: linear-gradient(90deg, #003656 0%, #004B75 50%, #107E7D 100%);
  color: var(--text-white);
  padding: 10px 0;
  font-size: 0.88rem;
  font-weight: 500;
  position: relative;
  z-index: 100;
}

.top-bar-content {
  display: flex;
  align-items: center;
  justify-content: center;
}

.top-bar-announcement-group {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.top-bar-badge {
  background-color: var(--accent-orange);
  color: var(--text-white);
  padding: 3px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.top-bar-text {
  font-weight: 500;
  color: #ffffff;
}

.top-bar-link {
  color: var(--text-white);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.top-bar-link u {
  text-underline-offset: 3px;
}

.top-bar-link:hover {
  opacity: 0.9;
  transform: translateX(-4px);
}

/* ==========================================================================
   2. Main Header / Navigation
   ========================================================================== */
.main-header {
  background-color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 999;
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition-normal);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 94px;
}

.logo-wrapper {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 66px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.logo-wrapper:hover .logo-img {
  transform: scale(1.03);
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 32px;
}

.nav-link {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: 0;
  color: #475569;
  position: relative;
  padding: 6px 0;
  transition: color var(--transition-fast);
}

.nav-link:hover {
  color: #0F172A;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2.5px;
  background-color: #107E7D;
  transition: var(--transition-fast);
  border-radius: var(--radius-full);
}

.nav-link:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Header CTA Button - Matched Exactly to Figma Dev Mode: 161px x 42px, Radius 12px, Cairo 800 14px/20px, Linear Gradient #E67E22 -> #E59819 */
.btn-header-cta {
  background: linear-gradient(180deg, #E67E22 0%, #E59819 100%);
  color: #FFFFFF;
  font-family: 'Cairo', sans-serif;
  font-size: 14px;
  font-weight: 800;
  line-height: 20px;
  letter-spacing: 0;
  width: 161px;
  height: 42px;
  box-sizing: border-box;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(230, 126, 34, 0.28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  transition: var(--transition-normal);
}

.btn-header-cta:hover {
  background: linear-gradient(180deg, #d36e16 0%, #d48610 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(230, 126, 34, 0.4);
}

.header-cta-desktop {
  display: inline;
}

.header-cta-mobile {
  display: none;
}

.btn-mobile-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--navy-dark);
}

/* ==========================================================================
   3. Hero Section (Matched with Figma HeroSection Node)
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 72px 0 88px;
  background: linear-gradient(180deg, #F0F9FF 0%, #FFFFFF 50%, #F4F8FB 100%);
  overflow: hidden;
}

.hero-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 540px 1fr;
  /* Exact Figma 540px Media Card + Content */
  align-items: center;
  gap: 48px;
}

/* Right Content Column */
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: right;
}

.hero-badge-title {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: #0F172A;
  line-height: 48px;
  letter-spacing: -1.2px;
  text-align: right;
  margin-bottom: 10px;
}

.hero-sub-title {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 42px;
  font-weight: 700;
  color: #004B75;
  line-height: 40px;
  letter-spacing: 0px;
  text-align: right;
  margin-bottom: 24px;
}

/* Pricing and Countdown Row */
.hero-pricing-timer-row {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 34px;
}

/* Countdown Box - Matched Exactly to Figma Dev Mode: 213px Hug x 95px Hug, Radius 12px, Padding 24px, Gap 24px, #004B75 */
.countdown-box {
  background-color: #004B75;
  border-radius: 12px;
  padding: 24px;
  height: 95px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  direction: ltr;
  /* LTR order: 1 Hours (Left) -> 59 Minutes (Center) -> 59 Seconds (Right) */
  box-shadow: 0 4px 16px rgba(0, 75, 117, 0.2);
  font-family: 'Open Sans', sans-serif;
}

.timer-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.timer-column .time-value {
  color: #FFFFFF;
  font-family: 'Open Sans', sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  display: block;
}

.timer-column .time-label {
  color: #FFFFFF;
  font-family: 'Open Sans', sans-serif;
  font-size: 11px;
  font-weight: 400;
  line-height: 15px;
  letter-spacing: 0;
  text-align: center;
  margin-top: 4px;
  display: block;
}

.timer-divider {
  display: none;
  /* No vertical divider in Figma design */
}

/* Price Box */
/* Price Block (Static Image from Design) */
.hero-price-display {
  display: flex;
  align-items: center;
}

.hero-price-tag-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Hero CTA Button - Matched Exactly to Figma Dev Mode: 309.5px x 80px, Radius 12px, #107E7D, 16px/24px font */
.btn-hero-cta {
  background-color: #107E7D;
  color: #FFFFFF;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: 0;
  width: 310px;
  height: 80px;
  box-sizing: border-box;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 8px 24px rgba(16, 126, 125, 0.35);
  transition: var(--transition-normal);
}

.btn-hero-cta .cta-percentage {
  font-weight: 800;
}

.btn-hero-cta:hover {
  background-color: #0c6968;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(16, 126, 125, 0.45);
}

.btn-hero-cta .btn-arrow-icon {
  stroke: #E59838;
  transition: transform var(--transition-fast);
}

.btn-hero-cta:hover .btn-arrow-icon {
  transform: translateX(-5px);
}

.btn-hero-cta-desktop {
  display: inline-flex;
}

.btn-hero-cta-mobile {
  display: none;
}

.btn-hero-card-cta {
  display: none;
}

/* Left Hero Visual Card */
.hero-media-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

/* Subtle cyan/teal ambient light on left */
.hero-media-wrapper::before {
  content: '';
  position: absolute;
  top: 15%;
  left: -8%;
  width: 60%;
  height: 70%;
  background: radial-gradient(circle, rgba(16, 126, 125, 0.16) 0%, rgba(16, 126, 125, 0) 70%);
  filter: blur(40px);
  z-index: 1;
  pointer-events: none;
}

/* Subtle warm orange/gold ambient light on top-right */
.hero-media-wrapper::after {
  content: '';
  position: absolute;
  top: -4%;
  right: -6%;
  width: 50%;
  height: 50%;
  background: radial-gradient(circle, rgba(229, 140, 40, 0.14) 0%, rgba(229, 140, 40, 0) 70%);
  filter: blur(40px);
  z-index: 1;
  pointer-events: none;
}

.hero-card {
  position: relative;
  width: 540px;
  height: 501px;
  max-width: 100%;
  background-color: #0b1320;
  border-radius: 24px;
  border: 1px solid #F1F5F9;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  z-index: 2;
  cursor: pointer;
}

.hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  overflow: hidden;
  z-index: 1;
}

.hero-video-container video.hero-embedded-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
  border-radius: inherit;
  display: block;
  z-index: 1;
}

.hero-video-container iframe.hero-embedded-media {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: inherit;
  display: block;
  z-index: 1;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(1.35);
  transform-origin: center center;
}

.hero-pause-indicator {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.7);
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  z-index: 8;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.hero-pause-indicator.active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.hero-card.has-video .hero-card-picture,
.hero-card.has-video .hero-card-img,
.hero-card.has-video .hero-card-overlay,
.hero-card.has-video .hero-play-btn {
  display: none !important;
}

.hero-card:not(.has-video) .hero-card-picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-card:not(.has-video) .hero-card-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card:not(.has-video) .hero-card-overlay {
  display: block;
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.4) 100%);
  pointer-events: none;
}

.hero-card:not(.has-video) .hero-play-btn {
  display: flex;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: #004B75;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease, background-color 0.25s ease;
  z-index: 3;
}

.hero-card:not(.has-video) .hero-play-btn svg {
  width: 28px;
  height: 28px;
  margin-left: 3px;
}

.hero-card:not(.has-video) .hero-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: #FFFFFF;
}

/* Dynamic Instructor Badges & Bio */
.instructor-title-badge {
  display: inline-block;
  color: #00B2A9;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 8px;
  background: rgba(0, 178, 169, 0.08);
  padding: 3px 12px;
  border-radius: 6px;
  align-self: flex-start;
}

.instructor-bio-rich {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #334155;
  text-align: right;
  direction: rtl;
}

.instructor-bio-rich p {
  margin: 0 0 6px 0;
}

.instructor-bio-rich p:last-child {
  margin-bottom: 0;
}

.instructor-bio-rich ul,
.instructor-bio-rich ol {
  padding-right: 18px;
  margin: 0 0 6px 0;
}

.instructor-bio-rich li {
  margin-bottom: 4px;
}

/* Floating Bottom Pills (Figma Dev Mode: Auto layout, #FFFFFF, border-radius, #1F2937 14px bold) */
.hero-floating-pills {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  display: flex;
  gap: 14px;
  z-index: 10;
  direction: rtl;
}

.hero-pill {
  flex: 1;
  background-color: #FFFFFF;
  height: 56px;
  padding: 0 16px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  cursor: default;
  direction: rtl;
}

.hero-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

.hero-pill-text {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  color: #1F2937;
  text-align: right;
  white-space: nowrap;
  letter-spacing: 0;
}

.hero-pill-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-pill-icon-laptop {
  background-color: #EBF3F8;
  color: #004B75;
}

.hero-pill-icon-camera {
  background-color: #E6F4F3;
  color: #107E7D;
}

/* ==========================================================================
   4. Accreditation Trust Bar
   ========================================================================== */
.accreditation-bar {
  min-height: 252px;
  height: 252px;
  background-color: #ffffff;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  box-sizing: border-box;
  overflow: hidden;
}

.accreditation-bar .container {
  max-width: 1110px;
  width: 100%;
  padding: 0 20px;
  margin: 0 auto;
  box-sizing: border-box;
}

.accreditation-slider-wrapper {
  overflow-x: auto;
  position: relative;
  width: 100%;
  height: 100px;
  display: flex;
  align-items: center;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  direction: ltr;
}

.accreditation-slider-wrapper::-webkit-scrollbar {
  display: none;
}

.accreditation-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 50px;
  direction: ltr;
  padding: 0;
}

.accred-logo-item {
  height: 95px;
  max-width: 145px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.accred-logo-item:hover {
  transform: scale(1.08);
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.12));
}

.accred-logo-item img {
  max-height: 90px;
  max-width: 130px;
  width: auto;
  height: auto;
  object-fit: contain;
  pointer-events: none;
}

/* ==========================================================================
   5. Program Details Section (CourseDetailsSection in Figma)
   ========================================================================== */
.details-section {
  padding: 80px 0;
  background-color: #ffffff;
  border-top: 1px solid #F1F5F9;
  border-bottom: 1px solid #F1F5F9;
}

.details-section .container {
  max-width: 1360px;
  padding: 0 16px;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.detail-card {
  background-color: #F4F8FB;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: var(--transition-normal);
}

.detail-card:hover {
  transform: translateY(-4px);
  background-color: #ffffff;
  box-shadow: 0 10px 25px rgba(0, 75, 117, 0.08);
  border-color: rgba(16, 126, 125, 0.3);
}

.detail-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  margin-bottom: 16px;
  color: #004B75;
}

.detail-icon-circle svg {
  width: 21px;
  height: 24px;
}

.detail-icon-circle img {
  max-width: 28px;
  max-height: 28px;
  object-fit: contain;
}

.detail-tag {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: 0.6px;
  color: #107E7D;
  text-transform: uppercase;
  margin-bottom: 4px;
  text-align: center;
}

.detail-title {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 32px;
  letter-spacing: 0px;
  color: #1E293B;
  margin-bottom: 4px;
  text-align: center;
}

.detail-pill {
  margin-top: 4px;
  background-color: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 9999px;
  padding: 8px 18px;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: 0px;
  color: #475569;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  max-width: 100%;
  white-space: normal;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  direction: rtl;
}

.detail-text-desktop {
  display: inline;
}

.detail-text-mobile {
  display: none;
}

/* ==========================================================================
   6. Curriculum Section (هنتعلم إيه في البرنامج؟)
   ========================================================================== */
.curriculum-section {
  padding: 80px 0;
  background-color: #F4F8FB;
  border-top: none;
}

.curriculum-section>.container {
  max-width: 1110px;
  padding-left: 0;
  padding-right: 0;
}

.curriculum-section .section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 32px;
}

.curriculum-section .section-title {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 40px;
  height: auto;
  color: #004B75;
  text-align: center;
  position: relative;
  margin: 0;
}

.curriculum-section .section-title::after {
  content: '';
  position: static;
  transform: none;
  display: block;
  width: 96px;
  height: 6px;
  border-radius: 9999px;
  background-color: #107E7D;
  margin: 14px auto 16px;
}

.curriculum-section .section-subtitle {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #475569;
  text-align: center;
  white-space: nowrap;
  margin: 0;
}

.curriculum-grid {
  display: grid;
  grid-template-columns: repeat(2, 540px);
  column-gap: 30px;
  align-items: start;
}

.curriculum-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Accordion Item */
.curriculum-item {
  background-color: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: var(--transition-normal);
}

.curriculum-item:hover {
  border-color: #CBD5E1;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.curriculum-header {
  min-height: 80px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  user-select: none;
  background-color: #ffffff;
  transition: var(--transition-fast);
}

.curriculum-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.curriculum-num {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background-color: rgba(0, 75, 117, 0.1);
  color: #004B75;
  font-family: 'Cairo', sans-serif;
  font-size: 14px;
  line-height: 20px;
  font-weight: 900;
  letter-spacing: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.curriculum-item.active .curriculum-num {
  background-color: rgba(0, 75, 117, 0.1);
  color: #004B75;
}

.curriculum-title {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 16px;
  line-height: 28px;
  font-weight: 700;
  color: #0F172A;
  margin: 0;
}

.curriculum-arrow {
  color: #94A3B8;
  transition: transform var(--transition-normal);
  flex-shrink: 0;
}

.curriculum-item.active .curriculum-arrow {
  transform: rotate(180deg);
  color: #107E7D;
}

.curriculum-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background-color: #ffffff;
}

.curriculum-content {
  padding: 16px 24px 24px;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 14px;
  line-height: 22.75px;
  font-weight: 400;
  color: #656565;
  border-top: 1px solid #F1F5F9;
  text-align: right;
}

.curriculum-item.active .curriculum-body {
  min-height: auto;
}

/* ==========================================================================
   7. Instructors Section (عن المحاضرين) - Matched to Figma Design
   ========================================================================== */
.instructors-section {
  height: 716px;
  min-height: 716px;
  box-sizing: border-box;
  padding: 70px 0 157px;
  background-color: #003656;
  border-top: 1px solid #F1F5F9;
  color: var(--text-white);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.instructors-section .section-header {
  max-width: 1024px;
  margin: 0 auto 49px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.instructors-section .section-title {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 36px;
  line-height: 40px;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  margin: 0;
  position: relative;
}

.instructors-section .section-title::after {
  content: '';
  display: block;
  width: 96px;
  height: 6px;
  border-radius: 9999px;
  background-color: #107E7D;
  margin: 14px auto 16px;
}

.instructors-section .section-subtitle {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  margin: 0;
  max-width: none;
}

/* Slider Frame - 1,440px Artboard in Figma */
.instructors-slider-wrapper {
  position: relative;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  direction: ltr;
  /* Keeps Card 1 on left and Card 2 peeking from right exactly as in Figma */
  padding: 0;
}

.instructors-track {
  display: flex;
  gap: 30px;
  /* Exact Figma gap */
  padding-left: max(20px, calc((100% - 1024px) / 2));
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.3, 1);
  will-change: transform;
  align-items: stretch;
  cursor: grab;
}

.instructors-track.grabbing {
  cursor: grabbing;
  transition: none;
}

/* Card - Hug 340px in Figma, 926px inner content + 48px padding = 1024px */
.instructor-card {
  background-color: #ffffff;
  border-radius: 24px;
  border: 1px solid #E2E8F0;
  padding: 48px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  color: var(--text-primary);
  flex: 0 0 1024px;
  max-width: 1024px;
  min-height: 340px;
  box-sizing: border-box;
  user-select: none;
  direction: ltr;
  /* LTR puts order 1 on the left (text) and order 2 on the right (photo) */
}

/* Inside Card: Photo & Info */
.instructor-info {
  order: 1;
  /* Appears on the LEFT side of the card */
  flex: 1;
  max-width: 623px;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  direction: rtl;
  /* Text content itself stays RTL */
}

.instructor-name {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 30px;
  line-height: 36px;
  font-weight: 700;
  color: #0F172A;
  margin: 0;
  text-align: right;
  width: 100%;
}

.instructor-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  text-align: right;
  width: 100%;
  max-width: 623px;
}

.instructor-bullet-item {
  position: relative;
  padding-right: 0;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 16px;
  line-height: 34px;
  color: #475569;
  font-weight: 400;
  text-align: right;
  white-space: nowrap;
}

.instructor-bullet-item::before {
  content: none;
}

.instructor-photo-wrapper {
  order: 2;
  /* Appears on the RIGHT side of the card */
  flex-shrink: 0;
  width: 255px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.instructor-photo-card {
  width: 255px;
  height: 242px;
  border-radius: 24px;
  overflow: hidden;
  border: 4px solid #ffffff;
  background-color: rgba(255, 255, 255, 0.002);
  box-shadow: 0 8px 10px -6px rgba(0, 0, 0, 0.1), 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  box-sizing: border-box;
}

.instructor-photo {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: bottom center;
  pointer-events: none;
  display: block;
}

.instructor-desc-mobile {
  display: none;
}

.instructors-controls {
  display: none;
}

/* ==========================================================================
   8. Testimonials Section (آراء الخريجين)
   ========================================================================== */
.testimonials-section {
  scroll-margin-top: 80px;
  min-height: 855px;
  height: auto;
  box-sizing: border-box;
  padding: 80px 0 40px;
  background-color: #F4F8FB;
  position: relative;
  overflow: visible;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.testimonials-section .section-header {
  max-width: 1056px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.testimonials-section .section-title {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 36px;
  line-height: 40px;
  font-weight: 700;
  letter-spacing: 0px;
  color: #004B75;
  text-align: center;
  margin: 0 auto;
  position: relative;
  display: block;
}

.testimonials-section .section-title::after {
  content: '';
  display: block;
  width: 96px;
  height: 6px;
  border-radius: 9999px;
  background-color: #107E7D;
  margin: 14px auto 16px;
}

.testimonials-section .section-subtitle {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  letter-spacing: 0px;
  color: #64748B;
  text-align: center;
  margin: 0 auto;
  max-width: 472px;
  width: 100%;
}

.testimonials-carousel-wrapper {
  position: relative;
  width: 100%;
  max-width: 1440px;
  margin: 24px auto 0;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 0 0 10px;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE */
  direction: ltr;
}

.testimonials-track::-webkit-scrollbar {
  display: none;
  /* Chrome */
}

.testimonial-video-card {
  flex: 0 0 350px;
  width: 350px;
  height: 500px;
  border-radius: 24px;
  border: 1px solid #F1F5F9;
  overflow: hidden;
  position: relative;
  background-color: #0d131a;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.06), 0 4px 6px -4px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.3, 1), box-shadow 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
}

.testimonial-video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 30px rgba(0, 75, 117, 0.12);
}

.testimonial-card-video,
.testimonial-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.testimonial-video-card iframe.testimonial-embedded-media {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: inherit;
  display: block;
  z-index: 1;
  pointer-events: none;
  transform: translate(-50%, -54%) scale(1.30);
  transform-origin: center center;
}

@media (max-width: 768px) {
  .testimonial-video-card iframe.testimonial-embedded-media {
    transform: translate(-50%, -54%) scale(1.28);
  }
}

.testimonial-logo-card {
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.testimonial-logo-card .testimonial-card-logo {
  max-width: 190px;
  width: 80%;
  height: auto;
  object-fit: contain;
}

/* Navigation Controls (Figma: Fill 1,056px, Height: Hug 41px, Gap: 12px, Border-top: 1px #F1F5F9) */
.testimonials-nav-wrapper {
  width: 100%;
  max-width: 1056px;
  margin: 18px auto 0;
  padding: 0 20px;
  box-sizing: border-box;
}

.carousel-controls {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid #F1F5F9;
  direction: ltr;
}

.btn-carousel-nav {
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

#prevTestimonial {
  background-color: #004B75;
  color: #ffffff;
}

#prevTestimonial:hover {
  background-color: #003656;
  transform: scale(1.08);
}

#nextTestimonial {
  background-color: #107E7D;
  color: #ffffff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

#nextTestimonial:hover {
  background-color: #0d6867;
  transform: scale(1.08);
}

/* Mobile Testimonials Controls (Hidden on Desktop) */
.testimonials-controls {
  display: none;
}

/* ==========================================================================
   9. Registration Section (سجل الآن) - Figma: PricingAndRegistrationSection
   ========================================================================== */
.register-section {
  padding: 80px 0;
  background-color: #FFFFFF;
  border-top: none;
  position: relative;
}

.register-section .container {
  max-width: 1158px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.register-section .section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.register-section .pill-tag-orange {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  background-color: #FFFBEB;
  border: 1px solid rgba(253, 230, 138, 0.6);
  color: #E67E22;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 9999px;
  height: 26px;
  box-sizing: border-box;
}

.register-section .section-title {
  display: block;
  width: fit-content;
  margin: 0 auto 10px;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 36px;
  line-height: 40px;
  font-weight: 700;
  color: #004B75;
  letter-spacing: 0px;
  text-align: center;
  position: relative;
}

.register-section .section-title::after {
  display: none !important;
  content: none !important;
}

.register-section .section-subtitle {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: #64748B;
  letter-spacing: 0px;
  text-align: center;
  margin: 0 auto;
  white-space: nowrap;
}

/* Figma: Registration Form Container (1110px max x 534px hug, radius 24px, #F4F8FB, border 1px #E2E8F0, padding 30px 48px) */
.register-card {
  background-color: #F4F8FB;
  border-radius: 24px;
  border: 1px solid #E2E8F0;
  padding: 30px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1110px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  margin: 0 auto;
  direction: ltr;
  /* Keeps Badge Image on Left and Form on Right */
}

/* Figma: Circular Pricing Badge Banner (398px x 352px) */
.register-badge-col {
  flex: 0 0 398px;
  width: 398px;
  height: 352px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

/* Figma: Background+Border (240px x 240px, radius 9999px, border 4px #FFFFFF inner alignment, Linear Gradient #004B75 to #107E7D) */
/* Figma: Overlay+Shadow (Drop shadow: 0 8px 10px -6px rgba(0,75,117,0.2), 0 20px 25px -5px rgba(0,75,117,0.2), 0 25px 50px -12px rgba(0,75,117,0.25)) */
.circle-price-badge-wrapper {
  width: 240px;
  height: 240px;
  border-radius: 9999px;
  border: 4px solid #FFFFFF;
  box-sizing: border-box;
  /* Figma: Inner alignment */
  background: linear-gradient(180deg, #004B75 0%, #004B75 50%, #107E7D 100%);
  box-shadow:
    0 8px 10px -6px rgba(0, 75, 117, 0.20),
    0 20px 25px -5px rgba(0, 75, 117, 0.20),
    0 25px 50px -12px rgba(0, 75, 117, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease;
}

.circle-price-badge-wrapper:hover {
  transform: scale(1.03);
}

.circle-price-badge-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 9999px;
}

/* Right Form: Figma Form Container (Width Fixed 540px, Height Hug 472px, Gap 20px, Flow Vertical) */
.register-form-col {
  flex: 0 0 540px;
  max-width: 540px;
  width: 100%;
  display: flex;
  flex-direction: column;
  direction: rtl;
  /* Form contents strictly in Arabic RTL */
  box-sizing: border-box;
}

#registrationForm {
  display: flex;
  flex-direction: column;
  gap: 20px;
  /* Figma: Gap 20px */
  width: 100%;
}

.form-group {
  margin-bottom: 0;
  position: relative;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Figma: Label (Fill 540px, Hug 16px, IBM Plex Sans Arabic Bold 700, 12px / 16px, #334155) */
.form-label {
  display: block;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 0;
  text-align: right;
  letter-spacing: 0px;
}

/* Input wrappers with right icon (Figma: Height 44px, Radius 8px/10px, Border 1px #E2E8F0) */
.form-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background-color: #ffffff;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  height: 44px;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  transition: var(--transition-fast);
}

.form-input-wrapper:focus-within {
  border-color: #004B75;
  box-shadow: 0 0 0 3px rgba(0, 75, 117, 0.1);
}

.form-input-wrapper .form-input-icon {
  position: absolute;
  right: 14px;
  color: #94A3B8;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-input-wrapper .form-input-icon svg {
  width: 18px;
  height: 18px;
}

/* Figma: Placeholder Text (IBM Plex Sans Arabic Regular 400, 11px / 100%, #6B7280) */
.form-input-wrapper .form-input {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  height: 100%;
  background: transparent;
  border: none;
  outline: none;
  padding: 0 42px 0 14px;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 12px;
  color: #1E293B;
  text-align: right;
}

.form-input-wrapper .form-input::placeholder {
  color: #6B7280;
  font-size: 11px;
  font-weight: 400;
  line-height: 100%;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
}

/* Phone Unified Input Wrapper */
.phone-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #ffffff;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  height: 44px;
  padding: 0 8px 0 14px;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  transition: var(--transition-fast);
}

.phone-input-wrapper:focus-within {
  border-color: #004B75;
  box-shadow: 0 0 0 3px rgba(0, 75, 117, 0.1);
}

.phone-input-wrapper .phone-icon {
  position: absolute;
  right: 14px;
  color: #94A3B8;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-input-wrapper .phone-icon svg {
  width: 18px;
  height: 18px;
}

.phone-input-wrapper .phone-input {
  flex: 1 1 0%;
  min-width: 0;
  box-sizing: border-box;
  height: 100%;
  background: transparent;
  border: none;
  outline: none;
  padding: 0 42px 0 10px;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 12px;
  color: #1E293B;
  text-align: right;
}

.phone-input-wrapper .phone-input::placeholder {
  color: #6B7280;
  font-size: 11px;
  font-weight: 400;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
}

/* Figma: Phone Country Pill Background (Hug 75.9px x 28px, Radius 8px, Padding 6px 10px, Gap 6px, #F1F5F9) */
.phone-country-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background-color: #F1F5F9;
  border-radius: 8px;
  padding: 6px 10px;
  height: 28px;
  user-select: none;
  flex-shrink: 0;
  box-sizing: border-box;
}

.phone-country-pill .country-code {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #004B75;
  line-height: 1;
}

.phone-country-pill .sa-flag-box {
  display: flex;
  align-items: center;
}

.sa-flag-svg {
  display: block;
  width: 18px;
  height: 12px;
  border-radius: 2px;
}

/* Custom Select Wrapper */
.form-select-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background-color: #ffffff;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  height: 44px;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  transition: var(--transition-fast);
}

.form-select-wrapper:focus-within {
  border-color: #004B75;
  box-shadow: 0 0 0 3px rgba(0, 75, 117, 0.1);
}

.form-select-wrapper .select-right-icon {
  position: absolute;
  right: 14px;
  color: #94A3B8;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-select-wrapper .select-right-icon svg {
  width: 18px;
  height: 18px;
}

.form-select-wrapper .select-chevron-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94A3B8;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.3, 1);
  z-index: 2;
}

.form-select-wrapper.open .select-chevron-icon {
  transform: translateY(-50%) rotate(180deg);
  color: #004B75;
}

.form-select-wrapper .select-chevron-icon svg {
  width: 16px;
  height: 16px;
}

.custom-select-trigger {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 42px 0 36px;
  cursor: pointer;
  background: transparent;
  user-select: none;
  box-sizing: border-box;
}

.custom-select-text {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 13px;
  color: #64748B;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: right;
  width: 100%;
  transition: color 0.2s ease;
}

.custom-select-text.has-value {
  color: #003656;
  font-weight: 500;
}

.custom-select-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background-color: #ffffff;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 6px;
  box-shadow: 0 12px 28px -4px rgba(0, 75, 117, 0.16), 0 4px 10px rgba(0, 0, 0, 0.04);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.3, 1);
  direction: rtl;
  max-height: 260px;
  overflow-y: auto;
}

.form-select-wrapper.open .custom-select-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.custom-option {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 13px;
  color: #334155;
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: right;
  user-select: none;
}

.custom-option:hover {
  background-color: #F1F5F9;
  color: #004B75;
}

.custom-option.selected {
  background-color: #E8F4F8;
  color: #004B75;
  font-weight: 600;
}

.sr-only-select {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  clip: rect(0, 0, 0, 0) !important;
}

/* Figma: Helper text (290px x 17px, IBM Plex Sans Arabic Regular 400, 11px / 16.5px, #004B75 70%, Right) */
.form-helper-text {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 11px;
  font-weight: 400;
  line-height: 16.5px;
  letter-spacing: 0px;
  color: rgba(0, 75, 117, 0.70);
  margin-top: 0;
  margin-bottom: 0;
  text-align: right;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Submit Button (Figma: Width Fill 540px, Height Hug 56px, Radius 12px, Padding 16px 24px, Gap 10px, Linear Gradient #004B75 to #107E7D) */
/* Figma Button:shadow Drop Shadows: 0 4px 6px -4px rgba(0,75,117,0.30), 0 10px 15px -3px rgba(0,75,117,0.30) */
.btn-form-submit {
  width: 100%;
  max-width: 540px;
  height: 56px;
  background: linear-gradient(90deg, #004B75 0%, #107E7D 100%);
  color: #ffffff;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: 0px;
  border: none;
  border-radius: 12px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow:
    0 4px 6px -4px rgba(0, 75, 117, 0.30),
    0 10px 15px -3px rgba(0, 75, 117, 0.30);
  margin-top: 0;
  cursor: pointer;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-form-submit:hover {
  transform: translateY(-2px);
  box-shadow:
    0 6px 10px -4px rgba(0, 75, 117, 0.35),
    0 14px 20px -3px rgba(0, 75, 117, 0.35);
}

.btn-submit-icon-lock {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 12.25px;
  height: 14px;
  flex-shrink: 0;
}

.btn-submit-icon-lock svg {
  width: 12.25px;
  height: 14px;
  display: block;
}

.btn-submit-text {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: 0px;
  color: #FFFFFF;
  text-align: center;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Security Guarantee */
/* Security Guarantee (Figma: Auto Layout, Cairo 400 12px/16px #94A3B8, Icon 11.25x11.93 #107E7D) */
.form-security-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: -6px;
  text-align: center;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.form-security-guarantee .security-text {
  font-family: 'Cairo', sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: 0px;
  color: #94A3B8;
  white-space: nowrap;
  display: inline-block;
  vertical-align: middle;
  text-align: center;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.form-security-guarantee svg,
.form-security-guarantee .security-icon {
  width: 11.25px;
  height: 11.93px;
  flex-shrink: 0;
  display: block;
}

/* ==========================================================================
   10. Footer Section (Figma: #003656, Border-top 1px #004B75, Padding 64px 0, Gap 20px)
   ========================================================================== */
.main-footer {
  position: relative;
  background-color: #003656;
  border-top: 1px solid #004B75;
  color: rgba(255, 255, 255, 0.85);
  padding: 64px 0 24px 0;
  box-sizing: border-box;
}

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

/* Figma: Background+Shadow (Hug 81.88px x 64px, Radius 12px, Padding 8px, #FFFFFF, Shadow: 0 1px 2px rgba(0,0,0,0.05)) */
.footer-logo-box {
  background-color: #ffffff;
  padding: 8px;
  width: 81.88px;
  height: 64px;
  border-radius: 12px;
  margin-bottom: 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

/* Figma: Logo Image (Width 65.88px, Height 48px, Crop) */
.footer-logo-img {
  width: 65.88px;
  height: 48px;
  object-fit: contain;
  display: block;
}

/* Figma: Org Name (Width 288px, Height 28px, IBM Plex Sans Arabic Bold 700, 20px / 28px, #FFFFFF) */
.footer-org-name {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  letter-spacing: 0px;
  color: #ffffff;
  margin: 0 0 12px 0;
  text-align: center;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Figma: Description Container (Width Fixed 512px, Height Hug 69px) & Text (14px / 22.75px, #CBD5E1, Center) */
.footer-desc {
  max-width: 512px;
  width: 100%;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 22.75px;
  letter-spacing: 0px;
  color: #CBD5E1;
  margin: 0 auto 20px;
  text-align: center;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (max-width: 540px) {
  .footer-desc .footer-break {
    display: none;
  }
}

/* Figma: Social Links Container (Fill 1440px, Hug 48.7px, Padding Top 8.7px, Gap 12px) */
.footer-social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding-top: 8.7px;
  margin-bottom: 32px;
}

/* Figma: Social Link (Fixed 40px x 40px, Radius 12px, Background #FFFFFF 10%) */
.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.10);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  box-sizing: border-box;
}

.social-btn svg {
  width: 18px;
  height: 18px;
  display: block;
}

.social-btn:hover {
  background-color: var(--primary-teal);
  transform: translateY(-2px);
  color: #ffffff;
}

.footer-divider {
  display: none;
}

/* Figma: Copyright Bar (Flow Horizontal, Width Fill 1440px, Height Hug 49px, Border-top 1px #FFFFFF 10%, Padding-top 32px, Gap 402.49px) */
.footer-bottom {
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  padding-top: 32px;
  box-sizing: border-box;
}

.footer-bottom-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  gap: 402.49px;
  box-sizing: border-box;
  padding: 0 46px;
}

/* Figma: Text Container (Flow Vertical, Width Hug 388px, Height Hug 16px) */
.footer-copyright-container {
  display: flex;
  flex-direction: column;
  width: 388px;
  max-width: 100%;
  height: 16px;
  justify-content: center;
  box-sizing: border-box;
}

/* Figma: Text (Width 388px, Height 16px, Cairo Regular 400, 12px / 16px, Letter spacing 0px, Color #FFFFFF, Align Right, Vertical Middle) */
.footer-copyright {
  font-family: 'Cairo', sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0px;
  color: #ffffff;
  text-align: right;
  margin: 0;
  width: 100%;
  white-space: nowrap;
}

/* Figma: Links Container (Flow Horizontal, Gap 16px, Width Hug 170.23px, Height Hug 16px) */
.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 16px;
  box-sizing: border-box;
}

/* Figma: Link (Flow Vertical, Height Fill 16px) & Text (Cairo 400 12px/16px, Letter spacing 0px, Color #FFFFFF, Middle/Right) */
.footer-legal-link {
  font-family: 'Cairo', sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: 0px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 16px;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity var(--transition-fast);
}

.footer-legal-link:hover {
  opacity: 0.8;
  color: #ffffff;
}

/* ==========================================================================
   11. Floating Action Bar & WhatsApp Button
   ========================================================================== */
.floating-action-bar {
  display: none;
}

.floating-cta-btn {
  display: none;
}

.footer-desc-mobile {
  display: none;
}

/* Figma: Group 15 / Ellipse 12 - WhatsApp Button Anchored at Footer Top-Right (Top: 4863px, Left: 1312px, 82px x 82px, #01C918) */
.footer-whatsapp-anchor {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1440px;
  height: 0;
  pointer-events: none;
  z-index: 20;
}

.footer-whatsapp-anchor .floating-whatsapp,
.floating-whatsapp {
  position: absolute;
  top: -41px;
  right: 0px;
  bottom: auto;
  left: auto;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background-color: #01C918;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  pointer-events: auto;
  z-index: 20;
  text-decoration: none;
  transition: transform var(--transition-fast);
}

/* Figma: ri:whatsapp-fill (Width: 50px, Height: 49px, Top: 4879px, Left: 1328px) */
.ri-whatsapp-fill {
  width: 50px;
  height: 49px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Figma: Vector (Width: 41.67px, Height: 40.83px, Top: 4.08px, Left: 4.17px, #FFFFFF) */
/* .ri-whatsapp-fill svg,
.footer-whatsapp-anchor .floating-whatsapp svg,
.floating-whatsapp svg {
  width: 41.67px;
  height: 40.83px;
  display: block;
} */

.footer-whatsapp-anchor .floating-whatsapp:hover,
.floating-whatsapp:hover {
  transform: scale(1.05);
}

/* ==========================================================================
   12. Video Modal & Toast Notification
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(2, 32, 51, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background-color: #0b0f14;
  border-radius: var(--radius-xl);
  overflow: hidden;
  width: 100%;
  max-width: 840px;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-container {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.modal-video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #000;
}

.modal-video-wrapper iframe,
.modal-video-wrapper video {
  width: 100%;
  height: 100%;
  border: none;
}

/* Success Toast / Modal */
.toast-success {
  position: fixed;
  top: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 18px 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.18);
  border-right: 5px solid var(--primary-teal);
  z-index: 2000;
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.toast-success.active {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #e6f4f4;
  color: var(--primary-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.toast-title {
  font-weight: 700;
  color: var(--navy-dark);
  font-size: 1rem;
}

.toast-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Responsive Breakpoints & Media Queries
   Mobile-First & Fluid RTL Design matching Figma
   ========================================================================== */

/* 1. Large Tablets & Small Laptops (<= 1200px) */
@media (max-width: 1200px) {
  .hero-container {
    padding: 0 32px;
  }

  .hero-grid {
    grid-template-columns: 1fr 1.05fr;
    gap: 36px;
  }

  .hero-card {
    width: 100%;
    max-width: 500px;
    height: auto;
    aspect-ratio: 540 / 555;
  }

  .hero-badge-title {
    font-size: 2.75rem;
  }

  .hero-sub-title {
    font-size: 2.35rem;
  }

  .instructors-slider-wrapper {
    max-width: 100%;
    padding: 10px 16px 15px;
  }

  .instructor-card {
    flex: 0 0 780px;
    max-width: 780px;
    padding: 30px 36px;
  }
}

/* 2. Tablets Landscape & Medium Screens (<= 992px) */
@media (max-width: 992px) {
  .main-header {
    height: 74px;
  }

  .nav-container {
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
    padding: 0 20px;
  }

  .header-actions {
    display: contents;
  }

  nav {
    display: contents;
  }

  /* 1. Mobile Menu Button - Far Right in RTL */
  .btn-mobile-toggle {
    order: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background-color: #ffffff;
    border: 1px solid #E2E8F0;
    color: #003656;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
    flex-shrink: 0;
  }

  .btn-mobile-toggle:hover {
    background-color: #f8fafc;
    border-color: #cbd5e1;
  }

  /* 2. CTA Button - Centered in Middle */
  .btn-header-cta {
    order: 2;
    background: linear-gradient(90deg, #014D75 0%, #0F7A7C 100%);
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 700;
    width: auto;
    max-width: calc(100% - 130px);
    padding: 0 16px;
    height: 44px;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(1, 77, 117, 0.22);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    margin: 0 auto;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .header-cta-desktop {
    display: none;
  }

  .header-cta-mobile {
    display: inline;
  }

  .btn-header-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(1, 77, 117, 0.32);
  }

  /* 3. Logo - Far Left in RTL */
  .logo-wrapper {
    order: 3;
    display: flex;
    align-items: center;
    flex-shrink: 0;
  }

  .logo-img {
    height: 44px;
    width: auto;
  }

  /* Mobile Dropdown Navigation */
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background-color: #ffffff;
    flex-direction: column;
    align-items: stretch;
    padding: 20px 24px 28px;
    box-shadow: 0 15px 35px rgba(0, 36, 68, 0.12);
    border-top: 1px solid var(--border-light);
    gap: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    z-index: 998;
  }

  .nav-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-menu .nav-link {
    display: block;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 1.05rem;
    color: var(--navy-dark);
    transition: all 0.2s ease;
  }

  .nav-menu .nav-link:hover {
    background-color: var(--primary-teal-light);
    color: var(--primary-teal);
    padding-right: 22px;
  }

  .nav-menu .nav-link::after {
    display: none;
  }

  /* Hero Section */
  .hero-section {
    padding: 36px 0 60px;
  }

  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }

  .hero-content {
    order: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
  }

  .hero-badge-title {
    font-size: 1.85rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 6px;
    letter-spacing: -0.3px;
  }

  .hero-sub-title {
    font-size: 1.85rem;
    font-weight: 700;
    color: #004B75;
    margin-bottom: 14px;
    line-height: 1.3;
  }

  .hero-pricing-timer-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    width: 100%;
  }

  .hero-price-display {
    order: 1;
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .hero-price-tag-img {
    height: 40px;
    width: auto;
    max-width: 100%;
  }

  .countdown-box {
    order: 2;
    direction: ltr;
    width: 100%;
    max-width: 225px;
    height: 60px;
    background-color: #004B75;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    padding: 0 10px;
    box-shadow: 0 4px 16px rgba(0, 75, 117, 0.2);
  }

  .countdown-box .timer-divider {
    display: none;
  }

  .btn-hero-cta {
    display: none;
  }

  .btn-hero-cta-desktop {
    display: none;
  }

  .btn-hero-cta-mobile {
    display: none;
  }

  .hero-media-wrapper {
    order: 2;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .hero-card {
    position: relative;
    width: 100%;
    max-width: 350px;
    height: 480px;
    aspect-ratio: 350 / 480;
    background-color: #000000;
    border-radius: 24px;
    border: 1.5px solid #F1F5F9;
    box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    cursor: pointer;
  }

  .hero-video-container video.hero-embedded-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .hero-video-container iframe.hero-embedded-media {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(1.4);
    transform-origin: center center;
  }

  .hero-floating-pills {
    display: none;
  }

  .btn-hero-card-cta {
    display: none;
  }

  /* Accreditation */
  .accreditation-bar {
    height: auto;
    min-height: auto;
    padding: 24px 0 22px;
    border-top: none;
    border-bottom: 1px solid #E2E8F0;
    background-color: #ffffff;
  }

  .accreditation-slider-wrapper {
    height: 64px;
  }

  .accreditation-track {
    gap: 32px;
  }

  .accred-logo-item {
    height: 52px;
    max-width: 110px;
    flex: none;
    padding: 0;
  }

  .accred-logo-item img {
    max-height: 50px;
    max-width: 105px;
    width: auto;
    object-fit: contain;
  }

  /* Details Grid */
  .details-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }

  /* Curriculum Grid */
  .curriculum-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .curriculum-section>.container {
    max-width: none;
    padding-left: 20px;
    padding-right: 20px;
  }

  .curriculum-col {
    display: contents;
  }

  .curriculum-col:first-child .curriculum-item:nth-child(1) {
    order: 1;
  }

  .curriculum-col:first-child .curriculum-item:nth-child(2) {
    order: 2;
  }

  .curriculum-col:first-child .curriculum-item:nth-child(3) {
    order: 6;
  }

  .curriculum-col:last-child .curriculum-item:nth-child(1) {
    order: 3;
  }

  .curriculum-col:last-child .curriculum-item:nth-child(2) {
    order: 4;
  }

  .curriculum-col:last-child .curriculum-item:nth-child(3) {
    order: 5;
  }

  .curriculum-col:last-child .curriculum-item:nth-child(4) {
    order: 7;
  }

  /* Instructors Slider */
  .instructors-slider-wrapper {
    max-width: 100%;
    padding: 10px 8px 15px;
  }

  .instructor-card {
    flex: 0 0 82vw;
    max-width: 720px;
    padding: 30px 32px;
    gap: 24px;
  }

  /* Registration */
  .register-card {
    flex-direction: column;
    direction: rtl;
    gap: 32px;
    padding: 36px 24px;
    max-width: 680px;
    width: 100%;
    box-sizing: border-box;
  }

  .register-badge-col {
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .register-form-col {
    flex: 0 0 auto;
    max-width: 100%;
    width: 100%;
  }

  .circle-price-badge-wrapper {
    width: 220px;
    height: 220px;
  }

  /* Mobile Floating Action Bar (WhatsApp + Register CTA FAB) */
  .floating-action-bar {
    position: fixed;
    bottom: 14px;
    right: 14px;
    left: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 999;
    direction: rtl;
    /* In RTL: right item is WhatsApp, left item is CTA button */
    pointer-events: none;
  }

  .floating-action-bar a {
    pointer-events: auto;
  }

  .floating-whatsapp {
    position: static;
    bottom: auto;
    right: auto;
    left: auto;
    width: 54px;
    height: 54px;
    min-width: 54px;
    border-radius: 50%;
    background-color: #00D72F;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(0, 215, 47, 0.45);
    flex-shrink: 0;
    text-decoration: none;
    animation: pulse-ring 2.5s infinite;
  }

  .floating-whatsapp svg {
    width: 32px;
    height: 32px;
  }

  .floating-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    height: 52px;
    background: linear-gradient(90deg, #014D75 0%, #0F7A7C 100%);
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 14px;
    box-shadow: 0 6px 22px rgba(1, 77, 117, 0.35);
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    white-space: nowrap;
    text-align: center;
  }

  .floating-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(1, 77, 117, 0.45);
  }
}

/* 3. Tablets Portrait & Large Mobile (<= 768px) */
@media (max-width: 768px) {
  .detail-text-desktop {
    display: none !important;
  }

  .detail-text-mobile {
    display: inline !important;
  }

  .top-bar {
    padding: 8px 10px;
    font-size: 0.8rem;
  }

  .top-bar-content {
    padding: 0 8px;
    width: 100%;
  }

  .top-bar-announcement-group {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    gap: 0;
    flex-wrap: nowrap;
  }

  .top-bar-badge {
    display: none !important;
  }

  .top-bar-link {
    display: none !important;
  }

  .top-bar-text {
    font-size: clamp(9.5px, 2.7vw, 12px);
    width: 100%;
    white-space: nowrap;
    text-align: center;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .main-header {
    height: 72px;
  }

  .nav-container {
    height: 72px;
    padding: 0 16px;
  }

  .logo-img {
    height: 44px;
  }

  .hero-container {
    padding: 0 20px;
  }

  .hero-section {
    padding: 30px 0 50px;
  }

  .hero-badge-title {
    font-size: 1.8rem;
    margin-bottom: 6px;
  }

  .hero-sub-title {
    font-size: 2rem;
    margin-bottom: 18px;
  }

  .section-title {
    font-size: 1.95rem;
  }

  .section-subtitle {
    font-size: 0.98rem;
  }

  .curriculum-section .section-subtitle {
    width: 100%;
    height: auto;
    flex: 0 0 auto;
    white-space: normal;
  }

  .curriculum-section .section-header {
    height: auto;
    gap: 0;
    margin-bottom: 32px;
  }

  .curriculum-section .section-title {
    height: auto;
    flex-basis: auto;
  }

  .curriculum-section .section-title::after {
    width: 64px;
    height: 5px;
    margin: 12px auto 20px;
  }

  .curriculum-section,
  .testimonials-section,
  .register-section {
    padding: 65px 0;
  }

  .instructors-section {
    height: auto !important;
    min-height: auto !important;
    padding: 45px 0 32px !important;
  }

  .details-section {
    padding: 36px 0 45px;
    background-color: #ffffff;
  }

  .details-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
    margin: 0 auto;
    gap: 14px;
  }

  .accreditation-bar {
    height: auto;
    min-height: auto;
    padding: 22px 0 20px;
    border-top: none;
    border-bottom: 1px solid #E2E8F0;
    background-color: #ffffff;
  }

  .accreditation-slider-wrapper {
    height: 60px;
  }

  .accreditation-track {
    gap: 28px;
  }

  .accred-logo-item {
    height: 50px;
    max-width: 105px;
    flex: none;
    padding: 0;
  }

  .accred-logo-item img {
    max-height: 48px;
    max-width: 100px;
    width: auto;
    object-fit: contain;
  }

  .instructor-card {
    flex: 0 0 calc(100vw - 72px);
    max-width: 340px;
    min-height: 165px;
    background-color: #ffffff;
    border-radius: 22px;
    padding: 16px 14px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
    direction: rtl;
    box-sizing: border-box;
  }

  .instructor-photo-wrapper {
    order: 1;
    flex-shrink: 0;
    width: auto;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .instructor-photo-card {
    width: 96px;
    height: 112px;
    border-radius: 16px;
    border: 1.5px solid #dce8ee;
    overflow: hidden;
    background-color: #ffffff;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    box-sizing: border-box;
  }

  .instructor-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
  }

  .instructor-name {
    text-align: right;
    font-size: 1.15rem;
    font-weight: 800;
    color: #003656;
    margin-bottom: 6px;
    line-height: 1.25;
  }

  .instructor-info {
    order: 2;
    text-align: right;
    width: auto;
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .instructor-bullet-item {
    white-space: normal;
  }

  .instructor-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
  }

  .instructor-bullet-item {
    font-size: 0.72rem;
    line-height: 1.45;
    color: #55697a;
    font-weight: 500;
    padding-right: 0;
    position: static;
  }

  .instructor-bullet-item::before {
    display: none;
  }

  .testimonials-section {
    min-height: auto !important;
    height: auto !important;
    padding: 30px 0 22px !important;
  }

  .testimonials-section .section-header {
    margin-bottom: 16px !important;
  }

  .testimonials-carousel-wrapper {
    margin: 0 auto !important;
    overflow: hidden !important;
    width: 100% !important;
  }

  .testimonials-track {
    display: flex !important;
    gap: 16px !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 4px 20px 10px 20px !important;
    margin: 0 !important;
    direction: ltr !important;
    scrollbar-width: none !important;
  }

  .testimonials-track::-webkit-scrollbar {
    display: none !important;
  }

  .testimonial-logo-card,
  .testimonial-card-desktop-only {
    display: none !important;
  }

  .testimonial-video-card {
    flex: 0 0 calc(100vw - 76px) !important;
    width: calc(100vw - 76px) !important;
    max-width: 320px !important;
    height: 420px !important;
    border-radius: 24px !important;
    scroll-snap-align: start !important;
    box-sizing: border-box !important;
  }

  .testimonials-nav-wrapper {
    display: none !important;
  }

  .testimonials-controls {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin-top: 14px !important;
    width: 100% !important;
  }

  .testimonial-dots {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    direction: ltr !important;
  }

  .testimonial-dot {
    width: 7px !important;
    height: 7px !important;
    border-radius: 50% !important;
    background-color: #94A3B8 !important;
    border: none !important;
    padding: 0 !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
  }

  .testimonial-dot.active {
    width: 18px !important;
    height: 6px !important;
    border-radius: 9999px !important;
    background-color: #004B75 !important;
  }

  /* Registration Mobile View (Figma: Pricing & Registration) */
  .register-section {
    padding: 38px 0 30px !important;
  }

  .register-section .section-header {
    margin-bottom: 22px !important;
  }

  .register-section .section-title::after {
    display: block !important;
    content: '' !important;
    width: 68px !important;
    height: 5px !important;
    border-radius: 9999px !important;
    background-color: #107e7d !important;
    margin: 12px auto 16px !important;
  }

  .register-section .section-subtitle {
    white-space: nowrap !important;
    font-size: clamp(9.5px, 2.7vw, 12px) !important;
    line-height: 20px !important;
    max-width: 100% !important;
    width: auto !important;
    margin: 0 auto !important;
    text-align: center !important;
    letter-spacing: -0.2px !important;
  }

  .register-card {
    flex-direction: column !important;
    direction: rtl !important;
    padding: 26px 18px 24px !important;
    border-radius: 24px !important;
    border: 1px solid #E2E8F0 !important;
    background-color: #F4F8FB !important;
    gap: 20px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .register-badge-col {
    flex: 0 0 auto !important;
    width: 100% !important;
    height: auto !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin-bottom: 4px !important;
  }

  .circle-price-badge-wrapper {
    width: 195px !important;
    height: 195px !important;
    border-width: 4px !important;
    box-shadow: 0 10px 24px rgba(0, 75, 117, 0.16) !important;
    margin: 0 auto !important;
  }

  .register-form-col {
    flex: 0 0 auto !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  #registrationForm {
    gap: 16px !important;
  }

  .register-section .form-input-icon:not(.phone-country-pill):not(.phone-country-pill *) {
    display: none !important;
  }

  .register-section .form-input-wrapper,
  .register-section .phone-input-wrapper,
  .register-section .form-select-wrapper {
    height: 48px !important;
    border-radius: 10px !important;
    background-color: #ffffff !important;
    border: 1px solid #E2E8F0 !important;
    box-sizing: border-box !important;
  }

  .register-section .form-input-wrapper .form-input {
    padding: 0 16px !important;
    font-size: 0.92rem !important;
    text-align: right !important;
  }

  .register-section .phone-input-wrapper {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 10px 0 8px !important;
    direction: rtl !important;
  }

  .register-section .phone-input-wrapper .phone-input {
    flex: 1 1 auto !important;
    padding: 0 8px !important;
    font-size: 0.92rem !important;
    text-align: right !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
  }

  .register-section .phone-country-pill {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    height: 32px !important;
    padding: 4px 10px !important;
    border-radius: 8px !important;
    background-color: #F1F5F9 !important;
    direction: ltr !important;
    flex-shrink: 0 !important;
  }

  .register-section .custom-select-trigger {
    padding-right: 16px !important;
    padding-left: 36px !important;
  }

  .register-section .form-select-wrapper .form-select {
    padding-right: 16px !important;
    padding-left: 36px !important;
    font-size: 0.92rem !important;
  }

  .register-section .select-chevron-icon {
    left: 14px !important;
    right: auto !important;
  }

  .register-section .form-helper-text {
    display: none !important;
  }

  .btn-form-submit {
    height: 48px !important;
    font-size: 0.98rem !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .btn-form-submit .btn-submit-icon-lock {
    display: none !important;
  }

  .btn-form-submit .btn-submit-text {
    text-align: center !important;
  }

  .form-security-guarantee {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    margin-top: 8px !important;
    width: 100% !important;
  }

  .form-security-guarantee svg,
  .form-security-guarantee .security-icon {
    display: none !important;
  }

  .form-security-guarantee .security-text {
    white-space: nowrap !important;
    font-size: clamp(9.5px, 2.6vw, 11px) !important;
    line-height: 16px !important;
    color: #64748B !important;
    text-align: center !important;
  }

  /* Mobile Footer (Matching Figma Mobile Image 1) */
  .main-footer {
    padding: 38px 0 100px !important;
  }

  .footer-whatsapp-anchor {
    display: none !important;
  }

  .main-footer .footer-logo-box {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    width: auto !important;
    height: auto !important;
    margin: 0 auto 14px !important;
  }

  .main-footer .footer-logo-img {
    width: 140px !important;
    max-width: 140px !important;
    height: auto !important;
    object-fit: contain !important;
  }

  .footer-org-name {
    font-size: 1.25rem !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    margin-bottom: 12px !important;
    text-align: center !important;
  }

  .footer-desc-desktop {
    display: none !important;
  }

  .footer-desc-mobile {
    display: block !important;
    font-family: 'IBM Plex Sans Arabic', sans-serif !important;
    font-size: 0.85rem !important;
    line-height: 1.65 !important;
    color: rgba(255, 255, 255, 0.78) !important;
    max-width: 360px !important;
    margin: 0 auto 20px !important;
    text-align: center !important;
  }

  .footer-social-links {
    display: none !important;
  }

  .footer-bottom {
    border-top: none !important;
    padding-top: 0 !important;
  }

  .footer-bottom-container {
    flex-direction: column-reverse !important;
    text-align: center !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 0 16px !important;
  }

  .footer-legal-links {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 24px !important;
  }

  .footer-legal-link {
    font-family: 'Cairo', sans-serif !important;
    font-size: 13px !important;
    color: rgba(255, 255, 255, 0.82) !important;
    text-decoration: none !important;
  }

  .footer-legal-link:hover {
    color: #ffffff !important;
    opacity: 1 !important;
  }

  .footer-copyright {
    font-family: 'Cairo', sans-serif !important;
    font-size: 11.5px !important;
    line-height: 1.6 !important;
    color: rgba(255, 255, 255, 0.55) !important;
    text-align: center !important;
    white-space: normal !important;
    width: auto !important;
    height: auto !important;
  }

  /* Fixed Floating Action Bar (Sticky at bottom on mobile) */
  .floating-action-bar {
    position: fixed !important;
    bottom: 16px !important;
    left: 16px !important;
    right: 16px !important;
    display: flex !important;
    direction: ltr !important;
    align-items: center !important;
    gap: 12px !important;
    z-index: 9999 !important;
    pointer-events: none !important;
  }

  .floating-cta-btn {
    display: flex !important;
    flex: 1 !important;
    height: 52px !important;
    background: linear-gradient(90deg, #014D75 0%, #0F7A7C 100%) !important;
    color: #ffffff !important;
    border-radius: 14px !important;
    font-family: 'IBM Plex Sans Arabic', sans-serif !important;
    font-size: 15.5px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 6px 20px rgba(1, 77, 117, 0.35) !important;
    pointer-events: auto !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
  }

  .floating-cta-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(1, 77, 117, 0.45) !important;
  }

  .floating-whatsapp-btn {
    display: flex !important;
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
    border-radius: 50% !important;
    background-color: #01C918 !important;
    color: #ffffff !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 6px 20px rgba(1, 201, 24, 0.4) !important;
    text-decoration: none !important;
    pointer-events: auto !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    flex-shrink: 0 !important;
  }

  .floating-whatsapp-btn:hover {
    transform: scale(1.06) !important;
    box-shadow: 0 8px 25px rgba(1, 201, 24, 0.5) !important;
  }

  .floating-whatsapp-btn svg {
    width: 28px !important;
    height: 28px !important;
    fill: #ffffff !important;
  }
}

/* Intermediate Tablet Screens (<= 1024px) */
@media (max-width: 1024px) {
  .footer-bottom-container {
    gap: 32px;
    justify-content: space-between;
  }
}

/* 4. Standard Mobile Screens (<= 576px) */
@media (max-width: 576px) {

  .container {
    padding: 0 16px;
  }

  .hero-container {
    padding: 0 16px;
  }

  .main-header {
    height: 70px;
  }

  .nav-container {
    height: 70px;
    padding: 0 14px;
  }

  .nav-menu {
    padding: 16px 20px 24px;
  }

  .logo-img {
    height: 42px;
  }

  .btn-header-cta {
    padding: 0 12px;
    font-size: clamp(0.78rem, 2.7vw, 0.88rem);
    height: 42px;
    border-radius: 12px;
    width: auto;
  }

  .btn-mobile-toggle {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .hero-section {
    padding: 24px 0 24px;
  }

  .hero-badge-title {
    font-size: 1.7rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 6px;
    letter-spacing: -0.3px;
  }

  .hero-sub-title {
    font-size: 1.55rem;
    font-weight: 700;
    color: #004B75;
    margin-bottom: 16px;
    line-height: 1.35;
    text-align: center;
    max-width: 100%;
    word-break: normal;
  }

  .hero-pricing-timer-row {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 14px;
    margin-bottom: 22px;
  }

  .hero-price-display {
    order: 1;
    justify-content: center;
    width: 100%;
  }

  .hero-price-tag-img {
    height: 38px;
    max-width: 100%;
  }

  .countdown-box {
    order: 2;
    direction: ltr;
    width: 100%;
    max-width: 220px;
    height: 58px;
    background-color: #004B75;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    padding: 0 8px;
    box-shadow: 0 4px 16px rgba(0, 75, 117, 0.2);
  }

  .countdown-box .timer-divider {
    display: none;
  }

  .timer-column {
    min-width: 38px;
    text-align: center;
  }

  .timer-column .time-value {
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.1;
  }

  .timer-column .time-label {
    font-size: 0.68rem;
    color: #ffffff;
    opacity: 0.9;
  }

  .btn-hero-cta-desktop {
    display: none;
  }

  .btn-hero-cta-mobile {
    display: inline-flex;
    height: 48px;
    font-size: 1rem;
    max-width: 345px;
    margin-top: 14px;
  }

  .hero-card {
    width: 100%;
    max-width: 345px;
    height: 470px;
    aspect-ratio: 345 / 470;
    background-color: #000000;
    border-radius: 24px;
    border: 1.5px solid #F1F5F9;
    box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    position: relative;
  }

  .instructor-title-badge {
    font-size: 0.72rem;
    padding: 2px 8px;
    margin-bottom: 4px;
  }

  .instructor-bio-rich {
    font-size: 0.72rem;
    line-height: 1.45;
    color: #475569;
    max-height: 90px;
    overflow-y: auto;
  }

  .instructor-bio-rich p {
    margin-bottom: 3px;
  }

  .hero-floating-pills {
    display: none;
  }

  .btn-hero-card-cta {
    display: none;
  }

  .section-title {
    font-size: 1.65rem;
  }

  .section-title::after {
    width: 64px;
    height: 5px;
    margin: 12px auto 20px;
  }

  .section-subtitle {
    font-size: 0.92rem;
    line-height: 1.6;
  }

  .curriculum-section,
  .instructors-section,
  .testimonials-section,
  .register-section {
    padding: 55px 0;
  }

  .details-section {
    padding: 28px 0 40px;
    background-color: #ffffff;
  }

  .details-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    max-width: 100%;
    margin: 0 auto;
  }

  .detail-card {
    padding: 20px 8px 16px;
    border-radius: 18px;
    background-color: #f3f8fa;
    border: 1px solid #e2edf1;
    min-height: 215px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .detail-icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    margin-bottom: 12px;
    box-shadow: 0 4px 12px rgba(1, 77, 117, 0.05);
    background-color: #ffffff;
  }

  .detail-icon-circle svg {
    width: 24px;
    height: 24px;
  }

  .detail-icon-circle img {
    max-width: 32px;
    max-height: 32px;
  }

  .detail-tag {
    font-size: 0.72rem;
    font-weight: 700;
    color: #0f7a7c;
    margin-bottom: 5px;
  }

  .detail-title {
    font-size: 0.88rem;
    font-weight: 800;
    color: #003656;
    margin-bottom: 12px;
    line-height: 1.35;
  }

  .detail-pill {
    margin-top: auto;
    width: 100%;
    min-height: 34px;
    padding: 6px 6px;
    font-size: 0.7rem;
    line-height: 1.25;
    border-radius: 9999px;
    background: #ffffff;
    border: 1px solid #e2edf1;
    color: #334155;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: normal;
  }

  .curriculum-header {
    padding: 16px 14px;
    gap: 12px;
  }

  .curriculum-title-group {
    gap: 12px;
  }

  .curriculum-num {
    width: 36px;
    height: 36px;
    font-size: 0.92rem;
  }

  .curriculum-title {
    font-size: 0.95rem;
    line-height: 1.45;
  }

  .curriculum-content {
    padding: 0 14px 16px;
    font-size: 0.88rem;
    line-height: 1.65;
  }

  .instructors-section {
    height: auto !important;
    min-height: auto !important;
    padding: 38px 0 30px !important;
    background-color: #003656;
    overflow: hidden;
  }

  .instructors-section .section-title {
    font-size: 1.65rem;
    margin-bottom: 0;
  }

  .instructors-section .section-title::after {
    width: 50px;
    height: 4px;
    margin: 8px auto 0;
    background-color: #107e7d;
  }

  .instructors-section .section-subtitle {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 10px;
    margin-bottom: 20px;
    white-space: nowrap;
    text-align: center;
  }

  .instructors-slider-wrapper {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 6px 0 0;
    overflow: hidden;
    direction: ltr;
  }

  .instructors-track {
    padding-left: 16px;
    gap: 12px;
    direction: ltr;
    display: flex;
    align-items: stretch;
    transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.3, 1);
    will-change: transform;
  }

  .instructor-card {
    flex: 0 0 calc(100vw - 56px);
    max-width: none;
    min-height: 135px;
    padding: 14px 14px;
    border-radius: 24px;
    background-color: #ffffff;
    border: 1px solid #E2E8F0;
    gap: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    direction: ltr;
  }

  .instructor-info {
    order: 1;
    flex: 1;
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    direction: rtl;
  }

  .instructor-photo-wrapper {
    order: 2;
    flex-shrink: 0;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .instructor-photo-card {
    width: 82px;
    height: 98px;
    border-radius: 18px;
    border: 1.5px solid #dce8ee;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-sizing: border-box;
  }

  .instructor-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .instructor-name {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #004B75;
    margin: 0;
    letter-spacing: -0.2px;
    line-height: 1.3;
  }

  .instructor-bullets {
    display: none !important;
  }

  .instructor-desc-mobile {
    display: block !important;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-size: 0.72rem;
    font-weight: 400;
    color: #475569;
    line-height: 1.5;
    margin: 0;
  }

  .instructors-controls {
    margin-top: 18px;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
  }

  .instructor-nav-btn {
    display: none;
  }

  .instructor-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    direction: ltr;
  }

  .instructor-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.3, 1);
  }

  .instructor-dot.active {
    width: 22px;
    height: 8px;
    border-radius: 9999px;
    background-color: #107e7d;
    box-shadow: none;
  }

  .testimonials-section {
    min-height: auto !important;
    height: auto !important;
    padding: 30px 0 20px !important;
  }

  .testimonial-video-card {
    flex: 0 0 calc(100vw - 76px) !important;
    width: calc(100vw - 76px) !important;
    max-width: 320px !important;
    height: 420px !important;
    border-radius: 24px !important;
    scroll-snap-align: start !important;
  }

  .testimonial-student-name {
    font-size: 1rem;
  }

  .testimonial-ceremony-tag {
    font-size: 0.74rem;
  }

  .testimonial-play-btn {
    width: 50px;
    height: 50px;
  }

  .testimonial-play-btn svg {
    width: 20px;
    height: 20px;
  }

  .register-section {
    padding: 38px 0 30px !important;
  }

  .register-section .section-header {
    margin-bottom: 22px !important;
  }

  .register-section .section-title::after {
    display: block !important;
    content: '' !important;
    width: 68px !important;
    height: 5px !important;
    border-radius: 9999px !important;
    background-color: #107e7d !important;
    margin: 12px auto 16px !important;
  }

  .register-section .section-subtitle {
    white-space: nowrap !important;
    font-size: clamp(9.5px, 2.7vw, 12px) !important;
    line-height: 20px !important;
    max-width: 100% !important;
    width: auto !important;
    margin: 0 auto !important;
    text-align: center !important;
    letter-spacing: -0.2px !important;
  }

  .register-card {
    flex-direction: column !important;
    direction: rtl !important;
    padding: 26px 18px 24px !important;
    border-radius: 24px !important;
    border: 1px solid #E2E8F0 !important;
    background-color: #F4F8FB !important;
    gap: 20px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .register-badge-col {
    flex: 0 0 auto !important;
    width: 100% !important;
    height: auto !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin-bottom: 4px !important;
  }

  .circle-price-badge-wrapper {
    width: 195px !important;
    height: 195px !important;
    border-width: 4px !important;
    box-shadow: 0 10px 24px rgba(0, 75, 117, 0.16) !important;
    margin: 0 auto !important;
  }

  .register-form-col {
    flex: 0 0 auto !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  #registrationForm {
    gap: 16px !important;
  }

  .register-section .form-input-icon:not(.phone-country-pill):not(.phone-country-pill *) {
    display: none !important;
  }

  .register-section .form-input-wrapper,
  .register-section .phone-input-wrapper,
  .register-section .form-select-wrapper {
    height: 48px !important;
    border-radius: 10px !important;
    background-color: #ffffff !important;
    border: 1px solid #E2E8F0 !important;
    box-sizing: border-box !important;
  }

  .register-section .form-input-wrapper .form-input {
    padding: 0 16px !important;
    font-size: 0.92rem !important;
    text-align: right !important;
  }

  .register-section .phone-input-wrapper {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 10px 0 8px !important;
    direction: rtl !important;
  }

  .register-section .phone-input-wrapper .phone-input {
    flex: 1 1 auto !important;
    padding: 0 8px !important;
    font-size: 0.92rem !important;
    text-align: right !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
  }

  .register-section .phone-country-pill {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    height: 32px !important;
    padding: 4px 10px !important;
    border-radius: 8px !important;
    background-color: #F1F5F9 !important;
    direction: ltr !important;
    flex-shrink: 0 !important;
  }

  .register-section .custom-select-trigger {
    padding-right: 16px !important;
    padding-left: 36px !important;
  }

  .register-section .form-select-wrapper .form-select {
    padding-right: 16px !important;
    padding-left: 36px !important;
    font-size: 0.92rem !important;
  }

  .register-section .select-chevron-icon {
    left: 14px !important;
    right: auto !important;
  }

  .register-section .form-helper-text {
    display: none !important;
  }

  .btn-form-submit {
    height: 48px !important;
    font-size: 0.98rem !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .btn-form-submit .btn-submit-icon-lock {
    display: none !important;
  }

  .btn-form-submit .btn-submit-text {
    text-align: center !important;
  }

  .form-security-guarantee {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    margin-top: 8px !important;
    width: 100% !important;
  }

  .form-security-guarantee svg,
  .form-security-guarantee .security-icon {
    display: none !important;
  }

  .form-security-guarantee .security-text {
    white-space: nowrap !important;
    font-size: clamp(9.5px, 2.6vw, 11px) !important;
    line-height: 16px !important;
    color: #64748B !important;
    text-align: center !important;
  }

  .floating-action-bar {
    bottom: 12px !important;
    right: 12px !important;
    left: 12px !important;
    gap: 8px !important;
  }

  .floating-cta-btn {
    height: 50px !important;
    font-size: 0.94rem !important;
    border-radius: 12px !important;
  }

  .floating-whatsapp-btn {
    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;
  }

  .accreditation-bar {
    height: auto;
    min-height: auto;
    padding: 20px 0 18px;
    border-top: none;
    border-bottom: 1px solid #E2E8F0;
    background-color: #ffffff;
  }

  .accreditation-slider-wrapper {
    height: 56px;
    mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
  }

  .accreditation-track {
    gap: 28px;
    padding: 0;
  }

  .accred-logo-item {
    height: 48px;
    max-width: 100px;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
  }

  .accred-logo-item img {
    max-height: 46px;
    max-width: 95px;
    width: auto;
    object-fit: contain;
  }

  .main-footer {
    padding: 34px 0 95px !important;
  }

  .main-footer .footer-logo-box {
    margin-bottom: 12px !important;
  }

  .main-footer .footer-logo-img {
    width: 135px !important;
    max-width: 135px !important;
    height: auto !important;
  }

  .footer-org-name {
    font-size: 1.18rem !important;
    margin-bottom: 10px !important;
  }

  .footer-desc-mobile {
    font-size: 0.82rem !important;
    line-height: 1.6 !important;
    max-width: 330px !important;
    margin-bottom: 18px !important;
  }

  .footer-social-links {
    display: none !important;
  }

}

/* 5. Extra Small Compact Devices (<= 360px) */
@media (max-width: 360px) {
  .logo-img {
    height: 34px;
  }

  .btn-header-cta {
    padding: 0 8px;
    font-size: 0.75rem;
    height: 38px;
    border-radius: 10px;
  }

  .btn-mobile-toggle {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .hero-badge-title {
    font-size: 1.45rem;
    font-weight: 700;
    color: #0F172A;
  }

  .hero-sub-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #004B75;
  }

  .hero-price-tag-img {
    height: 32px;
  }

  .countdown-box {
    max-width: 230px;
    height: 56px;
    padding: 0 10px;
    box-shadow: 0 4px 16px rgba(0, 75, 117, 0.2);
  }

  .timer-column .time-value {
    font-size: 1.25rem;
    color: #ffffff;
  }

  .timer-column .time-label {
    color: #ffffff;
    opacity: 0.9;
  }

  .hero-card {
    max-width: 310px;
    height: 420px;
    aspect-ratio: 310 / 420;
    border-radius: 20px;
  }

  .btn-hero-card-cta {
    height: 46px;
    font-size: 0.92rem;
    bottom: 12px;
    right: 12px;
    left: 12px;
  }

  .circle-price-badge-wrapper {
    width: 190px;
    height: 190px;
  }

  .details-grid {
    gap: 8px;
  }

  .detail-card {
    padding: 16px 5px 12px;
    min-height: 200px;
  }

  .detail-icon-circle {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    margin-bottom: 8px;
  }

  .detail-title {
    font-size: 0.82rem;
    margin-bottom: 8px;
  }

  .detail-pill {
    font-size: 0.64rem;
    padding: 4px 4px;
    min-height: 30px;
  }

  .instructor-card {
    flex: 0 0 calc(100vw - 52px);
    padding: 12px 10px;
    gap: 8px;
    min-height: 125px;
  }

  .instructor-photo-card {
    width: 74px;
    height: 88px;
    border-radius: 14px;
  }

  .instructor-name {
    font-size: 1.05rem;
    margin-bottom: 2px;
  }

  .instructor-desc-mobile {
    font-size: 0.65rem;
    line-height: 1.4;
  }
}

/* Spinner for button loading state */
.spin-icon {
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}