/* ============================================================
   ABOUT US PAGE · V2 Redesign (Animated & Premium)
   ============================================================ */

/* ─── ANIMATIONS ─────────────────────────────────────────── */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes floatY {
  0% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0); }
}
@keyframes glowPulse {
  0% { box-shadow: 0 0 0 0 rgba(201,175,94, 0.4); }
  70% { box-shadow: 0 0 0 20px rgba(201,175,94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(201,175,94, 0); }
}
@keyframes slideRight {
  0% { opacity: 0; transform: translateX(-30px); }
  100% { opacity: 1; transform: translateX(0); }
}
html[lang="ar"] .slide-right-anim, body:dir(rtl) .slide-right-anim {
  animation-name: slideLeft;
}
@keyframes slideLeft {
  0% { opacity: 0; transform: translateX(30px); }
  100% { opacity: 1; transform: translateX(0); }
}

.animate-fade-up { animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }

/* ─── HERO ───────────────────────────────────────────────── */
.about-hero {
  position: relative;
  background: var(--bg);
  padding: 100px 0 120px;
  overflow: hidden;
}
.about-hero::before {
  content: "";
  position: absolute;
  top: -200px;
  inset-inline-end: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(11,45,66, 0.08), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.about-hero::after {
  content: "";
  position: absolute;
  bottom: -100px;
  inset-inline-start: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(227,202,125, 0.06), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.about-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.about-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(11,45,66, 0.1);
  color: var(--plum);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(11,45,66, 0.2);
}
.about-hero-tag::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  animation: glowPulse 2s infinite;
}
.about-hero h1 {
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.34;
  letter-spacing: -0.02em;
  color: var(--dark-bg);
  margin: 0 0 28px;
}
.about-hero h1 em {
  font-style: normal;
  color: #E9D8A6;
  -webkit-text-fill-color: #E9D8A6;
  display: inline-block;
}
.about-hero p.lead {
  font-size: 18px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 40px;
  max-width: 580px;
}
.about-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.about-hero-meta-item strong {
  display: block;
  font-size: 42px;
  font-weight: 900;
  color: var(--plum);
  line-height: 1;
  letter-spacing: -0.02em;
}
.about-hero-meta-item span {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #777;
  margin-top: 8px;
}
.about-hero-image-wrap {
  position: relative;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.15);
  aspect-ratio: 4/5;
  animation: floatY 6s ease-in-out infinite;
  transform: perspective(1000px) rotateY(-5deg);
  transition: transform 0.5s ease;
}
html[lang="ar"] .about-hero-image-wrap, body:dir(rtl) .about-hero-image-wrap {
  transform: perspective(1000px) rotateY(5deg);
}
.about-hero-image-wrap:hover {
  transform: perspective(1000px) rotateY(0deg) translateY(-10px);
}
.about-hero-image-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.about-hero-image-wrap::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(11,45,66, 0.7) 100%);
  pointer-events: none;
}
.about-hero-image-badge {
  position: absolute;
  bottom: -20px;
  inset-inline-start: -20px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  border: 1px solid rgba(255,255,255,0.5);
  animation: floatY 5s ease-in-out infinite reverse;
}
.about-hero-image-badge-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--plum), var(--gold));
  color: #fff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-hero-image-badge strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: var(--dark-bg);
  margin-bottom: 2px;
}
.about-hero-image-badge span {
  display: block;
  font-size: 13px;
  color: #666;
}

/* ─── VALUES TRIPTYCH ────────────────────────────────────── */
.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 20px;
}
.value-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.04);
  border-radius: 30px;
  padding: 40px 32px;
  position: relative;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}
.value-card::before {
  content: "";
  position: absolute;
  top: 0; inset-inline-start: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--plum), var(--gold));
  transform-origin: inset-inline-start;
  transform: scaleX(0);
  transition: transform 0.4s ease;
}
.value-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(11,45,66, 0.1);
  border-color: rgba(11,45,66, 0.15);
}
.value-card:hover::before { transform: scaleX(1); }
.value-card-icon {
  width: 64px; height: 64px;
  border-radius: 20px;
  background: rgba(11,45,66, 0.06);
  color: var(--plum);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all 0.4s ease;
}
.value-card:hover .value-card-icon {
  background: var(--plum);
  color: #fff;
  transform: scale(1.1) rotate(5deg);
}
.value-card h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--dark-bg);
  margin: 0 0 14px;
}
.value-card p {
  font-size: 15px;
  line-height: 1.8;
  color: #666;
  margin: 0;
}

