/* ==========================================================================
   RR CHEF TRAINING INSTITUTE - OFFICIAL DESIGN SYSTEM & STYLESHEET
   Saudi Arabia Culinary Training & Career Platform
   ========================================================================== */

:root {
  /* Brand Color Palette */
  --color-primary: #123C35;
  /* Deep Saudi-inspired Green */
  --color-primary-dark: #0D2B26;
  /* Deep Forest Emerald */
  --color-primary-light: #1A544A;
  /* Vibrant Green Accent */
  --color-secondary: #D6B27A;
  /* Warm Sand */
  --color-secondary-light: #F4EAD8;
  /* Soft Sand Glow */
  --color-accent: #C89B5A;
  /* Premium Gold */
  --color-gold: #C89B5A;
  --color-gold-light: #E0BA7E;
  --color-accent-hover: #B88947;
  --color-dark: #17201D;
  /* Deep Carbon */
  --color-bg: #F7F5F0;
  /* Warm Alabaster Canvas */
  --color-surface: #FFFFFF;
  /* Pure Card White */
  --color-surface-subtle: #F0EDE5;
  /* Subtle Off-White */
  --color-text: #202522;
  /* Deep Charcoal */
  --color-text-muted: #58645F;
  /* Soft Slate Green */
  --color-text-light: #8E9B95;
  /* Subtle Neutral */
  --color-border: #E5DFD3;
  /* Warm Neutral Border */
  --color-border-subtle: #ECE7DE;
  --color-white: #FFFFFF;

  /* Status Colors */
  --color-success: #1E7E52;
  --color-warning: #D97706;
  --color-info: #2563EB;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-arabic: 'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, sans-serif;

  /* Elevations & Shadows */
  --shadow-xs: 0 1px 3px rgba(18, 60, 53, 0.05);
  --shadow-sm: 0 4px 12px -2px rgba(18, 60, 53, 0.06), 0 2px 6px -1px rgba(18, 60, 53, 0.04);
  --shadow-md: 0 12px 24px -4px rgba(18, 60, 53, 0.08), 0 4px 12px -2px rgba(18, 60, 53, 0.04);
  --shadow-lg: 0 20px 40px -6px rgba(18, 60, 53, 0.12), 0 8px 16px -4px rgba(18, 60, 53, 0.06);
  --shadow-xl: 0 32px 64px -12px rgba(18, 60, 53, 0.2);

  /* Layout Spacing */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --container-max: 1300px;
  --container-padding: 1.5rem;
  --header-height: 84px;
  --header-height-scrolled: 74px;
  --dur-fast: 0.2s;
  --dur-normal: 0.35s;
  --dur-slow: 0.65s;
  --ease-premium: cubic-bezier(0.22, 1, 0.36, 1);
  --transition-fast: 0.2s cubic-bezier(0.22, 1, 0.36, 1);
  --transition-normal: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Base Reset & Foundation */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  overflow-x: clip;
}

/* Accessibility: Visible Focus Indicators */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.btn-primary:focus-visible,
.btn-whatsapp:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.65;
  overflow-x: clip;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Form input elements must permit selection and editing */
input,
textarea,
select,
[contenteditable="true"] {
  -webkit-user-select: text !important;
  -moz-user-select: text !important;
  -ms-user-select: text !important;
  user-select: text !important;
}

/* Arabic RTL Global Support */
html[dir="rtl"] body {
  font-family: var(--font-arabic);
}

html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] .serif-font {
  font-family: var(--font-arabic);
  font-weight: 700;
  letter-spacing: normal;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--color-dark);
  line-height: 1.25;
  font-weight: 700;
  text-wrap: balance;
}

p {
  color: var(--color-text-muted);
  font-size: 1rem;
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

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

img,
video,
iframe,
canvas,
svg {
  max-width: 100%;
}

img {
  height: auto;
  display: block;
}

ul,
ol {
  list-style: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: 1rem;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.container-narrow {
  max-width: 860px;
}

/* SECTION UTILITIES */
.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-sm {
  padding: 3.5rem 0;
}

.section-dark {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--color-white);
}

.section-dark p {
  color: #D3DCD8;
}

/* Page Hero for Inner Pages (Left Aligned) */
.page-hero {
  padding: 5.5rem 0 4rem;
  position: relative;
  text-align: left;
}

html[dir="rtl"] .page-hero {
  text-align: right;
}

.page-hero .eyebrow {
  margin-left: 0;
  margin-right: 0;
}

.page-hero p {
  margin-left: 0;
  margin-right: 0;
}

.page-hero.about-hero {
  background: linear-gradient(298deg, rgba(13, 43, 38, 0.88) 0%, rgba(24, 89, 78, 0.78) 55%, rgba(0, 0, 0, 0.85) 100%),
    url('../images/section-bg.jpg') center center / cover no-repeat;
  position: relative;
}

.section-charcoal {
  background-color: var(--color-dark);
  color: var(--color-white);
}

.section-charcoal h2,
.section-charcoal h3 {
  color: var(--color-white);
}

.section-charcoal p {
  color: #B5BFBA;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.section-header.text-left {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

html[dir="rtl"] .section-header.text-left {
  text-align: right;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.eyebrow::before,
.eyebrow::after {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1.5px;
  background-color: var(--color-accent);
}

.eyebrow.no-rule::before,
.eyebrow.no-rule::after {
  display: none;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: 1.25rem;
  color: var(--color-primary);
}

.section-dark .section-title {
  color: var(--color-white);
}

.section-subtitle {
  font-size: 1.125rem;
  line-height: 1.7;
}

/* UTILITIES */
.text-center {
  text-align: center !important;
}

.text-center .eyebrow {
  margin-left: auto;
  margin-right: auto;
  display: inline-flex;
}

.text-center .section-title {
  text-align: center;
}

.text-center p {
  text-align: center;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(18, 60, 53, 0.25);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  box-shadow: 0 6px 20px rgba(18, 60, 53, 0.35);
  transform: translateY(-2px);
  color: var(--color-white);
}

.btn-gold {
  background-color: var(--color-accent);
  color: var(--color-dark);
  box-shadow: 0 4px 14px rgba(200, 155, 90, 0.3);
}

.btn-gold:hover {
  background-color: var(--color-accent-hover);
  color: var(--color-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200, 155, 90, 0.4);
}

.btn-outline,
a.btn-outline,
button.btn-outline {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-outline:hover,
a.btn-outline:hover,
button.btn-outline:hover,
.btn-outline:focus,
a.btn-outline:focus,
button.btn-outline:focus,
.btn-outline:active,
a.btn-outline:active {
  background-color: var(--color-primary) !important;
  color: #FFFFFF !important;
  border-color: var(--color-primary) !important;
  transform: translateY(-2px);
}

.btn-outline:hover *,
a.btn-outline:hover *,
button.btn-outline:hover * {
  color: #FFFFFF !important;
}

.btn-outline-white {
  background-color: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-white:hover {
  background-color: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
  transform: translateY(-2px);
}

.btn-outline-gold {
  background-color: transparent;
  color: var(--color-secondary);
  border-color: var(--color-secondary);
}

.btn-outline-gold:hover {
  background-color: var(--color-secondary);
  color: var(--color-dark);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: #25D366;
  color: #FFFFFF;
}

.btn-whatsapp:hover {
  background-color: #20BA5C;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}

.btn-sm {
  padding: 0.5rem 1.125rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1.125rem 2.25rem;
  font-size: 1.0625rem;
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   NAVIGATION & HEADER (Fixed & Non-Breaking)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1100;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border-subtle);
  transition: background-color var(--dur-normal) var(--ease-premium),
    box-shadow var(--dur-normal) var(--ease-premium),
    border-color var(--dur-normal) var(--ease-premium);
}

.site-header.scrolled {
  background-color: #FFFFFF;
  box-shadow: 0 4px 20px -2px rgba(18, 60, 53, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 1rem;
  max-width: var(--container-max);
  transition: height var(--dur-normal) var(--ease-premium);
}

.site-header.scrolled .header-inner {
  height: var(--header-height-scrolled);
}

/* Brand Logo with Official Image */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-wrap {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #FFFFFF;
  flex-shrink: 0;
  margin-top: 25px;
  transition: transform var(--dur-normal) var(--ease-premium);
}

.site-header.scrolled .brand-logo-wrap {
  transform: scale(0.92);
}

/* Hide header text next to the enlarged circular logo to follow index.html design */
.site-header .brand-text-block {
  display: none;
}

/* Reset margin for drawer and footer logos */
.nav-drawer-header .brand-logo-wrap,
.footer-brand .brand-logo-wrap,
footer .brand-logo-wrap {
  margin-top: 0;
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.brand-text-block {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-primary);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand-subtitle {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  white-space: nowrap;
}

/* Nav Menu (Desktop - No Wrap) */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.nav-link {
  font-size: 0.84375rem;
  font-weight: 600;
  color: var(--color-dark);
  padding: 0.4rem 0.4rem;
  position: relative;
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--color-accent);
  transition: width var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary);
}

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

html[dir="rtl"] .nav-link::after {
  left: auto;
  right: 0;
}

/* ==========================================================================
   COURSES MEGA MENU (Brand-Aligned: Deep Saudi Green & Gold Palette)
   ========================================================================== */
.nav-item-has-mega {
  position: relative;
  display: inline-flex;
  align-items: center;
}

/* Hover bridge placed on parent so mega-menu can cleanly have overflow: hidden */
.nav-item-has-mega::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -80px;
  width: 720px;
  height: 14px;
  background: transparent;
  pointer-events: none;
}

.nav-item-has-mega:hover::after,
.nav-item-has-mega.is-open::after {
  pointer-events: auto;
}

.nav-dropdown-trigger-wrap {
  display: inline-flex;
  align-items: center;
  position: relative;
}

.nav-mega-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
}

.dropdown-chevron {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

.mobile-mega-toggle-btn {
  display: none;
}

/* Mega Menu Panel (Desktop) */
.mega-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: -80px;
  width: 720px;
  max-width: min(720px, calc(100vw - 32px));
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(18, 60, 53, 0.14);
  box-shadow: 0 20px 45px -8px rgba(18, 60, 53, 0.18), 0 8px 16px -4px rgba(18, 60, 53, 0.08);
  padding: 1.5rem;
  z-index: 1200;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.22s;
  pointer-events: none;
  text-align: left;
  white-space: normal;
  box-sizing: border-box;
  overflow: hidden;
}

/* Desktop open triggers */
.nav-item-has-mega:hover .mega-menu,
.nav-item-has-mega:focus-within .mega-menu,
.nav-item-has-mega.is-open .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-item-has-mega:hover .dropdown-chevron,
.nav-item-has-mega:focus-within .dropdown-chevron,
.nav-item-has-mega.is-open .dropdown-chevron {
  transform: rotate(180deg);
}

.mega-menu-inner {
  width: 100%;
  box-sizing: border-box;
}

/* Mega Menu Layout: 2 Columns with comfortable sizing */
.mega-menu-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 1.5rem;
  width: 100%;
  box-sizing: border-box;
}

.mega-column {
  display: flex;
  flex-direction: column;
  min-width: 0;
  box-sizing: border-box;
}

.mega-column-title {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #58645F;
  margin-bottom: 0.85rem;
  padding-left: 0.25rem;
}

.mega-column-items {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  width: 100%;
}

.mega-course-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  background-color: transparent;
  border: 1px solid transparent;
  box-sizing: border-box;
  width: 100%;
}

.mega-course-item:hover {
  background-color: #F8F7F4;
  border-color: rgba(200, 155, 90, 0.28);
  transform: translateX(3px);
}

/* Featured Course Card: Deep Saudi Green & Gold Accent (Brand-Aligned) */
.mega-course-item.mega-course-featured {
  background-color: #F0F6F4;
  border: 1px solid rgba(18, 60, 53, 0.16);
}

.mega-course-item.mega-course-featured:hover {
  background-color: #E5EFEA;
  border-color: var(--color-primary);
  box-shadow: 0 4px 14px rgba(18, 60, 53, 0.08);
}

/* Icon Box */
.mega-icon-box {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background-color: #F7F5F0;
  border: 1px solid #E5E0D5;
  color: #123C35;
  transition: all 0.2s ease;
}

.mega-course-item:hover:not(.mega-course-featured) .mega-icon-box {
  background-color: #123C35;
  border-color: #123C35;
  color: #C89B5A;
}

/* Featured Brand Icon Box (Deep Green with Crisp White) */
.mega-icon-box.mega-icon-featured {
  background: linear-gradient(135deg, #123C35 0%, #1A544A 100%);
  border-color: #123C35;
  color: #FFFFFF;
  box-shadow: 0 3px 8px rgba(18, 60, 53, 0.25);
}

.mega-course-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
  white-space: normal;
  overflow: hidden;
}

.mega-course-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #17201D;
  line-height: 1.3;
  margin-bottom: 0.2rem;
  white-space: normal;
  word-break: break-word;
}

