/* ══════════════════════════════════════════════
   The VALUE — WordPress Theme CSS
   Exact match to original React design
   ══════════════════════════════════════════════ */

:root {
  --brand-dark: #0D1B2A;
  --brand-mid: #1A3A5C;
  --brand-gold: #C9A84C;
  --brand-gold-lt: #F0E4C0;
  --white: #FFFFFF;
  --surface: #F7F9FC;
  --border: #E2E8F0;
  --text-primary: #0D1B2A;
  --text-secondary: #4A6078;
  --text-hint: #8FA3B8;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  direction: rtl;
  font-family: 'Cairo', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
h1 { font-weight: 700; line-height: 1.2; }
h2 { font-weight: 600; line-height: 1.3; }
h3 { font-weight: 600; line-height: 1.4; }

/* ══ SHARP DESIGN SYSTEM — CRITICAL ══ 
   Forces ALL corners to be sharp/angular.
   Original design uses 0 border-radius everywhere. */
*, *::before, *::after {
  border-radius: 0px !important;
}
/* Exceptions: circles only */
.swiper-pagination-bullet,
.post-content ul li::before,
.hero-tag-dot,
.hero-circle {
  border-radius: 50% !important;
}
.swiper-pagination-bullet-active {
  border-radius: 4px !important;
}

/* ── Container ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── Section ── */
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }

/* ── Typography ── */
.en-term {
  font-family: 'Inter', sans-serif; font-weight: 600; direction: ltr;
  display: inline-block; unicode-bidi: isolate; color: var(--brand-dark);
  font-size: 0.92em; letter-spacing: 0.02em;
}
.en-term-light {
  font-family: 'Inter', sans-serif; font-weight: 600; direction: ltr;
  display: inline-block; unicode-bidi: isolate; color: #ffffff;
  font-size: 0.92em; letter-spacing: 0.02em;
}
.en-term-gold {
  font-family: 'Inter', sans-serif; font-weight: 600; direction: ltr;
  display: inline-block; unicode-bidi: isolate; color: var(--brand-gold);
  font-size: 0.92em; letter-spacing: 0.02em;
}
.en-italic { font-family: 'Inter', sans-serif; font-style: italic; }
.gold { color: var(--brand-gold); }

.h1-hero { font-size: 56px; line-height: 1.1; font-weight: 700; }
.h1-page { font-size: 42px; line-height: 1.2; font-weight: 700; font-family: 'Cairo', sans-serif; }
.h2-section { font-size: 32px; line-height: 1.3; font-weight: 600; font-family: 'Cairo', sans-serif; }
.h3-card { font-size: 20px; line-height: 1.4; font-weight: 600; font-family: 'Cairo', sans-serif; }
.body-text { font-size: 16px; line-height: 1.7; }

/* Section Label — clip-path angled corners */
.section-label {
  font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 600;
  letter-spacing: 3px; color: var(--brand-gold); text-transform: uppercase;
  display: inline-block; margin-bottom: 10px;
  background: rgba(198,160,80,0.08); padding: 4px 14px 4px 10px;
  clip-path: polygon(0% 0%, calc(100% - 8px) 0%, 100% 8px, 100% 100%, 8px 100%, 0% calc(100% - 8px));
}
.section-label-inline {
  font-family: 'Inter', sans-serif; font-size: 11px; color: var(--brand-gold);
  letter-spacing: 2px; font-weight: 600;
}

/* ══ BUTTONS — clip-path angled corners ══ */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand-dark); color: white;
  padding: 12px 36px; font-family: 'Cairo', sans-serif; font-size: 15px; font-weight: 600;
  border: none; cursor: pointer; transition: all 0.25s ease; text-decoration: none;
  clip-path: polygon(0% 0%, calc(100% - 12px) 0%, 100% 12px, 100% 100%, 12px 100%, 0% calc(100% - 12px));
}
.btn-primary:hover { opacity: 0.88; }

