/* ==========================================================================
   Al-Bayan Arabic Institute — Main Stylesheet
   Converted from Next.js + Tailwind CSS to pure static CSS
   ========================================================================== */


/* ==========================================================================
   1. FONT IMPORTS
   ========================================================================== */


/* ==========================================================================
   2. CSS CUSTOM PROPERTIES (Theme Colors)
   ========================================================================== */

:root {
  /* ── Brand Colors ── */
  --color-primary: #2E3092;
  --color-primary-light: #3F51B5;
  --color-primary-dark: #17205F;
  --color-primary-darker: #081033;
  --color-primary-deep: #0A78A8;

  --color-gold: #D4A843;
  --color-gold-light: #e0be6a;
  --color-gold-dark: #b8912e;
  --color-gold-lighter: #E8C868;
  --color-gold-hover: #c49a3a;

  --color-light-green-bg: #F4F8FF;
  --color-cream-bg: #FDF8EF;

  --color-dark-bg: #0f172a;
  --color-dark-card: #1e293b;
  --color-dark-surface: #334155;

  /* ── Footer gradient colors ── */
  --color-footer-start: #0f2920;
  --color-footer-mid: #0a1f18;
  --color-footer-end: #071710;

  /* ── WhatsApp ── */
  --color-whatsapp: #25D366;
  --color-whatsapp-hover: #20BD5A;

  /* ── Semantic / shadcn-compatible tokens (light) ── */
  --radius: 0.625rem;
  --radius-sm: calc(var(--radius) - 4px);
  --radius-md: calc(var(--radius) - 2px);
  --radius-lg: var(--radius);
  --radius-xl: calc(var(--radius) + 4px);

  --background: #ffffff;
  --foreground: #1a1a1a;
  --card: #ffffff;
  --card-foreground: #1a1a1a;
  --popover: #ffffff;
  --popover-foreground: #1a1a1a;
  --primary: #2E3092;
  --primary-foreground: #ffffff;
  --secondary: #f5f5f5;
  --secondary-foreground: #262626;
  --muted: #f5f5f5;
  --muted-foreground: #737373;
  --accent: #D4A843;
  --accent-foreground: #262626;
  --destructive: #ef4444;
  --border: #e5e5e5;
  --input: #e5e5e5;
  --ring: #2E3092;

  /* ── Shadows ── */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

  /* ── Spacing (matches Tailwind defaults) ── */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
  --container-7xl: 1280px;
  --container-6xl: 1152px;
  --container-5xl: 1024px;
  --container-4xl: 896px;
}


/* ==========================================================================
   3. DARK MODE VARIABLE OVERRIDES
   ========================================================================== */

.disabled-theme-dark {
  --background: #ffffff;
  --foreground: #1a1a1a;
  --card: #ffffff;
  --card-foreground: #1a1a1a;
  --popover: #ffffff;
  --popover-foreground: #1a1a1a;
  --primary: #2E3092;
  --primary-foreground: #ffffff;
  --secondary: #f5f5f5;
  --secondary-foreground: #262626;
  --muted: #f5f5f5;
  --muted-foreground: #737373;
  --accent: #D4A843;
  --accent-foreground: #262626;
  --destructive: #ef4444;
  --border: #e5e5e5;
  --input: #e5e5e5;
  --ring: #2E3092;
}


/* ==========================================================================
   4. CSS RESET / BASE STYLES
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

* {
  border-color: var(--border);
  outline-color: rgba(var(--ring), 0.5);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
  line-height: 1.5;
  font-size: 16px;
  tab-size: 4;
}

body {
  font-family: 'Noto Sans Arabic', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--background);
  color: var(--foreground);
  min-height: 100vh;
  line-height: 1.8;
}

.disabled-theme-dark body {
  background-color: #ffffff;
  color: #1a1a1a;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

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

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Smooth transitions for all interactive elements */
a,
button {
  transition: all 0.2s ease-in-out;
}

/* Section spacing */
section {
  position: relative;
}


/* ==========================================================================
   5. TYPOGRAPHY
   ========================================================================== */

h1, .h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.5;
}

h2, .h2 {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.5;
}

h3, .h3 {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.6;
}

h4, .h4 {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.6;
}

h5, .h5 {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.7;
}

h6, .h6 {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.7;
}

@media (min-width: 640px) {
  h1, .h1 { font-size: 3.75rem; }
}

@media (min-width: 768px) {
  h2, .h2 { font-size: 2.5rem; }
}

@media (min-width: 1024px) {
  h1, .h1 { font-size: 4.5rem; }
  h2, .h2 { font-size: 3rem; }
}

.text-xs   { font-size: 0.75rem;  line-height: 1rem; }
.text-sm   { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem;     line-height: 1.5rem; }
.text-lg   { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl   { font-size: 1.25rem;  line-height: 1.75rem; }
.text-2xl  { font-size: 1.5rem;   line-height: 2rem; }
.text-3xl  { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl  { font-size: 2.25rem;  line-height: 2.5rem; }
.text-5xl  { font-size: 3rem;     line-height: 1; }
.text-6xl  { font-size: 3.75rem;  line-height: 1; }

.font-thin       { font-weight: 100; }
.font-extralight { font-weight: 200; }
.font-light      { font-weight: 300; }
.font-normal     { font-weight: 400; }
.font-medium     { font-weight: 500; }
.font-semibold   { font-weight: 600; }
.font-bold       { font-weight: 700; }
.font-extrabold  { font-weight: 800; }
.font-black      { font-weight: 900; }

.leading-tight    { line-height: 1.4; }
.leading-snug     { line-height: 1.5; }
.leading-normal   { line-height: 1.6; }
.leading-relaxed  { line-height: 1.8; }
.leading-loose    { line-height: 2.2; }

.tracking-tight  { letter-spacing: -0.025em; }
.tracking-normal { letter-spacing: 0em; }
.tracking-wide   { letter-spacing: 0.025em; }
.tracking-wider  { letter-spacing: 0.05em; }

.uppercase  { text-transform: uppercase; }
.lowercase  { text-transform: lowercase; }
.capitalize { text-transform: capitalize; }

.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }
.text-start  { text-align: start; }
.text-end    { text-align: end; }

.italic   { font-style: italic; }
.not-italic { font-style: normal; }

.line-through { text-decoration: line-through; }
.no-underline { text-decoration: none; }

.whitespace-nowrap { white-space: nowrap; }
.whitespace-normal { white-space: normal; }

.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}


/* ==========================================================================
   6. RTL / LTR SUPPORT
   ========================================================================== */

[dir="rtl"] {
  text-align: right;
}

[dir="ltr"] {
  text-align: left;
}

/* Phone numbers should always be LTR */
.phone-number {
  direction: ltr;
  unicode-bidi: embed;
}

/* RTL-aware transform utilities */
[dir="rtl"] .rtl-flip-x {
  transform: scaleX(-1);
}

[dir="rtl"] .rtl-flip-y {
  transform: scaleY(-1);
}

[dir="rtl"] .rtl-rotate-180 {
  transform: rotate(180deg);
}

/* RTL-aware translate: flips horizontal direction automatically */
[dir="rtl"] .rtl-translate-x-4 {
  transform: translateX(-1rem);
}

[dir="rtl"] .rtl--translate-x-4 {
  transform: translateX(1rem);
}

/* Logical properties: use start/end for RTL support */
.start-0  { inset-inline-start: 0; }
.start-1  { inset-inline-start: 0.25rem; }
.start-2  { inset-inline-start: 0.5rem; }
.start-3  { inset-inline-start: 0.75rem; }
.start-4  { inset-inline-start: 1rem; }
.end-0    { inset-inline-end: 0; }
.end-1    { inset-inline-end: 0.25rem; }
.end-2    { inset-inline-end: 0.5rem; }
.end-3    { inset-inline-end: 0.75rem; }
.end-4    { inset-inline-end: 1rem; }

.ps-0 { padding-inline-start: 0; }
.ps-1 { padding-inline-start: 0.25rem; }
.ps-4 { padding-inline-start: 1rem; }
.pe-0 { padding-inline-end: 0; }
.pe-1 { padding-inline-end: 0.25rem; }
.pe-2 { padding-inline-end: 0.5rem; }

.ms-1 { margin-inline-start: 0.25rem; }
.ms-2 { margin-inline-start: 0.5rem; }
.ms-auto { margin-inline-start: auto; }
.me-1 { margin-inline-start: 0.25rem; }
.me-1\.5 { margin-inline-end: 0.375rem; }
.me-2 { margin-inline-end: 0.5rem; }

.me-1\.5 { margin-inline-end: 0.375rem; }


/* ==========================================================================
   7. LAYOUT UTILITIES
   ========================================================================== */

/* ── Container ── */
.container,
.max-w-4xl { max-width: 896px; }
.max-w-5xl { max-width: 1024px; }
.max-w-6xl { max-width: 1152px; }
.max-w-7xl { max-width: 1280px; }
.max-w-3xl { max-width: 768px; }
.max-w-lg  { max-width: 512px; }
.max-w-xl  { max-width: 576px; }
.max-w-2xl { max-width: 672px; }
.max-w-full { max-width: 100%; }

.mx-auto { margin-left: auto; margin-right: auto; }

/* ── Width / Height ── */
.w-full  { width: 100%; }
.w-auto  { width: auto; }
.w-screen { width: 100vw; }
.h-full  { height: 100%; }
.h-auto  { height: auto; }
.h-screen { height: 100vh; }
.min-h-screen { min-height: 100vh; }

/* Size utilities */
.size-3   { width: 0.75rem;  height: 0.75rem; }
.size-3\.5 { width: 0.875rem; height: 0.875rem; }
.size-4   { width: 1rem;     height: 1rem; }
.size-5   { width: 1.25rem;  height: 1.25rem; }
.size-6   { width: 1.5rem;   height: 1.5rem; }
.size-7   { width: 1.75rem;  height: 1.75rem; }
.size-8   { width: 2rem;     height: 2rem; }
.size-10  { width: 2.5rem;   height: 2.5rem; }
.size-12  { width: 3rem;     height: 3rem; }
.size-16  { width: 4rem;     height: 4rem; }

.w-3   { width: 0.75rem; }
.w-3\.5 { width: 0.875rem; }
.w-4   { width: 1rem; }
.w-5   { width: 1.25rem; }
.w-6   { width: 1.5rem; }
.w-8   { width: 2rem; }
.w-9   { width: 2.25rem; }
.w-10  { width: 2.5rem; }
.w-12  { width: 3rem; }
.w-14  { width: 3.5rem; }
.w-16  { width: 4rem; }
.w-20  { width: 5rem; }
.w-24  { width: 6rem; }
.w-48  { width: 12rem; }
.w-64  { width: 16rem; }
.w-96  { width: 24rem; }

.h-0   { height: 0; }
.h-0\.5 { height: 0.125rem; }
.h-1   { height: 0.25rem; }
.h-3   { height: 0.75rem; }
.h-4   { height: 1rem; }
.h-5   { height: 1.25rem; }
.h-6   { height: 1.5rem; }
.h-8   { height: 2rem; }
.h-9   { height: 2.25rem; }
.h-10  { height: 2.5rem; }
.h-11  { height: 2.75rem; }
.h-12  { height: 3rem; }
.h-16  { height: 4rem; }
.h-20  { height: 5rem; }
.h-24  { height: 6rem; }
.h-64  { height: 16rem; }
.h-80  { height: 20rem; }
.h-96  { height: 24rem; }
.h-px  { height: 1px; }
.h-\[3px\] { height: 3px; }

.max-h-0    { max-height: 0; }
.max-h-10   { max-height: 2.5rem; }
.max-h-96   { max-height: 24rem; }

.min-h-\[600px\] { min-height: 600px; }
.min-h-\[700px\] { min-height: 700px; }

/* ── Display ── */
.block       { display: block; }
.inline-block { display: inline-block; }
.inline      { display: inline; }
.flex        { display: flex; }
.inline-flex { display: inline-flex; }
.grid        { display: grid; }
.hidden      { display: none; }

/* ── Flex ── */
.flex-row       { flex-direction: row; }
.flex-col       { flex-direction: column; }
.flex-wrap      { flex-wrap: wrap; }
.flex-nowrap    { flex-wrap: nowrap; }
.flex-1         { flex: 1 1 0%; }
.flex-shrink-0  { flex-shrink: 0; }
.shrink-0       { flex-shrink: 0; }
.flex-grow      { flex-grow: 1; }

.items-start    { align-items: flex-start; }
.items-center   { align-items: center; }
.items-end      { align-items: flex-end; }
.items-stretch  { align-items: stretch; }
.items-baseline { align-items: baseline; }

.justify-start   { justify-content: flex-start; }
.justify-center  { justify-content: center; }
.justify-end     { justify-content: flex-end; }
.justify-between { justify-content: space-between; }
.justify-around  { justify-content: space-around; }
.justify-evenly  { justify-content: space-evenly; }

.gap-0   { gap: 0; }
.gap-1   { gap: 0.25rem; }
.gap-1\.5 { gap: 0.375rem; }
.gap-2   { gap: 0.5rem; }
.gap-3   { gap: 0.75rem; }
.gap-4   { gap: 1rem; }
.gap-5   { gap: 1.25rem; }
.gap-6   { gap: 1.5rem; }
.gap-8   { gap: 2rem; }
.gap-10  { gap: 2.5rem; }
.gap-12  { gap: 3rem; }

/* ── Grid ── */
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ── Position ── */
.relative  { position: relative; }
.absolute  { position: absolute; }
.fixed     { position: fixed; }
.sticky    { position: sticky; }

.inset-0   { top: 0; right: 0; bottom: 0; left: 0; }
.inset-x-0 { left: 0; right: 0; }
.top-0     { top: 0; }
.bottom-0  { bottom: 0; }
.left-0    { left: 0; }
.right-0   { right: 0; }

.top-1\/2  { top: 50%; }
.left-1\/2 { left: 50%; }
.-translate-x-1\/2 { transform: translateX(-50%); }
.-translate-y-1\/2 { transform: translateY(-50%); }
.translate-y-full  { transform: translateY(100%); }

.z-0    { z-index: 0; }
.z-10   { z-index: 10; }
.z-20   { z-index: 20; }
.z-40   { z-index: 40; }
.z-50   { z-index: 50; }
.z-\[60\] { z-index: 60; }
.-z-10  { z-index: -10; }


/* ==========================================================================
   8. SPACING (PADDING / MARGIN)
   ========================================================================== */