.mega-course-item:hover .mega-course-title {
  color: #123C35;
}

.mega-course-meta {
  font-size: 0.72rem;
  font-weight: 500;
  color: #58645F;
  line-height: 1.25;
  white-space: normal;
  word-break: break-word;
}

/* Bottom Footer Bar */
.mega-menu-footer {
  border-top: 1px solid #EAE7E0;
  margin-top: 1.15rem;
  padding-top: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  box-sizing: border-box;
}

.mega-footer-text {
  font-size: 0.8125rem;
  color: #58645F;
  font-weight: 500;
  white-space: normal;
}

.mega-footer-link {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #123C35;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap 0.2s ease, color 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.mega-footer-link:hover {
  color: #C89B5A;
  gap: 0.55rem;
}

/* RTL Support */
html[dir="rtl"] .mega-menu {
  left: auto;
  right: -80px;
  text-align: right;
}

html[dir="rtl"] .nav-item-has-mega::after {
  left: auto;
  right: -80px;
}

html[dir="rtl"] .mega-column-title {
  padding-left: 0;
  padding-right: 0.25rem;
}

html[dir="rtl"] .mega-course-item:hover {
  transform: translateX(-3px);
}

html[dir="rtl"] .mega-footer-link .mega-arrow-icon {
  transform: rotate(180deg);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  white-space: nowrap;
}

/* Language Switcher */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  background-color: var(--color-surface-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 2px 3px;
  font-size: 0.78125rem;
  font-weight: 700;
  flex-shrink: 0;
}

.lang-btn {
  padding: 4px 10px;
  min-height: 36px;
  min-width: 36px;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lang-btn.active {
  background-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 2px 6px rgba(18, 60, 53, 0.2);
}

/* Mobile Toggle (Accessible Touch Target 44x44px) */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  padding: 0.5rem;
  color: var(--color-primary);
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: background-color var(--dur-fast) var(--ease-premium), color var(--dur-fast) var(--ease-premium);
}

.mobile-nav-toggle:hover,
.mobile-nav-toggle:focus-visible {
  background-color: var(--color-surface-subtle);
  color: var(--color-primary-dark);
}

.mobile-nav-toggle svg {
  width: 28px;
  height: 28px;
  display: block;
}

/* Mobile Drawer Backdrop */
.nav-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background-color: rgba(18, 60, 53, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 99998;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.nav-backdrop.show {
  display: block;
  opacity: 1;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background-color: var(--color-primary-dark);
  color: var(--color-white);
  padding: 6rem 0 5rem;
  overflow: hidden;
}

.hero-bg-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.38;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: linear-gradient(135deg, rgba(13, 43, 38, 0.95) 0%, rgba(18, 60, 53, 0.82) 55%, rgba(23, 32, 29, 0.9) 100%); */
  background: linear-gradient(298deg, rgba(13, 43, 38, 0.95) 0%, rgb(24 89 78 / 82%) 55%, rgb(0 0 0 / 90%) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 820px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(214, 178, 122, 0.15);
  border: 1px solid rgba(214, 178, 122, 0.35);
  color: var(--color-secondary);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.4rem, 4.5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--color-white);
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: #D6E0DC;
  line-height: 1.7;
  margin-bottom: 2.25rem;
  max-width: 720px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-bottom: 2.5rem;
}

.hero-actions .btn-outline-white {
  background-color: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.65);
  color: var(--color-white);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-actions .btn-outline-white:hover {
  background-color: var(--color-white);
  color: var(--color-primary-dark);
  border-color: var(--color-white);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: #D3DCD8;
  font-weight: 500;
}

.hero-badge-item svg {
  color: var(--color-secondary);
  flex-shrink: 0;
}

/* ==========================================================================
   TRUST STRIP
   ========================================================================== */
.trust-strip {
  background-color: var(--color-surface);
  position: relative;
  z-index: 10;
  margin-top: -3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border-subtle);
  padding: 2.25rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.trust-card {
  display: flex;
  align-items: flex-start;
  gap: 1.125rem;
  position: relative;
}

.trust-card:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -0.875rem;
  top: 10%;
  height: 80%;
  width: 1px;
  background-color: var(--color-border);
}

html[dir="rtl"] .trust-card:not(:last-child)::after {
  right: auto;
  left: -0.875rem;
}

.trust-icon-box {
  width: 48px;
  height: 48px;
  background-color: var(--color-surface-subtle);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  flex-shrink: 0;
  border: 1px solid var(--color-border);
}

.trust-card-body h3 {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 0.35rem;
}

.trust-card-body p {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}

/* ==========================================================================
   ABOUT & MISSION
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
}

.about-main-image {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.about-floating-card {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-border);
  max-width: 260px;
}

html[dir="rtl"] .about-floating-card {
  right: auto;
  left: -1.5rem;
}

.about-floating-card .num {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}

.about-floating-card .desc {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  font-weight: 500;
  margin-top: 0.35rem;
}

.about-locations {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 1.75rem 0;
}

.location-box {
  background: var(--color-surface);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.location-box h4 {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.location-box p {
  font-size: 0.84375rem;
  color: var(--color-text-muted);
}

.contact-channels-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

/* Mission Cards */
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.mission-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.mission-actions {
  margin-top: auto;
  padding-top: 1.5rem;
}

.mission-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.mission-card.chef-card {
  border-top: 4px solid var(--color-primary);
}

.mission-card.partner-card {
  border-top: 4px solid var(--color-accent);
}

.mission-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.chef-card .mission-badge {
  background-color: rgba(18, 60, 53, 0.1);
  color: var(--color-primary);
}

.partner-card .mission-badge {
  background-color: rgba(200, 155, 90, 0.15);
  color: #9E7432;
}