.btn-gold {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand-gold); color: var(--brand-dark);
  padding: 12px 36px; font-family: 'Cairo', sans-serif; font-size: 15px; font-weight: 700;
  border: none; cursor: pointer; transition: all 0.25s ease; text-decoration: none;
  clip-path: polygon(0% 0%, calc(100% - 12px) 0%, 100% 12px, 100% 100%, 12px 100%, 0% calc(100% - 12px));
}
.btn-gold:hover { opacity: 0.88; filter: brightness(1.08); }

.btn-outline-light {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; padding: 14px 28px; font-family: 'Cairo', sans-serif; font-weight: 600;
  color: rgba(255,255,255,0.75); border: 1px solid rgba(255,255,255,0.2);
  transition: all 0.2s;
}
.btn-outline-light:hover { color: white; border-color: rgba(255,255,255,0.5); }

.btn-outline-gold {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--brand-gold); padding: 11px 27px;
  font-family: 'Cairo', sans-serif; font-size: 15px; font-weight: 600;
  border: 1px solid var(--brand-gold); cursor: pointer; transition: all 0.25s ease;
  text-decoration: none;
}
.btn-outline-gold:hover { background: var(--brand-gold-lt); }

.link-gold {
  color: var(--brand-gold); font-size: 14px; font-family: 'Cairo', sans-serif;
  font-weight: 600; display: flex; align-items: center; gap: 6px;
  justify-content: flex-start;
}
.link-gold:hover { opacity: 0.8; }

.btn-header-cta {
  margin-right: 12px; display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Cairo', sans-serif; font-weight: 600; font-size: 14px;
  color: var(--brand-dark); background: var(--brand-gold);
  padding: 8px 20px; white-space: nowrap; transition: opacity 0.2s;
}
.btn-header-cta:hover { opacity: 0.88; }