/* Padding */
.p-0    { padding: 0; }
.p-1    { padding: 0.25rem; }
.p-2    { padding: 0.5rem; }
.p-3    { padding: 0.75rem; }
.p-4    { padding: 1rem; }
.p-5    { padding: 1.25rem; }
.p-6    { padding: 1.5rem; }
.p-8    { padding: 2rem; }
.p-10   { padding: 2.5rem; }
.p-12   { padding: 3rem; }

.px-2   { padding-left: 0.5rem;    padding-right: 0.5rem; }
.px-3   { padding-left: 0.75rem;   padding-right: 0.75rem; }
.px-4   { padding-left: 1rem;      padding-right: 1rem; }
.px-5   { padding-left: 1.25rem;   padding-right: 1.25rem; }
.px-6   { padding-left: 1.5rem;    padding-right: 1.5rem; }
.px-8   { padding-left: 2rem;      padding-right: 2rem; }

.py-1   { padding-top: 0.25rem;    padding-bottom: 0.25rem; }
.py-1\.5 { padding-top: 0.375rem;  padding-bottom: 0.375rem; }
.py-2   { padding-top: 0.5rem;     padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem;  padding-bottom: 0.625rem; }
.py-3   { padding-top: 0.75rem;    padding-bottom: 0.75rem; }
.py-3\.5 { padding-top: 0.875rem;  padding-bottom: 0.875rem; }
.py-4   { padding-top: 1rem;       padding-bottom: 1rem; }
.py-5   { padding-top: 1.25rem;    padding-bottom: 1.25rem; }
.py-6   { padding-top: 1.5rem;     padding-bottom: 1.5rem; }
.py-8   { padding-top: 2rem;       padding-bottom: 2rem; }
.py-10  { padding-top: 2.5rem;     padding-bottom: 2.5rem; }
.py-12  { padding-top: 3rem;       padding-bottom: 3rem; }
.py-16  { padding-top: 4rem;       padding-bottom: 4rem; }
.py-20  { padding-top: 5rem;       padding-bottom: 5rem; }
.py-24  { padding-top: 6rem;       padding-bottom: 6rem; }

.pt-4   { padding-top: 1rem; }
.pt-8   { padding-top: 2rem; }
.pt-24  { padding-top: 6rem; }
.pb-0   { padding-bottom: 0; }
.pb-1   { padding-bottom: 0.25rem; }
.pb-2   { padding-bottom: 0.5rem; }
.pb-4   { padding-bottom: 1rem; }
.pb-20  { padding-bottom: 5rem; }

/* Margin */
.m-0    { margin: 0; }
.m-auto { margin: auto; }
.mx-auto { margin-left: auto; margin-right: auto; }

.mb-1   { margin-bottom: 0.25rem; }
.mb-2   { margin-bottom: 0.5rem; }
.mb-3   { margin-bottom: 0.75rem; }
.mb-4   { margin-bottom: 1rem; }
.mb-5   { margin-bottom: 1.25rem; }
.mb-6   { margin-bottom: 1.5rem; }
.mb-8   { margin-bottom: 2rem; }
.mb-10  { margin-bottom: 2.5rem; }
.mb-12  { margin-bottom: 3rem; }

.mt-1   { margin-top: 0.25rem; }
.mt-2   { margin-top: 0.5rem; }
.mt-3   { margin-top: 0.75rem; }
.mt-4   { margin-top: 1rem; }
.mt-auto { margin-top: auto; }
.-mt-4  { margin-top: -1rem; }

.my-1   { margin-top: 0.25rem;  margin-bottom: 0.25rem; }


/* ==========================================================================
   9. BORDERS / RADIUS
   ========================================================================== */

.border       { border-width: 1px; border-style: solid; }
.border-0     { border-width: 0; }
.border-2     { border-width: 2px; }
.border-b     { border-bottom-width: 1px; border-bottom-style: solid; }
.border-b-2   { border-bottom-width: 2px; border-bottom-style: solid; }
.border-t     { border-top-width: 1px; border-top-style: solid; }
.border-s-4   { border-inline-start-width: 4px; border-inline-start-style: solid; }
.border-e     { border-inline-end-width: 1px; border-inline-end-style: solid; }