.mission-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.mission-card p {
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ==========================================================================
   SUPPORTING VISION 2030 SECTION
   ========================================================================== */
.vision-section {
  padding: 4.5rem 0;
  background-color: #FFFFFF;
  position: relative;
}

.vision-card {
  background: linear-gradient(135deg, #FFFFFF 0%, #FAFBF9 50%, #F5F9F2 100%);
  border: 1px solid rgba(107, 163, 54, 0.22);
  border-top: 4px solid #6BA336;
  border-radius: var(--radius-lg);
  padding: 3.5rem 3.5rem 3rem;
  box-shadow: 0 16px 40px -10px rgba(18, 60, 53, 0.07), 0 4px 16px rgba(107, 163, 54, 0.05);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.vision-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(107, 163, 54, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

html[dir="rtl"] .vision-card::before {
  right: auto;
  left: 0;
}

.vision-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.vision-title-group {
  display: flex;
  flex-direction: column;
}

.vision-eyebrow {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #558B2F;
  margin-bottom: 0.5rem;
}

.vision-heading {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #6BA336;
  margin: 0;
}

.vision-title-light {
  font-weight: 500;
  display: block;
}

.vision-title-bold {
  font-weight: 800;
  display: block;
}

.vision-logo-box {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #FFFFFF;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(18, 60, 53, 0.08);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.vision-logo-img {
  max-width: 200px;
  height: auto;
  max-height: 85px;
  object-fit: contain;
  display: block;
}

.vision-divider {
  height: 1px;
  background: linear-gradient(to right, rgba(107, 163, 54, 0.4), rgba(18, 60, 53, 0.1), transparent);
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

html[dir="rtl"] .vision-divider {
  background: linear-gradient(to left, rgba(107, 163, 54, 0.4), rgba(18, 60, 53, 0.1), transparent);
}

.vision-statement {
  font-size: 1.25rem;
  line-height: 1.8;
  color: #374151;
  font-weight: 450;
  max-width: 980px;
  margin-bottom: 2.25rem;
  position: relative;
  z-index: 1;
}

.vision-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.vision-pillar-item {
  background: #FFFFFF;
  border: 1px solid rgba(18, 60, 53, 0.08);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.vision-pillar-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(18, 60, 53, 0.06);
  border-color: rgba(107, 163, 54, 0.35);
}

.pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(107, 163, 54, 0.12);
  color: #558B2F;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pillar-icon svg {
  width: 22px;
  height: 22px;
}

.pillar-content h4 {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.35rem;
}

.pillar-content p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin: 0;
}



/* ==========================================================================
   WHAT WE TEACH / PROGRAMS
   ========================================================================== */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.program-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: transform var(--dur-normal) var(--ease-premium),
    box-shadow var(--dur-normal) var(--ease-premium),
    border-color var(--dur-normal) var(--ease-premium);
  display: flex;
  flex-direction: column;
}

.program-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
}

.program-card-image {
  height: 180px;
  width: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease-premium);
}

.program-card:hover .program-card-image {
  transform: scale(1.03);
}

.program-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.program-tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.program-card-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--color-dark);
}

.program-card-desc {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.program-card-footer {
  padding-top: 1rem;
  border-top: 1px solid var(--color-border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.program-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.program-link:hover {
  color: var(--color-accent);
}

.program-link svg {
  transition: transform var(--transition-fast);
}

.program-link:hover svg {
  transform: translateX(4px);
}

html[dir="rtl"] .program-link:hover svg {
  transform: translateX(-4px);
}

/* ==========================================================================
   30-DAY JOURNEY TIMELINE
   ========================================================================== */
.journey-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
  margin-top: 2rem;
}

.journey-step {
  background: var(--color-surface);
  color: var(--color-text);
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform var(--transition-fast);
}

.journey-step:hover {
  transform: translateY(-4px);
}

.journey-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background-color: var(--color-primary);
  color: var(--color-secondary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 1.25rem;
}

.journey-step h3,
.section-dark .journey-step h3 {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 0.75rem;
}

.journey-step p,
.section-dark .journey-step p {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

.journey-list {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border-subtle);
}

.journey-list li {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.journey-list li svg {
  color: var(--color-accent);
  flex-shrink: 0;
}

/* ==========================================================================
   SERVICES (STUDENTS & EMPLOYERS)
   ========================================================================== */
.services-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.service-column {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 3rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.service-column-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border);
}

.service-items-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.25rem;
}

.service-item {
  display: flex;
  gap: 1rem;
}

.service-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background-color: rgba(18, 60, 53, 0.08);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.employer-service .service-icon {
  background-color: rgba(200, 155, 90, 0.12);
  color: var(--color-accent);
}

.service-item-content h4 {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.service-item-content p {
  font-size: 0.875rem;
  line-height: 1.6;
}

/* Important Disclaimer Notice */
.disclaimer-box {
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  border-radius: var(--radius-sm);
  padding: 0.875rem 1rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin: 1.5rem 0;
}

.disclaimer-box svg {
  color: #B45309;
  flex-shrink: 0;
  margin-top: 2px;
}

.disclaimer-box p {
  font-size: 0.8125rem;
  color: #92400E;
  line-height: 1.5;
  margin: 0;
}

/* ==========================================================================
   PARTNERS SECTION
   ========================================================================== */
.partner-highlight-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 3rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: center;
}

.partner-logo-box {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: transform var(--dur-normal) var(--ease-premium),
    border-color var(--dur-normal) var(--ease-premium),
    box-shadow var(--dur-normal) var(--ease-premium);
}

.partner-logo-box:hover {
  border-color: var(--color-gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(18, 60, 53, 0.09);
}

.partner-logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.5rem;
  transition: transform var(--dur-normal) var(--ease-premium);
}

.partner-logo-link:hover {
  transform: scale(1.02);
}

.partner-brand-logo-img {
  max-width: 190px;
  width: 100%;
  height: auto;
  max-height: 65px;
  object-fit: contain;
  display: block;
}

.partner-brand-name {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: 0.05em;
}

.partner-pill {
  margin-top: 0.75rem;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 0.25rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-full);
}

.partner-site-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  color: var(--color-primary);
  font-weight: 600;
  margin-top: 0.85rem;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.partner-site-link:hover {
  color: var(--color-gold);
  text-decoration: underline;
}

.partner-content h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.partner-content p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.partner-cta-strip {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 2.5rem 3rem;
  margin-top: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  color: var(--color-white);
}

.partner-cta-strip h3 {
  color: var(--color-white);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.partner-cta-strip p {
  color: #D3DCD8;
  font-size: 0.9375rem;
  margin: 0;
}

/* ==========================================================================
   BRANDS WE SERVE / TARGET EMPLOYER OPERATORS SECTION
   ========================================================================== */
.served-brands-section {
  margin-top: 4rem;
  padding: 3.25rem 2.75rem;
  background: var(--color-surface, #FFFFFF);
  border-radius: var(--radius-lg, 16px);
  border: 1px solid var(--color-border, #E5E7EB);
  box-shadow: 0 4px 20px rgba(18, 60, 53, 0.05);
}

.served-brands-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 2.75rem auto;
}

.served-brands-header .eyebrow {
  margin-bottom: 0.65rem;
}

.served-brands-header h2 {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  color: var(--color-primary, #123C35);
  margin-bottom: 0.75rem;
}

.served-brands-header p {
  color: var(--color-text-muted, #556960);
  font-size: 1.0625rem;
  line-height: 1.65;
}

.served-brands-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.served-brand-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border-subtle, #EAECEB);
  border-radius: 12px;
  padding: 1.6rem 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: 0 2px 10px rgba(18, 60, 53, 0.04);
  position: relative;
  min-width: 0;
}

.served-brand-card:hover {
  transform: translateY(-4px);
  border-color: rgba(200, 155, 90, 0.6);
  box-shadow: 0 12px 28px rgba(18, 60, 53, 0.09);
}

.served-brand-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  min-height: 46px;
}

.served-brand-logo-wrap {
  height: 46px;
  width: 140px;
  max-width: 140px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-shrink: 0;
}

.served-brand-logo-img {
  max-height: 42px;
  max-width: 140px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.served-brand-pill {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-primary, #123C35);
  background: rgba(18, 60, 53, 0.08);
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}

.served-brand-body {
  flex: 1;
}

.served-brand-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary, #123C35);
  margin-bottom: 0.5rem;
  line-height: 1.35;
  word-break: break-word;
}

.served-brand-desc {
  font-size: 0.9375rem;
  color: #4A5568;
  line-height: 1.6;
  margin: 0;
}

.served-brand-sublogos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px dashed #E5E7EB;
}

.served-sublogo-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #374151;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.served-sublogo-chip:hover {
  background: #FFFFFF;
  border-color: var(--color-accent, #C89B5A);
}

.served-sublogo-chip img {
  height: 16px;
  width: auto;
  max-width: 42px;
  object-fit: contain;
  display: block;
}

@media (max-width: 1024px) {
  .served-brands-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  .served-brands-section {
    padding: 2.25rem 1.5rem;
  }
}

@media (max-width: 680px) {
  .served-brands-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .served-brands-header h2 {
    font-size: 1.7rem;
  }
  .served-brands-section {
    padding: 1.75rem 1.15rem;
    margin-top: 2.5rem;
  }
  .served-brand-top {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
}

/* ==========================================================================
   DUAL-DIRECTION BRAND LOGOS MARQUEE CAROUSEL (HOME PAGE)
   ========================================================================== */
.brands-marquee-section {
  position: relative;
  width: 100%;
  background: #FFFFFF;
  padding: 2.75rem 0 2.25rem 0;
  border-top: 1px solid var(--color-border-subtle, #EAECEB);
  border-bottom: 1px solid var(--color-border-subtle, #EAECEB);
  overflow: hidden;
}

.brands-marquee-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Pure White Gradient Fade Overlays on Both Sides */
.brands-marquee-wrap::before,
.brands-marquee-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 180px;
  z-index: 3;
  pointer-events: none;
}

.brands-marquee-wrap::before {
  left: 0;
  background: linear-gradient(90deg, #FFFFFF 0%, rgba(255, 255, 255, 0.95) 40%, rgba(255, 255, 255, 0) 100%);
}

.brands-marquee-wrap::after {
  right: 0;
  background: linear-gradient(270deg, #FFFFFF 0%, rgba(255, 255, 255, 0.95) 40%, rgba(255, 255, 255, 0) 100%);
}

.marquee-track {
  display: flex;
  overflow: hidden;
  user-select: none;
  gap: 1.25rem;
  width: 100%;
}

.marquee-group {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 1.25rem;
  min-width: 100%;
}

/* Row 1: Right to Left (Scrolls smoothly left) */
.marquee-track-left .marquee-group {
  animation: scrollMarqueeToLeft 52s linear infinite;
}

/* Row 2: Left to Right (Scrolls smoothly right) */
.marquee-track-right .marquee-group {
  animation: scrollMarqueeToRight 52s linear infinite;
}

/* Pause on hover for refined interaction */
.brands-marquee-wrap:hover .marquee-group {
  animation-play-state: paused;
}

@keyframes scrollMarqueeToLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-100% - 1.25rem));
  }
}

@keyframes scrollMarqueeToRight {
  0% {
    transform: translateX(calc(-100% - 1.25rem));
  }
  100% {
    transform: translateX(0);
  }
}

/* Brand Logo Card / Tile */
.marquee-brand-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 68px;
  min-width: 155px;
  max-width: 180px;
  padding: 0.65rem 1.25rem;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(18, 60, 53, 0.04);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  flex-shrink: 0;
}