/* ══ CARDS ══ */
.card {
  background: var(--white); border: 1px solid var(--border);
  padding: 28px; box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  transition: all 0.25s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(13,27,42,0.12);
  border-color: var(--brand-gold);
}
.card-header { display: flex; align-items: center; gap: 12px; }
.card-icon {
  width: 48px; height: 48px; background: var(--brand-gold-lt);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.card-icon i { font-size: 22px; color: var(--brand-gold); }
.card-header h3 { font-family: 'Cairo', sans-serif; font-weight: 700; font-size: 18px; color: var(--brand-dark); }
.card-divider { border: none; border-top: 1px solid var(--border); margin: 20px 0; }

/* Check lists */
.check-list { display: flex; flex-direction: column; gap: 12px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; }
.check-list li i { color: var(--brand-gold); font-size: 16px; margin-top: 3px; flex-shrink: 0; }
.check-list li span { font-family: 'Cairo', sans-serif; font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

.check-list-small { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.check-list-small li { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-secondary); }
.check-list-small li i { color: var(--brand-gold); font-size: 14px; flex-shrink: 0; }

/* ══ HEADER ══ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  direction: rtl; transition: all 0.3s ease;
  background: transparent; border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(13,27,42,0.78);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 4px 32px rgba(0,0,0,0.15), inset 0 1px 0 rgba(255,255,255,0.05);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.header-logo img { height: 40px; object-fit: contain; }
.desktop-nav { display: flex; align-items: center; gap: 2px; }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-links li a {
  font-family: 'Cairo', sans-serif; font-size: 14px; font-weight: 400;
  color: rgba(255,255,255,0.75); padding: 6px 14px;
  position: relative; transition: all 0.2s;
}
.nav-links li a:hover { color: white; background: rgba(255,255,255,0.06); }
.nav-links li.current-menu-item a,
.nav-links li.current_page_item a {
  color: var(--brand-gold); font-weight: 600; background: rgba(198,160,80,0.08);
}

.mobile-menu-btn {
  display: none; background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12); color: white;
  font-size: 20px; cursor: pointer; padding: 7px 10px; line-height: 1;
}
.mobile-menu {
  display: none; position: absolute; top: 72px; right: 0; left: 0;
  background: rgba(13,27,42,0.97); backdrop-filter: blur(16px);
  border-top: 1px solid rgba(198,160,80,0.15); padding: 12px 0 20px; z-index: 999;
}
.mobile-menu.active { display: block; }
.mobile-nav-links { list-style: none; }
.mobile-nav-links li a {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Cairo', sans-serif; font-size: 15px; color: rgba(255,255,255,0.8);
  padding: 12px 24px; border-right: 3px solid transparent;
}
.mobile-nav-links li.current-menu-item a,
.mobile-nav-links li.current_page_item a {
  color: var(--brand-gold); font-weight: 600;
  border-right-color: var(--brand-gold); background: rgba(198,160,80,0.06);
}
.mobile-menu-cta { padding: 12px 24px 0; }

/* ══ HERO SECTION ══ */
.hero-section {
  background: var(--brand-dark); min-height: 100vh; position: relative;
  display: flex; align-items: center; overflow: hidden;
}
.hero-bg-decorations { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero-circle {
  position: absolute; border-radius: 50% !important;
}
.hero-circle-1 { top: -180px; right: -180px; width: 560px; height: 560px; border: 1px solid rgba(198,160,80,0.12); }
.hero-circle-2 { top: -100px; right: -100px; width: 400px; height: 400px; border: 1px solid rgba(198,160,80,0.08); }
.hero-circle-3 { bottom: 60px; left: -120px; width: 340px; height: 340px; border: 1px solid rgba(198,160,80,0.10); }
.hero-line {
  position: absolute; top: 50%; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(198,160,80,0.08), transparent);
}
.hero-bg-image { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.18; }

.hero-container { position: relative; z-index: 2; padding: 120px 24px 100px; }
.hero-main-grid { display: grid; grid-template-columns: 1fr 380px; gap: 64px; align-items: center; }

.hero-text h1 {
  font-family: 'Cairo', sans-serif; font-weight: 800; font-size: 48px;
  line-height: 1.5; color: white; margin-bottom: 24px;
}
.hero-text p {
  font-family: 'Cairo', sans-serif; font-size: 17px; line-height: 1.9;
  color: rgba(255,255,255,0.6); margin-bottom: 40px; max-width: 520px;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(198,160,80,0.10); border: 1px solid rgba(198,160,80,0.25);
  padding: 6px 14px; margin-bottom: 28px;
}
.hero-tag-dot { width: 6px; height: 6px; border-radius: 50% !important; background: var(--brand-gold); }
.hero-tag span { font-family: 'Inter', sans-serif; font-size: 12px; color: var(--brand-gold); letter-spacing: 2px; font-weight: 600; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-boxes { display: flex; flex-direction: column; gap: 16px; }
.hero-box {
  display: flex; align-items: center; gap: 16px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(198,160,80,0.2);
  padding: 20px 24px; backdrop-filter: blur(8px); transition: all 0.2s;
}
.hero-box:hover { background: rgba(198,160,80,0.08); border-color: rgba(198,160,80,0.45); }
.hero-box-icon {
  width: 48px; height: 48px; background: rgba(198,160,80,0.15);
  border: 1px solid rgba(198,160,80,0.3);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.hero-box-icon i { font-size: 22px; color: var(--brand-gold); }
.hero-box-text { flex: 1; font-family: 'Cairo', sans-serif; font-weight: 700; font-size: 16px; color: white; }
.hero-box-num { font-family: 'Inter', sans-serif; font-size: 12px; color: rgba(198,160,80,0.4); font-weight: 700; }

/* Wave Divider */
.wave-divider { position: absolute; bottom: -1px; left: 0; right: 0; line-height: 0; }
.wave-divider svg { display: block; width: 100%; }

/* ══ ABOUT SECTION ══ */
.about-top-grid { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: start; margin-bottom: 48px; }

.trust-badge {
  background: var(--brand-dark); padding: 28px 24px;
  display: flex; flex-direction: column; gap: 16px; text-align: right;
}
.trust-stars { display: flex; gap: 4px; justify-content: flex-end; }
.trust-stars i { color: var(--brand-gold); font-size: 16px; }
.trust-number { font-family: 'Cairo', sans-serif; font-weight: 700; font-size: 40px; color: var(--brand-gold); line-height: 1; }
.trust-label { font-family: 'Cairo', sans-serif; font-size: 14px; color: rgba(255,255,255,0.65); margin-top: 4px; }
.trust-divider { border: none; border-top: 1px solid rgba(255,255,255,0.12); }
.trust-text { font-family: 'Cairo', sans-serif; font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.8; }

.about-stats-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-bottom: 48px; }
.stat-item {
  display: flex; align-items: center; gap: 12px;
  background: var(--white); border: 1px solid var(--border); padding: 16px 20px;
}
.stat-icon {
  width: 40px; height: 40px; background: var(--brand-gold-lt);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.stat-icon i { font-size: 18px; color: var(--brand-gold); }
.stat-item span { font-family: 'Cairo', sans-serif; font-size: 14px; color: var(--text-primary); font-weight: 600; }

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

/* ══ COURSES / SERVICES GRIDS ══ */
.courses-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.services-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }

/* ══ ACCREDITATIONS ══ */
.accreditations-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.accreditation-card {
  background: var(--white); border: 1px solid var(--border);
  padding: 32px 24px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 20px;
  transition: transform 0.25s, box-shadow 0.25s; cursor: default;
}
.accreditation-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.10); }
.accreditation-logo { height: 80px; display: flex; align-items: center; justify-content: center; }
.accreditation-logo img { max-height: 80px; max-width: 140px; object-fit: contain; }
.accreditation-name { font-family: 'Inter', sans-serif; font-weight: 600; font-size: 13px; color: var(--brand-dark); line-height: 1.4; }
.accreditation-role {
  font-family: 'Cairo', sans-serif; font-size: 12px; color: var(--text-secondary); line-height: 1.5;
  border-top: 1px solid var(--border); padding-top: 12px; width: 100%;
}

/* ══ TESTIMONIALS ══ */
.testimonials-swiper { padding-bottom: 48px; }
.testimonials-swiper .swiper-wrapper { align-items: stretch; }
.testimonials-swiper .swiper-slide { height: auto; }
.testimonial-card {
  background: var(--white); border: 1px solid var(--border);
  padding: 28px; height: 100%; box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  display: flex; flex-direction: column; gap: 16px;
}
.testimonial-quote { font-size: 32px; color: var(--brand-gold); line-height: 1; }
.testimonial-cert {
  background: var(--brand-gold-lt); color: var(--brand-dark);
  padding: 4px 12px; font-size: 12px; font-family: 'Inter', sans-serif; font-weight: 700; align-self: flex-start;
}
.testimonial-text { font-family: 'Cairo', sans-serif; font-size: 15px; line-height: 1.8; color: var(--text-secondary); flex: 1; }
.testimonial-footer { border-top: 1px solid var(--border); padding-top: 16px; display: flex; flex-direction: column; gap: 6px; }
.testimonial-stars { display: flex; gap: 2px; }
.testimonial-stars i { font-size: 14px; color: var(--brand-gold); }
.testimonial-name { font-family: 'Cairo', sans-serif; font-weight: 700; font-size: 15px; color: var(--brand-dark); }
.testimonial-role { font-family: 'Cairo', sans-serif; font-size: 13px; color: var(--text-secondary); }

.swiper-pagination-bullet { background: var(--text-hint); opacity: 1; }
.swiper-pagination-bullet-active { background: var(--brand-gold); width: 24px; }

/* ══ CTA BANNER ══ */
.cta-section { background: var(--brand-mid); direction: rtl; }
.cta-section .container { padding: 72px 24px; }
.cta-grid { display: grid; grid-template-columns: 55% 45%; gap: 48px; align-items: center; }
.cta-text h2 { font-family: 'Cairo', sans-serif; font-weight: 700; font-size: 32px; color: white; line-height: 1.3; margin-bottom: 16px; }
.cta-text p { font-family: 'Cairo', sans-serif; font-size: 16px; color: rgba(255,255,255,0.75); line-height: 1.7; margin-bottom: 24px; }
.cta-features { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-features div {
  display: flex; align-items: center; gap: 8px; flex-direction: row-reverse;
  color: rgba(255,255,255,0.85); font-size: 14px; font-family: 'Cairo', sans-serif;
}
.cta-features i { color: var(--brand-gold); font-size: 16px; }

.cta-form-wrap {
  background: rgba(255,255,255,0.08); padding: 32px;
  border: 1px solid rgba(255,255,255,0.12);
}
.cta-form-label { font-family: 'Cairo', sans-serif; font-size: 13px; color: rgba(255,255,255,0.6); margin-bottom: 20px; letter-spacing: 0.5px; }

/* ══ FORMS ══ */
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.contact-form input,
.contact-form textarea {
  width: 100%; padding: 12px 16px; font-family: 'Cairo', sans-serif; font-size: 15px;
  outline: none; transition: border-color 0.25s; text-align: right;
}
.contact-form-light input,
.contact-form-light textarea {
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: white;
}
.contact-form-light input::placeholder,
.contact-form-light textarea::placeholder { color: rgba(255,255,255,0.5); }
.contact-form-light input:focus,
.contact-form-light textarea:focus { border-color: var(--brand-gold); }
.contact-form textarea { resize: none; }

.form-success {
  text-align: center; padding: 32px; color: var(--brand-gold); font-family: 'Cairo', sans-serif; font-size: 16px;
}
.form-success i { font-size: 40px; display: block; margin-bottom: 12px; }

/* ══ PAGE HERO ══ */
.page-hero {
  background: var(--brand-dark); position: relative; min-height: 340px;
  padding-top: 72px; display: flex; align-items: center; overflow: hidden;
  background-size: cover; background-position: center;
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,27,42,0.7) 0%, rgba(13,27,42,0.9) 100%);
}
.page-hero-content {
  position: relative; z-index: 2; text-align: center; padding: 80px 24px 100px;
}
.page-hero-content p {
  color: rgba(255,255,255,0.7); font-size: 16px; font-family: 'Cairo', sans-serif;
  max-width: 800px; margin: 0 auto;
}