.border-gray-100 { border-color: #f3f4f6; }
.border-gray-200 { border-color: #e5e7eb; }
.border-gray-300 { border-color: #d1d5db; }
.border-transparent { border-color: transparent; }
.border-white\/20  { border-color: rgba(255, 255, 255, 0.2); }
.border-white\/25  { border-color: rgba(255, 255, 255, 0.25); }
.border-white\/30  { border-color: rgba(255, 255, 255, 0.3); }
.border-white\/40  { border-color: rgba(255, 255, 255, 0.4); }
.border-\[\#1B6B4A\]\/30 { border-color: rgba(46, 48, 146, 0.3); }
.border-\[\#1B6B4A\]\/40 { border-color: rgba(46, 48, 146, 0.4); }
.border-\[\#D4A843\]  { border-color: #D4A843; }

.rounded     { border-radius: 0.25rem; }
.rounded-md  { border-radius: 0.375rem; }
.rounded-lg  { border-radius: 0.5rem; }
.rounded-xl  { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }

.border-x-0 { border-left-width: 0; border-right-width: 0; }
.border-y-0 { border-top-width: 0; border-bottom-width: 0; }

/* Ring utilities */
.ring-2 { box-shadow: 0 0 0 2px var(--ring); }
.ring-red-100 { box-shadow: 0 0 0 2px #fee2e2; }
.ring-\[\#1B6B4A\]\/10 { box-shadow: 0 0 0 2px rgba(46, 48, 146, 0.1); }


/* ==========================================================================
   10. COLORS / BACKGROUNDS
   ========================================================================== */

/* Text colors */
.text-white       { color: #ffffff; }
.text-black       { color: #000000; }
.text-gray-500    { color: #6b7280; }
.text-gray-600    { color: #4b5563; }
.text-gray-700    { color: #374151; }
.text-gray-900    { color: #111827; }
.text-slate-300   { color: #cbd5e1; }
.text-slate-400   { color: #94a3b8; }
.text-slate-500   { color: #64748b; }
.text-red-400     { color: #f87171; }
.text-red-500     { color: #ef4444; }
.text-\[\#1B6B4A\]   { color: #2E3092; }
.text-\[\#D4A843\]   { color: #D4A843; }
.text-\[\#2dd4a0\]   { color: #3F51B5; }
.text-\[\#155a3d\]   { color: #17205F; }

/* Background colors */
.bg-white         { background-color: #ffffff; }
.bg-gray-50       { background-color: #f9fafb; }
.bg-gray-100      { background-color: #f3f4f6; }
.bg-slate-900     { background-color: #0f172a; }
.bg-slate-800     { background-color: #1e293b; }
.bg-slate-700     { background-color: #334155; }
.bg-black         { background-color: #000000; }
.bg-\[\#1B6B4A\]     { background-color: #2E3092; }
.bg-\[\#155a3d\]     { background-color: #17205F; }
.bg-\[\#F0F7F4\]     { background-color: #F4F8FF; }
.bg-\[\#FDF8EF\]     { background-color: #FDF8EF; }
.bg-\[\#25D366\]     { background-color: #25D366; }
.bg-\[\#20BD5A\]     { background-color: #20BD5A; }
.bg-\[\#071710\]     { background-color: #070B26; }
.bg-\[\#f0f7f4\]     { background-color: #F4F8FF; }
.bg-\[\#fdf8ed\]     { background-color: #fdf8ed; }
.bg-transparent   { background-color: transparent; }

/* Background with opacity */
.bg-white\/95     { background-color: rgba(255, 255, 255, 0.95); }
.bg-white\/70     { background-color: rgba(255, 255, 255, 0.70); }
.bg-white\/15     { background-color: rgba(255, 255, 255, 0.15); }
.bg-white\/10     { background-color: rgba(255, 255, 255, 0.10); }
.bg-white\/20     { background-color: rgba(255, 255, 255, 0.20); }
.bg-white\/25     { background-color: rgba(255, 255, 255, 0.25); }
.bg-black\/40     { background-color: rgba(0, 0, 0, 0.40); }
.bg-black\/50     { background-color: rgba(0, 0, 0, 0.50); }
.bg-black\/60     { background-color: rgba(0, 0, 0, 0.60); }

.bg-\[\#1B6B4A\]\/5   { background-color: rgba(46, 48, 146, 0.05); }
.bg-\[\#1B6B4A\]\/10  { background-color: rgba(46, 48, 146, 0.10); }
.bg-\[\#1B6B4A\]\/15  { background-color: rgba(46, 48, 146, 0.15); }
.bg-\[\#1B6B4A\]\/20  { background-color: rgba(46, 48, 146, 0.20); }
.bg-\[\#1B6B4A\]\/30  { background-color: rgba(46, 48, 146, 0.30); }

.bg-\[\#D4A843\]\/5   { background-color: rgba(212, 168, 67, 0.05); }
.bg-\[\#D4A843\]\/15  { background-color: rgba(212, 168, 67, 0.15); }
.bg-\[\#D4A843\]\/20  { background-color: rgba(212, 168, 67, 0.20); }
.bg-\[\#D4A843\]\/30  { background-color: rgba(212, 168, 67, 0.30); }

.bg-green-600\/30   { background-color: rgba(22, 163, 74, 0.3); }

/* Opacity */
.opacity-0    { opacity: 0; }
.opacity-100  { opacity: 1; }
.opacity-10   { opacity: 0.10; }
.opacity-15   { opacity: 0.15; }
.opacity-20   { opacity: 0.20; }
.opacity-30   { opacity: 0.30; }
.opacity-40   { opacity: 0.40; }
.opacity-50   { opacity: 0.50; }
.opacity-60   { opacity: 0.60; }
.opacity-80   { opacity: 0.80; }
.opacity-\[0\.03\] { opacity: 0.03; }
.opacity-\[0\.04\] { opacity: 0.04; }
.opacity-\[0\.06\] { opacity: 0.06; }


/* ==========================================================================
   11. BACKDROP / BLUR
   ========================================================================== */

.backdrop-blur-sm  { backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.backdrop-blur-md  { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.backdrop-blur-lg  { backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.backdrop-blur-xl  { backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); }
.backdrop-blur-3xl { backdrop-filter: blur(64px); -webkit-backdrop-filter: blur(64px); }


/* ==========================================================================
   12. SHADOWS
   ========================================================================== */

.shadow-sm   { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
.shadow      { box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1); }
.shadow-md   { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1); }
.shadow-lg   { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1); }
.shadow-xl   { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1); }
.shadow-2xl  { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }
.shadow-none { box-shadow: none; }


/* ==========================================================================
   13. OVERFLOW
   ========================================================================== */

.overflow-hidden  { overflow: hidden; }
.overflow-auto    { overflow: auto; }
.overflow-y-auto  { overflow-y: auto; }
.overflow-x-auto  { overflow-x: auto; }
.overflow-visible { overflow: visible; }


/* ==========================================================================
   14. TRANSITIONS / ANIMATIONS
   ========================================================================== */

.transition-all         { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-colors      { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-opacity     { transition-property: opacity; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-shadow      { transition-property: box-shadow; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-transform   { transition-property: transform; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }

.duration-100  { transition-duration: 100ms; }
.duration-150  { transition-duration: 150ms; }
.duration-200  { transition-duration: 200ms; }
.duration-300  { transition-duration: 300ms; }
.duration-500  { transition-duration: 500ms; }
.duration-700  { transition-duration: 700ms; }

.ease-in-out  { transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
.ease-out     { transition-timing-function: cubic-bezier(0, 0, 0.2, 1); }
.ease-in      { transition-timing-function: cubic-bezier(0.4, 0, 1, 1); }


/* ==========================================================================
   15. ANIMATION KEYFRAMES
   ========================================================================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse-gold {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(212, 168, 67, 0.4);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(212, 168, 67, 0);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

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

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes page-enter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes borderRotate {
  0% { --angle: 0deg; }
  100% { --angle: 360deg; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Animation utility classes */
.animate-fade-in-up      { animation: fadeInUp 0.6s ease-out; }
.animate-slide-in-right  { animation: slideInRight 0.6s ease-out; }
.animate-slide-in-left   { animation: slideInLeft 0.6s ease-out; }
.animate-pulse-gold      { animation: pulse-gold 2s infinite; }
.animate-float           { animation: float 3s ease-in-out infinite; }
.animate-float-delayed   { animation: float 3s ease-in-out 1s infinite; }
.animate-spin            { animation: spin 1s linear infinite; }
.page-transition         { animation: page-enter 0.4s ease-out; }


/* ==========================================================================
   16. CUSTOM SCROLLBAR (Arabic-site friendly)
   ========================================================================== */

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: #2E3092;
  border-radius: 4px;
  border: 2px solid #f1f1f1;
}

::-webkit-scrollbar-thumb:hover {
  background: #17205F;
}

/* Firefox scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: #2E3092 #f1f1f1;
}

/* Hide scrollbar utility */
.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}


/* ==========================================================================
   17. SELECTION COLOR
   ========================================================================== */

::selection {
  background-color: rgba(46, 48, 146, 0.2);
  color: #2E3092;
}

.dark ::selection {
  background-color: rgba(46, 48, 146, 0.4);
  color: #ffffff;
}


/* ==========================================================================
   18. GOLD / GREEN GRADIENT UTILITIES
   ========================================================================== */

.gold-gradient {
  background: linear-gradient(135deg, #D4A843, #E8C868, #D4A843);
}

.green-gradient {
  background: linear-gradient(135deg, #17205F, #2E3092, #0A78A8);
}


/* ==========================================================================
   19. GLASS MORPHISM UTILITIES
   ========================================================================== */

.glass {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.glass-dark {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-green {
  background: rgba(46, 48, 146, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(46, 48, 146, 0.2);
}

.glass-gold {
  background: rgba(212, 168, 67, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(212, 168, 67, 0.3);
}


/* ==========================================================================
   20. GRADIENT TEXT UTILITIES
   ========================================================================== */

.gradient-text-green {
  background: linear-gradient(135deg, #17205F, #2E3092);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-gold {
  background: linear-gradient(135deg, #D4A843, #E8C868);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-primary {
  background: linear-gradient(135deg, #2E3092, #D4A843);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


/* ==========================================================================
   21. SKELETON / SHIMMER LOADING
   ========================================================================== */

.skeleton {
  background: linear-gradient(
    90deg,
    #e5e7eb 25%,
    #f3f4f6 37%,
    #e5e7eb 63%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
  border-radius: 0.375rem;
}

.skeleton-dark {
  background: linear-gradient(
    90deg,
    #1e293b 25%,
    #334155 37%,
    #1e293b 63%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
  border-radius: 0.375rem;
}


/* ==========================================================================
   22. ISLAMIC PATTERN BACKGROUNDS
   ========================================================================== */

.islamic-pattern-light {
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232E3092' fill-opacity='0.04'%3E%3Cpath d='M30 0L60 30L30 60L0 30z'/%3E%3Cpath d='M30 10L50 30L30 50L10 30z' fill-opacity='0.5'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  background-size: 60px 60px;
}

.islamic-pattern-gold {
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23D4A843' fill-opacity='0.03'%3E%3Cpath d='M40 0L80 40L40 80L0 40z'/%3E%3Cpath d='M40 15L65 40L40 65L15 40z' fill-opacity='0.5'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  background-size: 80px 80px;
}

.islamic-pattern-dots {
  background-image: radial-gradient(circle, #2E3092 0.5px, transparent 0.5px);
  background-size: 24px 24px;
  opacity: 0.03;
}

/* Dot pattern used in hero and sections */
.dot-pattern-white {
  background-image: radial-gradient(circle, white 1px, transparent 1px);
  background-size: 40px 40px;
}

.dot-pattern-gold {
  background-image: radial-gradient(circle, #D4A843 1px, transparent 1px);
  background-size: 24px 24px;
}

.dot-pattern-green {
  background-image: radial-gradient(circle, #2E3092 1px, transparent 1px);
  background-size: 24px 24px;
}


/* ==========================================================================
   23. GRAIN / NOISE TEXTURE OVERLAY
   ========================================================================== */

.grain-overlay {
  position: relative;
}

.grain-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.04;
  pointer-events: none;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}


/* ==========================================================================
   24. SECTION DIVIDERS (Wave, Islamic, Calligraphy)
   ========================================================================== */

/* Wave Divider Top */
.wave-divider-top {
  position: relative;
}

.wave-divider-top::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 40px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 20L60 17C120 14 240 8 360 12C480 16 600 28 720 30C840 32 960 22 1080 16C1200 10 1320 8 1380 7L1440 6V40H0Z' fill='white'/%3E%3C/svg%3E") no-repeat center;
  background-size: 100% 100%;
}

/* Section Divider (decorative wave) */
.section-divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.section-divider svg {
  width: 100%;
  height: 40px;
}

@media (min-width: 768px) {
  .section-divider svg {
    height: 50px;
  }
}

.section-divider.flip {
  transform: rotate(180deg);
}

/* Islamic Geometric Divider */
.islamic-divider {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 0;
  overflow: hidden;
}

.islamic-divider-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.islamic-divider-line {
  height: 1px;
  width: 4rem;
}

@media (min-width: 768px) {
  .islamic-divider-line {
    width: 6rem;
  }
}

/* Arabic Calligraphy Motif Divider */
.calligraphy-motif {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 0;
  overflow: hidden;
}

.calligraphy-motif-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.calligraphy-motif-line {
  height: 1px;
  width: 2.5rem;
}

@media (min-width: 768px) {
  .calligraphy-motif-line {
    width: 4rem;
  }
}

.calligraphy-motif.ornate {
  padding: 1.5rem 0;
}

.calligraphy-motif.minimal {
  padding: 1rem 0;
}


/* ==========================================================================
   25. CARD GLOW EFFECT
   ========================================================================== */

.card-glow {
  position: relative;
  overflow: hidden;
}

.card-glow::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(46, 48, 146, 0.06) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.card-glow:hover::after {
  opacity: 1;
}


/* ==========================================================================
   26. TEXT SHADOW UTILITIES
   ========================================================================== */

.text-shadow-sm {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.text-shadow-md {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.text-shadow-lg {
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}


/* ==========================================================================
   27. ANIMATED GRADIENT BORDER
   ========================================================================== */

.gradient-border {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

.gradient-border::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: 16px;
  background: linear-gradient(135deg, #2E3092, #D4A843, #2E3092);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}


/* ==========================================================================
   28. HEADER STYLES (Sticky, Glass Effect, Nav, Mobile Drawer)
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.3s ease;
}

.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 8px rgba(46, 48, 146, 0.12), 0 1px 3px rgba(0, 0, 0, 0.06);
}

.site-header:not(.scrolled) {
  background-color: rgba(255, 255, 255, 0.70);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: none;
}

/* Top bar */
.header-top-bar {
  transition: all 0.3s ease;
  overflow: hidden;
}

.header-top-bar.collapsed {
  max-height: 0;
  opacity: 0;
}

.header-top-bar.expanded {
  max-height: 2.5rem;
  opacity: 1;
}

.header-top-bar-inner {
  color: white;
  font-size: 0.75rem;
  padding: 0.375rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background-color 0.3s ease;
}

/* Main nav bar */
.header-nav {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .header-nav { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
  .header-nav { padding: 0 2rem; }
}

.header-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

/* Logo area */
.header-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  background: none;
  border: none;
  cursor: pointer;
}

.header-logo:hover .header-logo-img {
  transform: scale(1.05);
}

.header-logo-img {
  width: 44px;
  height: 44px;
  transition: transform 0.3s ease;
}

.header-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.header-logo-name {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.025em;
  color: #2E3092;
}

.header-logo-subtitle {
  font-size: 10px;
  font-weight: 500;
  color: #D4A843;
}

/* Desktop navigation links */
.header-desktop-nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

@media (min-width: 1024px) {
  .header-desktop-nav {
    display: flex;
  }
}

.header-nav-link {
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s ease, background-color 0.2s ease;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  color: #374151;
}

.header-nav-link:hover {
  color: #2E3092;
  background-color: rgba(46, 48, 146, 0.05);
}

.header-nav-link.active {
  color: #2E3092;
  background-color: rgba(46, 48, 146, 0.05);
}

.header-nav-link-indicator {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 2px;
  border-radius: 9999px;
  background-color: #D4A843;
}

/* Header actions (right side) */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .header-actions { gap: 0.75rem; }
}

/* Theme toggle button */
.header-theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  border: 1px solid #e5e7eb;
  transition: all 0.2s ease;
  background: none;
  cursor: pointer;
}

.header-theme-toggle:hover {
  border-color: #D4A843;
  background-color: rgba(212, 168, 67, 0.05);
}

/* Language toggle button */
.header-lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.625rem;
  border-radius: 9999px;
  border: 1px solid #e5e7eb;
  font-size: 0.75rem;
  font-weight: 600;
  transition: all 0.2s ease;
  background: none;
  cursor: pointer;
}

.header-lang-toggle:hover {
  border-color: #D4A843;
  background-color: rgba(212, 168, 67, 0.05);
}

/* CTA button */
.header-cta {
  display: none;
  align-items: center;
  gap: 0.375rem;
  color: white;
  font-weight: 600;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  padding: 0 1.25rem;
  height: 2.25rem;
  font-size: 0.875rem;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  background-color: #D4A843;
  transition: all 0.3s ease;
}

.header-cta:hover {
  background-color: #e0be6a;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

@media (min-width: 640px) {
  .header-cta { display: inline-flex; }
}

/* Mobile hamburger */
.header-mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  transition: background-color 0.15s ease;
  background: none;
  border: none;
  cursor: pointer;
}

.header-mobile-toggle:hover {
  background-color: #f3f4f6;
}

@media (min-width: 1024px) {
  .header-mobile-toggle, .mobile-drawer, #mobile-drawer, .drawer-overlay, #drawer-overlay { display: none !important; }
}

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 300px;
  z-index: 60;
  overflow-y: auto;
  background: white;
}

@media (min-width: 640px) {
  .mobile-drawer { width: 340px; }
}

.mobile-drawer-header {
  padding: 1rem;
  border-bottom: 1px solid #f3f4f6;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mobile-drawer-nav {
  display: flex;
  flex-direction: column;
  padding: 0.5rem 0;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.15s ease, background-color 0.15s ease;
  border: none;
  background: none;
  cursor: pointer;
  width: 100%;
  text-align: start;
  border-inline-start: 4px solid transparent;
}

.mobile-nav-link:hover {
  background-color: #f9fafb;
}

.mobile-nav-link.active {
  color: #2E3092;
  background-color: rgba(46, 48, 146, 0.05);
  border-inline-start-color: #2E3092;
}

.mobile-nav-link:not(.active) {
  color: #374151;
}

/* Mobile dropdown */
.mobile-dropdown-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.15s ease, background-color 0.15s ease;
  border: none;
  background: none;
  cursor: pointer;
}

.mobile-dropdown-content {
  overflow: hidden;
  transition: all 0.3s ease;
}

.mobile-dropdown-content.collapsed {
  max-height: 0;
  opacity: 0;
}

.mobile-dropdown-content.expanded {
  max-height: 24rem;
  opacity: 1;
}

/* Mobile drawer bottom CTA */
.mobile-drawer-bottom {
  margin-top: auto;
  padding: 1rem;
  border-top: 1px solid #f3f4f6;
}

.mobile-drawer-bottom .cta-button {
  width: 100%;
  color: white;
  font-weight: 600;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border-radius: 0.5rem;
  height: 2.75rem;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  background-color: #D4A843;
}

/* Dropdown menu (desktop) */
.dropdown-menu {
  min-width: 14rem;
  background: white;
  border-radius: 0.5rem;
  padding: 0.25rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
}

.dropdown-menu-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 0.75rem;
  font-size: 0.875rem;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.dropdown-menu-item:hover {
  background-color: #f9fafb;
}

.dropdown-menu-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.375rem;
  flex-shrink: 0;
}

.dropdown-menu-separator {
  margin: 0.25rem 0;
  height: 1px;
  background-color: #f3f4f6;
}


/* ==========================================================================
   29. FOOTER STYLES (4-column grid, Dark theme, Newsletter)
   ========================================================================== */

.site-footer {
  position: relative;
  margin-top: auto;
  overflow: hidden;
}

/* Decorative gold shimmer line at top */
.footer-gold-line {
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, #D4A843, #2E3092, #D4A843, #2E3092, #D4A843);
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
}

/* Main footer background */
.footer-main {
  position: relative;
  background: linear-gradient(180deg, #0f2920 0%, #0a1f18 40%, #071710 100%);
}

.footer-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 1rem;
}

@media (min-width: 640px) {
  .footer-content { padding: 3rem 1.5rem; }
}

@media (min-width: 1024px) {
  .footer-content { padding: 4rem 2rem; }
}

/* 4-column grid */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(4, 1fr); gap: 3rem; }
}

/* Institute info section */
.footer-institute-info {
  /* On sm, spans 2 columns; on lg, spans 1 */
}

@media (min-width: 640px) and (max-width: 1023px) {
  .footer-institute-info { grid-column: span 2; }
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.footer-logo-img {
  border-radius: 0.5rem;
  width: 48px;
  height: 48px;
}

.footer-institute-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: #D4A843;
}

.footer-since-text {
  font-size: 0.75rem;
  font-weight: 500;
  color: #D4A843;
}

.footer-description {
  font-size: 0.875rem;
  color: #94a3b8;
  line-height: 1.625;
  margin-bottom: 1.5rem;
  max-width: 320px;
}

/* Footer social links */
.footer-social-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-social-link {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.footer-social-link:hover {
  transform: scale(1.25);
  box-shadow: 0 10px 15px -3px rgba(46, 48, 146, 0.3);
}

/* Footer section titles */
.footer-section-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #2E3092;
  display: inline-block;
  color: #D4A843;
}

/* Footer link lists */
.footer-link-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  color: #94a3b8;
  transition: all 0.3s ease;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
}

.footer-link:hover {
  color: white;
  padding-inline-start: 0.25rem;
}

/* Footer contact info */
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: #94a3b8;
  transition: color 0.2s ease;
}

.footer-contact-item:hover {
  color: white;
}

/* Footer divider between sections */
.footer-divider {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0;
  overflow: hidden;
}

.footer-divider-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  max-width: 1280px;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .footer-divider-inner { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
  .footer-divider-inner { padding: 0 2rem; }
}

.footer-divider-line {
  flex: 1;
  height: 1px;
}

/* Newsletter bar */
.footer-newsletter {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

@media (min-width: 640px) {
  .footer-newsletter { padding: 2rem 1.5rem; }
}

@media (min-width: 1024px) {
  .footer-newsletter { padding: 2rem 2rem; }
}

.footer-newsletter-card {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .footer-newsletter-card { padding: 2rem; }
}

.footer-newsletter-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (min-width: 768px) {
  .footer-newsletter-content {
    flex-direction: row;
  }
}

.footer-newsletter-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #D4A843;
  margin-bottom: 0.25rem;
}

.footer-newsletter-subtitle {
  font-size: 0.75rem;
  color: #64748b;
}

.footer-newsletter-form {
  display: flex;
  gap: 0.5rem;
  width: 100%;
}

@media (min-width: 768px) {
  .footer-newsletter-form { width: auto; }
}

/* Copyright bar */
.footer-copyright {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 1rem;
}

@media (min-width: 640px) {
  .footer-copyright { padding: 1rem 1.5rem; }
}

@media (min-width: 1024px) {
  .footer-copyright { padding: 1rem 2rem; }
}

.footer-copyright-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #64748b;
}

@media (min-width: 640px) {
  .footer-copyright-inner {
    flex-direction: row;
  }
}

.footer-back-to-top {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  transition: all 0.3s ease;
  color: #2E3092;
  background: transparent;
  border: none;
  cursor: pointer;
}

.footer-back-to-top:hover {
  color: #D4A843;
}


/* ==========================================================================
   30. HERO SECTION STYLES
   ========================================================================== */

.hero-section {
  position: relative;
  overflow: hidden;
  min-height: 600px;
}

@media (min-width: 768px) {
  .hero-section { min-height: 700px; }
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  will-change: transform;
}

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

/* Dark overlay with gradient */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom left, rgba(8, 16, 51, 0.95), rgba(23, 32, 95, 0.9), rgba(46, 48, 146, 0.85));
}

.hero-content {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 6rem 1rem 5rem;
}

@media (min-width: 640px) {
  .hero-content { padding: 6rem 1.5rem 5rem; }
}

@media (min-width: 768px) {
  .hero-content { padding: 8rem 1.5rem 7rem; }
}

@media (min-width: 1024px) {
  .hero-content { padding: 8rem 2rem 7rem; }
}

.hero-content.text-centered {
  text-align: center;
}

/* Hero trust badges row */
.hero-trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 1rem;
  font-size: 0.875rem;
  color: white;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 9999px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.hero-badge:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* Hero H1 */
.hero-title {
  font-size: 1.875rem;
  font-weight: 800;
  color: white;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2), 0 4px 20px rgba(0, 0, 0, 0.1);
}

@media (min-width: 640px) {
  .hero-title { font-size: 2.25rem; }
}

@media (min-width: 768px) {
  .hero-title { font-size: 3rem; }
}

@media (min-width: 1024px) {
  .hero-title { font-size: 3.75rem; }
}

/* Hero gold accent line */
.hero-gold-line {
  width: 4rem;
  height: 4px;
  margin: 0 auto 1.5rem;
  border-radius: 9999px;
  background: linear-gradient(90deg, #D4A843, #E8C868, #D4A843);
}

/* Hero subtitle */
.hero-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 48rem;
  margin: 0 auto 2.5rem;
  line-height: 1.625;
}

@media (min-width: 768px) {
  .hero-subtitle { font-size: 1.25rem; }
}

/* Hero CTA buttons */
.hero-cta-row {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .hero-cta-row {
    flex-direction: row;
    gap: 1rem;
  }
}

.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0 2rem;
  height: 3rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

@media (min-width: 640px) {
  .hero-cta-btn { width: auto; }
}

.hero-cta-btn:hover {
  transform: scale(1.03);
}

.hero-cta-btn:active {
  transform: scale(0.97);
}

.hero-cta-primary {
  background-color: #D4A843;
  color: white;
  box-shadow: 0 10px 15px -3px rgba(212, 168, 67, 0.25);
}

.hero-cta-primary:hover {
  background-color: #c49a3a;
}

.hero-cta-outline {
  background: rgba(22, 163, 74, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: white;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.hero-cta-outline:hover {
  background: rgba(255, 255, 255, 0.2);
}

.hero-cta-ghost {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.hero-cta-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Hero bottom wave */
.hero-bottom-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.hero-bottom-wave svg {
  width: 100%;
  display: block;
}

/* Floating decorative shapes in hero */
.hero-float-circle {
  position: absolute;
  border-radius: 9999px;
  filter: blur(48px);
  pointer-events: none;
}

.hero-float-shape {
  position: absolute;
  pointer-events: none;
}


/* ==========================================================================
   31. CARD STYLES (Program cards, Branch cards, Why-us cards)
   ========================================================================== */

/* Base card */
.card {
  width: 100%;
  background: white;
  border-radius: 0.75rem;
  border: 1px solid #f3f4f6;
  overflow: hidden;
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.card-header {
  padding: 1.5rem 1.5rem 0.5rem;
}

.card-content {
  padding: 0 1.5rem;
}

.card-footer {
  padding: 1rem 1.5rem 1.5rem;
}

.card-title {
  font-weight: 700;
  color: #111827;
}

.card-description {
  color: #4b5563;
  font-size: 0.875rem;
  line-height: 1.625;
}

/* Program card */
.program-card {
  cursor: pointer;
  position: relative;
  border-top: 4px solid;
  transition: all 0.3s ease;
}

.program-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  transform: scale(1.02);
}

/* Program card gold accent line on hover */
.program-card-accent {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: #D4A843;
  transform: scaleY(0);
  transition: transform 0.3s ease;
  transform-origin: center;
}

.program-card:hover .program-card-accent {
  transform: scaleY(1);
}

/* Program card icon container */
.program-card-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Why-us card */
.why-us-card {
  height: 100%;
  transition: box-shadow 0.3s ease;
}

.why-us-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.why-us-card-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background-color: rgba(46, 48, 146, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  transition: background-color 0.3s ease;
}

.why-us-card:hover .why-us-card-icon {
  background-color: rgba(46, 48, 146, 0.2);
}

/* Branch card */
.branch-card {
  height: 100%;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.branch-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  transform: scale(1.02);
}

.branch-card-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Contact method card */
.contact-method-card {
  height: 100%;
  text-align: center;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.contact-method-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  transform: scale(1.02);
}

/* Badge component */
.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  padding: 0.125rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.5;
}

.badge-primary {
  background-color: #2E3092;
  color: white;
}

.badge-gold {
  background-color: #D4A843;
  color: white;
  border: none;
}

.badge-outline {
  border: 1px solid rgba(46, 48, 146, 0.3);
  color: #2E3092;
  background-color: rgba(46, 48, 146, 0.05);
}

.badge-ghost {
  background: rgba(46, 48, 146, 0.1);
  color: #2E3092;
}


/* ==========================================================================
   32. TRUST BAR / STATS
   ========================================================================== */

.trust-bar-section {
  position: relative;
}

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

@media (min-width: 768px) {
  .trust-bar-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }
}

.trust-stat {
  position: relative;
}

.trust-stat-card {
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  height: 100%;
  margin: 0 0.25rem;
  transition: box-shadow 0.3s ease;
}

@media (min-width: 768px) {
  .trust-stat-card { margin: 0 1rem; }
}

.trust-stat-card:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.trust-stat-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: white;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
}

.trust-stat-value {
  font-size: 1.875rem;
  font-weight: 700;
  color: #2E3092;
  margin-bottom: 0.25rem;
}

@media (min-width: 768px) {
  .trust-stat-value { font-size: 2.25rem; }
}

.trust-stat-label {
  color: #4b5563;
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .trust-stat-label { font-size: 1rem; }
}

/* Gold separator between stats */
.trust-stat-separator {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  inset-inline-end: 0;
  width: 1px;
  height: 3rem;
  background-color: #D4A843;
  opacity: 0.3;
}

@media (min-width: 768px) {
  .trust-stat-separator { display: block; }
}


/* ==========================================================================
   33. FAQ ACCORDION
   ========================================================================== */

.accordion {
  width: 100%;
}

.accordion-item {
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  margin-bottom: 0.5rem;
  overflow: hidden;
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  font-weight: 500;
  font-size: 0.875rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background-color 0.2s ease;
}

.accordion-trigger:hover {
  background-color: #f9fafb;
}

.accordion-content {
  overflow: hidden;
  transition: all 0.3s ease;
}

.accordion-content-inner {
  padding: 0 1.25rem 1rem;
  font-size: 0.875rem;
  color: #4b5563;
  line-height: 1.625;
}

.accordion-chevron {
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.accordion-item.open .accordion-chevron {
  transform: rotate(180deg);
}


/* ==========================================================================
   34. TESTIMONIALS CAROUSEL
   ========================================================================== */

.testimonials-carousel {
  width: 100%;
}

.testimonials-scroll-container {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  gap: 1rem;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.testimonials-scroll-container::-webkit-scrollbar {
  display: none;
}

@media (min-width: 768px) {
  .testimonials-scroll-container {
    overflow: hidden;
    gap: 0;
    padding-bottom: 0;
  }
}

.testimonial-slide {
  scroll-snap-align: center;
  scroll-snap-stop: always;
  flex-shrink: 0;
  width: 85%;
}

@media (min-width: 640px) {
  .testimonial-slide { width: 70%; }
}

@media (min-width: 768px) {
  .testimonial-slide { width: 100%; padding: 0 0.5rem; }
}

/* Testimonial card */
.testimonial-card {
  height: 100%;
  transition: all 0.3s ease;
  border: 1px solid #f3f4f6;
  position: relative;
  overflow: hidden;
  background: white;
  border-radius: 0.75rem;
}

.testimonial-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Gold accent line at top of testimonial card */
.testimonial-card-accent {
  height: 4px;
  background: linear-gradient(to right, #D4A843, #2E3092);
}

.testimonial-card-content {
  padding: 1.5rem;
}

.testimonial-stars {
  display: flex;
  gap: 0.125rem;
  margin-bottom: 0.75rem;
}

.testimonial-star-filled {
  fill: #D4A843;
  color: #D4A843;
  width: 1rem;
  height: 1rem;
}

.testimonial-star-empty {
  fill: #e5e7eb;
  color: #e5e7eb;
  width: 1rem;
  height: 1rem;
}

.testimonial-text {
  color: #374151;
  font-size: 0.875rem;
  line-height: 1.625;
  margin-bottom: 1rem;
}

.testimonial-person {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.testimonial-person-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-person-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background-color: rgba(46, 48, 146, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-person-name {
  font-weight: 600;
  color: #111827;
  font-size: 0.875rem;
}

/* Carousel navigation dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.carousel-dot {
  height: 0.75rem;
  border-radius: 9999px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.carousel-dot.active {
  background-color: #D4A843;
  width: 2rem;
}

.carousel-dot:not(.active) {
  background-color: #d1d5db;
  width: 0.75rem;
}

.carousel-dot:not(.active):hover {
  background-color: #9ca3af;
}


/* ==========================================================================
   35. CONTACT FORM
   ========================================================================== */

.contact-form-section {
  position: relative;
  overflow: hidden;
}

/* Floating label input */
.floating-label-group {
  position: relative;
}

.floating-label {
  position: absolute;
  transition: all 0.2s ease;
  pointer-events: none;
  z-index: 10;
}

.floating-label.active {
  font-size: 0.75rem;
  font-weight: 500;
  top: -0.625rem;
  inset-inline-start: 0.75rem;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 0 0.25rem;
  color: #2E3092;
}

.floating-label:not(.active) {
  font-size: 0.875rem;
  color: #6b7280;
  top: 0.875rem;
  inset-inline-start: 1rem;
}

.floating-label.error {
  color: #ef4444;
}

.floating-input {
  height: 3rem;
  padding-top: 1rem;
  padding-bottom: 0.25rem;
  transition: border-color 0.2s ease;
  width: 100%;
  border-radius: 0.375rem;
  border: 1px solid #e5e7eb;
  padding-left: 1rem;
  padding-right: 2.5rem;
  font-size: 0.875rem;
}

.floating-input:focus {
  outline: none;
  border-color: #2E3092;
  box-shadow: 0 0 0 2px rgba(46, 48, 146, 0.1);
}

.floating-input.error {
  border-color: #f87171;
  box-shadow: 0 0 0 2px #fee2e2;
}

.floating-input.valid {
  border-color: #2E3092;
  box-shadow: 0 0 0 2px rgba(46, 48, 146, 0.1);
}

/* Textarea */
.floating-textarea {
  padding-top: 1rem;
  padding-bottom: 0.25rem;
  transition: border-color 0.2s ease;
  width: 100%;
  border-radius: 0.375rem;
  border: 1px solid #e5e7eb;
  padding-left: 1rem;
  padding-right: 1rem;
  font-size: 0.875rem;
  resize: none;
  min-height: 6rem;
}

.floating-textarea:focus {
  outline: none;
  border-color: #2E3092;
  box-shadow: 0 0 0 2px rgba(46, 48, 146, 0.1);
}

/* Form error message */
.form-error {
  color: #ef4444;
  font-size: 0.75rem;
  margin-top: 0.375rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* Form progress bar */
.form-progress {
  height: 0.375rem;
  border-radius: 9999px;
  background: #e5e7eb;
  overflow: hidden;
}

.form-progress-fill {
  height: 100%;
  border-radius: 9999px;
  transition: width 0.3s ease;
  background: linear-gradient(90deg, #2E3092, #D4A843);
}

/* Contact info strip cards */
.contact-info-strip {
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  text-align: center;
  transition: all 0.3s ease;
  border-inline-start: 3px solid #D4A843;
}

.contact-info-strip:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transform: scale(1.02);
}

/* Select component */
.contact-select {
  width: 100%;
  height: 3rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.375rem;
  padding: 0 2.5rem 0 1rem;
  font-size: 0.875rem;
  background: white;
  appearance: none;
  cursor: pointer;
}

.contact-select:focus {
  outline: none;
  border-color: #2E3092;
  box-shadow: 0 0 0 2px rgba(46, 48, 146, 0.1);
}


/* ==========================================================================
   36. WHATSAPP BUTTON
   ========================================================================== */

.whatsapp-button {
  position: fixed;
  bottom: 1.5rem;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #25D366;
  color: white;
  border-radius: 9999px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  padding: 0.875rem 1.25rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.whatsapp-button:hover {
  background-color: #20BD5A;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  transform: scale(1.05);
}

.whatsapp-button-label {
  font-weight: 600;
  font-size: 0.875rem;
}

@media (max-width: 639px) {
  .whatsapp-button-label {
    display: none;
  }
}

/* Tooltip */
.whatsapp-tooltip {
  position: absolute;
  bottom: 100%;
  margin-bottom: 0.5rem;
  background: #0f172a;
  color: white;
  font-size: 0.75rem;
  padding: 0.375rem 0.75rem;
  border-radius: 0.5rem;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.whatsapp-button:hover .whatsapp-tooltip {
  opacity: 1;
}

/* RTL/LTR positioning */
.whatsapp-button.ltr {
  right: 1.5rem;
}

.whatsapp-button.rtl {
  left: 1.5rem;
}


/* ==========================================================================
   37. SCROLL TO TOP BUTTON
   ========================================================================== */

.scroll-to-top {
  position: fixed;
  bottom: 6rem;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  background: none;
  border: none;
  cursor: pointer;
}

.scroll-to-top:hover {
  transform: scale(1.1);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.scroll-to-top.ltr {
  right: 1.5rem;
}

.scroll-to-top.rtl {
  left: 1.5rem;
}

.scroll-to-top-inner {
  position: relative;
  border-radius: 9999px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.scroll-to-top-progress {
  position: absolute;
  transform: rotate(-90deg);
}


/* ==========================================================================
   38. READING PROGRESS BAR
   ========================================================================== */

.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  height: 3px;
}

.reading-progress-fill {
  height: 100%;
  transition: width 0.15s ease-out;
  background: linear-gradient(90deg, #2E3092, #D4A843, #2E3092);
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
}


/* ==========================================================================
   39. COOKIE CONSENT
   ========================================================================== */

.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 1rem;
}

.cookie-consent-card {
  max-width: 896px;
  margin: 0 auto;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 1px solid #e5e7eb;
  padding: 1rem;
}

@media (min-width: 768px) {
  .cookie-consent-card { padding: 1.5rem; }
}

.cookie-consent-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

@media (min-width: 768px) {
  .cookie-consent-inner {
    flex-direction: row;
    align-items: center;
  }
}

.cookie-consent-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(46, 48, 146, 0.08);
}

.cookie-consent-content {
  flex: 1;
  min-width: 0;
}

.cookie-consent-title {
  font-weight: 700;
  color: #111827;
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.cookie-consent-text {
  font-size: 0.75rem;
  color: #6b7280;
  line-height: 1.625;
}

.cookie-consent-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.cookie-consent-accept {
  background-color: #2E3092;
  color: white;
  font-weight: 600;
  height: 2.25rem;
  padding: 0 1.25rem;
  font-size: 0.75rem;
  border-radius: 0.375rem;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.cookie-consent-accept:hover {
  background-color: #17205F;
}

.cookie-consent-decline {
  color: #6b7280;
  font-weight: 500;
  height: 2.25rem;
  padding: 0 1rem;
  font-size: 0.75rem;
  border-radius: 0.375rem;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.cookie-consent-decline:hover {
  color: #374151;
}


/* ==========================================================================
   40. NEWSLETTER SECTION
   ========================================================================== */

.newsletter-section {
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .newsletter-section { padding: 6rem 0; }
}

.newsletter-card {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
}

.newsletter-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #2E3092, #17205F, #081033, #2E3092);
  background-size: 400% 400%;
  animation: gradientShift 8s ease-in-out infinite;
}

.newsletter-decorative-circle {
  position: absolute;
  border-radius: 9999px;
  filter: blur(48px);
}

.newsletter-content {
  position: relative;
  padding: 2rem;
}

@media (min-width: 768px) {
  .newsletter-content { padding: 3rem; }
}

.newsletter-form-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 0.75rem;
  padding: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

@media (min-width: 640px) {
  .newsletter-form-wrapper { flex-direction: row; }
}

.newsletter-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  height: 2.75rem;
  padding: 0 1rem;
  border-radius: 0.375rem;
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-input:focus {
  outline: none;
  border-color: #D4A843;
  box-shadow: 0 0 0 2px rgba(212, 168, 67, 0.2);
}

.newsletter-submit {
  background-color: #D4A843;
  color: white;
  font-weight: 600;
  padding: 0 1.5rem;
  height: 2.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
  border-radius: 0.375rem;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.newsletter-submit:hover {
  background-color: #c49a3a;
}

.newsletter-trust-text {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  text-align: center;
  margin-top: 0.75rem;
}


/* ==========================================================================
   41. SECTION UTILITY CLASSES
   ========================================================================== */

.section-padding {
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .section-padding { padding: 6rem 0; }
}

.section-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .section-content { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
  .section-content { padding: 0 2rem; }
}

/* Section title accent line */
.section-accent-line {
  width: 6rem;
  height: 4px;
  background-color: #D4A843;
  margin: 0 auto;
  border-radius: 9999px;
}

/* Section background variants */
.bg-section-white     { background-color: #ffffff; }
.bg-section-gray      { background-color: #f9fafb; }
.bg-section-light-green { background-color: #F0F7F4; }
.bg-section-cream     { background-color: #FDF8EF; }
.bg-section-cream-alt { background-color: #fdf8ed; }


/* ==========================================================================
   42. BUTTON STYLES
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  border-radius: 0.375rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.875rem;
}

.btn-primary {
  background-color: #2E3092;
  color: white;
}

.btn-primary:hover {
  background-color: #17205F;
}

.btn-gold {
  background-color: #D4A843;
  color: white;
}

.btn-gold:hover {
  background-color: #c49a3a;
}

.btn-outline {
  background: transparent;
  border: 1px solid #e5e7eb;
  color: inherit;
}

.btn-outline:hover {
  background-color: #f9fafb;
}

.btn-ghost {
  background: transparent;
  color: inherit;
}

.btn-ghost:hover {
  background-color: #f9fafb;
}

.btn-sm { height: 2rem;   padding: 0 0.75rem; font-size: 0.75rem; }
.btn-md { height: 2.25rem; padding: 0 1rem; }
.btn-lg { height: 3rem;   padding: 0 2rem; font-size: 1rem; }

.btn-full { width: 100%; }


/* ==========================================================================
   43. INPUT / FORM BASE STYLES
   ========================================================================== */

.input {
  width: 100%;
  height: 2.5rem;
  padding: 0 0.75rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  transition: border-color 0.2s ease;
  background: white;
}

.input:focus {
  outline: none;
  border-color: #2E3092;
  box-shadow: 0 0 0 2px rgba(46, 48, 146, 0.1);
}

.textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  transition: border-color 0.2s ease;
  background: white;
  resize: vertical;
  min-height: 5rem;
}

.textarea:focus {
  outline: none;
  border-color: #2E3092;
  box-shadow: 0 0 0 2px rgba(46, 48, 146, 0.1);
}


/* ==========================================================================
   44. MISC UTILITY CLASSES (from Tailwind)
   ========================================================================== */

.pointer-events-none { pointer-events: none; }
.cursor-pointer      { cursor: pointer; }
.mix-blend-overlay   { mix-blend-mode: overlay; }
.object-cover        { object-fit: cover; }
.object-center       { object-position: center; }
.resize-none         { resize: none; }
.appearance-none     { appearance: none; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Transform utilities */
.rotate-180  { transform: rotate(180deg); }
.scale-110   { transform: scale(1.1); }
.scale-125   { transform: scale(1.25); }
.scale-\[1\.02\] { transform: scale(1.02); }
.hover\:scale-110:hover { transform: scale(1.1); }
.hover\:scale-125:hover { transform: scale(1.25); }
.hover\:scale-\[1\.02\]:hover { transform: scale(1.02); }

.-translate-x-1\/2 { transform: translateX(-50%); }
.-translate-y-1\/2 { transform: translateY(-50%); }
.-translate-y-0\.5 { transform: translateY(-0.125rem); }

/* Transition specific properties */
.transition-\[stroke-dashoffset\] { transition-property: stroke-dashoffset; transition-duration: 150ms; transition-timing-function: ease-out; }
.transition-\[width\] { transition-property: width; transition-duration: 150ms; transition-timing-function: ease-out; }

/* Will change */
.will-change-transform { will-change: transform; }

/* Snap scroll */
.snap-x { scroll-snap-type: x mandatory; }
.snap-center { scroll-snap-align: center; }
.snap-always { scroll-snap-stop: always; }

/* Overflow scroll padding */
.scroll-p-0 { scroll-padding: 0 1rem; }

/* Col span */
.col-span-2 { grid-column: span 2; }

/* Inline */
.inline { display: inline; }
.align-super { vertical-align: super; }
.align-middle { vertical-align: middle; }

/* Fill utilities for SVG */
.fill-\[\#D4A843\] { fill: #D4A843; }
.fill-gray-200     { fill: #e5e7eb; }
.fill-none         { fill: none; }

/* Stroke utilities for SVG */
.stroke-current { stroke: currentColor; }

/* Background gradient utilities */
.bg-gradient-to-b  { background-image: linear-gradient(to bottom, var(--tw-gradient-stops)); }
.bg-gradient-to-r  { background-image: linear-gradient(to right, var(--tw-gradient-stops)); }
.bg-gradient-to-bl { background-image: linear-gradient(to bottom left, var(--tw-gradient-stops)); }
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-stops)); }

.from-\[\#1B6B4A\]\/5 { --tw-gradient-from: rgba(46, 48, 146, 0.05); }
.from-\[\#1B6B4A\]\/10 { --tw-gradient-from: rgba(46, 48, 146, 0.10); }
.to-\[\#1B6B4A\]\/10 { --tw-gradient-to: rgba(46, 48, 146, 0.10); }
.from-\[\#D4A843\]\/5 { --tw-gradient-from: rgba(212, 168, 67, 0.05); }
.to-\[\#D4A843\]\/10 { --tw-gradient-to: rgba(212, 168, 67, 0.10); }


/* ==========================================================================
   45. RESPONSIVE BREAKPOINT OVERRIDES
   ========================================================================== */

/* sm: 640px */
@media (min-width: 640px) {
  .sm\:inline { display: inline; }
  .sm\:hidden { display: none; }
  .sm\:inline-flex { display: inline-flex; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sm\:flex-row { flex-direction: row; }
  .sm\:w-\[70\%\] { width: 70%; }
  .sm\:w-auto { width: auto; }
  .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
  .sm\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .sm\:gap-3 { gap: 0.75rem; }
  .sm\:gap-4 { gap: 1rem; }
  .sm\:text-4xl { font-size: 2.25rem; }
  .sm\:pt-32 { padding-top: 8rem; }
  .sm\:pb-28 { padding-bottom: 7rem; }
}

/* md: 768px */
@media (min-width: 768px) {
  .md\:inline { display: inline; }
  .md\:hidden { display: none; }
  .md\:block { display: block; }
  .md\:flex-row { flex-direction: row; }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md\:order-1 { order: 1; }
  .md\:order-2 { order: 2; }
  .md\:order-3 { order: 3; }
  .md\:w-full { width: 100%; }
  .md\:h-\[50px\] { height: 50px; }
  .md\:h-\[60px\] { height: 60px; }
  .md\:h-80 { height: 20rem; }
  .md\:p-6 { padding: 1.5rem; }
  .md\:p-8 { padding: 2rem; }
  .md\:p-12 { padding: 3rem; }
  .md\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
  .md\:py-0 { padding-top: 0; padding-bottom: 0; }
  .md\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
  .md\:py-4 { padding-top: 1rem; padding-bottom: 1rem; }
  .md\:text-start { text-align: start; }
  .md\:text-3xl { font-size: 1.875rem; }
  .md\:text-4xl { font-size: 2.25rem; }
  .md\:text-base { font-size: 1rem; }
  .md\:text-lg { font-size: 1.125rem; }
  .md\:text-xl { font-size: 1.25rem; }
  .md\:pt-32 { padding-top: 8rem; }
  .md\:pb-28 { padding-bottom: 7rem; }
  .md\:gap-0 { gap: 0; }
  .md\:mx-4 { margin-left: 1rem; margin-right: 1rem; }
  .md\:items-center { align-items: center; }
  .md\:overflow-hidden { overflow: hidden; }
  .md\:pb-0 { padding-bottom: 0; }
  .md\:w-auto { width: auto; }
  .md\:gap-12 { gap: 3rem; }
  .md\:col-span-2 { grid-column: span 2; }
}

/* lg: 1024px */
@media (min-width: 1024px) {
  .lg\:inline { display: inline; }
  .lg\:hidden { display: none; }
  .lg\:flex { display: flex; }
  .lg\:block { display: block; }
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:col-span-1 { grid-column: span 1; }
  .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .lg\:py-12 { padding-top: 3rem; padding-bottom: 3rem; }
  .lg\:py-16 { padding-top: 4rem; padding-bottom: 4rem; }
  .lg\:gap-12 { gap: 3rem; }
  .lg\:items-start { align-items: flex-start; }
  .lg\:text-6xl { font-size: 3.75rem; }
}

/* xl: 1280px */
@media (min-width: 1280px) {
  .xl\:max-w-7xl { max-width: 1280px; }
}


/* ==========================================================================
   46. DARK MODE OVERRIDES
   ========================================================================== */

/* Dark mode: Background overrides */
.dark .bg-white {
  background-color: #0f172a !important;
}

.dark .bg-gray-50 {
  background-color: #1e293b !important;
}

.dark .bg-gray-100 {
  background-color: #1e293b !important;
}

.dark .bg-\[\#F0F7F4\] {
  background-color: rgba(30, 41, 59, 0.5) !important;
}

.dark .bg-\[\#FDF8EF\] {
  background-color: rgba(30, 41, 59, 0.3) !important;
}

/* Dark mode: Text color overrides */
.dark .text-gray-900 {
  color: #e2e8f0 !important;
}

.dark .text-gray-700 {
  color: #cbd5e1 !important;
}

.dark .text-gray-600 {
  color: #94a3b8 !important;
}

.dark .text-gray-500 {
  color: #94a3b8 !important;
}

.dark .text-gray-400 {
  color: #64748b !important;
}

/* Dark mode: Border overrides */
.dark .border-gray-100 {
  border-color: #334155 !important;
}

.dark .border-gray-200 {
  border-color: #334155 !important;
}

.dark .border-gray-300 {
  border-color: #475569 !important;
}

/* Dark mode: Header */
.dark header.site-header.scrolled {
  background-color: rgba(15, 23, 42, 0.95) !important;
}

.dark header.site-header:not(.scrolled) {
  background-color: rgba(15, 23, 42, 0.7) !important;
}

.dark .header-nav-link {
  color: #cbd5e1;
}

.dark .header-nav-link:hover,
.dark .header-nav-link.active {
  color: #D4A843;
  background-color: rgba(46, 48, 146, 0.25);
}

.dark .header-theme-toggle {
  border-color: #475569;
}

.dark .header-theme-toggle:hover {
  border-color: #D4A843;
}

.dark .header-lang-toggle {
  border-color: #475569;
}

.dark .header-lang-toggle:hover {
  border-color: #D4A843;
}

.dark .header-mobile-toggle:hover {
  background-color: #334155;
}

/* Dark mode: Mobile drawer */
.dark .mobile-drawer {
  background-color: #0f172a;
  color: #e2e8f0;
}

.dark .mobile-drawer-header {
  border-color: #334155;
}

.dark .mobile-nav-link:not(.active) {
  color: #cbd5e1;
}

.dark .mobile-nav-link:hover {
  background-color: #1e293b;
}

.dark .mobile-dropdown-header:hover {
  background-color: #1e293b;
}

/* Dark mode: Card overrides */
.dark .card {
  background-color: #1e293b;
  border-color: #334155;
  color: #e2e8f0;
}

.dark .card-title {
  color: #e2e8f0;
}

.dark .card-description {
  color: #94a3b8;
}

/* Dark mode: Footer stays dark */
.dark footer.site-footer.bg-slate-900 {
  background-color: #0f172a !important;
}

/* Dark mode: Glass morphism */
.dark .glass {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Dark mode: Green text stays readable */
.dark .text-\[\#1B6B4A\] {
  color: #60a5fa !important;
}

/* Dark mode: Green background stays visible */
.dark .bg-\[\#1B6B4A\] {
  background-color: #2E3092 !important;
}

.dark .bg-\[\#1B6B4A\]\/5 {
  background-color: rgba(46, 48, 146, 0.2) !important;
}

.dark .hover\:bg-\[\#1B6B4A\]\/5:hover {
  background-color: rgba(46, 48, 146, 0.2) !important;
}

/* Dark mode: Skeleton/shimmer */
.dark .skeleton {
  background: linear-gradient(
    90deg,
    #1e293b 25%,
    #334155 37%,
    #1e293b 63%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
}

/* Dark mode: Gradient text */
.dark .gradient-text-green {
  background: linear-gradient(135deg, #60a5fa, #3F51B5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Dark mode: Image overlays (darken less) */
.dark .bg-black\/40 {
  background-color: rgba(0, 0, 0, 0.6) !important;
}

.dark .bg-black\/50 {
  background-color: rgba(0, 0, 0, 0.7) !important;
}

.dark .bg-black\/60 {
  background-color: rgba(0, 0, 0, 0.75) !important;
}

/* Dark mode: Scrollbar */
.dark ::-webkit-scrollbar-track {
  background: #1e293b;
}

.dark ::-webkit-scrollbar-thumb {
  background: #2E3092;
  border-color: #1e293b;
}

.dark ::-webkit-scrollbar-thumb:hover {
  background: #17205F;
}

.dark * {
  scrollbar-color: #2E3092 #1e293b;
}

/* Dark mode: Shadow adjustments */
.dark .shadow-md {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -2px rgba(0, 0, 0, 0.2) !important;
}

.dark .shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -4px rgba(0, 0, 0, 0.3) !important;
}

.dark .shadow-xl {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.3) !important;
}

/* Dark mode: Form inputs */
.dark .input {
  background-color: #1e293b;
  border-color: #334155;
  color: #e2e8f0;
}

.dark .input:focus {
  border-color: #2E3092;
  box-shadow: 0 0 0 2px rgba(46, 48, 146, 0.35);
}

.dark .textarea {
  background-color: #1e293b;
  border-color: #334155;
  color: #e2e8f0;
}

.dark .textarea:focus {
  border-color: #2E3092;
  box-shadow: 0 0 0 2px rgba(46, 48, 146, 0.35);
}

/* Dark mode: Contact section backgrounds */
.dark .bg-\[\#f0f7f4\] {
  background-color: rgba(30, 41, 59, 0.5) !important;
}

.dark .bg-\[\#fdf8ed\] {
  background-color: rgba(30, 41, 59, 0.3) !important;
}

/* Dark mode: Section backgrounds */
.dark .bg-section-gray {
  background-color: #1e293b;
}

.dark .bg-section-light-green {
  background-color: rgba(30, 41, 59, 0.5);
}

.dark .bg-section-cream,
.dark .bg-section-cream-alt {
  background-color: rgba(30, 41, 59, 0.3);
}

/* Dark mode: Badge */
.dark .badge-outline {
  border-color: rgba(46, 48, 146, 0.45);
  color: #60a5fa;
  background-color: rgba(46, 48, 146, 0.2);
}

/* Dark mode: Cookie consent */
.dark .cookie-consent-card {
  background-color: #1e293b;
  border-color: #334155;
}

.dark .cookie-consent-title {
  color: #e2e8f0;
}

.dark .cookie-consent-text {
  color: #94a3b8;
}

/* Dark mode: Hover states for mobile drawer buttons */
.dark .mobile-drawer-bottom .mobile-theme-toggle,
.dark .mobile-drawer-bottom .mobile-lang-toggle {
  border-color: #475569;
  color: #2E3092;
}

.dark .mobile-drawer-bottom .mobile-theme-toggle:hover,
.dark .mobile-drawer-bottom .mobile-lang-toggle:hover {
  background-color: #334155;
}

/* Dark mode: Dropdown menu */
.dark .dropdown-menu {
  background-color: #1e293b;
  border-color: #334155;
}

.dark .dropdown-menu-item:hover {
  background-color: #0f172a;
}

.dark .dropdown-menu-separator {
  background-color: #334155;
}

/* Dark mode: Section accent */
.dark .section-accent-line {
  background-color: #2E3092;
}

/* Dark mode: Trust stat values */
.dark .trust-stat-value {
  color: #D4A843;
}

/* Dark mode: Why-us card icon */
.dark .why-us-card-icon {
  background-color: rgba(46, 48, 146, 0.25);
}

/* Dark mode: Contact info strip */
.dark .contact-info-strip {
  background-color: #1e293b;
}

/* Dark mode: Floating label */
.dark .floating-label.active {
  background: rgba(30, 41, 59, 0.8);
  color: #60a5fa;
}

.dark .floating-label:not(.active) {
  color: #94a3b8;
}

.dark .floating-input {
  background-color: #1e293b;
  border-color: #334155;
  color: #e2e8f0;
}

.dark .floating-input:focus {
  border-color: #2E3092;
  box-shadow: 0 0 0 2px rgba(46, 48, 146, 0.35);
}

.dark .floating-textarea {
  background-color: #1e293b;
  border-color: #334155;
  color: #e2e8f0;
}

/* Dark mode: ScrollToTop inner */
.dark .scroll-to-top-inner {
  background-color: #1e293b;
}

/* Dark mode: Link hover in footer */
.dark .mobile-nav-link.active {
  color: #D4A843;
}

/* Dark mode: Program card active text */
.dark .program-card .text-\[\#1B6B4A\] {
  color: #60a5fa !important;
}

/* Dark mode: Button ghost */
.dark .btn-ghost:hover {
  background-color: rgba(255, 255, 255, 0.15);
}


/* ==========================================================================
   47. WORDPRESS-SPECIFIC ADJUSTMENTS
   ========================================================================== */

/* Ensure WordPress admin bar doesn't overlap header */
body.admin-bar .site-header {
  top: 32px;
}

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

/* WordPress alignment classes */
.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.alignleft {
  float: left;
  margin-right: 1.5rem;
  margin-bottom: 1rem;
}

.alignright {
  float: right;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

/* WordPress caption */
.wp-caption {
  max-width: 100%;
}

.wp-caption-text {
  font-size: 0.875rem;
  color: #6b7280;
  text-align: center;
  margin-top: 0.5rem;
}

/* WordPress gallery */
.gallery {
  display: grid;
  gap: 0.5rem;
}

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

/* Screen reader text (WordPress convention) */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* WordPress pagination */
.nav-links {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 2rem;
}

.nav-links .page-numbers {
  padding: 0.5rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.375rem;
  transition: all 0.2s ease;
}

.nav-links .page-numbers:hover {
  background-color: rgba(46, 48, 146, 0.05);
  border-color: #2E3092;
  color: #2E3092;
}

.nav-links .page-numbers.current {
  background-color: #2E3092;
  color: white;
  border-color: #2E3092;
}

/* WordPress sticky post */
.sticky {
  border-inline-start: 4px solid #D4A843;
  padding-inline-start: 1rem;
}

/* Post content typography */
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  color: #2E3092;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.entry-content p {
  margin-bottom: 1rem;
  line-height: 1.75;
}

.entry-content ul,
.entry-content ol {
  margin-bottom: 1rem;
  padding-inline-start: 1.5rem;
}

.entry-content ul {
  list-style: disc;
}

.entry-content ol {
  list-style: decimal;
}

.entry-content li {
  margin-bottom: 0.5rem;
}

.entry-content a {
  color: #2E3092;
  text-decoration: underline;
}

.entry-content a:hover {
  color: #17205F;
}

.entry-content blockquote {
  border-inline-start: 4px solid #D4A843;
  padding-inline-start: 1rem;
  margin: 1.5rem 0;
  color: #4b5563;
  font-style: italic;
}

.entry-content img {
  border-radius: 0.5rem;
  margin: 1.5rem 0;
}

.entry-content table {
  width: 100%;
  margin: 1.5rem 0;
}

.entry-content th,
.entry-content td {
  padding: 0.75rem;
  border: 1px solid #e5e7eb;
  text-align: start;
}

.entry-content th {
  background-color: #F4F8FF;
  font-weight: 600;
  color: #2E3092;
}


/* ==========================================================================
   48. PRINT STYLES
   ========================================================================== */

@media print {
  .site-header,
  .site-footer,
  .whatsapp-button,
  .scroll-to-top,
  .reading-progress,
  .cookie-consent {
    display: none !important;
  }

  body {
    background: white;
    color: black;
    font-size: 12pt;
  }

  a {
    color: black;
    text-decoration: underline;
  }

  .hero-section {
    min-height: auto;
    background: none !important;
  }

  .card {
    box-shadow: none;
    border: 1px solid #ccc;
    break-inside: avoid;
  }
}



/* ==========================================================================
   49. PROFESSIONAL ENHANCEMENT LAYER
   Al-Bayan Arabic Institute — UI Polish, Accessibility, RTL, CTA Motion
   ضع هذا القسم في نهاية ملف main.css
   ========================================================================== */

:root {
  --color-primary-rgb: 46, 48, 146;
  --color-primary-light-rgb: 63, 81, 181;
  --color-primary-dark-rgb: 23, 32, 95;

  --color-gold-rgb: 212, 168, 67;
  --color-gold-light-rgb: 232, 200, 104;
  --color-gold-soft-rgb: 243, 210, 122;

  --ring-rgb: 46, 48, 146;
  --accent-rgb: 212, 168, 67;

  --cta-yellow: #F3D27A;
  --cta-yellow-rgb: 243, 210, 122;
  --cta-gold: #D4A843;
  --cta-gold-hover: #C99B37;
  --cta-green-offset: #17205F;

  --shadow-brand-sm: 0 4px 14px rgba(var(--color-primary-rgb), 0.10);
  --shadow-brand-md: 0 10px 28px rgba(var(--color-primary-rgb), 0.16);
  --shadow-brand-lg: 0 18px 50px rgba(var(--color-primary-rgb), 0.22);

  --shadow-gold-sm: 0 4px 14px rgba(var(--color-gold-rgb), 0.16);
  --shadow-gold-md: 0 10px 28px rgba(var(--color-gold-rgb), 0.22);
  --shadow-gold-lg: 0 18px 50px rgba(var(--color-gold-rgb), 0.28);

  --shadow-soft-card: 0 18px 48px rgba(15, 23, 42, 0.08);
  --shadow-soft-card-hover: 0 24px 70px rgba(15, 23, 42, 0.13);

  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);

  --transition-fast: 150ms var(--ease-standard);
  --transition-base: 220ms var(--ease-standard);
  --transition-slow: 420ms var(--ease-smooth);

  --site-header-height: 4rem;
  --safe-section-y: clamp(4rem, 7vw, 6.5rem);
  --container-padding: clamp(1rem, 3vw, 2rem);
}

.dark {
  --ring-rgb: 46, 48, 146;
  --shadow-soft-card: 0 18px 48px rgba(0, 0, 0, 0.30);
  --shadow-soft-card-hover: 0 24px 70px rgba(0, 0, 0, 0.42);
}

* {
  outline-color: rgba(var(--ring-rgb), 0.50);
}

html {
  scroll-padding-top: calc(var(--site-header-height) + 1.25rem);
}

body {
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

img,
video {
  height: auto;
}

:where(a, button, input, textarea, select, summary, [tabindex]):focus-visible {
  outline: 2px solid rgba(var(--ring-rgb), 0.78);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(var(--ring-rgb), 0.14);
}

:where(button, input, textarea, select):disabled,
[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.58;
}

::selection {
  background-color: rgba(var(--color-gold-rgb), 0.28);
  color: var(--color-primary-dark);
}

.dark ::selection {
  background-color: rgba(var(--color-gold-rgb), 0.28);
  color: #ffffff;
}

.me-1 {
  margin-inline-start: 0 !important;
  margin-inline-end: 0.25rem !important;
}

.me-1\.5 {
  margin-inline-start: 0 !important;
  margin-inline-end: 0.375rem !important;
}

.me-2 {
  margin-inline-start: 0 !important;
  margin-inline-end: 0.5rem !important;
}

.ms-0 { margin-inline-start: 0; }
.ms-3 { margin-inline-start: 0.75rem; }
.ms-4 { margin-inline-start: 1rem; }

.me-0 { margin-inline-end: 0; }
.me-3 { margin-inline-end: 0.75rem; }
.me-4 { margin-inline-end: 1rem; }

.ps-2 { padding-inline-start: 0.5rem; }
.ps-3 { padding-inline-start: 0.75rem; }
.ps-5 { padding-inline-start: 1.25rem; }
.ps-6 { padding-inline-start: 1.5rem; }

.pe-3 { padding-inline-end: 0.75rem; }
.pe-4 { padding-inline-end: 1rem; }
.pe-5 { padding-inline-end: 1.25rem; }
.pe-6 { padding-inline-end: 1.5rem; }

[dir="rtl"] .icon-auto-flip,
html[dir="rtl"] .icon-auto-flip {
  transform: scaleX(-1);
}

.w-28 { width: 7rem; }
.w-32 { width: 8rem; }
.w-40 { width: 10rem; }
.w-44 { width: 11rem; }
.w-56 { width: 14rem; }
.w-72 { width: 18rem; }
.w-80 { width: 20rem; }

.h-28 { height: 7rem; }
.h-32 { height: 8rem; }
.h-40 { height: 10rem; }
.h-44 { height: 11rem; }
.h-56 { height: 14rem; }
.h-72 { height: 18rem; }

.min-w-0 { min-width: 0; }
.min-w-32 { min-width: 8rem; }
.min-w-36 { min-width: 9rem; }
.min-w-40 { min-width: 10rem; }
.min-w-44 { min-width: 11rem; }
.min-w-48 { min-width: 12rem; }

.max-w-sm { max-width: 24rem; }
.max-w-md { max-width: 28rem; }

.top-2 { top: 0.5rem; }
.top-4 { top: 1rem; }
.top-6 { top: 1.5rem; }
.top-8 { top: 2rem; }
.top-10 { top: 2.5rem; }
.top-12 { top: 3rem; }

.right-2 { right: 0.5rem; }
.right-4 { right: 1rem; }
.right-6 { right: 1.5rem; }
.right-8 { right: 2rem; }
.right-10 { right: 2.5rem; }
.right-12 { right: 3rem; }
.right-20 { right: 5rem; }

.left-2 { left: 0.5rem; }
.left-4 { left: 1rem; }
.left-6 { left: 1.5rem; }
.left-8 { left: 2rem; }
.left-10 { left: 2.5rem; }
.left-12 { left: 3rem; }
.left-20 { left: 5rem; }

.bottom-2 { bottom: 0.5rem; }
.bottom-4 { bottom: 1rem; }
.bottom-6 { bottom: 1.5rem; }
.bottom-8 { bottom: 2rem; }
.bottom-10 { bottom: 2.5rem; }
.bottom-12 { bottom: 3rem; }
.bottom-20 { bottom: 5rem; }

.-top-8 { top: -2rem; }
.-right-24 { right: -6rem; }
.-bottom-28 { bottom: -7rem; }
.-left-20 { left: -5rem; }

.isolate { isolation: isolate; }
.basis-full { flex-basis: 100%; }
.basis-auto { flex-basis: auto; }

.place-items-center {
  place-items: center;
}

.rounded-3xl {
  border-radius: 1.5rem;
}

.opacity-5 { opacity: 0.05; }
.opacity-25 { opacity: 0.25; }
.opacity-35 { opacity: 0.35; }
.opacity-45 { opacity: 0.45; }
.opacity-70 { opacity: 0.70; }
.opacity-75 { opacity: 0.75; }
.opacity-85 { opacity: 0.85; }
.opacity-90 { opacity: 0.90; }
.opacity-95 { opacity: 0.95; }

.text-white\/70 { color: rgba(255, 255, 255, 0.70); }
.text-white\/75 { color: rgba(255, 255, 255, 0.75); }
.text-white\/80 { color: rgba(255, 255, 255, 0.80); }
.text-white\/85 { color: rgba(255, 255, 255, 0.85); }
.text-white\/90 { color: rgba(255, 255, 255, 0.90); }
.text-white\/95 { color: rgba(255, 255, 255, 0.95); }

.text-\[\#F3D27A\] { color: #F3D27A; }
.text-\[\#C99B37\] { color: #C99B37; }

.bg-\[\#D4A843\] { background-color: #D4A843; }
.bg-\[\#C99B37\] { background-color: #C99B37; }
.bg-\[\#F3D27A\] { background-color: #F3D27A; }

.bg-\[\#D4A843\]\/10 { background-color: rgba(212, 168, 67, 0.10); }
.bg-\[\#D4A843\]\/15 { background-color: rgba(212, 168, 67, 0.15); }
.bg-\[\#D4A843\]\/20 { background-color: rgba(212, 168, 67, 0.20); }
.bg-\[\#D4A843\]\/25 { background-color: rgba(212, 168, 67, 0.25); }
.bg-\[\#D4A843\]\/30 { background-color: rgba(212, 168, 67, 0.30); }
.bg-\[\#D4A843\]\/40 { background-color: rgba(212, 168, 67, 0.40); }
.bg-\[\#D4A843\]\/50 { background-color: rgba(212, 168, 67, 0.50); }

.bg-\[\#F3D27A\]\/10 { background-color: rgba(243, 210, 122, 0.10); }
.bg-\[\#F3D27A\]\/15 { background-color: rgba(243, 210, 122, 0.15); }
.bg-\[\#F3D27A\]\/20 { background-color: rgba(243, 210, 122, 0.20); }
.bg-\[\#F3D27A\]\/25 { background-color: rgba(243, 210, 122, 0.25); }

.bg-white\/5 { background-color: rgba(255, 255, 255, 0.05); }
.bg-white\/30 { background-color: rgba(255, 255, 255, 0.30); }
.bg-white\/40 { background-color: rgba(255, 255, 255, 0.40); }

.border-\[\#D4A843\]\/20 { border-color: rgba(212, 168, 67, 0.20); }
.border-\[\#D4A843\]\/30 { border-color: rgba(212, 168, 67, 0.30); }
.border-\[\#D4A843\]\/40 { border-color: rgba(212, 168, 67, 0.40); }
.border-\[\#D4A843\]\/50 { border-color: rgba(212, 168, 67, 0.50); }
.border-\[\#D4A843\]\/60 { border-color: rgba(212, 168, 67, 0.60); }
.border-\[\#F3D27A\]\/50 { border-color: rgba(243, 210, 122, 0.50); }

.shadow-\[\#D4A843\]\/15 {
  box-shadow: 0 10px 26px rgba(212, 168, 67, 0.15);
}

.shadow-\[\#D4A843\]\/20 {
  box-shadow: 0 12px 30px rgba(212, 168, 67, 0.20);
}

.shadow-\[\#D4A843\]\/25 {
  box-shadow: 0 14px 36px rgba(212, 168, 67, 0.25);
}

.shadow-\[\#D4A843\]\/30 {
  box-shadow: 0 18px 44px rgba(212, 168, 67, 0.30);
}

.blur-sm { filter: blur(4px); }
.blur-md { filter: blur(12px); }
.blur-lg { filter: blur(16px); }
.blur-xl { filter: blur(24px); }
.blur-2xl { filter: blur(40px); }
.blur-3xl { filter: blur(64px); }

.drop-shadow-sm {
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.15));
}

.drop-shadow-md {
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.16));
}

.drop-shadow-gold {
  filter: drop-shadow(0 4px 14px rgba(212, 168, 67, 0.35));
}

.translate-x-0 { transform: translateX(0); }
.translate-y-0 { transform: translateY(0); }
.translate-x-1 { transform: translateX(0.25rem); }
.-translate-x-1 { transform: translateX(-0.25rem); }
.translate-y-1 { transform: translateY(0.25rem); }
.-translate-y-1 { transform: translateY(-0.25rem); }

.hover\:-translate-y-0\.5:hover {
  transform: translateY(-0.125rem);
}

.hover\:-translate-y-1:hover {
  transform: translateY(-0.25rem);
}

.hover\:translate-x-1:hover {
  transform: translateX(0.25rem);
}

.hover\:-translate-x-1:hover {
  transform: translateX(-0.25rem);
}

.group:hover .group-hover\:-translate-x-1 {
  transform: translateX(-0.25rem);
}

.group:hover .group-hover\:translate-x-1 {
  transform: translateX(0.25rem);
}

.group:hover .group-hover\:scale-105 {
  transform: scale(1.05);
}

.group:hover .group-hover\:scale-110 {
  transform: scale(1.10);
}

.hover\:bg-\[\#C99B37\]:hover {
  background-color: #C99B37;
}

.hover\:bg-\[\#D4A843\]\/20:hover {
  background-color: rgba(212, 168, 67, 0.20);
}

.hover\:bg-\[\#D4A843\]\/25:hover {
  background-color: rgba(212, 168, 67, 0.25);
}

.hover\:bg-\[\#D4A843\]\/30:hover {
  background-color: rgba(212, 168, 67, 0.30);
}

.hover\:bg-white\/20:hover {
  background-color: rgba(255, 255, 255, 0.20);
}

.hover\:bg-white\/25:hover {
  background-color: rgba(255, 255, 255, 0.25);
}

.focus\:outline-none:focus,
.focus-visible\:outline-none:focus-visible {
  outline: none;
}

.focus-visible\:ring-2:focus-visible {
  box-shadow: 0 0 0 2px rgba(var(--ring-rgb), 0.70);
}

.focus-visible\:ring-white:focus-visible {
  box-shadow: 0 0 0 2px #ffffff;
}

.focus-visible\:ring-\[\#D4A843\]:focus-visible {
  box-shadow: 0 0 0 2px #D4A843;
}

.focus-visible\:ring-offset-2:focus-visible {
  outline-offset: 2px;
}

.focus-visible\:ring-offset-\[\#17205F\]:focus-visible {
  box-shadow:
    0 0 0 2px #17205F,
    0 0 0 4px rgba(255, 255, 255, 0.95);
}

.bg-gradient-to-b {
  background-image: linear-gradient(to bottom, var(--tw-gradient-from, transparent), var(--tw-gradient-to, transparent));
}

.bg-gradient-to-r {
  background-image: linear-gradient(to right, var(--tw-gradient-from, transparent), var(--tw-gradient-to, transparent));
}

.bg-gradient-to-bl {
  background-image: linear-gradient(to bottom left, var(--tw-gradient-from, transparent), var(--tw-gradient-to, transparent));
}

.bg-gradient-to-br {
  background-image: linear-gradient(to bottom right, var(--tw-gradient-from, transparent), var(--tw-gradient-to, transparent));
}

.from-\[\#1B6B4A\] {
  --tw-gradient-from: #2E3092;
}

.from-\[\#155a3d\] {
  --tw-gradient-from: #17205F;
}

.from-\[\#0f4a32\] {
  --tw-gradient-from: #081033;
}

.from-\[\#D4A843\] {
  --tw-gradient-from: #D4A843;
}

.to-\[\#1B6B4A\] {
  --tw-gradient-to: #2E3092;
}

.to-\[\#155a3d\] {
  --tw-gradient-to: #17205F;
}

.to-\[\#0f4a32\] {
  --tw-gradient-to: #081033;
}

.to-\[\#D4A843\] {
  --tw-gradient-to: #D4A843;
}

.to-\[\#C99B37\] {
  --tw-gradient-to: #C99B37;
}

.card,
.program-card,
.branch-card,
.why-us-card,
.testimonial-card,
.faq-item,
.contact-card {
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base),
    border-color var(--transition-base),
    background-color var(--transition-base);
}

.card:hover,
.program-card:hover,
.branch-card:hover,
.why-us-card:hover,
.testimonial-card:hover,
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft-card-hover);
}

.card:focus-within,
.program-card:focus-within,
.branch-card:focus-within,
.why-us-card:focus-within,
.testimonial-card:focus-within,
.contact-card:focus-within {
  box-shadow:
    var(--shadow-soft-card-hover),
    0 0 0 3px rgba(var(--ring-rgb), 0.12);
}

.card-glow::after {
  background:
    radial-gradient(
      circle at var(--glow-x, 50%) var(--glow-y, 50%),
      rgba(var(--color-gold-rgb), 0.14) 0%,
      rgba(var(--color-primary-rgb), 0.08) 38%,
      transparent 72%
    );
}

.btn,
.header-cta,
.mobile-drawer-bottom .cta-button,
.footer-newsletter-button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transform: translateY(0);
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base),
    background-color var(--transition-base),
    border-color var(--transition-base),
    color var(--transition-base);
}

.btn::before,
.header-cta::before,
.mobile-drawer-bottom .cta-button::before,
.footer-newsletter-button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      120deg,
      transparent 0%,
      rgba(255, 255, 255, 0.18) 45%,
      transparent 72%
    );
  transform: translateX(115%);
  transition: transform 700ms var(--ease-smooth);
}

.btn:hover::before,
.header-cta:hover::before,
.mobile-drawer-bottom .cta-button:hover::before,
.footer-newsletter-button:hover::before {
  transform: translateX(-115%);
}

.btn:hover,
.header-cta:hover,
.mobile-drawer-bottom .cta-button:hover,
.footer-newsletter-button:hover {
  transform: translateY(-2px);
}

.btn:active,
.header-cta:active,
.mobile-drawer-bottom .cta-button:active,
.footer-newsletter-button:active {
  transform: translateY(0) scale(0.98);
}

.btn-primary,
.header-cta {
  box-shadow: var(--shadow-brand-sm);
}

.btn-primary:hover,
.header-cta:hover {
  box-shadow: var(--shadow-brand-md);
}

.btn-gold,
.mobile-drawer-bottom .cta-button,
.footer-newsletter-button {
  background-color: var(--color-gold);
  box-shadow: var(--shadow-gold-sm);
}

.btn-gold:hover,
.mobile-drawer-bottom .cta-button:hover,
.footer-newsletter-button:hover {
  background-color: var(--color-gold-hover);
  box-shadow: var(--shadow-gold-md);
}

.btn-outline:hover {
  border-color: rgba(var(--color-primary-rgb), 0.40);
  background-color: rgba(var(--color-primary-rgb), 0.05);
  color: var(--color-primary);
}

.btn-ghost:hover {
  background-color: rgba(var(--color-primary-rgb), 0.06);
  color: var(--color-primary);
}

[data-wws-final-cta] p[data-en*="Our educational team"],
[data-wws-final-cta] .wws-final-cta-subtitle {
  color: var(--cta-yellow) !important;
  text-shadow: 0 2px 14px rgba(var(--cta-yellow-rgb), 0.30) !important;
}

[data-wws-final-cta] .wws-cta-button,
[data-wws-final-cta] [data-cta-button] {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  will-change: transform, box-shadow;
}

[data-wws-final-cta] .wws-cta-button::after,
[data-wws-final-cta] [data-cta-button]::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      120deg,
      transparent 0%,
      rgba(255, 255, 255, 0.18) 45%,
      transparent 72%
    );
  transform: translateX(120%);
  transition: transform 750ms var(--ease-smooth);
}

[data-wws-final-cta] .wws-cta-button:hover::after,
[data-wws-final-cta] .wws-cta-button:focus-visible::after,
[data-wws-final-cta] [data-cta-button]:hover::after,
[data-wws-final-cta] [data-cta-button]:focus-visible::after,
[data-wws-final-cta] .wws-cta-button.is-interactive::after,
[data-wws-final-cta] [data-cta-button].is-interactive::after {
  transform: translateX(-120%);
}

[data-wws-final-cta] .wws-cta-icon-shell {
  position: relative;
  display: inline-flex;
  width: 1.85rem;
  height: 1.85rem;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.16),
    0 8px 18px rgba(var(--color-gold-rgb), 0.16);
  transition:
    transform var(--transition-base),
    background-color var(--transition-base),
    box-shadow var(--transition-base);
}

[data-wws-final-cta] .wws-cta-icon-shell::before {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: inherit;
  border: 1px solid rgba(var(--cta-yellow-rgb), 0.55);
  opacity: 0.65;
  animation: wwsCtaIconPulse 2.25s ease-in-out infinite;
}

[data-wws-final-cta] .wws-cta-icon-shell::after {
  content: "";
  position: absolute;
  inset: -9px;
  border-radius: inherit;
  background: rgba(var(--cta-yellow-rgb), 0.16);
  opacity: 0;
  transform: scale(0.75);
  animation: wwsCtaSoftGlow 2.9s ease-in-out infinite;
}

[data-wws-final-cta] .wws-cta-icon,
[data-wws-final-cta] [data-cta-icon] {
  position: relative;
  z-index: 2;
  width: 1.08rem;
  height: 1.08rem;
  will-change: transform;
  transform-origin: center;
}

[data-wws-final-cta] [data-cta-icon="register"] {
  animation: wwsRegisterIconMove 1.7s ease-in-out infinite;
}

[data-wws-final-cta] [data-cta-icon="branch"] {
  animation: wwsBranchIconMove 1.65s ease-in-out infinite;
}

[data-wws-final-cta] .wws-cta-button:hover .wws-cta-icon-shell,
[data-wws-final-cta] .wws-cta-button:focus-visible .wws-cta-icon-shell,
[data-wws-final-cta] [data-cta-button]:hover .wws-cta-icon-shell,
[data-wws-final-cta] [data-cta-button]:focus-visible .wws-cta-icon-shell,
[data-wws-final-cta] .wws-cta-button.is-interactive .wws-cta-icon-shell,
[data-wws-final-cta] [data-cta-button].is-interactive .wws-cta-icon-shell {
  transform: scale(1.16) rotate(-4deg);
  background: rgba(255, 255, 255, 0.25);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.22),
    0 12px 28px rgba(var(--cta-yellow-rgb), 0.28);
}

[data-wws-final-cta] .wws-cta-button:hover [data-cta-icon="register"],
[data-wws-final-cta] .wws-cta-button:focus-visible [data-cta-icon="register"],
[data-wws-final-cta] [data-cta-button]:hover [data-cta-icon="register"],
[data-wws-final-cta] [data-cta-button]:focus-visible [data-cta-icon="register"],
[data-wws-final-cta] .wws-cta-button.is-interactive [data-cta-icon="register"],
[data-wws-final-cta] [data-cta-button].is-interactive [data-cta-icon="register"] {
  animation: wwsRegisterIconHover 0.48s ease-in-out infinite alternate;
}

[data-wws-final-cta] .wws-cta-button:hover [data-cta-icon="branch"],
[data-wws-final-cta] .wws-cta-button:focus-visible [data-cta-icon="branch"],
[data-wws-final-cta] [data-cta-button]:hover [data-cta-icon="branch"],
[data-wws-final-cta] [data-cta-button]:focus-visible [data-cta-icon="branch"],
[data-wws-final-cta] .wws-cta-button.is-interactive [data-cta-icon="branch"],
[data-wws-final-cta] [data-cta-button].is-interactive [data-cta-icon="branch"] {
  animation: wwsBranchIconHover 0.52s ease-in-out infinite alternate;
}

[data-wws-final-cta] .wws-cta-click-wave {
  position: absolute;
  width: 1rem;
  height: 1rem;
  border-radius: 9999px;
  background: rgba(var(--cta-yellow-rgb), 0.45);
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0);
  animation: wwsCtaClickWave 750ms ease-out forwards;
}

@keyframes wwsCtaIconPulse {
  0%, 100% {
    transform: scale(0.86);
    opacity: 0.35;
  }

  50% {
    transform: scale(1.16);
    opacity: 0.85;
  }
}

@keyframes wwsCtaSoftGlow {
  0%, 100% {
    transform: scale(0.75);
    opacity: 0;
  }

  50% {
    transform: scale(1.18);
    opacity: 0.56;
  }
}

@keyframes wwsRegisterIconMove {
  0%, 100% {
    transform: translateX(0) rotate(0deg);
  }

  50% {
    transform: translateX(-5px) rotate(-4deg);
  }
}

@keyframes wwsBranchIconMove {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }

  45% {
    transform: translateY(-5px) rotate(-5deg);
  }

  70% {
    transform: translateY(1px) rotate(3deg);
  }
}

@keyframes wwsRegisterIconHover {
  from {
    transform: translateX(0) scale(1) rotate(0deg);
  }

  to {
    transform: translateX(-8px) scale(1.12) rotate(-8deg);
  }
}

@keyframes wwsBranchIconHover {
  from {
    transform: translateY(0) scale(1) rotate(0deg);
  }

  to {
    transform: translateY(-8px) scale(1.14) rotate(-8deg);
  }
}

@keyframes wwsCtaClickWave {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0.85;
  }

  100% {
    transform: translate(-50%, -50%) scale(14);
    opacity: 0;
  }
}

.site-header {
  transform: translateZ(0);
  will-change: background-color, box-shadow, backdrop-filter;
}

.site-header.scrolled {
  box-shadow:
    0 1px 0 rgba(var(--color-primary-rgb), 0.08),
    0 12px 34px rgba(15, 23, 42, 0.08);
}

.header-logo,
.header-nav-link,
.header-theme-toggle,
.header-lang-toggle,
.header-mobile-toggle {
  -webkit-tap-highlight-color: transparent;
}

.header-logo-img {
  filter: drop-shadow(0 4px 10px rgba(var(--color-primary-rgb), 0.10));
}

.header-nav-link::after {
  content: "";
  position: absolute;
  inset-inline: 0.75rem;
  bottom: 0.25rem;
  height: 2px;
  border-radius: 9999px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-gold));
  transform: scaleX(0);
  transform-origin: center;
  opacity: 0;
  transition:
    transform var(--transition-base),
    opacity var(--transition-base);
}

.header-nav-link:hover::after,
.header-nav-link.active::after {
  transform: scaleX(1);
  opacity: 1;
}

.header-nav-link-indicator {
  display: none;
}

.header-theme-toggle:hover,
.header-lang-toggle:hover,
.header-mobile-toggle:hover {
  transform: translateY(-1px);
}

.header-cta {
  background:
    linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
}

.header-cta:hover {
  background:
    linear-gradient(135deg, var(--color-gold-hover), var(--color-gold));
}

.mobile-drawer {
  box-shadow:
    -10px 0 34px rgba(15, 23, 42, 0.12),
    0 0 0 1px rgba(15, 23, 42, 0.06);
}

.mobile-nav-link {
  position: relative;
}

.mobile-nav-link::after {
  content: "";
  position: absolute;
  inset-inline-start: 1.25rem;
  inset-inline-end: 1.25rem;
  bottom: 0.35rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--color-gold-rgb), 0.45), transparent);
  transform: scaleX(0);
  opacity: 0;
  transition:
    transform var(--transition-base),
    opacity var(--transition-base);
}

.mobile-nav-link:hover::after,
.mobile-nav-link.active::after {
  transform: scaleX(1);
  opacity: 1;
}

.hero-section {
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 18%, rgba(var(--color-gold-rgb), 0.16), transparent 26%),
    radial-gradient(circle at 82% 16%, rgba(255, 255, 255, 0.10), transparent 28%),
    radial-gradient(circle at 50% 100%, rgba(var(--color-primary-rgb), 0.18), transparent 34%);
  opacity: 0.88;
}

.hero-section > * {
  position: relative;
  z-index: 1;
}

.site-footer {
  color-scheme: dark;
}

.footer-main::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 20%, rgba(var(--color-gold-rgb), 0.10), transparent 28%),
    radial-gradient(circle at 80% 0%, rgba(46, 48, 146, 0.15), transparent 28%);
}

.footer-content,
.footer-newsletter,
.footer-divider {
  position: relative;
  z-index: 1;
}

.footer-link {
  position: relative;
}

.footer-link::before {
  content: "";
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 9999px;
  background: var(--color-gold);
  opacity: 0;
  transform: scale(0.5);
  transition:
    opacity var(--transition-base),
    transform var(--transition-base);
}

.footer-link:hover::before {
  opacity: 1;
  transform: scale(1);
}

.footer-social-link {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.footer-social-link:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow:
    0 12px 28px rgba(var(--color-gold-rgb), 0.22),
    inset 0 0 0 1px rgba(var(--color-gold-rgb), 0.20);
}

.footer-newsletter-card {
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.input,
.textarea,
.floating-input,
.floating-textarea {
  transition:
    border-color var(--transition-base),
    box-shadow var(--transition-base),
    background-color var(--transition-base),
    color var(--transition-base);
}

.input:hover,
.textarea:hover,
.floating-input:hover,
.floating-textarea:hover {
  border-color: rgba(var(--color-primary-rgb), 0.35);
}

.input:focus,
.textarea:focus,
.floating-input:focus,
.floating-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow:
    0 0 0 3px rgba(var(--color-primary-rgb), 0.12),
    0 10px 24px rgba(var(--color-primary-rgb), 0.06);
}

.floating-label {
  transition:
    transform var(--transition-base),
    color var(--transition-base),
    background-color var(--transition-base),
    opacity var(--transition-base);
}

.faq-item {
  border-radius: 1rem;
}

.faq-question,
.faq-trigger {
  transition:
    color var(--transition-base),
    background-color var(--transition-base);
}

.faq-question:hover,
.faq-trigger:hover {
  color: var(--color-primary);
}

.faq-answer,
.faq-content {
  color: #4b5563;
}

.dark .faq-answer,
.dark .faq-content {
  color: #cbd5e1;
}

.trust-stat-value {
  letter-spacing: -0.025em;
  text-shadow: 0 8px 26px rgba(var(--color-gold-rgb), 0.18);
}

.trust-stat-card,
.trust-bar-item {
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base);
}

.trust-stat-card:hover,
.trust-bar-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold-sm);
}

.whatsapp-button,
.scroll-to-top {
  will-change: transform;
}

.whatsapp-button:hover,
.scroll-to-top:hover {
  transform: translateY(-3px) scale(1.04);
}

.whatsapp-button {
  box-shadow:
    0 14px 34px rgba(37, 211, 102, 0.30),
    0 0 0 6px rgba(37, 211, 102, 0.08);
}

.scroll-to-top-inner {
  box-shadow:
    0 12px 30px rgba(var(--color-primary-rgb), 0.18),
    inset 0 0 0 1px rgba(var(--color-primary-rgb), 0.08);
}

.entry-content {
  line-height: 1.9;
}

.entry-content > *:first-child {
  margin-top: 0;
}

.entry-content > *:last-child {
  margin-bottom: 0;
}

.entry-content h2,
.entry-content h3 {
  scroll-margin-top: calc(var(--site-header-height) + 1.25rem);
}

.entry-content blockquote {
  background:
    linear-gradient(
      135deg,
      rgba(var(--color-gold-rgb), 0.08),
      rgba(var(--color-primary-rgb), 0.04)
    );
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
}

.entry-content table {
  overflow: hidden;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-sm);
}

.entry-content th {
  background:
    linear-gradient(
      135deg,
      rgba(var(--color-primary-rgb), 0.10),
      rgba(var(--color-gold-rgb), 0.08)
    );
}

.entry-content img {
  box-shadow: var(--shadow-soft-card);
}

.dark .site-header.scrolled {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06),
    0 14px 40px rgba(0, 0, 0, 0.35);
}

.dark .card:hover,
.dark .program-card:hover,
.dark .branch-card:hover,
.dark .why-us-card:hover,
.dark .testimonial-card:hover,
.dark .contact-card:hover {
  box-shadow: var(--shadow-soft-card-hover);
}

.dark .btn-outline:hover {
  background-color: rgba(46, 48, 146, 0.15);
  border-color: rgba(46, 48, 146, 0.45);
  color: #60a5fa;
}

.dark .btn-ghost:hover {
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.dark .entry-content blockquote {
  background:
    linear-gradient(
      135deg,
      rgba(var(--color-gold-rgb), 0.10),
      rgba(46, 48, 146, 0.08)
    );
  color: #cbd5e1;
}

.dark .entry-content th {
  background-color: #1e293b;
  color: #D4A843;
}

.dark .entry-content td {
  border-color: #334155;
}

.dark [data-wws-final-cta] p[data-en*="Our educational team"],
.dark [data-wws-final-cta] .wws-final-cta-subtitle {
  color: var(--cta-yellow) !important;
}

@media (min-width: 640px) {
  .sm\:min-w-44 { min-width: 11rem; }
  .sm\:min-w-48 { min-width: 12rem; }
  .sm\:justify-start { justify-content: flex-start; }
  .sm\:justify-center { justify-content: center; }
  .sm\:text-center { text-align: center; }
  .sm\:text-start { text-align: start; }
}

@media (min-width: 768px) {
  .md\:min-w-44 { min-width: 11rem; }
  .md\:min-w-48 { min-width: 12rem; }
  .md\:max-w-3xl { max-width: 768px; }
  .md\:max-w-4xl { max-width: 896px; }
  .md\:rounded-3xl { border-radius: 1.5rem; }
}

@media (min-width: 1024px) {
  .lg\:min-w-44 { min-width: 11rem; }
  .lg\:min-w-48 { min-width: 12rem; }

  .site-header.scrolled .header-nav-inner {
    height: 3.75rem;
  }
}

@media (max-width: 639px) {
  .site-header:not(.scrolled) {
    background-color: rgba(255, 255, 255, 0.86);
  }

  .dark .site-header:not(.scrolled) {
    background-color: rgba(15, 23, 42, 0.86) !important;
  }

  .footer-social-link:hover,
  .card:hover,
  .program-card:hover,
  .branch-card:hover,
  .why-us-card:hover,
  .testimonial-card:hover,
  .contact-card:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .animate-fade-in-up,
  .animate-slide-in-right,
  .animate-slide-in-left,
  .animate-pulse-gold,
  .animate-float,
  .animate-float-delayed,
  .animate-spin,
  .page-transition,
  [data-wws-final-cta] [data-cta-icon],
  [data-wws-final-cta] .wws-cta-icon-shell::before,
  [data-wws-final-cta] .wws-cta-icon-shell::after {
    animation: none !important;
  }

  .motion-reduce\:transition-none {
    transition: none !important;
  }

  .motion-reduce\:hover\:translate-y-0:hover {
    transform: translateY(0) !important;
  }

  .motion-reduce\:hover\:translate-x-0:hover {
    transform: translateX(0) !important;
  }
}

@media print {
  * {
    box-shadow: none !important;
    text-shadow: none !important;
    animation: none !important;
    transition: none !important;
  }

  .entry-content a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.85em;
  }

  .entry-content a[href^="#"]::after,
  .entry-content a[href^="javascript:"]::after {
    content: "";
  }
}

/* ==========================================================================
   AL-BAYAN BILINGUAL & LTR SYSTEM (ENGLISH VERSION)
   ========================================================================== */

/* 1. Typography: Modern, clean sans-serif for English */
html[dir="ltr"],
html[dir="ltr"] body,
body[dir="ltr"],
[dir="ltr"] {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important;
  text-align: left;
}

html[dir="ltr"] body {
  direction: ltr;
}

/* 2. Headings & Typography Hierarchy */
html[dir="ltr"] h1,
html[dir="ltr"] h2,
html[dir="ltr"] h3,
html[dir="ltr"] h4,
html[dir="ltr"] h5,
html[dir="ltr"] h6 {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  letter-spacing: -0.025em;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
}

/* 3. Mobile Navigation Drawer in LTR */
html[dir="ltr"] .mobile-drawer {
  left: 0 !important;
  right: auto !important;
  transform: translateX(-105%) !important;
}

html[dir="ltr"] .mobile-drawer.open {
  transform: translateX(0) !important;
}

/* 4. Directional Icons & Chevrons */
html[dir="ltr"] .rotate-180-rtl {
  transform: rotate(0deg);
}

html[dir="ltr"] svg.rtl-flip {
  transform: scaleX(-1);
}

/* 5. Logical Alignments */
html[dir="ltr"] .text-start {
  text-align: left !important;
}

html[dir="ltr"] .text-end {
  text-align: right !important;
}

/* 6. Form Floating Labels in LTR */
html[dir="ltr"] .floating-label {
  left: 1rem;
  right: auto;
}

/* 7. Badges and Chips spacing in LTR */
html[dir="ltr"] .badge-icon {
  margin-right: 0.5rem;
  margin-left: 0;
} 