.marquee-brand-item:hover {
  transform: translateY(-3px) scale(1.02);
  border-color: rgba(200, 155, 90, 0.6);
  box-shadow: 0 8px 20px rgba(18, 60, 53, 0.08);
}

.marquee-brand-item img {
  max-height: 40px;
  max-width: 130px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.25s ease;
}

.marquee-brand-item:hover img {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .brands-marquee-section {
    padding: 1.75rem 0 1.5rem 0;
  }
  .brands-marquee-wrap {
    gap: 0.85rem;
  }
  .marquee-track {
    gap: 0.85rem;
  }
  .marquee-group {
    gap: 0.85rem;
  }
  .brands-marquee-wrap::before,
  .brands-marquee-wrap::after {
    width: 65px;
  }
  .marquee-brand-item {
    height: 56px;
    min-width: 125px;
    max-width: 145px;
    padding: 0.5rem 0.85rem;
  }
  .marquee-brand-item img {
    max-height: 32px;
    max-width: 110px;
  }
  .marquee-track-left .marquee-group {
    animation-duration: 42s;
  }
  .marquee-track-right .marquee-group {
    animation-duration: 42s;
  }
}

/* ==========================================================================
   TRAINERS & TEAM
   ========================================================================== */
.trainers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.trainer-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-normal) var(--ease-premium),
    box-shadow var(--dur-normal) var(--ease-premium);
}

.trainer-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.trainer-image-wrap {
  height: 240px;
  position: relative;
  overflow: hidden;
}

.trainer-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease-premium);
}

.trainer-card:hover .trainer-image {
  transform: scale(1.03);
}

.trainer-info {
  padding: 1.5rem;
}

.trainer-role {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-accent);
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}

.trainer-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-dark);
  margin-bottom: 0.35rem;
}

.trainer-specialty {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.trainer-bio {
  font-size: 0.84375rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}

/* ==========================================================================
   GALLERY & NEWS
   ========================================================================== */
.gallery-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.gallery-btn {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text-muted);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.gallery-btn:hover,
.gallery-btn.active {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 260px;
  cursor: pointer;
  box-shadow: var(--shadow-xs);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease-premium);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(18, 60, 53, 0.85) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--dur-normal) var(--ease-premium);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  color: var(--color-white);
}

.gallery-item:hover img {
  transform: scale(1.03);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-white);
}

.gallery-overlay span {
  font-size: 0.75rem;
  color: var(--color-secondary);
}

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(13, 43, 38, 0.95);
  backdrop-filter: blur(8px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  max-width: 900px;
  width: 100%;
  position: relative;
  text-align: center;
}

.lightbox-img {
  max-height: 80vh;
  margin: 0 auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
}

.lightbox-caption {
  margin-top: 1rem;
  color: var(--color-white);
  font-size: 1.125rem;
}

.lightbox-close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  background: transparent;
  border: none;
  color: var(--color-white);
  font-size: 2rem;
  cursor: pointer;
}

/* News Cards */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.news-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: transform var(--dur-normal) var(--ease-premium),
    box-shadow var(--dur-normal) var(--ease-premium);
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.news-card-img {
  height: 200px;
  width: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease-premium);
}

.news-card:hover .news-card-img {
  transform: scale(1.03);
}

.news-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: var(--color-text-light);
  margin-bottom: 0.5rem;
}

.news-meta .category {
  color: var(--color-accent);
  font-weight: 700;
  text-transform: uppercase;
}

.news-card-title {
  font-size: 1.25rem;
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.news-card-title a:hover {
  color: var(--color-primary);
}

.news-card-desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-container {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--color-accent);
}

.faq-question {
  padding: 1.25rem 1.5rem;
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  gap: 1rem;
}

html[dir="rtl"] .faq-question {
  text-align: right;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background-color: var(--color-surface-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-primary);
  transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background-color: var(--color-primary);
  color: var(--color-white);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 1.5rem 1.5rem;
  transition: max-height 0.4s ease-in-out;
}

.faq-answer p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--color-text-muted);
}

/* ==========================================================================
   FORMS & APPLICATION PAGES
   ========================================================================== */
.form-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 3rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-full {
  grid-column: 1 / -1;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-dark);
}

.form-label .required {
  color: #DC2626;
}

.form-control {
  width: 100%;
  min-height: 46px;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background-color: #FAF9F6;
  color: var(--color-text);
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  background-color: var(--color-white);
  box-shadow: 0 0 0 3px rgba(18, 60, 53, 0.12);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.radio-group,
.checkbox-group {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  padding: 0.5rem 0;
}

.radio-label,
.checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: var(--color-dark);
  cursor: pointer;
}

.consent-box {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background-color: var(--color-surface-subtle);
  padding: 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
}

.consent-box input[type="checkbox"] {
  margin-top: 4px;
}

.consent-box label {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  cursor: pointer;
}

/* Form Success & Feedback */
.form-success-alert {
  display: none;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  margin-bottom: 2rem;
}

.form-success-alert.active {
  display: block;
}

.form-success-icon {
  width: 56px;
  height: 56px;
  background-color: #10B981;
  color: white;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.form-success-title {
  font-size: 1.5rem;
  color: #065F46;
  margin-bottom: 0.5rem;
}

.form-success-desc {
  color: #047857;
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* ==========================================================================
   FINAL CTA SECTION
   ========================================================================== */
.final-cta {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  color: var(--color-white);
  padding: 5.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(200, 155, 90, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.final-cta-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: 0 auto;
}

.final-cta-title {
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  color: var(--color-white);
  margin-bottom: 1.25rem;
}

.final-cta-desc {
  font-size: 1.125rem;
  color: #D3DCD8;
  line-height: 1.7;
  margin-bottom: 2.25rem;
}

.final-cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.employer-cta-alt {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.9375rem;
  color: #E2E8E5;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--color-dark);
  color: #C2CBC7;
  padding: 4.5rem 0 2rem;
  border-top: 1px solid rgba(214, 178, 122, 0.2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.65;
  color: #A1ACA7;
  margin: 1rem 0 1.5rem;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-secondary);
  margin-bottom: 1.25rem;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: #A1ACA7;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-white);
  padding-inline-start: 4px;
}

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  font-size: 0.84375rem;
  margin-bottom: 0.875rem;
  color: #A1ACA7;
}

.footer-contact-item svg {
  color: var(--color-secondary);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.8125rem;
  color: #7E8C86;
}

.footer-bottom p {
  margin: 0;
  line-height: 1.5;
}

.footer-tech-support {
  color: #7E8C86;
  margin: 0;
  white-space: nowrap;
}

.footer-tech-support a {
  color: var(--color-secondary);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--dur-fast) ease;
}

.footer-tech-support a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.footer-legal-links a {
  color: #A1ACA7;
  text-decoration: none;
  font-size: 0.8125rem;
  transition: color var(--dur-fast) ease;
  white-space: nowrap;
}

.footer-legal-links a:hover {
  color: var(--color-white);
  text-decoration: underline;
}

@media (max-width: 991px) {
  .footer-bottom {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 0.875rem;
  }

  .footer-legal-links {
    justify-content: center;
    width: 100%;
  }

  .footer-tech-support {
    text-align: center;
    white-space: normal;
  }
}

/* ==========================================================================
   LEGAL & POLICY PAGES
   ========================================================================== */
.legal-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-sm);
  margin-top: -2.5rem;
  position: relative;
  z-index: 2;
  margin-bottom: 4rem;
}

@media (max-width: 768px) {
  .legal-card {
    padding: 1.75rem 1.25rem;
    margin-top: -1.25rem;
    margin-bottom: 2.5rem;
  }
}

.legal-section {
  margin-bottom: 2.5rem;
}

.legal-section:last-child {
  margin-bottom: 0;
}

.legal-section-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.legal-section-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(18, 60, 53, 0.08);
  color: var(--color-primary);
  font-size: 0.8125rem;
  font-weight: 700;
  font-family: var(--font-body);
  flex-shrink: 0;
}

.legal-text {
  font-size: 0.96875rem;
  line-height: 1.75;
  color: var(--color-text);
  margin-bottom: 1rem;
}

.legal-list {
  margin: 0.75rem 0 1.25rem 1.5rem;
  padding: 0;
  list-style-type: disc;
}

[dir="rtl"] .legal-list {
  margin: 0.75rem 1.5rem 1.25rem 0;
}

.legal-list li {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.legal-highlight-box {
  background: #F4F7F6;
  border-inline-start: 4px solid var(--color-secondary);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.5rem 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--color-text);
}

[dir="rtl"] .legal-highlight-box {
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

/* ==========================================================================
   FLOATING ACTION PILLS (HIRE, APPLY & WHATSAPP)
   ========================================================================== */
.floating-action-stack {
  position: fixed;
  bottom: 8rem;
  right: 2rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
  pointer-events: none;
}

html[dir="rtl"] .floating-action-stack {
  right: auto;
  left: 2rem;
  align-items: flex-start;
}

.floating-pill-btn {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background-color: #8CC63F;
  color: #2D3A24;
  padding: 0.6875rem 1.35rem;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 700;
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.16);
  text-decoration: none;
  transition: all var(--transition-fast);
  cursor: pointer;
  border: none;
  outline: none;
  line-height: 1.2;
  white-space: nowrap;
}

.floating-pill-btn:hover {
  background-color: #7EB834;
  color: #1A2414;
  transform: translateY(-2px);
  box-shadow: 0 7px 22px rgba(0, 0, 0, 0.22);
}

.floating-pill-btn svg {
  flex-shrink: 0;
  color: #2D3A24;
}

.floating-pill-btn:hover svg {
  color: #1A2414;
}

.floating-pill-btn.floating-whatsapp-pill {
  background-color: #8CC63F;
}