/* ─── FOUNDER MESSAGE ────────────────────────────────────── */
.founder-section {
  background: linear-gradient(135deg, #fff, #fafafa);
  border-radius: 40px;
  border: 1px solid rgba(0,0,0,0.05);
  padding: 60px;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.04);
}
.founder-section::before {
  content: "“";
  position: absolute;
  font-size: 300px;
  line-height: 1;
  top: -40px;
  inset-inline-end: 20px;
  color: rgba(227,202,125, 0.15);
  font-weight: 900;
  pointer-events: none;
  font-family: Georgia, serif;
}
.founder-photo {
  border-radius: 30px;
  overflow: hidden;
  aspect-ratio: 4/5;
  position: relative;
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}
.founder-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.founder-section:hover .founder-photo img {
  transform: scale(1.05);
}
.founder-message {
  position: relative;
  z-index: 1;
}
.founder-eyebrow {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: inline-block;
  padding: 6px 14px;
  background: rgba(227,202,125, 0.1);
  border-radius: 20px;
}
.founder-message blockquote {
  font-size: clamp(22px, 2.5vw, 32px);
  line-height: 1.5;
  font-weight: 800;
  color: var(--dark-bg);
  margin: 0 0 30px;
  letter-spacing: -0.01em;
}
.founder-sig {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
  border-top: 2px solid rgba(0,0,0,0.05);
}
.founder-sig strong {
  display: block;
  font-size: 18px;
  font-weight: 900;
  color: var(--plum);
}
.founder-sig span {
  display: block;
  font-size: 14px;
  color: #777;
  margin-top: 4px;
}

/* ─── TEAM GRID ──────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 36px;
}
.team-card {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  aspect-ratio: 3/4;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  group: hover;
}
.team-photo {
  width: 100%; height: 100%;
  position: absolute;
  inset: 0;
}
.team-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.team-card:hover .team-photo img {
  transform: scale(1.08);
}
.team-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(11,45,66, 0.9) 100%);
  transition: opacity 0.4s ease;
}
.team-photo-badge {
  position: absolute;
  top: 20px;
  inset-inline-start: 20px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 800;
  color: var(--plum);
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.team-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 30px 24px;
  z-index: 2;
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.team-card:hover .team-body {
  transform: translateY(0);
}
.team-body h4 {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 6px;
}
.team-body .team-role {
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
  display: block;
  margin-bottom: 12px;
}
.team-body p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.8);
  margin: 0;
  opacity: 0;
  transition: opacity 0.4s 0.1s ease;
}
.team-card:hover .team-body p {
  opacity: 1;
}

/* ─── ACCREDITATION ROW ──────────────────────────────────── */
.accred-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 30px;
  padding: 36px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.03);
}
.accred-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px;
  transition: transform 0.3s ease;
}
.accred-item:hover {
  transform: translateY(-5px);
}
.accred-icon {
  flex-shrink: 0;
  width: 60px; height: 60px;
  border-radius: 18px;
  background: rgba(11,45,66, 0.08);
  color: var(--plum);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 16px;
  letter-spacing: 0.02em;
  transition: all 0.3s ease;
}
.accred-item:hover .accred-icon {
  background: var(--plum);
  color: #fff;
  box-shadow: 0 10px 20px rgba(11,45,66, 0.3);
}
.accred-icon.gold {
  background: rgba(227,202,125, 0.15);
  color: #C1A95C;
}
.accred-item:hover .accred-icon.gold {
  background: var(--gold);
  color: #fff;
  box-shadow: 0 10px 20px rgba(227,202,125, 0.4);
}
.accred-text strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: var(--dark-bg);
  margin-bottom: 4px;
}
.accred-text span {
  font-size: 13px;
  color: #777;
  line-height: 1.4;
}

/* ─── FACILITY SHOWCASE ──────────────────────────────────── */
.facility-showcase {
  position: relative;
  border-radius: 40px;
  overflow: hidden;
  aspect-ratio: 21/9;
  box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}
.facility-showcase img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 10s linear;
}
.facility-showcase:hover img {
  transform: scale(1.1);
}
.facility-showcase::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(11,45,66, 0.9) 0%, rgba(11,45,66, 0.4) 60%, transparent 100%);
}
body:dir(rtl) .facility-showcase::after, html[lang="ar"] .facility-showcase::after {
  background: linear-gradient(-90deg, rgba(11,45,66, 0.9) 0%, rgba(11,45,66, 0.4) 60%, transparent 100%);
}
.facility-overlay {
  position: absolute;
  inset-inline-start: 0;
  top: 0; bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 80px;
  color: #fff;
  max-width: 600px;
  z-index: 2;
}
.facility-overlay h3 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 900;
  line-height: 1.32;
  margin: 0 0 18px;
}
.facility-overlay h3 em {
  font-style: normal;
  color: var(--gold);
}
.facility-overlay p {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255,255,255,0.9);
  margin: 0 0 30px;
}

