/* ===================== Variables ===================== */
:root{
  --olive: #7c7862;
  --olive-dark: #5c5945;
  --olive-light: #a7a389;
  --gold: #cebc89;
  --gold-light: #e8ddc2;
  --gold-dark: #ab9560;
  --cream: #faf7f1;
  --cream-dark: #f1ebdd;
  --white: #ffffff;
  --ink: #38352a;
  --ink-soft: #6f6b5a;
  --line: #e6ddc9;
  --heading: var(--olive-dark);
  --btn-outline-bg: rgba(255,255,255,.5);
  --header-bg: rgba(250, 247, 241, 0.7);
  --header-bg-solid: rgba(250, 247, 241, 0.96);
  --scrollbar-track: #f1ebdd;

  --font-ar: 'Cairo', sans-serif;
  --font-en-heading: 'Cormorant Garamond', serif;
  --font-en-body: 'Poppins', sans-serif;

  --radius: 14px;
  --shadow: 0 10px 30px rgba(92, 89, 69, 0.1);
  --transition: .35s cubic-bezier(.4,0,.2,1);
}

html[data-theme="dark"]{
  --cream: #17150f;
  --cream-dark: #1e1c15;
  --white: #242118;
  --ink: #ede7d8;
  --ink-soft: #a8a28d;
  --line: #383425;
  --heading: #e8ddc2;
  --btn-outline-bg: rgba(255,255,255,.06);
  --header-bg: rgba(23, 21, 15, 0.75);
  --header-bg-solid: rgba(23, 21, 15, 0.96);
  --scrollbar-track: #1e1c15;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

@media (prefers-color-scheme: dark){
  html:not([data-theme="light"]){
    --cream: #17150f;
    --cream-dark: #1e1c15;
    --white: #242118;
    --ink: #ede7d8;
    --ink-soft: #a8a28d;
    --line: #383425;
    --heading: #e8ddc2;
    --btn-outline-bg: rgba(255,255,255,.06);
    --header-bg: rgba(23, 21, 15, 0.75);
    --header-bg-solid: rgba(23, 21, 15, 0.96);
    --scrollbar-track: #1e1c15;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  }
}

/* ===================== Reset ===================== */
*,*::before,*::after{ box-sizing: border-box; margin: 0; padding: 0; }
html{ scroll-behavior: smooth; }
body{
  transition: background-color .4s ease, color .4s ease;
  font-family: var(--font-ar);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
html[lang="en"] body{ font-family: var(--font-en-body); }
img{ max-width: 100%; display: block; }
a{ text-decoration: none; color: inherit; }
ul{ list-style: none; }
button{ font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea{ font: inherit; }
h1,h2,h3,h4{ font-family: var(--font-ar); font-weight: 700; color: var(--heading); line-height: 1.3; }
html[lang="en"] h1, html[lang="en"] h2, html[lang="en"] h3, html[lang="en"] h4{
  font-family: var(--font-en-heading); font-weight: 600;
}

/* ===================== Grain Texture & Scrollbar ===================== */
.grain-overlay{
  position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  opacity: .035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
html{ scrollbar-color: var(--gold-dark) var(--scrollbar-track); scrollbar-width: thin; }
::-webkit-scrollbar{ width: 11px; }
::-webkit-scrollbar-track{ background: var(--scrollbar-track); }
::-webkit-scrollbar-thumb{ background: var(--gold-dark); border-radius: 10px; border: 2px solid var(--scrollbar-track); }
::-webkit-scrollbar-thumb:hover{ background: var(--olive); }
.container{ width: 90%; max-width: 1520px; margin: 0 auto; }

/* ===================== Reveal Animation ===================== */
.reveal{ opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in-view{ opacity: 1; transform: translateY(0); }

/* ===================== Buttons ===================== */
.btn{
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 34px; border-radius: 50px; font-weight: 600; font-size: .95rem;
  transition: var(--transition); border: 1.5px solid transparent; white-space: nowrap;
}
.btn::before{
  content: ""; position: absolute; top: 0; bottom: 0; inset-inline-start: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg); transition: transform .7s ease; pointer-events: none;
}
.btn:hover::before{ transform: translateX(220%) skewX(-20deg); }
.btn-primary{ background: var(--olive); color: #fff; }
.btn-primary:hover{ background: var(--olive-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline{ border-color: var(--gold-dark); color: var(--heading); background: var(--btn-outline-bg); }
.btn-outline:hover{ background: var(--gold); border-color: var(--gold); color: #fff; transform: translateY(-2px); }

/* ===================== Top Bar ===================== */
.topbar{ background: var(--olive-dark); color: rgba(255,255,255,.8); font-size: .82rem; }
.topbar-inner{ display: flex; align-items: center; justify-content: space-between; height: 40px; }
.topbar-tagline{ font-weight: 500; }
.topbar-social{ display: flex; align-items: center; gap: 16px; }
.topbar-social a{ display: flex; transition: var(--transition); }
.topbar-social a:hover{ color: var(--gold-light); }
.topbar-social svg{ width: 14px; height: 14px; }

/* ===================== Header ===================== */
.site-header{
  position: fixed; top: 0; inset-inline: 0; z-index: 1000;
  background: var(--header-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: background-color .4s ease, border-color .4s ease, top .25s ease;
}
.site-header.scrolled{
  background: var(--header-bg-solid);
  border-bottom-color: var(--line);
  box-shadow: 0 4px 20px rgba(92,89,69,.06);
}
.header-inner{ display: flex; align-items: center; justify-content: space-between; height: 86px; }
.brand-logo{ height: 80px; width: auto; }

.main-nav ul{ display: flex; gap: 34px; align-items: center; }
.main-nav a{
  font-size: .95rem; font-weight: 600; color: var(--ink);
  position: relative; padding: 6px 0; transition: color var(--transition);
}
.main-nav a::after{
  content: ""; position: absolute; bottom: 0; inset-inline: 0; height: 2px;
  background: var(--gold-dark); transform: scaleX(0); transform-origin: center;
  transition: transform var(--transition);
}
.main-nav a:hover, .main-nav a.active{ color: var(--heading); }
.main-nav a:hover::after, .main-nav a.active::after{ transform: scaleX(1); }

.header-actions{ display: flex; align-items: center; gap: 14px; }
.theme-toggle{
  width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--line);
  color: var(--heading); display: flex; align-items: center; justify-content: center; transition: var(--transition);
}
.theme-toggle:hover{ border-color: var(--gold-dark); background: var(--gold-light); color: var(--olive-dark); }
.theme-toggle svg{ width: 18px; height: 18px; }
.theme-toggle .icon-sun{ display: none; }
html[data-theme="dark"] .theme-toggle .icon-sun{ display: block; }
html[data-theme="dark"] .theme-toggle .icon-moon{ display: none; }
.lang-toggle{
  display: flex; align-items: center; gap: 6px; padding: 8px 14px;
  border: 1.5px solid var(--line); border-radius: 50px; font-weight: 600; font-size: .85rem;
  color: var(--heading); transition: var(--transition);
}
.lang-toggle:hover{ border-color: var(--gold-dark); background: var(--gold-light); color: var(--olive-dark); }
.lang-toggle svg{ width: 16px; height: 16px; }

.menu-toggle{ display: none; flex-direction: column; gap: 5px; padding: 6px; }
.menu-toggle span{ width: 24px; height: 2px; background: var(--ink); transition: var(--transition); }
.menu-toggle.open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2){ opacity: 0; }
.menu-toggle.open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* ===================== Hero ===================== */
.hero{
  position: relative; min-height: 100vh; display: flex; align-items: center;
  overflow: hidden;
}
.hero-slider{ position: absolute; inset: 0; }
.hero-slide{
  position: absolute; inset: 0; background-size: cover; background-position: center;
  filter: saturate(1.05); opacity: 0; transition: opacity 1.8s ease;
}
.hero-slide.active{ opacity: 1; }
.hero-slider-dots{
  position: absolute; bottom: 90px; inset-inline: 0; z-index: 3; display: flex; justify-content: center; gap: 10px;
}
.hero-slider-dots button{
  width: 9px; height: 9px; border-radius: 50%; background: rgba(92,89,69,.3); transition: var(--transition);
}
.hero-slider-dots button.active{ background: var(--olive-dark); width: 24px; border-radius: 5px; }

.hero-arrow{
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(250,247,241,.45); backdrop-filter: blur(6px); color: var(--olive-dark);
  border: 1px solid rgba(255,255,255,.4); transition: var(--transition);
}
.hero-arrow:hover{ background: var(--olive); color: #fff; }
.hero-arrow svg{ width: 20px; height: 20px; }
.hero-arrow-prev{ left: 24px; }
.hero-arrow-next{ right: 24px; }
.hero-overlay{
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, transparent 55%, var(--cream) 100%),
    linear-gradient(90deg, rgb(from var(--cream) r g b / .88) 0%, rgb(from var(--cream) r g b / .4) 45%, rgb(from var(--cream) r g b / .05) 72%);
}
html[dir="rtl"] .hero-overlay{
  background:
    linear-gradient(180deg, transparent 55%, var(--cream) 100%),
    linear-gradient(270deg, rgb(from var(--cream) r g b / .88) 0%, rgb(from var(--cream) r g b / .4) 45%, rgb(from var(--cream) r g b / .05) 72%);
}
.hero-content{ position: relative; z-index: 2; 
  /* text-align: center;  */
  /* max-width: 800px;  */
  margin: 0 auto; 
  /* padding-top: 86px;  */

}
.hero-content-start{ text-align: start; 
  /* max-width: 620px; margin: 0; */
   padding-top: 110px; }
.eyebrow{
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 20px; border: 1px solid var(--gold-dark); border-radius: 50px;
  color: var(--heading); font-weight: 600; font-size: .85rem; margin-bottom: 24px; letter-spacing: .3px;
  background: rgb(from var(--cream) r g b / .55); backdrop-filter: blur(4px);
}
.eyebrow svg{ width: 15px; height: 15px; color: var(--gold-dark); flex-shrink: 0; }
.hero h1{ font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: 0; }
.hero-title-line1, .hero-title-line2{ display: block; }
.hero-title-line1{ color: var(--heading); }
.hero-title-line2{ color: var(--gold-dark); }
.hero-divider{ display: flex; align-items: center; gap: 10px; width: 150px; margin: 24px 0; }
.hero-content:not(.hero-content-start) .hero-divider{ margin-inline: auto; }
.hero-divider span{ flex: 1; height: 1px; background: var(--line); }
.hero-divider i{ width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); flex-shrink: 0; }
.hero-sub{ font-size: 1.1rem; color: var(--ink-soft); max-width: 600px; margin: 0 auto 34px; }
.hero-content-start .hero-sub{ margin-inline: 0; }
.hero-actions{ display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-content-start .hero-actions{ justify-content: flex-start; }
.btn-arrow{ width: 16px; height: 16px; margin-inline-start: 8px; transition: transform .3s ease; }
.btn:hover .btn-arrow{ transform: translateX(4px); }
html[dir="rtl"] .btn-arrow{ transform: scaleX(-1); }
html[dir="rtl"] .btn:hover .btn-arrow{ transform: scaleX(-1) translateX(4px); }

/* ===================== Hero Stats Card ===================== */
.hero-stats-wrap{ position: relative; z-index: 5; margin-top: -70px; margin-bottom: 40px; }
.hero-stats-card{
  background: var(--white); border-radius: 20px; box-shadow: 0 20px 50px rgba(20,19,14,.18);
  padding: 40px 34px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  border: 1px solid var(--line);
}
.hero-stat-item{ display: flex; align-items: center; gap: 14px; padding: 0 16px; position: relative; }
.hero-stat-item:not(:last-child)::after{
  content: ""; position: absolute; inset-inline-end: -8px; top: 6%; bottom: 6%; width: 1px; background: var(--line);
}
.hero-stat-item .stat-icon{
  width: 52px; height: 52px; margin: 0; flex-shrink: 0; border: none;
  /* background: var(--gold-light);  */
  color: var(--olive-dark);
}

.map-placeholder-inner {
    width: 100%;
}
.hero-stat-text .stat-num{
  display: block; font-family: var(--font-en-heading); font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 700; color: var(--heading); line-height: 1; margin-bottom: 4px; font-size: 36px;
}
html[lang="ar"] .hero-stat-text .stat-num{ font-family: var(--font-ar); }
.hero-stat-text strong{ display: block; font-size: .92rem; font-weight: 700; color: var(--heading); margin-bottom: 3px; }
.hero-stat-text p{ font-size: .78rem; color: var(--ink-soft); line-height: 1.4; }

/* ===================== Elders Message ===================== */
.elders-message{
  background: linear-gradient(155deg, var(--olive-dark) 0%, #2f2d22 100%); color: #fff;
  padding: 100px 0;
}
.elders-inner{ display: grid; grid-template-columns: 220px 1fr; gap: 54px; align-items: center; }
.photo-frame-dark{
  aspect-ratio: 1/1; border-radius: 50%; border: 2px solid var(--gold);
  background: rgba(255,255,255,.06); display: flex; align-items: center; justify-content: center;
  color: var(--gold-light);
}
.photo-frame-dark svg{ width: 64px; height: 64px; opacity: .85; }
.elders-text .section-tag-light{ color: var(--gold-light); }
.elders-text blockquote{
  font-family: var(--font-en-heading); font-size: clamp(1.3rem, 2.6vw, 1.75rem); font-style: italic;
  line-height: 1.6; margin: 18px 0 26px; color: #fff; font-weight: 500;
  border-inline-start: 3px solid var(--gold); padding-inline-start: 22px;
}
html[lang="ar"] .elders-text blockquote{ font-family: var(--font-ar); font-style: normal; font-weight: 600; }
.elders-name{ font-weight: 700; font-size: 1.05rem; color: var(--gold-light); }
.elders-title{ font-size: .88rem; color: rgba(255,255,255,.65); }

.elders-slider-wrap{ position: relative; overflow: hidden; height: 240px; }
.elders-track{ display: flex; flex-direction: column; transition: transform .8s cubic-bezier(.4,0,.2,1); }
.elders-slide{ height: 240px; flex-shrink: 0; display: flex; flex-direction: column; justify-content: center; }
.elders-dots{ display: flex; gap: 10px; margin-top: 10px; }
.elders-dots button{ width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.25); transition: var(--transition); }
.elders-dots button.active{ background: var(--gold); width: 26px; border-radius: 5px; }

/* ===================== Sections ===================== */
.section{ padding: 110px 0; }
.section-alt{ background: var(--cream-dark); }
.section-head{ text-align: center; max-width: 680px; margin: 0 auto 60px; }
.section-tag{
  display: inline-block; color: var(--gold-dark); font-weight: 700; font-size: .85rem;
  letter-spacing: .5px; margin-bottom: 12px; text-transform: uppercase;
}
.section-head h2{
  font-size: clamp(1.7rem, 3.4vw, 2.6rem); margin-bottom: 16px; position: relative;
  padding-bottom: 18px; display: inline-block;
}
.section-head h2::after{
  content: ""; position: absolute; bottom: 0; inset-inline-start: 50%; translate: -50% 0;
  width: 70px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-dark), var(--gold), var(--gold-dark), transparent);
  background-size: 200% 100%; animation: shimmerLine 3.5s linear infinite;
}
@keyframes shimmerLine{ 0%{ background-position: 200% 0; } 100%{ background-position: -200% 0; } }
.section-head p{ color: var(--ink-soft); font-size: 1.05rem; }

.grid{ display: grid; gap: 26px; }
.grid-5{ grid-template-columns: repeat(5, 1fr); }
.grid-4{ grid-template-columns: repeat(4, 1fr); }
.grid-3{ grid-template-columns: repeat(3, 1fr); }

/* ===================== About Flex (Who We Are) ===================== */
.about-flex{ display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px; align-items: center; margin-bottom: 90px; }
html[dir="rtl"] .about-flex{ direction: ltr; }
html[dir="rtl"] .about-flex > *{ direction: rtl; }

.about-image{ position: relative; padding: 10px 50px 60px 10px; }
.about-blob{
  aspect-ratio: 4/5; background-size: cover; background-position: center;
  border-radius: 63% 37% 54% 46% / 43% 47% 53% 57%;
  box-shadow: 0 30px 60px rgba(20,19,14,.2);
  position: relative;
}
.about-image::before{
  content: ""; position: absolute; inset: 0 40px 50px 0; z-index: -1;
  border: 1.5px solid rgb(from var(--gold-dark) r g b / .5);
  border-radius: 40% 60% 47% 53% / 57% 42% 58% 43%;
}
.about-branch{
  position: absolute; bottom: -14px; left: -14px; width: 46px; height: 84px;
  color: var(--gold-dark); opacity: .8; z-index: 2;
}
.about-quote-card{
  position: absolute; bottom: 6px; right: 6px; width: 220px; z-index: 3;
  background: var(--white); border-radius: 16px; box-shadow: 0 16px 34px rgba(20,19,14,.15);
  padding: 26px 22px 20px; text-align: center;
}
.about-quote-mark{
  display: block; font-family: Georgia, serif; font-size: 2.6rem; line-height: .6; color: var(--gold);
  margin-bottom: 6px;
}
.about-quote-card p{
  font-family: var(--font-en-heading); font-style: italic; font-size: 1rem; color: var(--heading);
  font-weight: 600; margin-bottom: 12px; line-height: 1.5;
}
html[lang="ar"] .about-quote-card p{ font-family: var(--font-ar); font-style: normal; }
.about-quote-divider{ width: 90px; margin: 0 auto; }

.section-tag-divider{ display: flex; align-items: center; gap: 8px; width: 60px; margin-bottom: 18px; }
.about-content .section-tag ~ .section-tag-divider{ margin-top: -12px; }
.section-tag-divider span{ flex: 1; height: 1px; background: var(--gold-dark); opacity: .5; }
.section-tag-divider i{ width: 5px; height: 5px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

.about-content .section-tag, .about-content h2{ text-align: start; }
.about-title-line{ 
  
  display: block;
   font-size: clamp(1.7rem, 3.4vw, 2.6rem);
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 18px;
    display: inline-block;

}
.about-title-line::after {
    content: "";
    position: absolute;
    bottom: 0;
    inset-inline-start: 0%;
    /* translate: -50% 0; */
    width: 70px;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-dark), var(--gold), var(--gold-dark), transparent);
    background-size: 200% 100%;
    animation: shimmerLine 3.5s linear infinite;
}





.about-title-gold{ color: var(--gold-dark); }
.about-content p{ color: var(--ink-soft); font-size: 1.05rem; margin-bottom: 24px; }
.about-points{ display: flex; flex-direction: column; gap: 16px; margin-bottom: 34px; }
.about-points li{ display: flex; align-items: center; gap: 14px; font-weight: 600; color: var(--heading); }
.about-point-icon{
  width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--gold-light); color: var(--olive-dark);
}
.about-point-icon svg{ width: 19px; height: 19px; }
.about-ctas{ display: flex; gap: 16px; flex-wrap: wrap; }
.about-ctas .btn svg{ width: 17px; height: 17px; margin-inline-end: 8px; }

/* ===================== Family Cards ===================== */
.feature-card{
  background: var(--white); border-radius: var(--radius); padding: 32px 24px;
  text-align: center; border: 1px solid var(--line); transition: var(--transition);
}
.feature-card{ transform-style: preserve-3d; will-change: transform; }
.feature-card:hover{ box-shadow: var(--shadow); border-color: var(--gold); }
.feature-icon{
  width: 58px; height: 58px; margin: 0 auto 18px; border-radius: 50%;
  background: var(--gold-light); color: var(--olive-dark);
  display: flex; align-items: center; justify-content: center;
}
.feature-icon svg{ width: 26px; height: 26px; }
.feature-card h3{ font-size: 1.1rem; margin-bottom: 10px; }
.feature-card p{ color: var(--ink-soft); font-size: .92rem; }

/* ===================== Initiatives ===================== */
.init-header-dark{
  position: relative; overflow: hidden;
  /* background: linear-gradient(165deg, var(--olive-dark) 0%, #17150f 100%); */
  padding: 100px 0 40px;
}
.init-header-dark .section-tag-light{ 
  /* color: var(--gold-light);  */
  color: var(--gold-dark); }
/* .init-header-title{ color: #fff; } */
.init-header-desc{ color: rgba(255,255,255,.72); }
.init-header-arch{
  position: absolute; top: -30px; inset-inline-end: 4%; width: 220px; height: 260px;
  background-size: cover; background-position: center;
  border-radius: 50% 50% 0 0 / 62% 62% 0 0;
  border: 2px solid rgb(from var(--gold) r g b / .5);
  box-shadow: 0 30px 60px rgba(0,0,0,.4); z-index: 0;
}
html[dir="rtl"] .init-header-arch{ inset-inline-end: auto; inset-inline-start: 4%; }
.init-highlights-light svg{ color: var(--gold-light); }
.init-highlights-light span{ color: rgba(255,255,255,.85); }

.init-highlights{
  position: relative; z-index: 1;
  display: flex; justify-content: center; flex-wrap: wrap; gap: 40px 56px; margin: 44px 0 10px;
}
.init-highlight{ display: flex; flex-direction: column; align-items: center; gap: 10px; max-width: 150px; text-align: center; }
.init-highlight svg{ width: 30px; height: 30px; color: var(--gold-dark); }
.init-highlight span{ font-size: .85rem; font-weight: 600; color: var(--heading); line-height: 1.4; }

.init-hex-wrap{ position: relative; z-index: 5; display: flex; justify-content: center; margin-top: -26px; }
.init-hex-badge{
  width: 52px; height: 52px; padding: 11px; background: var(--cream-dark); border-radius: 50%;
  color: var(--gold-dark); box-shadow: 0 8px 18px rgba(20,19,14,.18);
}

.init-rows{ display: flex; flex-direction: column; gap: 46px; }
.init-row{
  position: relative; display: grid; grid-template-columns: .85fr 1.3fr; align-items: stretch;
  background: var(--white); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow);
}
html[dir="rtl"] .init-row{ direction: ltr; }
html[dir="rtl"] .init-row > *{ direction: rtl; }

.init-num-badge{
  position: absolute; top: -18px; right: 26px; z-index: 3;
  width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-en-heading); font-size: 1.4rem; font-weight: 700; color: #fff;
  box-shadow: 0 10px 22px rgba(20,19,14,.25); border: 4px solid var(--cream-dark);
}
html[lang="ar"] .init-num-badge{ font-family: var(--font-ar); }
.init-num-gold{ background: linear-gradient(155deg, var(--gold) 0%, var(--gold-dark) 100%); }
.init-num-dark{ background: linear-gradient(155deg, var(--olive-dark) 0%, #17150f 100%); }

.init-row-photo{
  background-size: cover; background-position: center; min-height: 220px;
  border-radius: 19px 0 0 19px;
}

.init-row-body{ padding: 32px 34px; display: flex; flex-direction: column; justify-content: center; }
.init-row-body h3{ font-size: clamp(1.2rem, 2vw, 1.5rem); margin-bottom: 14px; }
.init-row-body > p{ color: var(--ink-soft); font-size: .96rem; margin-bottom: 20px; }
.init-mini-list{ display: flex; flex-wrap: wrap; gap: 18px; }
.init-mini{ display: flex; align-items: center; gap: 9px; }
.init-mini svg{
  width: 30px; height: 30px; padding: 7px; border-radius: 50%; flex-shrink: 0;
  background: var(--gold-light); color: var(--olive-dark);
}
.init-mini span{ font-size: .82rem; font-weight: 600; color: var(--heading); }
.init-award-link{ align-self: flex-start; }
.init-award-link svg{ width: 16px; height: 16px; margin-inline-start: 8px; }
html[dir="rtl"] .init-award-link svg{ transform: scaleX(-1); }

.init-quote-banner{
  position: relative; overflow: hidden; padding: 70px 0 60px; text-align: center;
  background: linear-gradient(165deg, var(--olive-dark) 0%, #17150f 100%); color: #fff;
}
.init-quote-pattern{ position: absolute; top: 0; bottom: 0; width: 140px; opacity: .12; color: var(--gold-light); pointer-events: none; }
.init-quote-pattern-start{ left: 0; }
.init-quote-pattern-end{ right: 0; transform: scaleX(-1); }
.init-quote-banner .about-quote-mark{ color: var(--gold-light); }
.init-quote-track{ position: relative; min-height: 100px; }
.init-quote-slide{
  position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.init-quote-slide.active{ opacity: 1; position: relative; }
.init-quote-slide p{
  font-family: var(--font-en-heading); font-style: italic; font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  font-weight: 500; max-width: 640px; margin: 0 auto; line-height: 1.6;
}
html[lang="ar"] .init-quote-slide p{ font-family: var(--font-ar); font-style: normal; font-weight: 600; }
.init-quote-dots{ display: flex; justify-content: center; gap: 10px; margin-top: 26px; }
.init-quote-dots button{ width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.3); transition: var(--transition); }
.init-quote-dots button.active{ background: var(--gold); width: 22px; border-radius: 5px; }
.init-quote-next{
  position: absolute; bottom: 30px; inset-inline-end: 30px; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3);
  color: #fff; display: flex; align-items: center; justify-content: center; transition: var(--transition);
}
.init-quote-next:hover{ background: var(--gold); border-color: var(--gold); color: var(--olive-dark); }
.init-quote-next svg{ width: 18px; height: 18px; }
html[dir="rtl"] .init-quote-next svg{ transform: scaleX(-1); }

/* ===================== Medal ===================== */
.photo-frame{
  aspect-ratio: 1/1.1; border-radius: 18px; border: 2px dashed var(--gold);
  background: var(--cream-dark); display: flex; flex-direction: column; align-items: center;
  justify-content: end; gap: 12px; color: var(--gold-dark); overflow: hidden;
}
.photo-frame svg{ width: 56px; height: 56px; opacity: .8; }
.photo-frame span{ font-size: .85rem; font-weight: 600; }

.medal-hero{ display: flex; justify-content: center; margin-bottom: 60px; }
.medal-hero-arch{
  position: relative; width: 260px; aspect-ratio: 4/5;
  background: linear-gradient(165deg, var(--olive-dark) 0%, #17150f 100%);
  border-radius: 50% 50% 6px 6px / 62% 62% 6px 6px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 30px 60px rgba(20,19,14,.28);
}
.medal-hero-arch::before{
  content: ""; position: absolute; inset: 10px;
  border: 1px solid rgb(from var(--gold) r g b / .35);
  border-radius: 50% 50% 4px 4px / 60% 60% 4px 4px;
}
.medal-hero-icon{ width: 40%; height: 40%; color: var(--gold); filter: drop-shadow(0 10px 18px rgba(0,0,0,.35)); }

.medal-timeline{ position: relative; max-width: 760px; margin: 0 auto; }
.medal-timeline-line{
  position: absolute; inset-inline-start: 27px; top: 10px; bottom: 10px; width: 2px;
  background: rgba(206,188,137,.35);
}
.medal-featured{ position: relative; padding-inline-start: 74px; margin-bottom: 30px; }
.medal-year-badge{
  position: absolute; inset-inline-start: 0; top: 0; z-index: 1;
  width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(155deg, var(--olive) 0%, var(--olive-dark) 100%); color: #fff;
  font-family: var(--font-en-heading); font-weight: 700; font-size: .95rem;
  box-shadow: 0 0 0 6px var(--cream), 0 8px 18px rgba(20,19,14,.2);
}
html[lang="ar"] .medal-year-badge{ font-family: var(--font-ar); }
.medal-featured-card{
  display: grid; grid-template-columns: 220px 1fr; gap: 0;
  background: var(--white); border: 1px solid var(--line); border-radius: 22px; overflow: hidden;
  box-shadow: var(--shadow);
}
.medal-featured-photo{
  background: var(--cream-dark); color: var(--gold-dark); display: flex; align-items: center; justify-content: center;
  min-height: 200px;
}
.medal-featured-photo svg{ width: 34%; height: 34%; opacity: .85; }
.medal-featured-body{ padding: 32px 34px; }
.medal-featured-body h3{ font-size: 1.3rem; margin-bottom: 14px; }
.medal-bio{ color: var(--ink-soft); margin-bottom: 20px; }
.medal-featured-body h4{ font-size: .95rem; margin-bottom: 10px; color: var(--heading); }
.medal-list{ margin-bottom: 22px; }
.medal-list li{
  position: relative; padding-inline-start: 24px; color: var(--ink-soft); margin-bottom: 8px; font-size: .93rem;
}
.medal-list li::before{
  content: ""; position: absolute; inset-inline-start: 0; top: 9px; width: 8px; height: 8px;
  border-radius: 50%; background: var(--gold);
}
.medal-view-btn svg{ width: 16px; height: 16px; margin-inline-start: 8px; }
html[dir="rtl"] .medal-view-btn svg{ transform: scaleX(-1); }

.medal-upcoming-list{ display: flex; flex-direction: column; gap: 12px; }
.medal-upcoming-item{
  position: relative; margin-inline-start: 74px; display: flex; align-items: center; gap: 16px;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px;
  transition: var(--transition);
}
.medal-upcoming-item:hover{ border-color: var(--gold); box-shadow: var(--shadow); }
.medal-year-dot{
  position: absolute; inset-inline-start: -55px; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; border-radius: 50%; background: var(--cream); border: 3px solid var(--gold);
}
.medal-upcoming-year{ font-weight: 700; color: var(--heading); font-size: .9rem; flex-shrink: 0; min-width: 60px; }
.medal-upcoming-label{ color: var(--ink-soft); font-size: .9rem; flex: 1; }
.medal-upcoming-item svg{ width: 16px; height: 16px; color: var(--gold-dark); flex-shrink: 0; }
html[dir="rtl"] .medal-upcoming-item svg{ transform: scaleX(-1); }

/* ===================== Social Activities ===================== */
.social-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px 34px; max-width: 1400px; margin: 0 auto; }
.social-card{ position: relative; text-align: center; }
.social-card-photo{
  position: relative; aspect-ratio: 16/11; border-radius: 20px; overflow: hidden;
  box-shadow: var(--shadow);
}
.social-card-photo-1{
  background:
    radial-gradient(circle at 25% 25%, rgb(from var(--gold) r g b / .5) 0%, transparent 55%),
    linear-gradient(150deg, #cebc89 0%, #7c7862 100%);
}
.social-card-photo-2{
  background:
    radial-gradient(circle at 75% 30%, rgb(from var(--gold-light) r g b / .45) 0%, transparent 55%),
    linear-gradient(150deg, var(--olive-dark) 0%, #17150f 100%);
}
.social-num-badge{
  position: absolute; top: 0; inset-inline-start: 22px; z-index: 2;
  background: linear-gradient(155deg, var(--olive-dark) 0%, #17150f 100%); color: var(--gold-light);
  font-family: var(--font-en-heading); font-weight: 700; font-size: 1.1rem;
  padding: 10px 16px 16px; clip-path: polygon(0 0, 100% 0, 100% 72%, 50% 100%, 0 72%);
}
html[lang="ar"] .social-num-badge{ font-family: var(--font-ar); }
.social-card-icon{
  position: relative; z-index: 3; display: flex; align-items: center; justify-content: center;
  width: 58px; height: 58px; margin: -29px auto 0; border-radius: 50%;
  background: var(--white); border: 2px solid var(--gold); color: var(--olive-dark);
  box-shadow: var(--shadow);
}
.social-card-icon svg{ width: 24px; height: 24px; }
.social-card-body{ padding: 18px 8px 0; }
.social-card-body h3{ font-size: 1.15rem; margin-bottom: 10px; }
.social-card-body p{ color: var(--ink-soft); font-size: .93rem; margin-bottom: 18px; }
.social-meta{ display: flex; flex-direction: column; gap: 10px; align-items: center; }
.social-meta-item{ display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--heading); font-weight: 600; }
.social-meta-item svg{ width: 16px; height: 16px; color: var(--gold-dark); flex-shrink: 0; }

/* ===================== Media Tabs ===================== */
.tab-buttons{ display: flex; justify-content: center; gap: 12px; margin-bottom: 46px; flex-wrap: wrap; }
.tab-btn{
  padding: 12px 26px; border-radius: 50px; border: 1.5px solid var(--line);
  font-weight: 600; font-size: .9rem; color: var(--ink-soft); transition: var(--transition);
}
.tab-btn:hover{ border-color: var(--gold); color: var(--heading); }
.tab-btn.active{ background: var(--olive); border-color: var(--olive); color: #fff; }
.tab-panel{ display: none; }
.tab-panel.active{ display: block; animation: fadeIn .5s ease; }
@keyframes fadeIn{ from{ opacity: 0; transform: translateY(10px); } to{ opacity: 1; transform: translateY(0); } }

.news-carousel{ display: flex; align-items: center; gap: 16px; }
.news-carousel-viewport{ overflow: hidden; flex: 1; }
.news-carousel-track{ display: flex; transition: transform .6s cubic-bezier(.4,0,.2,1); direction: ltr; }
.news-card{
  flex: 0 0 calc(33.333% - 14px); margin-inline-end: 20px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: var(--transition);
}
.news-card{ will-change: transform; }
.news-card:hover{ box-shadow: var(--shadow); }
.news-card-image{
  aspect-ratio: 16/10; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden;
}
.news-card-image svg{ width: 56px; height: 56px; color: rgba(255,255,255,.85); position: relative; z-index: 1; }
.news-card-image-1{ background: linear-gradient(150deg, #9aa583 0%, #5c5945 100%); }
.news-card-image-2{ background: linear-gradient(150deg, #cebc89 0%, #8a7642 100%); }
.news-card-image-3{ background: linear-gradient(150deg, #b9ab86 0%, #7c7862 100%); }
.news-card-image-4{ background: linear-gradient(150deg, #ab9560 0%, #5c5945 100%); }
.news-card-body{ padding: 22px 20px; text-align: center; }
.news-card h4{ font-size: 1rem; margin-bottom: 8px; }
.news-card p{ font-size: .88rem; color: var(--ink-soft); }

.carousel-arrow{
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line);
  color: var(--heading); display: flex; align-items: center; justify-content: center; transition: var(--transition);
}
.carousel-arrow:hover{ background: var(--olive); border-color: var(--olive); color: #fff; }
.carousel-arrow svg{ width: 18px; height: 18px; }
.carousel-arrow[disabled]{ opacity: .35; pointer-events: none; }
.carousel-dots{ display: flex; justify-content: center; gap: 10px; margin-top: 30px; }
.carousel-dots button{ width: 9px; height: 9px; border-radius: 50%; background: var(--line); transition: var(--transition); }
.carousel-dots button.active{ background: var(--gold-dark); width: 24px; border-radius: 5px; }

/* ===================== Council Members ===================== */
.council-section{ position: relative; overflow: hidden; }
.council-branch{
  position: absolute; left: -14px; top: 50%; transform: translateY(-50%); width: 76px; height: auto;
  color: var(--gold-dark); opacity: .28; z-index: 0; pointer-events: none;
}
html[dir="rtl"] .council-branch{ left: auto; right: -14px; transform: translateY(-50%) scaleX(-1); }

.members-carousel{ display: flex; align-items: center; gap: 16px; position: relative; z-index: 1; }
.members-carousel-viewport{ overflow: hidden; flex: 1; }
.members-carousel-track{ display: flex; transition: transform .6s cubic-bezier(.4,0,.2,1); direction: ltr; }
.member-card{
  flex: 0 0 calc(25% - 15px); margin-inline-end: 20px; position: relative;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0 0 26px; text-align: center; transition: var(--transition); overflow: hidden;
}
.member-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--gold); }

.member-arch{
  position: relative; margin: 14px 14px 0; padding: 9px;
  border: 1.5px solid var(--gold); border-radius: 50% 50% 6px 6px / 64% 64% 6px 6px;
}
.member-arch::before{
  content: ""; position: absolute; inset: 4px;
  border: 1px solid rgb(from var(--gold-dark) r g b / .5); border-radius: 50% 50% 4px 4px / 62% 62% 4px 4px;
  pointer-events: none;
}
.member-photo{
  width: 100%; aspect-ratio: 3/4; border-radius: 50% 50% 4px 4px / 62% 62% 4px 4px;
  background: var(--cream-dark); color: var(--gold-dark); display: flex; align-items: center; justify-content: center;
}
.member-photo svg{ width: 32%; height: 32%; }
.member-badge{
  display: inline-block; font-size: .7rem; font-weight: 700; padding: 5px 14px; border-radius: 50px;
  background: var(--gold-light); color: var(--olive-dark); margin: -14px 0 16px; position: relative; z-index: 2;
  box-shadow: 0 3px 10px rgba(20,19,14,.15);
}
.member-badge-board{ background: var(--olive); color: #fff; }
.member-card h4{ font-size: 1rem; margin-bottom: 6px; color: var(--heading); padding: 0 14px; }
.member-card p{ font-size: .85rem; color: var(--ink-soft); padding: 0 14px; }

.gallery-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-tile{
  aspect-ratio: 4/3; border-radius: var(--radius); background: var(--white);
  border: 1.5px dashed var(--line); display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 10px; color: var(--gold-dark); transition: var(--transition);
}
.gallery-tile:hover{ border-color: var(--gold); background: var(--gold-light); transform: scale(1.02); }
.gallery-tile svg{ width: 34px; height: 34px; }
.gallery-tile span{ font-size: .82rem; font-weight: 600; }

.video-tile{
  aspect-ratio: 16/9; border-radius: var(--radius); background: linear-gradient(155deg, var(--olive) 0%, var(--olive-dark) 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  color: #fff; transition: var(--transition);
}
.video-tile:hover{ transform: scale(1.02); box-shadow: var(--shadow); }
.play-btn{
  width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center; border: 1.5px solid rgba(255,255,255,.5);
}
.play-btn svg{ width: 20px; height: 20px; }
.video-tile span{ font-size: .85rem; font-weight: 600; opacity: .9; }

/* ===================== Contact ===================== */
.contact-grid{ display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; }
.contact-form{
  background: var(--white); border: 1px solid var(--line); border-radius: 20px;
  padding: 40px; box-shadow: var(--shadow);
}
.form-row{ margin-bottom: 20px; }
.form-row label{ display: block; font-weight: 600; font-size: .9rem; margin-bottom: 8px; color: var(--olive-dark); }
.form-row input, .form-row textarea{
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 10px;
  background: var(--cream); color: var(--ink); transition: var(--transition); resize: vertical;
}
.form-row input:focus, .form-row textarea:focus{ outline: none; border-color: var(--gold-dark); background: var(--white); }
.form-success{
  display: none; margin-top: 16px; padding: 12px 16px; background: var(--gold-light);
  color: var(--olive-dark); border-radius: 10px; font-size: .9rem; font-weight: 600;
}
.form-success.show{ display: block; animation: fadeIn .4s ease; }

.contact-side{ display: flex; flex-direction: column; gap: 24px; }
.contact-card{
  background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 32px;
}
.contact-card h3{ font-size: 1.15rem; margin-bottom: 20px; }
.social-link{ display: flex; align-items: center; gap: 14px; padding: 12px 0; font-weight: 600; transition: var(--transition); }
.social-link:not(:last-child){ border-bottom: 1px solid var(--line); }
.social-link:hover{ color: var(--gold-dark); gap: 18px; }
.social-icon{
  width: 40px; height: 40px; border-radius: 50%; background: var(--gold-light); color: var(--olive-dark);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.social-icon svg{ width: 18px; height: 18px; }
.contact-quote{
  background: linear-gradient(155deg, var(--olive) 0%, var(--olive-dark) 100%); color: #fff;
  border-radius: 20px; padding: 32px; text-align: center;
}
.contact-quote p{ font-size: 1.1rem; font-style: italic; font-family: var(--font-en-heading); }
html[lang="ar"] .contact-quote p{ font-family: var(--font-ar); font-weight: 600; }

/* ===================== Footer ===================== */
.site-footer{ background: var(--olive-dark); color: rgba(255,255,255,.85); padding-top: 76px; }
.footer-grid{
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px;
}
.footer-col h4{ color: #fff; font-size: 1.02rem; margin-bottom: 20px; }
.footer-logo{
  height: 150px; margin-bottom: 14px; 
  /* padding: 10px 16px;  */
  border-radius: 10px; display: inline-block;
}
.footer-brand p{ font-size: .9rem; color: rgba(255,255,255,.65); max-width: 300px; margin-bottom: 20px; }
.footer-social{ display: flex; gap: 12px; }
.footer-social a{
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25);
  display: flex; align-items: center; justify-content: center; transition: var(--transition);
}
.footer-social a svg{ width: 16px; height: 16px; }
.footer-social a:hover{ background: var(--gold); border-color: var(--gold); color: var(--olive-dark); }
.footer-links{ display: flex; flex-direction: column; gap: 13px; }
.footer-links a{ font-size: .9rem; font-weight: 500; color: rgba(255,255,255,.75); transition: var(--transition); }
.footer-links a:hover{ color: var(--gold-light); }
.footer-contact-list{ display: flex; flex-direction: column; gap: 16px; }
.footer-contact-list li{ display: flex; align-items: center; gap: 12px; font-size: .88rem; color: rgba(255,255,255,.75); }
.footer-contact-icon{
  width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.08); color: var(--gold-light);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.footer-contact-icon svg{ width: 15px; height: 15px; }

.footer-map{ border-top: 1px solid rgba(255,255,255,.12); padding: 34px 0; }
.map-placeholder{
  /* border: 1.5px dashed rgba(212, 197, 162, .4); border-radius: var(--radius);
  background:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px) 0 0/32px 32px,
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px) 0 0/32px 32px,
    rgba(255,255,255,.03); */
  padding: 48px 20px; display: flex; align-items: center; justify-content: center;
}
.map-placeholder-inner{ display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--gold-light); }
.map-placeholder-inner svg{ width: 34px; height: 34px; }
.map-placeholder-inner span{ font-size: .88rem; font-weight: 600; color: rgba(255,255,255,.7); }

.footer-bottom-inner{ display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-legal{ display: flex; gap: 22px; }
.footer-legal a{ transition: var(--transition); }
.footer-legal a:hover{ color: var(--gold-light); }
.footer-bottom{
  border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0; font-size: .82rem;
  color: rgba(255,255,255,.55);
}

/* ===================== Back to top ===================== */
.back-to-top{
  position: fixed; bottom: 30px; inset-inline-end: 30px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--olive); color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: var(--transition); z-index: 900;
}
.back-to-top.show{ opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover{ background: var(--olive-dark); }
.back-to-top svg{ width: 20px; height: 20px; }

.floating-contact{
  position: fixed; bottom: 30px; inset-inline-start: 30px; width: 54px; height: 54px; border-radius: 50%;
  background: var(--gold-dark); color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(171,149,96,.45); z-index: 900; transition: var(--transition);
}
.floating-contact:hover{ background: var(--olive); transform: translateY(-3px); }
.floating-contact svg{ width: 24px; height: 24px; position: relative; z-index: 1; }
.floating-contact-pulse{
  position: absolute; inset: 0; border-radius: 50%; background: var(--gold-dark);
  animation: pulseRing 2.4s ease-out infinite;
}
@keyframes pulseRing{
  0%{ transform: scale(1); opacity: .55; }
  100%{ transform: scale(1.8); opacity: 0; }
}

/* ===================== Responsive ===================== */
@media (max-width: 992px){
  .init-row{ grid-template-columns: 1fr; }
  .init-row-photo{ min-height: 200px; border-radius: 19px 19px 0 0; }
  .init-num-badge{ width: 52px; height: 52px; font-size: 1.2rem; top: -16px; right: 20px; }
  .init-header-arch{ width: 150px; height: 180px; opacity: .8; }
  html[dir="rtl"] .init-row{ direction: rtl; }
  html[dir="rtl"] .init-row > *{ direction: rtl; }
  .hero-stats-card{ grid-template-columns: 1fr 1fr; gap: 30px 16px; padding: 30px 24px; }
  .hero-stat-item::after{ display: none; }
  .hero-stats-wrap{ margin-top: -50px; }
  .about-flex{ grid-template-columns: 1fr; gap: 60px; margin-bottom: 60px; }
  html[dir="rtl"] .about-flex{ direction: rtl; }
  .about-image{ width: 100%; max-width: 380px; margin: 0 auto; padding: 10px 40px 55px 10px; }
  .section-tag-divider{ margin-inline: auto; }


  .about-content .section-tag, .about-content h2, .about-content p{ text-align: center; }
  .about-ctas{ justify-content: center; }
  .about-points{ align-items: center; }
  .grid-5{ grid-template-columns: repeat(3, 1fr); }
  .grid-4{ grid-template-columns: repeat(2, 1fr); }
  .medal-featured-card{ grid-template-columns: 1fr; }
  .medal-featured-photo{ min-height: 180px; }
  .medal-hero-arch{ width: 210px; }
  .contact-grid{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .news-card{ flex: 0 0 calc(50% - 10px); }
  .member-card{ flex: 0 0 calc(33.333% - 14px); }
  .elders-inner{ grid-template-columns: 1fr; text-align: center; }
  .photo-frame-dark{ width: 150px; margin: 0 auto; }
  .elders-text blockquote{ border-inline-start: none; border-top: 3px solid var(--gold); padding-inline-start: 0; padding-top: 20px; }
  .elders-slider-wrap, .elders-slide{ height: 300px; }
  .elders-dots{ justify-content: center; }
}

@media (max-width: 768px){
  .menu-toggle{ display: flex; }
  .main-nav{
    position: fixed; top: 86px; inset-inline: 0; height: calc(100vh - 86px); background: var(--cream);
    transform: translateX(110%); transition: transform var(--transition); overflow-y: auto;
    border-top: 1px solid var(--line);
  }
  html[dir="rtl"] .main-nav{ transform: translateX(-110%); }
  html .main-nav.open{ transform: translateX(0); }
  .main-nav ul{ flex-direction: column; padding: 30px 24px; gap: 4px; }
  .main-nav a{ display: block; padding: 16px 6px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .grid-5, .grid-4, .grid-3{ grid-template-columns: 1fr 1fr; }
  .gallery-grid{ grid-template-columns: repeat(2, 1fr); }
  .news-card{ flex: 0 0 100%; margin-inline-end: 16px; }
  .member-card{ flex: 0 0 calc(50% - 10px); }
  .carousel-arrow{ width: 38px; height: 38px; }
  .hero-arrow{ display: none; }
  .hero-content-start{ text-align: center; margin: 0 auto; padding-top: 100px; }
  .hero-content-start .hero-actions{ justify-content: center; }
  .hero-content-start .hero-divider{ margin-inline: auto; }
  .hero-content-start .hero-sub{ margin-inline: auto; }
  .section{ padding: 76px 0; }
  .hero h1{ font-size: 2.1rem; }
}

@media (max-width: 520px){
  .topbar-tagline{ display: none; }
  .topbar-inner{ justify-content: center; }
  .grid-5, .grid-4, .grid-3, .gallery-grid{ grid-template-columns: 1fr; }
  .social-grid{ grid-template-columns: 1fr; max-width: 380px; }
  .hero-stats-card{ grid-template-columns: 1fr; gap: 24px; }
  .hero-stat-item{ padding: 0; }
  .hero-actions{ flex-direction: column; width: 100%; }
  .hero-actions .btn{ width: 100%; }
  .header-inner{ height: 74px; }
  .brand-logo{ height: 46px; }
  .hero-content{ padding-top: 74px; }
  .medal-featured-body, .contact-form, .contact-card{ padding: 24px; }
  .medal-featured{ padding-inline-start: 58px; }
  .medal-year-badge{ width: 44px; height: 44px; font-size: .8rem; }
  .medal-timeline-line{ inset-inline-start: 21px; }
  .medal-upcoming-item{ margin-inline-start: 58px; flex-wrap: wrap; }
  .medal-year-dot{ inset-inline-start: -39px; }
  .footer-grid{ grid-template-columns: 1fr; text-align: center; gap: 34px; }
  .footer-brand p{ margin-inline: auto; }
  .footer-social{ justify-content: center; }
  .footer-contact-list li{ justify-content: center; }
  .footer-bottom-inner{ flex-direction: column; text-align: center; }
}
