/* ==========================================================================
   Counselor Mohamed Gamal Shabib - Legal Portfolio
   Design System: Luxury Deep Brown & Warm Gold
   Bilingual: Complete RTL (Arabic) & LTR (English) Support
   ========================================================================== */

:root {
  /* Brand Color Palette - Deep Browns & Regal Gold */
  --c-espresso: #140d08;
  --c-mahogany: #1f150e;
  --c-leather: #2c1e14;
  --c-walnut: #3d2a1c;
  --c-bark: #523926;
  
  --c-gold-dark: #997316;
  --c-gold: #c59b27;
  --c-gold-light: #dfb743;
  --c-gold-bright: #f0cf65;
  --c-gold-glow: rgba(197, 155, 39, 0.22);
  --c-gold-gradient: linear-gradient(135deg, #c59b27 0%, #e2be52 50%, #b38820 100%);
  --c-gold-soft-bg: rgba(197, 155, 39, 0.08);

  --c-cream-bg: #faf7f2;
  --c-card-bg: #ffffff;
  --c-sand: #f2ece1;
  --c-border: #e3d7c5;
  --c-border-dark: #3a2a1d;
  
  --c-text-primary: #1f1610;
  --c-text-secondary: #5e5043;
  --c-text-muted: #8c7b6d;
  --c-text-on-dark: #fbf8f3;
  --c-text-gold: #c59b27;
  
  --c-success: #15803d;
  --c-danger: #b91c1c;

  /* Typography */
  --font-ar: 'Tajawal', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-en: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif-en: 'Cinzel', 'Playfair Display', serif;
  
  /* Layout & Elevations */
  --container-max: 1200px;
  --header-height: 80px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 2px 8px rgba(20, 13, 8, 0.04);
  --shadow-md: 0 6px 20px rgba(20, 13, 8, 0.08);
  --shadow-lg: 0 16px 36px rgba(20, 13, 8, 0.12);
  --shadow-gold: 0 8px 24px rgba(197, 155, 39, 0.28);
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--c-cream-bg);
  color: var(--c-text-primary);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Direction & Typography Adaptation */
html[dir="rtl"] body {
  font-family: var(--font-ar);
  text-align: right;
}

html[dir="ltr"] body {
  font-family: var(--font-en);
  text-align: left;
}

html[dir="ltr"] h1, 
html[dir="ltr"] h2, 
html[dir="ltr"] .hero-title, 
html[dir="ltr"] .brand-title {
  font-family: var(--font-serif-en);
  letter-spacing: 0.5px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 20px;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-topbar {
  background: var(--c-espresso);
  color: var(--c-sand);
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(197, 155, 39, 0.2);
  padding: 8px 0;
}

.topbar-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.topbar-contact {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.topbar-contact-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #dfd7cc;
}

.topbar-contact-item i {
  color: var(--c-gold);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Language Switcher Button */
.lang-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(197, 155, 39, 0.15);
  border: 1px solid var(--c-gold);
  color: var(--c-gold-bright);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  transition: all var(--transition-fast);
}

.lang-switch-btn:hover {
  background: var(--c-gold);
  color: var(--c-espresso);
  box-shadow: 0 0 12px rgba(197, 155, 39, 0.4);
}

/* Main Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--c-border);
  transition: all var(--transition-normal);
}

.navbar-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--header-height);
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--c-mahogany);
  border: 1px solid var(--c-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-gold);
  font-size: 1.35rem;
  box-shadow: var(--shadow-sm);
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--c-espresso);
  line-height: 1.25;
}

.brand-badge {
  font-size: 0.76rem;
  color: var(--c-gold-dark);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--c-text-primary);
  position: relative;
  padding: 6px 0;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--c-gold);
  transform: scaleX(0);
  transition: transform var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--c-gold-dark);
}

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

.nav-cta-btn {
  background: var(--c-gold-gradient);
  color: var(--c-espresso);
  font-weight: 700;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  box-shadow: 0 4px 14px rgba(197, 155, 39, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.nav-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
  color: #000;
}

/* Mobile Toggle */
.mobile-toggle-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--c-border);
  color: var(--c-espresso);
  font-size: 1.25rem;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* Mobile Drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 0;
  bottom: 0;
  width: 300px;
  max-width: 85%;
  background: var(--c-mahogany);
  color: #fff;
  z-index: 2000;
  padding: 24px;
  box-shadow: 0 0 50px rgba(0,0,0,0.6);
  transition: transform var(--transition-normal);
  overflow-y: auto;
}