/* ==========================================================================
   BACK TO TOP BUTTON (Left Side with Scroll Progress Ring)
   ========================================================================== */
.back-to-top-btn {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 1000;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--color-primary);
  border: none;
  box-shadow: 0 8px 24px rgba(18, 60, 53, 0.32), 0 2px 8px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(20px) scale(0.85);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.35s,
    background-color 0.25s ease,
    box-shadow 0.25s ease;
  outline: none;
  text-decoration: none;
  padding: 0;
  overflow: visible;
}

/* Progress ring wraps the button circle */
.btt-progress-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  /* Start at 12 o'clock */
  pointer-events: none;
}

.btt-progress-track {
  stroke: rgba(200, 155, 90, 0.25);
  transition: stroke 0.2s ease;
}

.btt-progress-bar {
  stroke: var(--color-gold);
  transition: stroke-dashoffset 0.08s linear, stroke 0.2s ease;
}

/* Center icon container */
.btt-icon {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.btt-icon svg {
  display: block;
  width: 20px;
  height: 20px;
  stroke: #FFFFFF !important;
  color: #FFFFFF !important;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), stroke 0.2s ease;
}

.back-to-top-btn:hover {
  background-color: #174E45;
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 28px rgba(18, 60, 53, 0.42), 0 0 16px rgba(200, 155, 90, 0.38);
}

.back-to-top-btn:hover .btt-icon svg {
  transform: translateY(-3px);
  stroke: var(--color-gold-light) !important;
}

.back-to-top-btn:hover .btt-progress-bar {
  stroke: var(--color-gold-light);
}

.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.back-to-top-btn.visible:hover {
  transform: translateY(-4px) scale(1.05);
}

.back-to-top-btn:active {
  transform: translateY(-1px) scale(0.94);
}

.back-to-top-btn.scrolling .btt-icon svg {
  animation: bttBounce 0.5s infinite alternate ease-in-out;
}

@keyframes bttBounce {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-4px);
  }
}

/* RTL Mode: shift to right side because floating pills stack on left in RTL */
html[dir="rtl"] .back-to-top-btn {
  left: auto;
  right: 2rem;
}

@media (max-width: 768px) {
  .back-to-top-btn {
    bottom: 1.25rem;
    left: 1.25rem;
    width: 44px;
    height: 44px;
  }

  html[dir="rtl"] .back-to-top-btn {
    right: 1.25rem;
    left: auto;
  }

  .btt-icon svg {
    width: 17px;
    height: 17px;
  }
}

.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 990;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background-color: #8CC63F;
  color: #2D3A24;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.whatsapp-popup-menu {
  position: absolute;
  bottom: calc(100% + 12px);
  right: 0;
  width: 250px;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-border);
  padding: 1rem;
  display: none;
  flex-direction: column;
  gap: 0.625rem;
  color: var(--color-text);
}

html[dir="rtl"] .whatsapp-popup-menu {
  right: auto;
  left: 0;
}

.whatsapp-popup-menu.show {
  display: flex;
}

.whatsapp-popup-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-text-light);
  letter-spacing: 0.05em;
}

.whatsapp-chat-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 0.875rem;
  border-radius: var(--radius-sm);
  background-color: var(--color-surface-subtle);
  font-size: 0.84375rem;
  font-weight: 600;
  color: var(--color-primary);
  transition: background var(--transition-fast);
}

.whatsapp-chat-link:hover {
  background-color: rgba(37, 211, 102, 0.15);
  color: #128C7E;
}

/* ==========================================================================
   ADMIN / CMS PORTAL STYLES
   ========================================================================== */
.admin-shell {
  min-height: 100vh;
  display: flex;
  background: #F3F4F6;
}

.admin-sidebar {
  width: 260px;
  background: var(--color-primary-dark);
  color: #E2E8E5;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.admin-sidebar-header {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-nav {
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex-grow: 1;
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  color: #C5D0CC;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.admin-nav-item:hover,
.admin-nav-item.active {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.admin-main {
  flex-grow: 1;
  padding: 2rem 2.5rem;
  overflow-y: auto;
}

.admin-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-xs);
}

.stat-card .label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-light);
  text-transform: uppercase;
}

.stat-card .val {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-top: 0.25rem;
}

.admin-table-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.admin-table-toolbar {
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid var(--color-border);
  flex-wrap: wrap;
}

.table-search {
  max-width: 320px;
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  font-size: 0.875rem;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.875rem;
}

html[dir="rtl"] .admin-table {
  text-align: right;
}

.admin-table th {
  background-color: var(--color-surface-subtle);
  padding: 0.875rem 1.25rem;
  font-weight: 600;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
}

.admin-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--color-border-subtle);
  vertical-align: middle;
}

.admin-table tr:hover td {
  background-color: #FAFAF8;
}

.status-pill {
  display: inline-block;
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}

.status-new {
  background-color: #DBEAFE;
  color: #1E40AF;
}

.status-contacted {
  background-color: #FEF3C7;
  color: #92400E;
}

.status-interview {
  background-color: #E0E7FF;
  color: #3730A3;
}

.status-selected {
  background-color: #D1FAE5;
  color: #065F46;
}

.status-training {
  background-color: #FCE7F3;
  color: #9D174D;
}

.status-completed {
  background-color: #DCFCE7;
  color: #166534;
}

.status-referred {
  background-color: #EDE9FE;
  color: #5B21B6;
}

.status-closed {
  background-color: #F3F4F6;
  color: #4B5563;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

html[dir="rtl"] .toast-container {
  left: auto;
  right: 2rem;
}

.toast {
  background: var(--color-dark);
  color: var(--color-white);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-left: 4px solid var(--color-accent);
  animation: slideIn 0.3s ease-out;
}

html[dir="rtl"] .toast {
  border-left: none;
  border-right: 4px solid var(--color-accent);
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   PARTNER BRANDS SHOWCASE
   ========================================================================== */
.brands-showcase-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 3rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  margin-top: 2.5rem;
  text-align: center;
}

.brands-banner-img {
  max-width: 1000px;
  width: 100%;
  margin: 1.5rem auto 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border-subtle);
  background-color: #FFFFFF;
}

.brands-pill-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.625rem;
  max-width: 980px;
  margin: 0 auto;
}

.brand-pill {
  background: var(--color-surface-subtle);
  border: 1px solid var(--color-border);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-dark);
  transition: all var(--transition-fast);
}

.brand-pill:hover {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

/* Mobile Drawer Elements */
.nav-drawer-header {
  display: none;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 1rem;
}

.nav-drawer-close {
  background: transparent;
  border: none;
  font-size: 1.75rem;
  color: var(--color-dark);
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  padding: 0.25rem;
  line-height: 1;
  transition: background-color var(--dur-fast) var(--ease-premium), color var(--dur-fast) var(--ease-premium);
}

.nav-drawer-close:hover,
.nav-drawer-close:focus-visible {
  background-color: var(--color-surface-subtle);
  color: var(--color-primary);
}

.nav-drawer-footer {
  display: none;
  width: 100%;
  flex-direction: column;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

/* ==========================================================================
   PAGE-SPECIFIC COMPONENT & GRID LAYOUTS (Fully Responsive)
   ========================================================================== */

/* Trainer Detail Page Layout */
.trainer-detail-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3.5rem;
  align-items: start;
}

.trainer-photo-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 1.5rem;
  background: #ffffff;
}

.trainer-detail-photo {
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}

.trainer-details-box {
  background: #FAF9F6;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
}

.trainer-mentors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
}

/* Program Detail Page Layout */
.program-detail-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.program-featured-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-md);
}

.program-detail-hero-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.program-curriculum-card {
  background: #FAF9F6;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  margin-bottom: 2.5rem;
}

.program-facts-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.program-detail-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* Trust Grid Variations (Partners & Team) */
.trust-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 3rem;
}

.trust-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.stat-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 2rem;
  transition: transform var(--dur-normal) var(--ease-premium), box-shadow var(--dur-normal) var(--ease-premium);
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.stat-card-lg {
  padding: 2.5rem;
}

.partner-cta-header {
  margin-top: 5rem;
  margin-bottom: 2rem;
}