/* ══ FEATURE / REQ GRIDS ══ */
.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin: 24px 0; }
.feature-card {
  background: var(--surface); border: 1px solid var(--border);
  border-right: 3px solid var(--brand-gold); padding: 20px;
}
.feature-icon {
  width: 40px; height: 40px; background: var(--brand-gold-lt);
  display: flex; align-items: center; justify-content: center; margin-bottom: 12px;
}
.feature-icon i { font-size: 20px; color: var(--brand-gold); }
.feature-title { font-family: 'Cairo', sans-serif; font-weight: 600; font-size: 15px; color: var(--brand-dark); margin-bottom: 6px; }
.feature-desc { font-family: 'Cairo', sans-serif; font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

.tags-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 20px 0; }
.tag {
  background: var(--surface); border: 1px solid var(--border);
  padding: 6px 14px; font-size: 13px; color: var(--text-secondary); font-family: 'Cairo', sans-serif;
}

.req-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.req-card {
  background: var(--white); border: 1px solid var(--border);
  padding: 20px; text-align: right; box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.req-icon {
  width: 40px; height: 40px; background: var(--brand-gold-lt);
  display: flex; align-items: center; justify-content: center; margin-bottom: 12px;
}
.req-icon i { font-size: 20px; color: var(--brand-gold); }
.req-title { font-family: 'Cairo', sans-serif; font-weight: 600; font-size: 14px; color: var(--brand-dark); margin-bottom: 4px; }
.req-val { font-family: 'Cairo', sans-serif; font-size: 13px; color: var(--text-secondary); }

/* ══ CONTACT ══ */
.contact-methods { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; }
.contact-method-card {
  flex: 1; min-width: 280px; max-width: 380px;
  background: var(--white); border: 1px solid var(--border);
  padding: 28px 32px; display: flex; align-items: center; gap: 20px;
  transition: all 0.25s; box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.contact-method-card:hover {
  border-color: var(--brand-gold); box-shadow: 0 8px 30px rgba(13,27,42,0.12);
  transform: translateY(-4px);
}
.contact-method-icon {
  width: 52px; height: 52px; background: var(--brand-gold-lt);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-method-icon i { font-size: 26px; color: var(--brand-gold); }
.contact-method-label { font-family: 'Cairo', sans-serif; font-size: 13px; color: var(--text-hint); margin-bottom: 4px; }
.contact-method-value { font-family: 'Inter', sans-serif; font-weight: 600; font-size: 16px; color: var(--brand-dark); }

/* ══ BLOG ══ */
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.blog-card-link { text-decoration: none; }
.blog-card {
  background: var(--white); border: 1px solid var(--border); overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05); transition: all 0.25s; height: 100%;
  display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(13,27,42,0.12); }
.blog-card-thumb { overflow: hidden; aspect-ratio: 16/10; }
.blog-card-thumb img { transition: transform 0.35s; width: 100%; height: 100%; object-fit: cover; }
.blog-card:hover .blog-card-thumb img { transform: scale(1.05); }
.blog-card-body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; text-align: right; }
.blog-card-date { font-family: 'Cairo', sans-serif; font-size: 12px; color: var(--text-hint); }
.blog-card-title {
  font-family: 'Cairo', sans-serif; font-weight: 600; font-size: 15px; color: var(--brand-dark);
  line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.blog-card-excerpt {
  font-family: 'Cairo', sans-serif; font-size: 13px; color: var(--text-secondary); line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex: 1;
}
.blog-card-author { display: flex; align-items: center; gap: 6px; color: var(--text-hint); font-size: 12px; margin-top: 4px; }

/* ══ SINGLE POST ══ */
.breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; font-size: 13px; color: rgba(255,255,255,0.55); font-family: 'Cairo', sans-serif; }
.breadcrumb a { color: rgba(255,255,255,0.55); }
.breadcrumb span { color: rgba(255,255,255,0.8); }
.post-meta-hero { display: flex; align-items: center; gap: 20px; color: rgba(255,255,255,0.6); font-size: 14px; font-family: 'Cairo', sans-serif; justify-content: flex-start; }
.post-meta-hero span { display: flex; align-items: center; gap: 6px; }

.post-layout { display: grid; grid-template-columns: 70% 30%; gap: 48px; }
.post-content h2 { border-right: 3px solid var(--brand-gold); padding-right: 16px; margin: 32px 0 16px; font-size: 24px; color: var(--brand-dark); }
.post-content h3 { color: var(--brand-dark); font-weight: 600; margin: 24px 0 12px; font-size: 20px; }
.post-content p { font-size: 18px; line-height: 1.8; color: var(--text-primary); margin-bottom: 18px; word-wrap: break-word; overflow-wrap: break-word; }
.post-content ul { margin: 16px 0; padding-right: 24px; }
.post-content ul li { font-size: 18px; line-height: 1.8; margin-bottom: 8px; list-style: none; padding-right: 24px; position: relative; }
.post-content { overflow-wrap: break-word; word-wrap: break-word; max-width: 100%; overflow-x: hidden; }
.post-content ul li::before {
  content: ''; position: absolute; right: 0; top: 12px;
  width: 8px; height: 8px; border-radius: 50% !important; background: var(--brand-gold);
}
.post-content .highlight-box { background: var(--surface); border-right: 4px solid var(--brand-gold); padding: 20px; margin: 24px 0; }

.post-sidebar { position: sticky; top: 100px; }
.sidebar-cta { background: var(--brand-dark); padding: 24px; text-align: right; }

/* ══ FOOTER ══ */
.site-footer { background: var(--brand-dark); color: white; direction: rtl; }
.footer-top { padding: 64px 24px 40px; }
.footer-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 40px; }
.footer-col h4 { font-family: 'Cairo', sans-serif; font-weight: 700; font-size: 16px; margin-bottom: 20px; color: white; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-family: 'Cairo', sans-serif; font-size: 14px; color: rgba(255,255,255,0.65);
  display: flex; align-items: center; gap: 6px; transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--brand-gold); }