html[dir="rtl"] .mobile-drawer {
  right: 0;
  transform: translateX(100%);
}
html[dir="rtl"] .mobile-drawer.open {
  transform: translateX(0);
}

html[dir="ltr"] .mobile-drawer {
  left: 0;
  transform: translateX(-100%);
}
html[dir="ltr"] .mobile-drawer.open {
  transform: translateX(0);
}

.drawer-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1999;
}

.drawer-backdrop.active {
  display: block;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--c-border-dark);
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.drawer-close {
  background: transparent;
  border: none;
  color: var(--c-gold);
  font-size: 1.4rem;
  cursor: pointer;
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.drawer-links .nav-link {
  color: #eae1d7;
  font-size: 1.05rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding-bottom: 10px;
}

.drawer-links .nav-link:hover,
.drawer-links .nav-link.active {
  color: var(--c-gold-bright);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, var(--c-espresso) 0%, var(--c-mahogany) 60%, var(--c-leather) 100%);
  color: var(--c-text-on-dark);
  padding: 75px 0 85px;
  overflow: hidden;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(197, 155, 39, 0.08) 1.5px, transparent 1.5px);
  background-size: 30px 30px;
  opacity: 0.6;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 50px;
  position: relative;
  z-index: 2;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(197, 155, 39, 0.14);
  border: 1px solid var(--c-gold);
  color: var(--c-gold-bright);
  padding: 7px 18px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 22px;
  box-shadow: 0 0 15px rgba(197, 155, 39, 0.2);
}

.hero-title {
  font-size: 2.85rem;
  font-weight: 800;
  line-height: 1.22;
  margin-bottom: 18px;
  color: #ffffff;
}

.hero-title span {
  color: var(--c-gold-light);
  display: block;
  text-shadow: 0 0 20px rgba(223, 183, 67, 0.35);
}

.hero-subtitle {
  font-size: 1.14rem;
  color: #d8cdbe;
  margin-bottom: 34px;
  line-height: 1.8;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

/* Staggered entrance for hero elements */
.hero-anim-1 { animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both 0.1s; }
.hero-anim-2 { animation: heroFadeUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) both 0.25s; }
.hero-anim-3 { animation: heroFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) both 0.4s; }
.hero-anim-4 { animation: heroFadeUp 0.95s cubic-bezier(0.16, 1, 0.3, 1) both 0.55s; }

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

.btn-primary {
  background: var(--c-gold-gradient);
  color: var(--c-espresso);
  font-weight: 700;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 20px rgba(197, 155, 39, 0.35);
  transition: all var(--transition-normal);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

/* Shimmer Light Reflection on Golden Button */
.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.45) 50%,
    transparent 100%
  );
  transform: rotate(25deg);
  pointer-events: none;
  transition: left 0.75s ease;
}

.btn-primary:hover::after {
  left: 130%;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(197, 155, 39, 0.5);
  color: #000;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: var(--radius-full);
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--c-gold);
  color: var(--c-gold-bright);
  box-shadow: 0 0 18px rgba(197, 155, 39, 0.25);
}

/* ==========================================================================
   Hero Portrait Wrap & Ultra-Luxury Animated Backdrop
   ========================================================================== */
.hero-image-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1200px;
}

/* Multi-layer backdrop container placed strictly behind the card */
.portrait-backdrop-container {
  position: absolute;
  inset: -60px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
}

/* 1. Breathing Golden Halo */
.portrait-glow-halo {
  position: absolute;
  width: 480px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(223, 183, 67, 0.42) 0%, rgba(197, 155, 39, 0.22) 42%, rgba(153, 115, 22, 0.08) 68%, transparent 80%);
  filter: blur(50px);
  animation: haloBreathe 5.5s ease-in-out infinite alternate;
  will-change: transform, opacity;
}

@keyframes haloBreathe {
  0% {
    transform: scale(0.92);
    opacity: 0.75;
  }
  100% {
    transform: scale(1.12);
    opacity: 1;
    filter: blur(65px);
  }
}