.team-support-header {
  margin-top: 5rem;
  margin-bottom: 2.5rem;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (Intentional Cross-Device Optimization)
   Breakpoints: 1200px (Laptop/Tablet-L), 991px (Tablet-P), 768px (Mobile-L), 480px (Mobile-P)
   ========================================================================== */

/* 1. LAPTOP & TABLET LANDSCAPE (1200px and below) */
@media (max-width: 1200px) {
  :root {
    --header-height: 74px;
    --header-height-scrolled: 64px;
  }

  .mobile-nav-toggle {
    display: inline-flex;
  }

  .nav-drawer-header {
    display: flex;
  }

  .nav-drawer-footer {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    height: 100dvh;
    min-height: 100%;
    background-color: var(--color-surface);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    gap: 0.25rem;
    transform: translateX(-100%);
    transition: transform var(--transition-normal);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    box-shadow: var(--shadow-xl);
    z-index: 99999;
  }

  html[dir="rtl"] .nav-menu {
    left: auto;
    right: 0;
    transform: translateX(100%);
  }

  .nav-menu.open {
    transform: translateX(0);
  }

  .nav-link {
    font-size: 1rem;
    font-weight: 600;
    width: 100%;
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 0.75rem 0.5rem;
    border-radius: var(--radius-sm);
    border-bottom: 1px solid var(--color-border-subtle);
  }

  .nav-link:hover,
  .nav-link.active {
    background-color: var(--color-surface-subtle);
    padding-inline-start: 0.75rem;
  }

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

  /* Courses Mega Menu Mobile Drawer Adaptation */
  .nav-item-has-mega {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    border-bottom: 1px solid var(--color-border-subtle);
  }

  .nav-dropdown-trigger-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .nav-item-has-mega .nav-link {
    border-bottom: none;
    flex: 1;
    min-height: 44px;
    padding: 0.75rem 0.5rem;
  }

  .nav-link.nav-mega-link .dropdown-chevron {
    display: none;
  }

  .mobile-mega-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--color-primary);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    transition: background-color var(--dur-fast);
  }

  .mobile-mega-toggle-btn:hover,
  .mobile-mega-toggle-btn:focus-visible {
    background-color: var(--color-surface-subtle);
  }

  .mobile-chevron-icon {
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .nav-item-has-mega.is-open .mobile-chevron-icon {
    transform: rotate(180deg);
  }

  .mega-menu {
    position: static;
    display: none;
    width: 100%;
    max-width: 100%;
    border-radius: 12px;
    background-color: #F9FBFB;
    border: 1px solid rgba(18, 60, 53, 0.12);
    box-shadow: none;
    padding: 0.85rem;
    margin: 0.25rem 0 0.75rem 0;
    box-sizing: border-box;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }

  .mega-menu::before {
    display: none;
  }

  .nav-item-has-mega.is-open .mega-menu {
    display: block;
    animation: megaDrawerExpand 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  }

  @keyframes megaDrawerExpand {
    from {
      opacity: 0;
      transform: translateY(-6px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .mega-menu-grid {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .mega-column-title {
    font-size: 0.7rem;
    margin-bottom: 0.5rem;
  }

  .mega-course-item {
    background-color: #ffffff;
    border: 1px solid #EAECEB;
    padding: 0.6rem 0.65rem;
    transform: none !important;
  }

  .mega-course-item.mega-course-featured {
    background-color: #F0F6F4;
    border: 1px solid rgba(18, 60, 53, 0.18);
  }

  .mega-course-meta {
    white-space: normal;
  }

  .mega-menu-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 0.85rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(18, 60, 53, 0.12);
  }

  .mega-footer-text {
    font-size: 0.75rem;
    line-height: 1.35;
    color: #58645F;
  }

  .mega-footer-link {
    font-size: 0.825rem;
    padding: 0.25rem 0;
    color: #123C35;
    font-weight: 700;
  }

  .mega-footer-link:hover {
    color: #C89B5A;
  }

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

  .trust-card:not(:last-child)::after {
    display: none;
  }

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

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

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }

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

/* 2. MEDIUM TABLET / IPAD PORTRAIT (991px and below) */
@media (max-width: 991px) {
  .section {
    padding: 4rem 0;
  }

  .section-sm {
    padding: 2.75rem 0;
  }

  .section-header {
    margin-bottom: 2.75rem;
  }

  .page-hero {
    padding: 4rem 0 2.75rem;
  }

  .about-grid,
  .services-split,
  .partner-highlight-card,
  .why-partner-grid,
  .trainer-detail-layout,
  .program-detail-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .trust-grid-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .mission-grid {
    gap: 1.5rem;
  }

  .mission-card {
    padding: 2rem 1.75rem;
  }

  .about-main-image {
    height: 380px;
  }

  .about-floating-card {
    position: relative;
    bottom: auto;
    right: auto;
    left: auto;
    margin-top: -1.5rem;
    margin-inline: auto;
    max-width: 320px;
    box-shadow: var(--shadow-md);
  }

  .service-column {
    padding: 2.25rem 2rem;
  }

  .partner-highlight-card {
    padding: 2.25rem 2rem;
  }

  .partner-logo-box {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .vision-card {
    padding: 2.5rem 2rem;
  }

  .vision-pillars {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

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

  .admin-shell {
    flex-direction: column;
  }

  .admin-sidebar {
    width: 100%;
  }
}

/* 3. SMALL TABLET & SMARTPHONE (768px and below) */
@media (max-width: 768px) {
  :root {
    --header-height: 70px;
    --header-height-scrolled: 62px;
  }

  .site-header .brand-logo-wrap {
    width: 80px;
    height: 80px;
    margin-top: 8px;
  }

  .header-actions #header-apply-cta {
    display: none;
  }

  .section {
    padding: 3.5rem 0;
  }

  .section-sm {
    padding: 2.5rem 0;
  }

  .page-hero {
    padding: 3.5rem 0 2.25rem;
  }

  .section-header {
    margin-bottom: 2.25rem;
  }

  .hero {
    min-height: auto;
    padding: 4.5rem 0 3.5rem;
  }

  .hero-badges {
    flex-direction: column;
    gap: 0.75rem;
  }

  .form-card {
    padding: 2rem 1.5rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .mission-grid,
  .programs-grid,
  .trainers-grid,
  .journey-timeline,
  .gallery-grid,
  .news-grid,
  .footer-grid,
  .trust-grid,
  .trust-grid-3,
  .trust-grid-2 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .trainer-detail-layout,
  .program-detail-layout {
    gap: 2rem;
  }

  .program-detail-hero-img {
    height: 320px;
  }

  .program-curriculum-card,
  .program-facts-card {
    padding: 1.5rem 1.25rem;
  }

  .partner-cta-header,
  .team-support-header {
    margin-top: 3rem;
    margin-bottom: 1.75rem;
  }

  .stat-card-lg {
    padding: 1.75rem 1.35rem;
  }

  .mission-card {
    padding: 1.85rem 1.5rem;
  }

  .vision-section {
    padding: 3.25rem 0;
  }

  .vision-card {
    padding: 2.25rem 1.5rem;
  }

  .vision-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .vision-logo-box {
    align-self: flex-start;
    padding: 0.65rem 1.25rem;
  }

  .vision-logo-img {
    max-width: 170px;
    max-height: 75px;
  }

  .vision-statement {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
  }

  .trust-strip {
    margin-top: -2rem;
    padding: 1.75rem 1.5rem;
  }

  .floating-action-stack {
    bottom: 1.25rem;
    right: 1.25rem;
    gap: 0.5rem;
  }

  html[dir="rtl"] .floating-action-stack {
    right: auto;
    left: 1.25rem;
  }

  .floating-pill-btn {
    padding: 0.55rem 1rem;
    font-size: 0.8125rem;
    gap: 0.5rem;
  }

  .partner-cta-strip {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.5rem;
  }
}

/* 4. COMPACT SMARTPHONES (480px and below: 360px, 375px, 390px, 414px, 430px) */
@media (max-width: 480px) {
  :root {
    --container-padding: 1.125rem;
  }

  .section {
    padding: 3rem 0;
  }

  .section-sm {
    padding: 2.25rem 0;
  }

  .hero-title {
    font-size: clamp(1.85rem, 7vw, 2.35rem);
  }

  .section-title {
    font-size: clamp(1.5rem, 6vw, 1.95rem);
  }

  .mission-card {
    padding: 1.5rem 1.125rem;
  }

  .mission-card h3 {
    font-size: clamp(1.2rem, 5.2vw, 1.35rem);
    line-height: 1.3;
    margin-bottom: 0.75rem;
  }

  .mission-card p {
    font-size: 0.9rem;
    line-height: 1.65;
  }

  .mission-actions {
    margin-top: 1.25rem !important;
    padding-top: 0;
  }

  .mission-card .btn {
    width: 100%;
    min-height: 46px;
    font-size: 0.9375rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 48px;
  }

  .final-cta-actions {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
  }

  .final-cta-actions .btn {
    width: 100%;
    min-height: 48px;
  }

  .about-main-image {
    height: 250px;
  }

  .about-locations {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .contact-channels-grid {
    grid-template-columns: 1fr;
  }

  .vision-section {
    padding: 2.5rem 0;
  }

  .vision-card {
    padding: 1.5rem 1.125rem;
  }

  .vision-heading {
    font-size: clamp(1.65rem, 6.2vw, 2rem);
    line-height: 1.18;
  }

  .vision-statement {
    font-size: 0.96875rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
  }

  .vision-pillars {
    gap: 0.85rem;
  }

  .vision-pillar-item {
    padding: 1.125rem 1rem;
    gap: 0.85rem;
  }

  .pillar-icon {
    width: 40px;
    height: 40px;
  }

  .pillar-icon svg {
    width: 20px;
    height: 20px;
  }

  .pillar-content h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
  }

  .pillar-content p {
    font-size: 0.84375rem;
    line-height: 1.55;
  }

  .vision-logo-box {
    padding: 0.5rem 1rem;
  }

  .vision-logo-img {
    max-width: 140px;
    max-height: 60px;
  }

  .service-column,
  .partner-highlight-card,
  .audience-card,
  .form-card,
  .partner-cta-strip {
    padding: 1.5rem 1.125rem;
  }

  .brands-showcase-card {
    padding: 2rem 1.25rem;
  }

  .lightbox-modal {
    padding: 1rem;
  }

  .lightbox-content {
    padding: 1.5rem 1.125rem;
  }

  .article-meta-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .article-author-info {
    width: 100%;
  }

  .article-share-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .trainer-detail-photo {
    height: 280px;
  }

  .trainer-details-box {
    padding: 1.25rem 1rem;
  }

  .trainer-mentors-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .program-detail-hero-img {
    height: 220px;
  }

  .program-curriculum-card,
  .program-facts-card {
    padding: 1.25rem 1rem;
  }

  .program-detail-actions {
    flex-direction: column;
    width: 100%;
  }

  .program-detail-actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .stat-card,
  .stat-card-lg {
    padding: 1.35rem 1.15rem;
  }

  .trust-strip {
    margin-top: -1.5rem;
    padding: 1.25rem 1rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.85rem;
  }

  .floating-pill-btn {
    padding: 0.5rem 0.85rem;
    font-size: 0.78125rem;
    gap: 0.4rem;
  }
}

/* 5. ULTRA-COMPACT MOBILE (360px and below) */
@media (max-width: 360px) {
  :root {
    --container-padding: 0.875rem;
  }

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

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

  .brand-logo-card {
    padding: 0.85rem 0.4rem 0.65rem;
    min-height: 110px;
  }

  .brand-card-name {
    font-size: 0.72rem;
    word-break: break-word;
  }

  .floating-action-stack {
    bottom: 1rem;
    right: 0.75rem;
    gap: 0.35rem;
  }

  html[dir="rtl"] .floating-action-stack {
    left: 0.75rem;
    right: auto;
  }

  .floating-pill-btn {
    padding: 0.4rem 0.7rem;
    font-size: 0.72rem;
  }

  .brand-pill {
    font-size: 0.72rem;
    padding: 0.3rem 0.6rem;
  }
}

/* F&B Brands Showcase & Grid */
.brands-showcase-card {
  margin-top: 3.5rem;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2.5rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.brands-logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

@media (max-width: 1024px) {
  .brands-logo-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 640px) {
  .brands-logo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.875rem;
  }
}

@media (max-width: 360px) {
  .brands-logo-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

.brand-logo-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.75rem 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: transform var(--dur-normal) var(--ease-premium),
    border-color var(--dur-normal) var(--ease-premium),
    box-shadow var(--dur-normal) var(--ease-premium);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  position: relative;
  min-height: 140px;
}

.brand-logo-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-gold);
  box-shadow: 0 10px 24px rgba(18, 60, 53, 0.09);
}

.brand-logo-img-wrap {
  width: 100%;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.brand-logo-img-wrap img {
  max-width: 85%;
  max-height: 52px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform var(--dur-normal) var(--ease-premium);
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.04));
}

.brand-logo-card:hover .brand-logo-img-wrap img {
  transform: scale(1.03);
}

.brand-card-name {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text);
  margin-top: auto;
  letter-spacing: 0.01em;
}

/* ==========================================================================
   ARTICLE / NEWS DETAIL PAGE STYLES
   ========================================================================== */
.article-detail-section {
  padding: 2.5rem 0 5rem;
  background-color: var(--color-background);
}

.article-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin-bottom: 2rem;
}