.footer-desc { font-family: 'Cairo', sans-serif; font-size: 14px; line-height: 1.7; color: rgba(255,255,255,0.65); margin-bottom: 20px; }
.footer-contact-links { display: flex; flex-direction: column; gap: 10px; }
.footer-contact-links a { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.7); font-size: 14px; }
.footer-contact-links i { color: var(--brand-gold); font-size: 16px; flex-shrink: 0; }

.footer-certs { display: flex; flex-direction: column; gap: 12px; }
.footer-cert-item { display: flex; align-items: center; gap: 10px; transition: opacity 0.2s; }
.footer-cert-item:hover { opacity: 0.8; }
.footer-cert-item img { width: 40px; height: 40px; object-fit: contain; flex-shrink: 0; }
.footer-cert-item strong { font-family: 'Inter', sans-serif; font-weight: 600; font-size: 13px; display: block; }
.footer-cert-item span { font-family: 'Cairo', sans-serif; font-size: 13px; color: rgba(255,255,255,0.55); }

.footer-divider { border-top: 1px solid rgba(255,255,255,0.1); }
.footer-bottom {
  padding: 20px 24px; display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-family: 'Cairo', sans-serif; font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.6; }
.footer-socials { display: flex; align-items: center; gap: 8px; }
.footer-socials a {
  width: 36px; height: 36px; background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6); font-size: 17px; transition: all 0.2s;
}
.footer-socials a:hover {
  background: rgba(198,160,80,0.15); border-color: rgba(198,160,80,0.4); color: var(--brand-gold);
}