/* 2. Outer Rotating Luxury Orbit Ring */
.portrait-orbit-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.portrait-orbit-ring-1 {
  width: 480px;
  height: 480px;
  border: 1.5px dashed rgba(223, 183, 67, 0.55);
  box-shadow: 0 0 25px rgba(197, 155, 39, 0.2), inset 0 0 25px rgba(197, 155, 39, 0.12);
  animation: orbitRotateClockwise 32s linear infinite;
}

.orbit-gem {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--c-gold-bright);
  border: 1px solid #fff;
  border-radius: 2px;
  transform: rotate(45deg);
  box-shadow: 0 0 10px #f0cf65, 0 0 18px var(--c-gold);
}

.orbit-gem.gem-1 { top: -5px; left: calc(50% - 5px); }
.orbit-gem.gem-2 { bottom: -5px; left: calc(50% - 5px); }
.orbit-gem.gem-3 { left: -5px; top: calc(50% - 5px); }
.orbit-gem.gem-4 { right: -5px; top: calc(50% - 5px); }

/* 3. Inner Counter-Rotating Ring */
.portrait-orbit-ring-2 {
  width: 420px;
  height: 420px;
  border: 1px solid rgba(223, 183, 67, 0.3);
  border-top: 2px solid #f0cf65;
  border-bottom: 2px solid #f0cf65;
  filter: drop-shadow(0 0 8px rgba(223, 183, 67, 0.45));
  animation: orbitRotateCounterClockwise 22s linear infinite;
}

@keyframes orbitRotateClockwise {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes orbitRotateCounterClockwise {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

/* 4. Geometric Diamond Wireframe */
.portrait-geometric-diamond {
  position: absolute;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(197, 155, 39, 0.22);
  transform: rotate(45deg);
  animation: diamondPulse 7s ease-in-out infinite alternate;
}

@keyframes diamondPulse {
  0% { transform: rotate(45deg) scale(0.96); opacity: 0.4; }
  100% { transform: rotate(45deg) scale(1.04); opacity: 0.85; }
}

/* 5. Floating Golden Sparkle Particles */
.portrait-particles-wrap {
  position: absolute;
  inset: 0;
}

.gold-particle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, #f0cf65 50%, #c59b27 100%);
  box-shadow: 0 0 8px #f0cf65, 0 0 16px rgba(197, 155, 39, 0.8);
  pointer-events: none;
}

.gold-particle.p1 { width: 5px; height: 5px; top: 15%; right: 10%; animation: particleFloat 6s ease-in-out infinite; }
.gold-particle.p2 { width: 4px; height: 4px; bottom: 20%; left: 8%; animation: particleFloat 5.2s ease-in-out infinite 1s; }
.gold-particle.p3 { width: 6px; height: 6px; top: 30%; left: 12%; animation: particleFloat 7s ease-in-out infinite 0.5s; }
.gold-particle.p4 { width: 3px; height: 3px; bottom: 25%; right: 15%; animation: particleFloat 4.8s ease-in-out infinite 2s; }
.gold-particle.p5 { width: 4px; height: 4px; top: 8%; left: 35%; animation: particleFloat 6.5s ease-in-out infinite 1.5s; }
.gold-particle.p6 { width: 5px; height: 5px; bottom: 10%; right: 40%; animation: particleFloat 5.8s ease-in-out infinite 2.5s; }

@keyframes particleFloat {
  0%, 100% { transform: translateY(0) scale(0.8); opacity: 0.3; }
  50% { transform: translateY(-18px) scale(1.2); opacity: 0.95; }
}

/* Main Counselor Portrait Frame with 3D Depth */
.counselor-portrait-frame {
  position: relative;
  z-index: 2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.65), 0 0 40px rgba(197, 155, 39, 0.3);
  border: 2px solid rgba(223, 183, 67, 0.7);
  background: var(--c-mahogany);
  max-width: 420px;
  transform-style: preserve-3d;
  transition: transform 0.25s cubic-bezier(0.2, 0, 0.2, 1), box-shadow 0.4s ease;
}