.article-breadcrumb a {
  color: var(--color-primary);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.article-breadcrumb a:hover {
  color: var(--color-gold);
  text-decoration: underline;
}

.article-breadcrumb span.current {
  color: var(--color-text-muted);
  font-weight: 500;
}

/* Article Hero Header */
.article-header {
  margin-bottom: 2rem;
}

.article-category-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background: rgba(18, 60, 53, 0.08);
  color: var(--color-primary);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
}

.article-hero-title {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 800;
  line-height: 1.22;
  color: var(--color-primary);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.article-hero-subtitle {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  max-width: 920px;
}

/* Article Meta Row */
.article-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 2.5rem;
}

.article-author-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.article-author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-gold);
  box-shadow: var(--shadow-xs);
}

.article-author-meta {
  display: flex;
  flex-direction: column;
}

.article-author-name {
  font-weight: 700;
  color: var(--color-primary);
  font-size: 1rem;
}

.article-meta-details {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--color-text-light);
}

.article-share-actions {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.article-share-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-right: 0.25rem;
}

.share-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.share-btn:hover {
  background: var(--color-primary);
  color: #FFFFFF;
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.share-btn.copied {
  background: var(--color-gold);
  color: #FFFFFF;
  border-color: var(--color-gold);
}

/* Article Featured Image */
.article-featured-media {
  margin-bottom: 3.5rem;
}

.article-featured-img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 36px rgba(18, 60, 53, 0.12);
}

.article-img-caption {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-top: 0.75rem;
  text-align: center;
  font-style: italic;
}

/* Main Grid Layout */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 3.5rem;
  align-items: start;
}

/* Content Area */
.article-body {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #2F3934;
}

.article-body p {
  margin-bottom: 1.75rem;
}

.article-body .article-lead {
  font-size: 1.25rem;
  line-height: 1.75;
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: 2rem;
  border-left: 4px solid var(--color-gold);
  padding-left: 1.25rem;
}

html[dir="rtl"] .article-body .article-lead {
  border-left: none;
  border-right: 4px solid var(--color-gold);
  padding-left: 0;
  padding-right: 1.25rem;
}

.article-body h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-primary);
  margin: 3rem 0 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-border-subtle);
  letter-spacing: -0.01em;
  scroll-margin-top: 100px;
}

.article-body h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 2rem 0 1rem;
}

.article-body ul,
.article-body ol {
  margin-bottom: 1.75rem;
  padding-left: 1.5rem;
}

html[dir="rtl"] .article-body ul,
html[dir="rtl"] .article-body ol {
  padding-left: 0;
  padding-right: 1.5rem;
}

.article-body li {
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

.article-body strong {
  color: var(--color-primary);
}

/* Callout Box */
.article-callout {
  background: rgba(18, 60, 53, 0.04);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  margin: 2.5rem 0;
}

html[dir="rtl"] .article-callout {
  border-left: none;
  border-right: 4px solid var(--color-primary);
}

.article-callout-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Pro Tip Card */
.pro-tip-box {
  background: #FFFBF0;
  border: 1px solid rgba(198, 168, 86, 0.3);
  border-left: 4px solid var(--color-gold);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 2rem 0;
}

html[dir="rtl"] .pro-tip-box {
  border-left: 1px solid rgba(198, 168, 86, 0.3);
  border-right: 4px solid var(--color-gold);
}

.pro-tip-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #8C7126;
  font-weight: 700;
  font-size: 0.9375rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

/* Pullquote */
.article-pullquote {
  font-size: 1.35rem;
  line-height: 1.6;
  font-style: italic;
  color: var(--color-primary);
  text-align: center;
  margin: 3rem 0;
  padding: 2rem 2.5rem;
  position: relative;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 16px rgba(18, 60, 53, 0.05);
}

.article-pullquote-author {
  display: block;
  font-size: 0.9375rem;
  font-style: normal;
  font-weight: 700;
  color: var(--color-gold);
  margin-top: 1rem;
}

/* In-Article Conversion Banner */
.article-cta-box {
  background: linear-gradient(135deg, var(--color-primary) 0%, #0F2D25 100%);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin: 3.5rem 0;
  box-shadow: 0 16px 32px rgba(18, 60, 53, 0.16);
  position: relative;
  overflow: hidden;
}

.article-cta-box::after {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(198, 168, 86, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.article-cta-badge {
  display: inline-block;
  background: rgba(198, 168, 86, 0.2);
  color: var(--color-secondary);
  border: 1px solid rgba(198, 168, 86, 0.4);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.article-cta-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.75rem;
}

.article-cta-desc {
  font-size: 1rem;
  color: #D3DCD8;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.article-cta-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Tags */
.article-tags-wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 2.5rem 0 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.article-tags-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-right: 0.5rem;
}

.article-tag {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  transition: all var(--transition-fast);
}

.article-tag:hover {
  background: var(--color-primary);
  color: #FFFFFF;
  border-color: var(--color-primary);
}

/* Author Bio Card at Bottom */
.article-author-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  padding: 2rem;
  display: flex;
  gap: 1.75rem;
  align-items: flex-start;
  margin-bottom: 3.5rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.author-card-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-gold);
  flex-shrink: 0;
}

.author-card-content h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.author-card-role {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-gold);
  margin-bottom: 0.75rem;
}

.author-card-bio {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

/* Article Navigation (Prev/Next) */
.article-nav-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.article-nav-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.article-nav-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-gold);
  box-shadow: var(--shadow-sm);
}

.article-nav-direction {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-gold);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.article-nav-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.4;
}

/* Sticky Sidebar */
.article-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sidebar-widget {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}

.sidebar-widget-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-border-subtle);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Table of Contents */
.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toc-link {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.4;
  padding-left: 0.75rem;
  border-left: 2px solid transparent;
  display: block;
  transition: all var(--transition-fast);
}

html[dir="rtl"] .toc-link {
  padding-left: 0;
  padding-right: 0.75rem;
  border-left: none;
  border-right: 2px solid transparent;
}

.toc-link:hover,
.toc-link.active {
  color: var(--color-primary);
  font-weight: 600;
  border-color: var(--color-gold);
  transform: translateX(3px);
}

html[dir="rtl"] .toc-link:hover,
html[dir="rtl"] .toc-link.active {
  transform: translateX(-3px);
}

/* Sidebar Program Spotlight */
.sidebar-spotlight {
  background: linear-gradient(180deg, #FAF9F6 0%, #FFFFFF 100%);
  border: 1px solid rgba(18, 60, 53, 0.15);
}

.spotlight-badge {
  display: inline-block;
  background: var(--color-primary);
  color: #FFFFFF;
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-pill);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.spotlight-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.spotlight-desc {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

/* Sidebar WhatsApp Box */
.sidebar-whatsapp {
  background: #F4F8F4;
  border: 1px solid #CDE1D3;
}

/* Related News Cards Grid */
.related-news-section {
  padding: 4.5rem 0;
  background: #FAF9F6;
  border-top: 1px solid var(--color-border);
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .article-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .article-sidebar {
    position: static;
  }

  .article-author-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .article-nav-grid {
    grid-template-columns: 1fr;
  }
}

/* Why Partner With Us (Dual Audience Cards) */
.why-partner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 2.5rem;
}

.audience-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 20px rgba(18, 60, 53, 0.04);
  position: relative;
  overflow: hidden;
}

.audience-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(18, 60, 53, 0.1);
  border-color: var(--color-gold);
}

.audience-card.student-card {
  border-top: 4px solid var(--color-primary);
}

.audience-card.business-card {
  border-top: 4px solid var(--color-gold);
}

.audience-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.audience-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.student-card .audience-card-icon {
  background: rgba(18, 60, 53, 0.08);
  color: var(--color-primary);
}

.business-card .audience-card-icon {
  background: rgba(198, 168, 86, 0.15);
  color: #8C7126;
}

.audience-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.35rem;
}

.student-card .audience-badge {
  background: rgba(18, 60, 53, 0.1);
  color: var(--color-primary);
}

.business-card .audience-badge {
  background: rgba(198, 168, 86, 0.2);
  color: #8C7126;
}

.audience-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary);
  margin: 0;
}

.audience-desc {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: #2F3934;
  margin-bottom: 1.5rem;
}

.audience-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.audience-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--color-text);
  line-height: 1.5;
}