/* ══ SCROLLBAR ══ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--surface); }
::-webkit-scrollbar-thumb { background: var(--brand-gold); }

/* ══ WP PAGINATION ══ */
.nav-links { flex-wrap: wrap; }
.page-numbers {
  display: inline-flex; padding: 8px 16px; background: var(--surface);
  color: var(--text-primary); font-family: 'Cairo', sans-serif; margin: 4px; border: 1px solid var(--border);
}
.page-numbers.current { background: var(--brand-dark); color: white; }
.page-numbers:hover { border-color: var(--brand-gold); }

/* ══ RESPONSIVE ══ */
@media (max-width: 900px) {
  .desktop-nav { display: none !important; }
  .mobile-menu-btn { display: flex !important; }
  .hero-main-grid { grid-template-columns: 1fr !important; }
  .hero-boxes { display: none !important; }
  .hero-text h1 { font-size: 32px; }
  .about-top-grid { grid-template-columns: 1fr !important; }
  .about-stats-grid { grid-template-columns: 1fr !important; }
  .about-cards-grid { grid-template-columns: 1fr !important; }
  .courses-grid { grid-template-columns: 1fr !important; }
  .services-grid { grid-template-columns: 1fr !important; }
  .accreditations-grid { grid-template-columns: repeat(2,1fr) !important; }
  .feature-grid { grid-template-columns: 1fr !important; }
  .req-grid { grid-template-columns: 1fr !important; }
  .cta-grid { grid-template-columns: 1fr !important; }
  .footer-grid { grid-template-columns: repeat(2,1fr) !important; }
  .post-layout { grid-template-columns: 1fr !important; }
  .blog-grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 768px) {
  .h1-hero { font-size: 32px; }
  .h1-page { font-size: 28px; }
  .h2-section { font-size: 24px; }
  .section { padding: 56px 0; }
  .container { padding: 0 16px; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr !important; }
  .accreditations-grid { grid-template-columns: 1fr !important; }
}