.counselor-portrait-frame:hover {
  box-shadow: 0 35px 75px rgba(0, 0, 0, 0.75), 0 0 50px rgba(223, 183, 67, 0.45);
}

.counselor-portrait-frame img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.counselor-portrait-frame:hover img {
  transform: scale(1.04);
}

/* Top Corner Prestigious Seal Badge */
.portrait-seal-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 5;
  background: linear-gradient(135deg, #dfb743 0%, #c59b27 60%, #997316 100%);
  color: #140d08;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(0,0,0,0.5), 0 0 12px rgba(223, 183, 67, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(4px);
}

html[dir="ltr"] .portrait-seal-badge {
  left: auto;
  right: 18px;
}

.portrait-seal-badge i {
  color: #140d08;
  font-size: 0.95rem;
}

/* Shimmer Light Beam Sweeping Across the Portrait */
.portrait-shimmer-sweep {
  position: absolute;
  top: -100%;
  left: -100%;
  width: 60%;
  height: 300%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.18) 50%,
    transparent 100%
  );
  transform: rotate(35deg);
  pointer-events: none;
  z-index: 3;
  animation: lightBeamSweep 5s ease-in-out infinite;
}

@keyframes lightBeamSweep {
  0% { transform: translateY(-100%) rotate(35deg); opacity: 0; }
  15% { opacity: 0.8; }
  35% { transform: translateY(120%) rotate(35deg); opacity: 0; }
  100% { transform: translateY(120%) rotate(35deg); opacity: 0; }
}

.portrait-glow-border {
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(240, 207, 101, 0.55);
  pointer-events: none;
  z-index: 4;
}

/* Floating Official Position Badge with Smooth Breathing Animation */
.portrait-floating-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(18, 11, 7, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--c-gold);
  border-radius: var(--radius-md);
  padding: 13px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 5;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5), 0 0 15px rgba(197, 155, 39, 0.25);
  animation: floatingBadgeFloat 4.8s ease-in-out infinite;
}

@keyframes floatingBadgeFloat {
  0%, 100% {
    transform: translateY(0);
    box-shadow: 0 10px 25px rgba(0,0,0,0.5), 0 0 15px rgba(197, 155, 39, 0.25);
  }
  50% {
    transform: translateY(-7px);
    box-shadow: 0 16px 32px rgba(0,0,0,0.6), 0 0 25px rgba(223, 183, 67, 0.4);
  }
}

.floating-badge-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--c-gold-gradient);
  color: var(--c-espresso);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(223, 183, 67, 0.5);
}

.floating-badge-text h4 {
  font-size: 0.98rem;
  color: #fff;
  margin: 0;
  font-weight: 700;
}

.floating-badge-text p {
  font-size: 0.8rem;
  color: var(--c-gold-bright);
  margin: 0;
  font-weight: 600;
}

/* ==========================================================================
   Trust & Metrics Bar
   ========================================================================== */
.stats-bar-section {
  background: #ffffff;
  padding: 40px 0;
  border-bottom: 1px solid var(--c-border);
  box-shadow: var(--shadow-sm);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px;
}

.stat-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: var(--c-gold-soft-bg);
  border: 1px solid var(--c-border);
  color: var(--c-gold-dark);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-info h3 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--c-espresso);
  line-height: 1.1;
  margin-bottom: 2px;
}

.stat-info p {
  font-size: 0.88rem;
  color: var(--c-text-muted);
  font-weight: 600;
  margin: 0;
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section-padding {
  padding: 85px 0;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px;
}

.section-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--c-gold-soft-bg);
  color: var(--c-gold-dark);
  border: 1px solid var(--c-border);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--c-espresso);
  line-height: 1.3;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--c-text-secondary);
  line-height: 1.7;
}