/* ─── GUIDES QUICK ACCESS ────────────────────────────────── */
.guides-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.guide-quick-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 30px;
  padding: 40px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.guide-quick-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.06);
  border-color: rgba(11,45,66, 0.2);
}
.guide-quick-icon {
  flex-shrink: 0;
  width: 70px; height: 70px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--plum), #0B2D42);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(11,45,66, 0.3);
  transition: transform 0.4s ease;
}
.guide-quick-card:hover .guide-quick-icon {
  transform: scale(1.1) rotate(-5deg);
}
.guide-quick-card.gold .guide-quick-icon {
  background: linear-gradient(135deg, var(--gold), #C1A95C);
  box-shadow: 0 10px 25px rgba(227,202,125, 0.4);
}
.guide-quick-body { flex: 1; min-width: 0; }
.guide-quick-body h4 {
  font-size: 20px;
  font-weight: 900;
  color: var(--dark-bg);
  margin: 0 0 10px;
}
.guide-quick-body p {
  font-size: 15px;
  line-height: 1.7;
  color: #666;
  margin: 0 0 24px;
}
.guide-quick-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ─── POLICIES ───────────────────────────────────────────── */
.policies-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.policy-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 30px;
  padding: 36px;
  position: relative;
  transition: all 0.4s ease;
  overflow: hidden;
}
.policy-card::after {
  content: "";
  position: absolute;
  top: 0; right: 0; left: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(11,45,66, 0.03) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.policy-card:hover {
  transform: translateY(-5px);
  border-color: rgba(11,45,66, 0.2);
  box-shadow: 0 15px 35px rgba(0,0,0,0.05);
}
.policy-card:hover::after { opacity: 1; }
.policy-num {
  font-size: 56px;
  font-weight: 900;
  line-height: 1;
  color: rgba(227,202,125, 0.3);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  transition: color 0.4s ease;
}
.policy-card:hover .policy-num {
  color: var(--gold);
}
.policy-card h4 {
  font-size: 18px;
  font-weight: 900;
  color: var(--dark-bg);
  margin: 0 0 12px;
  position: relative;
  z-index: 1;
}
.policy-card p {
  font-size: 14.5px;
  line-height: 1.8;
  color: #666;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* ─── JOIN CTA ───────────────────────────────────────────── */
.about-join {
  background: linear-gradient(135deg, var(--plum), #36192d);
  border-radius: 40px;
  padding: 80px 60px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(11,45,66, 0.25);
}
.about-join::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(227,202,125, 0.15), transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05), transparent 50%);
  pointer-events: none;
  animation: glowPulse 4s infinite alternate;
}
.about-join h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 900;
  line-height: 1.32;
  margin: 0 0 20px;
  position: relative;
  color: #fff;
}
.about-join h2 em {
  font-style: normal;
  color: var(--gold);
}
.about-join p {
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255,255,255,0.85);
  max-width: 640px;
  margin: 0 auto 36px;
  position: relative;
}
.about-join-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}
.about-join .btn-outline {
  color: #fff !important;
  border-color: rgba(255,255,255,0.4) !important;
}
.about-join .btn-outline:hover {
  background: rgba(255,255,255,0.1) !important;
  border-color: #fff !important;
  transform: translateY(-3px);
}

/* ─── SECTION SPACING ────────────────────────────────────── */
.about-section {
  padding: clamp(60px, 8vw, 120px) 0;
}
.about-section + .about-section { padding-top: 0; }

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .about-hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .about-hero-image-wrap { max-width: 500px; margin-inline: auto; animation: none; transform: none; }
  .about-hero-image-badge { bottom: -10px; inset-inline-start: 10px; animation: none; }
  .about-values { grid-template-columns: repeat(2, 1fr); }
  .founder-section { grid-template-columns: 1fr; gap: 40px; padding: 40px; }
  .founder-photo { max-width: 300px; margin-inline: auto; }
  .founder-section::before { font-size: 180px; top: -10px; right: 10px; }
  .facility-showcase { aspect-ratio: 16/10; }
  .facility-overlay { padding: 0 50px; max-width: 100%; }
}
@media (max-width: 768px) {
  .about-hero { padding: 80px 0 60px; }
  .about-hero h1 { font-size: 36px; }
  .about-hero-meta { gap: 24px; }
  .about-hero-meta-item strong { font-size: 32px; }
  .about-values { grid-template-columns: 1fr; gap: 20px; }
  .value-card { padding: 30px 24px; }
  .founder-section { padding: 30px 20px; }
  .founder-section::before { font-size: 140px; }
  .facility-overlay { padding: 30px; background: rgba(11,45,66,0.6); }
  .facility-overlay h3 { font-size: 26px; }
  .guides-row { grid-template-columns: 1fr; }
  .guide-quick-card { padding: 30px 20px; flex-direction: column; }
  .about-join { padding: 50px 24px; border-radius: 30px; }
  .accred-row { padding: 24px; gap: 16px; }
}