/* ══ QUICK NAV CARDS ══ */
.quick-nav-card {
  background: var(--white); border: 1px solid var(--border);
  padding: 20px; cursor: pointer; text-align: right;
  transition: all 0.25s ease; display: flex; flex-direction: column; gap: 8px;
  text-decoration: none;
}
.quick-nav-card:hover, .quick-nav-card.active {
  border-color: var(--brand-gold); background: var(--brand-gold-lt);
}

/* ══ SECTION DIVIDER ══ */
.section-divider {
  display: flex; align-items: center; gap: 16px;
  padding: 0 24px; max-width: 1200px; margin: 0 auto;
}
.section-divider-badge {
  background: var(--brand-gold); color: var(--brand-dark);
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: 12px;
  padding: 6px 16px; white-space: nowrap;
}

/* ══ BLOG SEARCH BAR ══ */
.blog-search-bar {
  display: flex; align-items: center; border: 1px solid var(--border);
  overflow: hidden; height: 52px;
}
.blog-search-bar input {
  flex: 1; border: none; outline: none; padding: 0 16px;
  font-size: 15px; font-family: 'Cairo', sans-serif; text-align: right;
  color: var(--text-primary); background: transparent; height: 100%;
}
.blog-search-bar button {
  background: var(--brand-dark); color: white; border: none;
  height: 52px; padding: 0 24px; cursor: pointer;
  display: flex; align-items: center; gap: 8px;
  font-family: 'Cairo', sans-serif; font-size: 15px; font-weight: 600;
}