/* ==========================================================================
   Services Grid
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--c-card-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 35px 28px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--c-gold-gradient);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(197, 155, 39, 0.4);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon-box {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: var(--c-leather);
  color: var(--c-gold-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 22px;
  box-shadow: 0 4px 15px rgba(31, 21, 14, 0.15);
  transition: all var(--transition-fast);
}

.service-card:hover .service-icon-box {
  background: var(--c-gold);
  color: var(--c-espresso);
  transform: rotate(5deg) scale(1.05);
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--c-espresso);
  margin-bottom: 12px;
  line-height: 1.4;
}

.service-desc {
  font-size: 0.94rem;
  color: var(--c-text-secondary);
  line-height: 1.65;
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--c-gold-dark);
  transition: gap var(--transition-fast);
}

.service-card:hover .service-link {
  color: var(--c-gold);
  gap: 12px;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-section {
  background: #ffffff;
  border-block: 1px solid var(--c-border);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 60px;
}

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

.about-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--c-border);
}

.about-image-card img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
}

.about-exp-badge {
  position: absolute;
  top: 30px;
  right: -20px;
  background: var(--c-mahogany);
  border: 2px solid var(--c-gold);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: var(--shadow-gold);
  text-align: center;
}

html[dir="ltr"] .about-exp-badge {
  right: auto;
  left: -20px;
}

.about-exp-badge h3 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--c-gold-bright);
  line-height: 1;
}

.about-exp-badge p {
  font-size: 0.8rem;
  color: var(--c-sand);
  margin: 4px 0 0;
  text-transform: uppercase;
}

.about-text-column .section-title {
  text-align: inherit;
  margin-bottom: 18px;
}

.about-lead {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--c-gold-dark);
  margin-bottom: 18px;
  line-height: 1.65;
}

.about-body {
  font-size: 1rem;
  color: var(--c-text-secondary);
  line-height: 1.8;
  margin-bottom: 30px;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 35px;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--c-cream-bg);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--c-border);
}

.value-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--c-gold);
  color: var(--c-espresso);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.value-text h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-espresso);
  margin-bottom: 4px;
}

.value-text p {
  font-size: 0.9rem;
  color: var(--c-text-secondary);
  margin: 0;
}

/* ==========================================================================
   Articles & News Cards
   ========================================================================== */
.articles-grid,
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.article-card,
.news-card {
  background: var(--c-card-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.article-card:hover,
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(197, 155, 39, 0.4);
}

.card-img-wrap {
  height: 200px;
  background: var(--c-leather);
  position: relative;
  overflow: hidden;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.article-card:hover .card-img-wrap img,
.news-card:hover .card-img-wrap img {
  transform: scale(1.05);
}

.card-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--c-espresso);
  color: var(--c-gold-bright);
  border: 1px solid var(--c-gold);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

html[dir="ltr"] .card-badge {
  right: auto;
  left: 14px;
}

.card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.82rem;
  color: var(--c-text-muted);
  margin-bottom: 12px;
}

.card-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--c-espresso);
  margin-bottom: 10px;
  line-height: 1.45;
}

.card-title a:hover {
  color: var(--c-gold-dark);
}