.audience-features li svg {
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.audience-actions {
  margin-top: auto;
}

@media (max-width: 991px) {
  .why-partner-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   ANIMATION MASTER SYSTEM - CULINARY ACADEMY MOTION FRAMEWORK
   Intensity: 20-30% | Timing: 150-700ms | Easing: cubic-bezier(0.22, 1, 0.36, 1)
   Performance-optimized, SEO-safe progressive enhancement, WCAG accessible
   ========================================================================== */

/* Page Load Animation Keyframes */
@keyframes headerEntrance {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroScaleIn {
  from {
    opacity: 0;
    transform: scale(0.98);
  }

  to {
    opacity: 0.38;
    transform: scale(1);
  }
}

@keyframes subtleFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

/* Page Load Stagger Sequence (Only active when JS Motion is initialized) */
html.js-motion-ready .site-header {
  animation: headerEntrance 0.5s var(--ease-premium) 0ms forwards;
}

html.js-motion-ready .hero-eyebrow {
  animation: heroFadeUp 0.6s var(--ease-premium) 100ms both;
}

html.js-motion-ready .hero-title {
  animation: heroFadeUp 0.65s var(--ease-premium) 180ms both;
}

html.js-motion-ready .hero-subtitle {
  animation: heroFadeUp 0.65s var(--ease-premium) 280ms both;
}

html.js-motion-ready .hero-actions {
  animation: heroFadeUp 0.65s var(--ease-premium) 380ms both;
}

html.js-motion-ready .hero-badges {
  animation: heroFadeUp 0.65s var(--ease-premium) 450ms both;
}

html.js-motion-ready .hero-bg-image {
  animation: heroScaleIn 0.8s var(--ease-premium) 250ms both;
}

/* Inner Page Hero Entrance */
html.js-motion-ready .page-hero .eyebrow {
  animation: heroFadeUp 0.6s var(--ease-premium) 100ms both;
}

html.js-motion-ready .page-hero h1 {
  animation: heroFadeUp 0.65s var(--ease-premium) 180ms both;
}

html.js-motion-ready .page-hero p {
  animation: heroFadeUp 0.65s var(--ease-premium) 280ms both;
}

/* Reusable Scroll Reveal System */
/* Default: 100% visible immediately for SEO crawlers and non-JS clients */
.reveal {
  opacity: 1;
  transform: none;
}

/* Progressive enhancement: hide and prepare hardware-accelerated transforms */
html.js-motion-ready .reveal:not(.revealed) {
  opacity: 0;
  transform: translateY(20px);
  will-change: opacity, transform;
}

html.js-motion-ready .reveal.revealed {
  opacity: 1;
  transform: translateY(0);
  transition: opacity var(--dur-slow) var(--ease-premium),
    transform var(--dur-slow) var(--ease-premium);
}

/* Decorative Floating Elements (Subtle 5.5s calm pulse) */
.about-floating-card {
  animation: subtleFloat 5.5s ease-in-out infinite;
}

/* Button & Link Icon Micro-Interactions */
.btn svg,
.btn-link svg,
.program-link svg {
  transition: transform var(--dur-fast) var(--ease-premium);
}

.btn:hover svg,
.btn-link:hover svg,
.program-link:hover svg {
  transform: translateX(4px);
}

html[dir="rtl"] .btn:hover svg,
html[dir="rtl"] .btn-link:hover svg,
html[dir="rtl"] .program-link:hover svg {
  transform: translateX(-4px);
}

/* Mobile Motion Optimizations */
@media (max-width: 768px) {
  html.js-motion-ready .reveal:not(.revealed) {
    transform: translateY(12px);
  }

  .about-floating-card {
    animation: none;
  }
}

/* ==========================================================================
   404 ERROR PAGE - CULINARY LUXURY THEME
   ========================================================================== */
.error-404-section {
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  position: relative;
  padding: 5.5rem 0 6rem;
  background: linear-gradient(298deg, rgba(13, 43, 38, 0.96) 0%, rgba(24, 89, 78, 0.86) 55%, rgba(0, 0, 0, 0.94) 100%),
              url('../images/section-bg.jpg') center center / cover no-repeat;
  color: var(--color-white);
  overflow: hidden;
}

.error-404-section::before {
  content: '';
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(214, 178, 122, 0.16) 0%, rgba(18, 60, 53, 0) 70%);
  filter: blur(70px);
  pointer-events: none;
  z-index: 1;
}

.error-404-container {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 980px;
  margin: 0 auto;
}

.error-cloche-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.75rem, 2.5vw, 2rem);
  margin-bottom: 1.25rem;
}

.error-num {
  font-family: var(--font-heading);
  font-size: clamp(5.5rem, 15vw, 10.5rem);
  font-weight: 800;
  line-height: 0.85;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, #FFFFFF 0%, #E8D3AE 50%, #C89B5A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.45));
  user-select: none;
}

.error-cloche-visual {
  position: relative;
  width: clamp(90px, 16vw, 150px);
  height: clamp(90px, 16vw, 150px);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: clocheFloat 3.8s ease-in-out infinite;
}

@keyframes clocheFloat {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(1deg);
  }
}

.error-cloche-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 14px 28px rgba(214, 178, 122, 0.4));
}

.error-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.45rem 1.25rem;
  border-radius: var(--radius-full);
  background: rgba(214, 178, 122, 0.15);
  border: 1px solid rgba(214, 178, 122, 0.4);
  color: var(--color-secondary);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.error-badge-pill .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-accent);
  box-shadow: 0 0 10px var(--color-accent);
  animation: pulseGold 2s infinite;
}

@keyframes pulseGold {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(200, 155, 90, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(200, 155, 90, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(200, 155, 90, 0); }
}

.error-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.error-title .highlight {
  color: var(--color-secondary);
  font-style: italic;
}

.error-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: #D3DCD8;
  max-width: 660px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}

.error-actions-group {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3.75rem;
}

.error-explore-label {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.error-explore-label::before,
.error-explore-label::after {
  content: '';
  height: 1px;
  width: 40px;
  background: rgba(214, 178, 122, 0.35);
}

.error-nav-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 3.25rem;
  text-align: left;
}

html[dir="rtl"] .error-nav-grid {
  text-align: right;
}

.error-nav-card {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(214, 178, 122, 0.22);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.35rem;
  text-decoration: none;
  color: inherit;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.error-nav-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-secondary), transparent);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.error-nav-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(214, 178, 122, 0.55);
  transform: translateY(-5px);
  box-shadow: 0 16px 32px -8px rgba(0, 0, 0, 0.35), 0 0 20px rgba(214, 178, 122, 0.15);
}

.error-nav-card:hover::before {
  opacity: 1;
}

.error-card-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: rgba(214, 178, 122, 0.15);
  border: 1px solid rgba(214, 178, 122, 0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-secondary);
  margin-bottom: 1.15rem;
  transition: transform var(--transition-fast);
}

.error-nav-card:hover .error-card-icon {
  transform: scale(1.08);
  background: rgba(214, 178, 122, 0.25);
}

.error-card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.5rem;
  transition: color var(--transition-fast);
}

.error-nav-card:hover .error-card-title {
  color: var(--color-secondary);
}

.error-card-desc {
  font-size: 0.84rem;
  color: #B5BFBA;
  line-height: 1.55;
  margin-bottom: 1.15rem;
  flex-grow: 1;
}

.error-card-link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-secondary);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap var(--transition-fast);
}

.error-nav-card:hover .error-card-link {
  gap: 0.65rem;
}

.error-concierge-strip {
  background: rgba(13, 43, 38, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(214, 178, 122, 0.25);
  border-radius: var(--radius-lg);
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.error-concierge-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: left;
}

html[dir="rtl"] .error-concierge-info {
  text-align: right;
}

.error-concierge-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.18);
  border: 1px solid rgba(37, 211, 102, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #25D366;
  flex-shrink: 0;
}

.error-concierge-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.2rem;
}

.error-concierge-text p {
  font-size: 0.84rem;
  color: #9EABA5;
  margin: 0;
}

@media (max-width: 991px) {
  .error-nav-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .error-404-section {
    padding: 3.5rem 0 4.5rem;
  }
  .error-nav-grid {
    grid-template-columns: 1fr;
  }
  .error-concierge-strip {
    flex-direction: column;
    text-align: center;
    padding: 1.25rem;
  }
  .error-concierge-info {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================================
   BRANDS WE SERVE & DYNAMIC COURSE CURRICULUM
   ========================================================================== */
.brands-we-serve-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.brand-serve-card {
  background: #ffffff;
  border: 1px solid rgba(18, 60, 53, 0.12);
  border-radius: 14px;
  padding: 1.35rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
  box-shadow: 0 4px 12px -2px rgba(18, 60, 53, 0.05);
}

.brand-serve-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-accent);
  box-shadow: 0 10px 24px -4px rgba(18, 60, 53, 0.12);
}

.brand-serve-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.brand-serve-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0;
  line-height: 1.3;
}

.brand-serve-badge {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: rgba(200, 155, 90, 0.14);
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  white-space: nowrap;
}

.brand-serve-desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin: 0;
}

.course-curriculum-list {
  list-style: none;
  padding: 0;
  margin: 1.15rem 0 1.25rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.65rem;
}

.course-curriculum-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--color-text);
}

.course-letter-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 50%;
  background: rgba(18, 60, 53, 0.1);
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.75rem;
  margin-top: 1px;
}

/* Accessibility: Strict Reduced-Motion Compliance */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  html.js-motion-ready .reveal:not(.revealed),
  html.js-motion-ready .hero-eyebrow,
  html.js-motion-ready .hero-title,
  html.js-motion-ready .hero-subtitle,
  html.js-motion-ready .hero-actions,
  html.js-motion-ready .hero-badges,
  html.js-motion-ready .hero-bg-image,
  html.js-motion-ready .site-header,
  html.js-motion-ready .page-hero .eyebrow,
  html.js-motion-ready .page-hero h1,
  html.js-motion-ready .page-hero p {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }

  .about-floating-card,
  .error-cloche-visual {
    animation: none !important;
    transform: none !important;
  }
}