/* ══ BLOG SECTION TITLE ══ */
.blog-section-title {
  font-family: 'Cairo', sans-serif; font-weight: 700; font-size: 22px;
  color: var(--brand-dark); margin-bottom: 32px; text-align: right;
  display: flex; align-items: center; gap: 10px;
}
.blog-title-bar {
  width: 4px; height: 24px; background: var(--brand-gold); display: inline-block;
}

/* ══ BLOG GRID 4 columns ══ */
.blog-grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }

/* ══ VIDEO GRID ══ */
.video-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.video-card {
  background: var(--white); border: 1px solid var(--border);
  overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: all 0.25s ease; cursor: pointer;
}
.video-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(13,27,42,0.12); }
.video-thumb { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-play-overlay {
  position: absolute; inset: 0; display: flex;
  align-items: center; justify-content: center;
}
.video-play-btn {
  width: 52px; height: 52px; background: rgba(0,0,0,0.6);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.25s ease; backdrop-filter: blur(4px);
  border-radius: 50% !important;
}
.video-card:hover .video-play-btn { background: var(--brand-gold); }
.video-play-btn i { font-size: 24px; color: white; margin-right: -3px; }
.video-title {
  font-family: 'Cairo', sans-serif; font-weight: 600; font-size: 14px;
  color: var(--brand-dark); line-height: 1.5; margin-bottom: 8px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.video-meta {
  display: flex; align-items: center; gap: 12px;
  color: var(--text-hint); font-size: 12px; font-family: 'Cairo', sans-serif;
  justify-content: flex-start;
}
.video-meta span { display: flex; align-items: center; gap: 4px; }

/* ══ VIDEO MODAL ══ */
.video-modal { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; }
.video-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.85); backdrop-filter: blur(6px); }
.video-modal-content { position: relative; width: 90%; max-width: 900px; }
.video-modal-player { aspect-ratio: 16/9; }
.video-modal-player iframe { width: 100%; height: 100%; border: none; display: block; }
.video-modal-close {
  position: absolute; top: -40px; left: 0;
  background: none; border: none; color: white;
  font-size: 28px; cursor: pointer; line-height: 1;
}

/* ══ RESPONSIVE ADDITIONS ══ */
@media (max-width: 1024px) {
  .blog-grid-4 { grid-template-columns: repeat(2,1fr) !important; }
  .video-grid { grid-template-columns: repeat(2,1fr) !important; }
}
@media (max-width: 900px) {
  .quick-nav-grid { grid-template-columns: 1fr !important; }
  .quick-nav-grid-4 { grid-template-columns: repeat(2,1fr) !important; }
}
@media (max-width: 600px) {
  .blog-grid-4 { grid-template-columns: 1fr !important; }
  .video-grid { grid-template-columns: 1fr !important; }
  .quick-nav-grid-4 { grid-template-columns: 1fr !important; }
}