.card-excerpt {
  font-size: 0.92rem;
  color: var(--c-text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* ==========================================================================
   Consultation CTA & Form
   ========================================================================== */
.consult-cta-section {
  background: linear-gradient(135deg, var(--c-espresso) 0%, var(--c-mahogany) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.consult-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 50px;
}

.consult-text-side .section-title {
  color: #ffffff;
  margin-bottom: 16px;
}

.consult-text-side p {
  color: #d6cbbe;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 30px;
}

.contact-quick-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-quick-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-quick-item .icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(197, 155, 39, 0.15);
  border: 1px solid var(--c-gold);
  color: var(--c-gold-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.contact-quick-item .text h5 {
  font-size: 0.85rem;
  color: var(--c-gold-light);
  margin: 0;
}

.contact-quick-item .text p {
  font-size: 0.95rem;
  color: #fff;
  margin: 2px 0 0;
}

.consult-form-card {
  background: #ffffff;
  color: var(--c-text-primary);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  border-top: 4px solid var(--c-gold);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--c-espresso);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--c-border);
  background: #fdfcfb;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--c-text-primary);
  transition: all var(--transition-fast);
}

.form-control:focus {
  border-color: var(--c-gold);
  background: #ffffff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(197, 155, 39, 0.15);
}

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

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.demo-notice-tag {
  font-size: 0.78rem;
  color: var(--c-text-muted);
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--c-espresso);
  color: #eae2d6;
  padding: 70px 0 0;
  margin-top: auto;
  border-top: 3px solid var(--c-gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-widget h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--c-gold-light);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-widget h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background: var(--c-gold);
}

html[dir="rtl"] .footer-widget h4::after {
  left: auto;
  right: 0;
}

.footer-desc {
  font-size: 0.92rem;
  line-height: 1.7;
  color: #c4b6a5;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(197, 155, 39, 0.3);
  color: var(--c-gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.social-btn:hover {
  background: var(--c-gold);
  color: var(--c-espresso);
  transform: translateY(-3px);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links li a {
  color: #c4b6a5;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.footer-links li a:hover {
  color: var(--c-gold-bright);
  transform: translateX(-4px);
}

html[dir="ltr"] .footer-links li a:hover {
  transform: translateX(4px);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: #c4b6a5;
}

.footer-contact-item i {
  color: var(--c-gold);
  margin-top: 5px;
  font-size: 1rem;
}

/* Footer Bottom with Exact Required Copyright */
.footer-bottom {
  background: #0d0805;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
  font-size: 0.9rem;
  color: #9c8e80;
}

.footer-bottom-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.copyright-text {
  font-weight: 500;
}

.copyright-text strong {
  color: var(--c-gold-light);
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-legal-links a:hover {
  color: var(--c-gold-light);
}

/* ==========================================================================
   Page Banners (Internal Pages)
   ========================================================================== */
.page-banner {
  background: linear-gradient(135deg, var(--c-espresso) 0%, var(--c-mahogany) 100%);
  color: #fff;
  padding: 60px 0;
  border-bottom: 1px solid var(--c-border-dark);
  text-align: center;
  position: relative;
}

.page-banner-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
}

.breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--c-sand);
}

.breadcrumbs a {
  color: var(--c-gold-light);
}

.breadcrumbs span.current {
  color: #fff;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 992px) {
  .hero-grid,
  .about-grid,
  .consult-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .services-grid,
  .articles-grid,
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .main-nav {
    display: none;
  }

  .mobile-toggle-btn {
    display: block;
  }

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

@media (max-width: 640px) {
  :root {
    --header-height: 70px;
  }

  .site-topbar {
    display: none;
  }

  .services-grid,
  .articles-grid,
  .news-grid,
  .stats-grid,
  .footer-grid,
  .form-grid-2 {
    grid-template-columns: 1fr;
  }

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

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

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .footer-bottom-wrapper {
    flex-direction: column;
    text-align: center;
  }

  /* Scale down orbit rings on mobile devices to prevent horizontal overflow */
  .portrait-backdrop-container {
    transform: scale(0.72);
  }

  .counselor-portrait-frame {
    max-width: 320px;
  }

  .counselor-portrait-frame img {
    height: 380px;
  }
}

/* ==========================================================================
   Luxurious Scroll Reveal & Micro-Interactions System
   ========================================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Luxury About Card Glow Halo */
.about-image-card {
  position: relative;
  z-index: 1;
}

.about-card-glow-halo {
  position: absolute;
  inset: -25px;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle, rgba(223, 183, 67, 0.35) 0%, rgba(197, 155, 39, 0.15) 50%, transparent 75%);
  filter: blur(40px);
  pointer-events: none;
  z-index: -1;
  animation: haloBreathe 6s ease-in-out infinite alternate;
}

/* Service Card Luxury Micro-Interactions */
.service-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.3s ease;
}

.service-card:hover {
  transform: translateY(-9px) scale(1.015);
  box-shadow: 0 20px 45px rgba(20, 13, 8, 0.14), 0 0 25px rgba(197, 155, 39, 0.18);
  border-color: rgba(223, 183, 67, 0.6);
}

.service-card:hover .service-icon-box {
  transform: rotate(6deg) scale(1.12);
  background: var(--c-gold-gradient);
  color: var(--c-espresso);
  box-shadow: 0 8px 22px rgba(197, 155, 39, 0.45);
}

/* Trust Number Pulse Animation */
.stat-info h3.animated-counter {
  color: var(--c-espresso);
  transition: color 0.3s ease;
}

.stat-item:hover .stat-icon {
  background: var(--c-gold-gradient);
  color: var(--c-espresso);
  transform: rotate(-6deg) scale(1.08);
  box-shadow: 0 6px 18px rgba(197, 155, 39, 0.35);
}

.stat-icon {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

