/* ==========================================================================
   RAFAD LAW FIRM & LEGAL CONSULTATIONS | مجموعة رفاد للمحاماة والاستشارات القانونية
   Official Design System & Stylesheet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Amiri:ital,wght@0,400;0,700;1,400&family=Cairo:wght@400;500;600;700;800;900&family=Cinzel:wght@500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=Tajawal:wght@400;500;700;800&display=swap');

/* ==========================================================================
   APTOS FONT FACE DEFINITIONS (System & Local)
   ========================================================================== */
@font-face {
  font-family: 'Aptos';
  src: local('Aptos'), local('Aptos Regular'), local('Aptos-Regular');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Aptos';
  src: local('Aptos Bold'), local('Aptos-Bold');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Aptos';
  src: local('Aptos SemiBold'), local('Aptos-SemiBold'), local('Aptos Semibold');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Aptos';
  src: local('Aptos ExtraBold'), local('Aptos-ExtraBold');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Aptos Display';
  src: local('Aptos Display'), local('Aptos-Display'), local('AptosDisplay');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root,
[data-theme="light"] {
  /* Color Palette — Clean Modern Light Theme */
  --navy-deep: #F8F9FA;
  --navy-dark: #F1F5F9;
  --navy-card: #FFFFFF;
  --navy-card-hover: #F8FAFC;
  --navy-light: #E2E8F0;
  --navy-royal: #082567;

  --gold-primary: #B8860B;
  --gold-light: #9A6F09;
  --gold-lighter: #7A5707;
  --gold-dark: #8C6508;
  --gold-border: rgba(184, 134, 11, 0.35);
  --gold-glow: rgba(184, 134, 11, 0.12);

  --bg-dark: #F8F9FA;
  --bg-light: #F1F5F9;
  --bg-surface: #FFFFFF;
  --bg-cream: #FFFFFF;

  --text-white: #000000;
  --text-cream: #0A0A0A;
  --text-muted: #334155;
  --text-dark: #000000;
  --text-slate: #1E293B;

  --accent-red: #8B1E1E;
  --accent-green: #10B981;
  --accent-blue: #082567;

  /* Typography — Aptos Universal Modern Font System */
  --font-en-sans: 'Aptos', 'Aptos Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-en-serif: 'Aptos Display', 'Aptos', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-ar-sans: 'Aptos', 'Cairo', 'Tajawal', -apple-system, BlinkMacSystemFont, 'Segoe UI', Tahoma, Arial, sans-serif;
  --font-ar-serif: 'Aptos Display', 'Aptos', 'Cairo', 'Tajawal', -apple-system, BlinkMacSystemFont, 'Segoe UI', Tahoma, Arial, sans-serif;

  /* Elevation */
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.12);
  --shadow-gold: 0 8px 24px rgba(184, 134, 11, 0.18);

  /* Layout & Transitions */
  --container-max: 1240px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 18px;
  --radius-xl: 26px;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.35s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-cream);
  font-family: var(--font-en-sans);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* RTL / Arabic Specific Typographic Overrides */
html[dir="rtl"] body {
  font-family: var(--font-ar-sans);
}

html[dir="rtl"] .serif-font {
  font-family: var(--font-ar-serif);
}

html[dir="ltr"] .serif-font {
  font-family: var(--font-en-serif);
}

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

button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: inherit;
}

input, select, textarea, optgroup {
  font-family: inherit;
}

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

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* Gradient Text & Gold Accents */
.gold-text {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-primary), var(--gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gold-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  background: rgba(197, 160, 89, 0.12);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   TOP BAR
   ========================================================================== */
.top-bar {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(8, 37, 103, 0.12);
  font-size: 0.82rem;
  padding: 0.45rem 0;
  position: relative;
  z-index: 100;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.top-bar-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  color: var(--text-muted);
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.top-bar-item svg {
  width: 14px;
  height: 14px;
  color: var(--gold-primary);
}

.top-bar-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.lang-toggle {
  background: #FFFFFF;
  border: 1px solid rgba(8, 37, 103, 0.3);
  color: #082567;
  padding: 0.25rem 0.85rem;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.lang-toggle:hover {
  background: #082567;
  color: #FFFFFF;
  border-color: #082567;
  transform: translateY(-1px);
}

/* Light Theme Component Specifics */

[data-theme="light"] .gold-badge {
  background: rgba(8, 37, 103, 0.07);
  border-color: rgba(8, 37, 103, 0.28);
  color: #082567;
  font-weight: 700;
}

[data-theme="light"] .hero-section {
  background-color: #FEFEFE;
  background-image: linear-gradient(to right, #FEFEFE 0%, #FEFEFE 25%, rgba(254, 254, 254, 0) 55%), url('../assets/hero-banner.png');
  background-size: 100% 100%, contain;
  background-position: left top, right bottom;
  background-repeat: no-repeat, no-repeat;
}

[data-theme="light"] .hero-card {
  background: rgba(7, 18, 44, 0.74) !important;
  border-color: rgba(197, 160, 89, 0.5) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 35px rgba(197, 160, 89, 0.18) !important;
}

[data-theme="light"] .top-bar {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: rgba(8, 37, 103, 0.12);
}

[data-theme="light"] .main-header {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: rgba(8, 37, 103, 0.12);
}

[data-theme="light"] .nav-link {
  color: #1E293B;
}

[data-theme="light"] .nav-link:hover,
[data-theme="light"] .nav-link.active {
  color: #082567;
}

[data-theme="light"] .nav-link::after {
  background: #082567;
}

[data-theme="light"] .nav-cta-btn {
  background: linear-gradient(135deg, #082567 0%, #0E3B9C 100%);
  color: #FFFFFF;
  border: 1px solid rgba(197, 160, 89, 0.45);
  box-shadow: 0 4px 16px rgba(8, 37, 103, 0.3);
}

[data-theme="light"] .nav-cta-btn:hover {
  background: linear-gradient(135deg, #0E3B9C 0%, #082567 100%);
  color: #FFFFFF;
  box-shadow: 0 6px 22px rgba(8, 37, 103, 0.45);
}

[data-theme="light"] .btn-primary {
  background: linear-gradient(135deg, #082567 0%, #0E3B9C 100%);
  color: #FFFFFF;
  border: 1px solid rgba(197, 160, 89, 0.45);
  box-shadow: 0 4px 18px rgba(8, 37, 103, 0.3);
}

[data-theme="light"] .btn-primary:hover {
  background: linear-gradient(135deg, #0E3B9C 0%, #082567 100%);
  color: #FFFFFF;
  box-shadow: 0 6px 24px rgba(8, 37, 103, 0.45);
}

[data-theme="light"] .section-subtitle {
  color: #082567;
  font-weight: 800;
}

[data-theme="light"] .btn-secondary {
  background: #FFFFFF;
  color: #000000;
  border-color: rgba(184, 134, 11, 0.35);
}

[data-theme="light"] .btn-secondary:hover {
  background: rgba(184, 134, 11, 0.1);
  color: #7A5707;
}

[data-theme="light"] .calc-input,
[data-theme="light"] .calc-select {
  background: #FFFFFF;
  color: #000000;
  border-color: #CBD5E1;
}

[data-theme="light"] .calc-result-box {
  background: linear-gradient(145deg, #FAF8F5, #FFFFFF);
  box-shadow: 0 10px 30px rgba(184, 134, 11, 0.15);
}

[data-theme="light"] .calc-result-amount {
  color: #000000;
}

[data-theme="light"] .hero-card-trust-footer {
  background: rgba(5, 13, 31, 0.75) !important;
  border-color: rgba(197, 160, 89, 0.45) !important;
}

[data-theme="light"] .modal-box {
  background: #FFFFFF;
  color: #000000;
}

[data-theme="light"] .practice-section {
  background: linear-gradient(180deg, #F8F9FA 0%, #EEF2F6 50%, #F8F9FA 100%);
}

[data-theme="light"] .calculator-section {
  background: radial-gradient(circle at 20% 50%, rgba(223, 183, 108, 0.12) 0%, #F8F9FA 80%);
}

[data-theme="light"] .court-system-section {
  background: #F1F5F9;
}

[data-theme="light"] .contact-section {
  background: linear-gradient(180deg, #F8F9FA 0%, #E2E8F0 100%);
}

[data-theme="light"] .hawally-map-card {
  background: #FFFFFF;
}

[data-theme="light"] .map-visual-header {
  background: #F8FAFC;
  border-bottom-color: rgba(184, 134, 11, 0.2);
}

[data-theme="light"] .map-embed-placeholder {
  background: radial-gradient(circle at 50% 50%, #EEF2F6 0%, #E2E8F0 85%);
}

[data-theme="light"] .map-embed-placeholder p {
  color: #475569 !important;
}

[data-theme="light"] .trust-strip {
  background: #F1F5F9;
  border-block-color: rgba(184, 134, 11, 0.2);
}

[data-theme="light"] .mobile-drawer {
  background: rgba(255, 255, 255, 0.98);
}

[data-theme="light"] .mobile-nav-links a {
  color: #000000;
}

[data-theme="light"] .main-footer {
  background: #F1F5F9;
  border-top-color: rgba(184, 134, 11, 0.35);
  color: #000000;
}

[data-theme="light"] .footer-col h4 {
  color: #000000;
}

[data-theme="light"] .footer-brand-desc {
  color: #000000;
}

[data-theme="light"] .footer-links a {
  color: #000000;
}

[data-theme="light"] .footer-links a:hover {
  color: var(--gold-dark);
}

[data-theme="light"] .footer-bottom {
  border-top-color: rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .footer-copy-text {
  color: #000000 !important;
  font-weight: 700;
}

[data-theme="light"] .footer-disclaimer-text {
  color: #1A202C !important;
}

[data-theme="light"] .practice-tab-btn {
  background: #FFFFFF;
  border-color: #CBD5E1;
  color: #334155;
}

[data-theme="light"] .practice-tab-btn.active,
[data-theme="light"] .practice-tab-btn:hover {
  background: #082567;
  color: #FFFFFF;
  border-color: #082567;
  box-shadow: 0 4px 16px rgba(8, 37, 103, 0.3);
}

[data-theme="light"] .practice-card:hover {
  border-color: #082567;
  box-shadow: 0 10px 30px rgba(8, 37, 103, 0.12);
}

[data-theme="light"] .practice-card::before {
  background: #082567;
}

[data-theme="light"] .practice-card:hover .practice-icon {
  background: #082567;
  color: #FFFFFF;
  border-color: #082567;
}

[data-theme="light"] .practice-bullets li::before {
  color: #082567;
}

[data-theme="light"] .practice-link {
  color: #082567;
}

[data-theme="light"] .practice-link:hover {
  color: #0E3B9C;
}

[data-theme="light"] .court-step-num {
  color: #082567;
  opacity: 0.85;
}

[data-theme="light"] .court-card:hover {
  border-color: #082567;
  box-shadow: 0 10px 30px rgba(8, 37, 103, 0.12);
}

[data-theme="light"] .footer-col h4::after {
  background: #082567;
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
.main-header {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(8, 37, 103, 0.12);
  z-index: 99;
  margin-bottom: 0;
  transition: all var(--transition-fast);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 0;
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-logo-emblem {
  width: 56px;
  height: 56px;
  object-fit: contain;
  background: #FFFFFF;
  border-radius: var(--radius-sm);
  padding: 3px;
  border: 1px solid var(--gold-border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  transition: transform var(--transition-normal);
  flex-shrink: 0;
}

.brand-logo-wrap:hover .brand-logo-emblem {
  transform: scale(1.05);
  border-color: var(--gold-primary);
  box-shadow: 0 4px 14px rgba(197, 160, 89, 0.4);
}

.brand-title-box {
  display: flex;
  flex-direction: column;
}

.brand-title-main {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--text-white);
  line-height: 1.15;
}

.brand-title-sub {
  font-size: 0.72rem;
  color: var(--gold-primary);
  letter-spacing: 1px;
  font-weight: 600;
}

.brand-title-motto {
  font-size: 0.68rem;
  color: var(--text-muted);
}

/* Nav Menu Links */
.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  gap: clamp(0.75rem, 1.4vw, 1.65rem);
  margin: 0;
  padding: 0;
}

.nav-menu li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap !important;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  color: var(--text-cream);
  font-family: var(--font-en-sans) !important;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap !important;
  position: relative;
  padding: 0.45rem 0.2rem;
  vertical-align: middle;
  text-decoration: none;
  transition: color var(--transition-fast);
}

html[dir="rtl"] .nav-link {
  font-family: var(--font-ar-sans) !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gold-primary);
  transition: width var(--transition-fast);
}

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

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-cta-btn {
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
  color: var(--navy-deep);
  font-family: var(--font-en-sans) !important;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-gold);
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap !important;
  line-height: 1.2;
  gap: 0.5rem;
  text-decoration: none;
}

html[dir="rtl"] .nav-cta-btn {
  font-family: var(--font-ar-sans) !important;
}

.nav-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(197, 160, 89, 0.4);
  background: linear-gradient(135deg, var(--gold-light), var(--gold-primary));
}

/* Footer News Pill Button (Bottom News Link) */
.footer-news-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.25rem;
  background: rgba(197, 160, 89, 0.12);
  border: 1px solid rgba(197, 160, 89, 0.45);
  border-radius: 9999px;
  color: var(--gold-light);
  font-family: var(--font-en-sans) !important;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

html[dir="rtl"] .footer-news-pill {
  font-family: var(--font-ar-sans) !important;
}

.footer-news-pill:hover {
  background: linear-gradient(135deg, #DFB76C, #C5A059);
  color: #0B1220;
  border-color: #F9E7B9;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(197, 160, 89, 0.35);
}

[data-theme="light"] .footer-news-pill {
  background: rgba(8, 37, 103, 0.08);
  border-color: rgba(8, 37, 103, 0.3);
  color: #082567;
}

[data-theme="light"] .footer-news-pill:hover {
  background: #082567;
  color: #FFFFFF;
  border-color: #082567;
  box-shadow: 0 6px 18px rgba(8, 37, 103, 0.25);
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  color: var(--gold-light);
  padding: 0.4rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gold-border);
}

.mobile-menu-btn svg {
  width: 24px;
  height: 24px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  background-color: #FEFEFE;
  background-image: linear-gradient(to right, #FEFEFE 0%, #FEFEFE 25%, rgba(254, 254, 254, 0) 55%), url('../assets/hero-banner.png');
  background-size: 100% 100%, contain;
  background-position: left top, right bottom;
  background-repeat: no-repeat, no-repeat;
  overflow: hidden;
  padding: 2rem 0 3rem;
}

/* New white hero centered layout */
.hero-split-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.hero-white-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.2rem;
  max-width: 55%;
  position: relative;
  z-index: 2;
  direction: ltr;
  text-align: left;
  margin-inline-end: auto;
  margin-inline-start: 0;
}

/* Hero image on the right */
.hero-image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-side-img {
  width: 100%;
  max-width: 540px;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
}

/* Logo block: logo image + text side by side */
.hero-logo-block {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 0.25rem;
}

.hero-logo-img {
  width: 120px;
  height: auto;
  object-fit: contain;
}

.hero-logo-text {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hero-logo-name {
  font-family: var(--font-en-serif);
  font-size: 2.4rem;
  font-weight: 800;
  color: #1B2A4A;
  letter-spacing: 6px;
  line-height: 1.1;
}

.hero-logo-divider {
  font-family: var(--font-en-serif);
  font-size: 0.95rem;
  font-weight: 600;
  color: #1B2A4A;
  letter-spacing: 3px;
  line-height: 1.4;
}

.hero-logo-tagline {
  font-family: var(--font-en-serif);
  font-size: 0.78rem;
  font-weight: 500;
  color: #1B2A4A;
  letter-spacing: 2.5px;
  line-height: 1.4;
}

.hero-arabic-subtitle {
  font-size: 1.15rem;
  font-weight: 600;
  color: #B8860B;
  letter-spacing: 0.5px;
  margin-top: -0.5rem;
}

.hero-background-pattern {
  display: none;
}

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

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-title {
  font-size: 3.8rem;
  font-weight: 900;
  line-height: 1.1;
  color: #1B2A4A !important;
  text-shadow: none;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-title-navy {
  color: #1B2A4A;
}

.hero-title-gold {
  color: #B8860B;
}

.hero-subtitle-expat {
  font-size: 1.35rem;
  font-weight: 700;
  color: #3A4A6B;
  font-family: var(--font-en-serif);
  font-style: italic;
  letter-spacing: 0.5px;
}

.hero-description {
  font-size: 1.05rem;
  color: #1a1a1a !important;
  max-width: 620px;
  line-height: 1.75;
  text-shadow: none;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-primary), var(--gold-dark));
  color: var(--navy-deep);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.9rem 1.9rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: var(--shadow-gold);
  transition: all var(--transition-fast);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(197, 160, 89, 0.45);
}

.hero-section .btn-secondary,
.btn-secondary {
  background: #FFFFFF;
  color: #1B2A4A;
  border: 1.5px solid rgba(184, 134, 11, 0.5);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.9rem 1.8rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: all var(--transition-fast);
}

.hero-section .btn-secondary:hover,
.btn-secondary:hover {
  background: rgba(184, 134, 11, 0.1);
  border-color: #B8860B;
  color: #1B2A4A;
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25D366;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: #1EBE5D;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45);
}

/* Trust Stats Bar */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(197, 160, 89, 0.35);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: #DFB76C !important;
  line-height: 1;
  font-family: var(--font-en-serif);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.stat-label {
  font-size: 0.85rem;
  color: #CBD5E1 !important;
  margin-top: 0.35rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

/* Hero Legal Certificate Card — Frosted Glass on top of Hero Background */
.hero-card {
  position: relative;
  background: rgba(7, 18, 44, 0.74);
  border: 1.5px solid rgba(197, 160, 89, 0.5);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 35px rgba(197, 160, 89, 0.18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.hero-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.6), 0 0 45px rgba(197, 160, 89, 0.28);
  border-color: rgba(223, 183, 108, 0.75);
}

.hero-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
  pointer-events: none;
}

.official-seal-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(197, 160, 89, 0.25);
}

.official-seal-wrap .emblem-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: #FFFFFF;
  border-radius: var(--radius-sm);
  padding: 4px;
  border: 1.5px solid rgba(197, 160, 89, 0.6);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
}

.hero-card .official-seal-text h4 {
  color: #FFFFFF !important;
  font-size: 1.18rem;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-card .official-seal-text p {
  color: #DFB76C !important;
  font-size: 0.85rem;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
  margin-top: 2px;
}

.card-highlights {
  list-style: none;
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.05rem;
}

.card-highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.95rem;
  color: #F8FAFC !important;
  line-height: 1.55;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
}

.card-highlight-item .icon {
  width: 20px;
  height: 20px;
  color: #DFB76C !important;
  flex-shrink: 0;
  margin-top: 2px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.6));
}

.hero-card-trust-footer {
  background: rgba(5, 13, 31, 0.75) !important;
  border: 1px solid rgba(197, 160, 89, 0.4) !important;
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-card-trust-footer .gold-badge {
  background: rgba(197, 160, 89, 0.22) !important;
  color: #F6E05E !important;
  border: 1px solid rgba(197, 160, 89, 0.5) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
}

.hero-card-trust-footer span[data-i18n="card_firm_lic"] {
  color: #E2E8F0 !important;
  font-size: 0.82rem;
  font-weight: 500;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

/* ==========================================================================
   OFFICIAL MARQUEE / BADGES STRIP
   ========================================================================== */
.trust-strip {
  background: var(--navy-dark);
  border-block: 1px solid rgba(197, 160, 89, 0.2);
  padding: 1.25rem 0;
}

.trust-strip-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-cream);
  font-size: 0.9rem;
  font-weight: 600;
}

.trust-badge-item svg {
  width: 22px;
  height: 22px;
  color: var(--gold-primary);
}

/* ==========================================================================
   ABOUT RAFAD SECTION
   ========================================================================== */
.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.section-subtitle {
  color: var(--gold-primary);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.6rem;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.section-description {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.about-feature-box {
  background: var(--navy-card);
  border: 1px solid rgba(197, 160, 89, 0.2);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.about-feature-box:hover {
  transform: translateY(-4px);
  border-color: var(--gold-primary);
}

.about-feature-box .icon {
  width: 32px;
  height: 32px;
  color: var(--gold-primary);
  margin-bottom: 0.85rem;
}

.about-feature-box h4 {
  font-size: 1.05rem;
  color: var(--text-white);
  margin-bottom: 0.4rem;
}

.about-feature-box p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Official Firm Identity & Creed Card in About Section */
.about-emblem-card {
  background: radial-gradient(circle at 50% 30%, #15244C, var(--navy-deep));
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  position: relative;
  box-shadow: var(--shadow-md);
  text-align: center;
}

[data-theme="light"] .about-emblem-card {
  background: #FFFFFF;
  border-color: rgba(184, 134, 11, 0.35);
  box-shadow: 0 10px 35px rgba(15, 23, 42, 0.08);
}

.about-emblem-halo {
  width: 110px;
  height: 110px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197, 160, 89, 0.25) 0%, transparent 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(197, 160, 89, 0.4);
  box-shadow: 0 0 25px rgba(197, 160, 89, 0.2);
}

.about-emblem-img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.about-emblem-title {
  font-size: 1.35rem;
  color: var(--text-white);
  margin-bottom: 0.35rem;
}

.about-emblem-sub {
  font-size: 0.88rem;
  color: var(--gold-light);
  margin-bottom: 1.75rem;
}

.about-creed-badges {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: start;
}

.about-creed-item {
  background: rgba(7, 13, 30, 0.5);
  border: 1px solid rgba(197, 160, 89, 0.2);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

[data-theme="light"] .about-creed-item {
  background: #F8FAFC;
  border-color: #E2E8F0;
}

.about-creed-item:hover {
  border-color: var(--gold-primary);
  transform: translateY(-2px);
}

.creed-icon {
  font-size: 1.25rem;
  line-height: 1;
}

.about-creed-item strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-white);
  margin-bottom: 0.2rem;
}

.about-creed-item p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

/* ==========================================================================
   PRACTICE AREAS GRID
   ========================================================================== */
.practice-section {
  background: linear-gradient(180deg, var(--navy-deep) 0%, #0A142D 50%, var(--navy-deep) 100%);
}

.practice-tabs {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.75rem;
  flex-wrap: wrap;
}

.practice-tab-btn {
  background: rgba(19, 34, 71, 0.7);
  border: 1px solid rgba(197, 160, 89, 0.25);
  color: var(--text-cream);
  padding: 0.6rem 1.4rem;
  border-radius: 40px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.practice-tab-btn:hover {
  background: rgba(197, 160, 89, 0.25);
  color: var(--gold-lighter);
  border-color: var(--gold-primary);
}

.practice-tab-btn.active {
  background: #082567;
  color: #FFFFFF;
  border-color: var(--gold-primary);
  box-shadow: 0 4px 18px rgba(8, 37, 103, 0.55);
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.75rem;
}

.practice-card {
  background: var(--navy-card);
  border: 1px solid rgba(197, 160, 89, 0.2);
  border-radius: var(--radius-md);
  padding: 2.2rem;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.practice-card::before {
  content: '';
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 4px;
  height: 0;
  background: var(--gold-primary);
  transition: height var(--transition-normal);
}

.practice-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-gold);
}

.practice-card:hover::before {
  height: 100%;
}

.practice-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(197, 160, 89, 0.12);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
  transition: all var(--transition-fast);
}

.practice-card:hover .practice-icon {
  background: var(--gold-primary);
  color: var(--navy-deep);
}

.practice-icon svg {
  width: 26px;
  height: 26px;
}

.practice-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.75rem;
}

.practice-desc {
  color: #A0AEC0;
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.practice-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: #CBD5E1;
}

.practice-bullets li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.practice-bullets li::before {
  content: '•';
  color: var(--gold-primary);
  font-weight: bold;
}

.practice-link {
  color: var(--gold-light);
  font-weight: 700;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.practice-link:hover {
  color: var(--gold-lighter);
  gap: 0.65rem;
}

/* ==========================================================================
   KUWAIT LABOR LAW INDEMNITY CALCULATOR
   ========================================================================== */
.calculator-section {
  background: radial-gradient(circle at 20% 50%, rgba(20, 35, 75, 0.45) 0%, var(--navy-deep) 80%);
  position: relative;
}

.calculator-container {
  background: var(--navy-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-lg), 0 0 40px rgba(197, 160, 89, 0.1);
}

.calculator-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: start;
}

.calc-form-group {
  margin-bottom: 1.4rem;
}

.calc-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-cream);
  margin-bottom: 0.45rem;
}

.calc-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.calc-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.calc-input {
  width: 100%;
  background: rgba(7, 13, 30, 0.8);
  border: 1px solid rgba(197, 160, 89, 0.35);
  border-radius: var(--radius-sm);
  color: var(--text-white);
  padding: 0.85rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color var(--transition-fast);
}

.calc-input:focus {
  outline: none;
  border-color: var(--gold-light);
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.2);
}

.calc-suffix {
  position: absolute;
  inset-inline-end: 1rem;
  color: var(--gold-primary);
  font-weight: 700;
  font-size: 0.9rem;
  pointer-events: none;
}

.calc-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.calc-select {
  width: 100%;
  background: rgba(7, 13, 30, 0.8);
  border: 1px solid rgba(197, 160, 89, 0.35);
  border-radius: var(--radius-sm);
  color: var(--text-white);
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  font-family: inherit;
  cursor: pointer;
  transition: border-color var(--transition-fast);
}

.calc-select:focus {
  outline: none;
  border-color: var(--gold-light);
}

/* Calculator Result Card */
.calc-result-box {
  background: linear-gradient(145deg, rgba(7, 13, 30, 0.9), rgba(13, 25, 53, 0.95));
  border: 1px solid var(--gold-primary);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-gold);
}

.calc-result-title {
  font-size: 0.9rem;
  color: var(--gold-light);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.calc-result-amount {
  font-size: 3rem;
  font-weight: 900;
  color: #FFFFFF;
  margin: 0.75rem 0;
  line-height: 1;
  font-family: var(--font-en-serif);
}

.calc-result-kd {
  font-size: 1.3rem;
  color: var(--gold-light);
  margin-inline-start: 0.35rem;
}

.calc-breakdown {
  list-style: none;
  text-align: start;
  border-top: 1px solid rgba(197, 160, 89, 0.2);
  border-bottom: 1px solid rgba(197, 160, 89, 0.2);
  padding: 1.25rem 0;
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  font-size: 0.88rem;
}

.calc-breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.calc-breakdown-row span:first-child {
  color: var(--text-muted);
}

.calc-breakdown-row span:last-child {
  color: var(--text-white);
  font-weight: 600;
}

.law-reference-badge {
  display: inline-block;
  background: rgba(197, 160, 89, 0.15);
  color: var(--gold-lighter);
  border: 1px solid rgba(197, 160, 89, 0.3);
  padding: 0.35rem 0.8rem;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

/* ==========================================================================
   KUWAIT COURT SYSTEM SECTION
   ========================================================================== */
.court-system-section {
  background: var(--navy-deep);
}

.court-journey-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

.court-card {
  background: var(--navy-card);
  border: 1px solid rgba(197, 160, 89, 0.2);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.4rem;
  position: relative;
  transition: all var(--transition-fast);
}

.court-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-light);
  box-shadow: var(--shadow-gold);
}

.court-step-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: rgba(197, 160, 89, 0.25);
  line-height: 1;
  margin-bottom: 0.5rem;
  font-family: var(--font-en-serif);
}

.court-card-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.5rem;
}

.court-card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   OFFICE LOCATION & HAWALLY CONTACT CARD
   ========================================================================== */
.contact-section {
  background: linear-gradient(180deg, var(--navy-deep) 0%, #081024 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-info-card {
  background: var(--navy-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.contact-method-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-top: 2rem;
}

.contact-method-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.contact-icon-box {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: rgba(197, 160, 89, 0.15);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  flex-shrink: 0;
}

.contact-icon-box svg {
  width: 22px;
  height: 22px;
}

.contact-detail-title {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-detail-val {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-white);
  margin-top: 0.2rem;
}

.contact-detail-val a:hover {
  color: var(--gold-light);
}

/* Hawally Map Visual Card */
.hawally-map-card {
  position: relative;
  background: #0B1633;
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-visual-header {
  padding: 1.25rem 1.75rem;
  background: rgba(7, 13, 30, 0.85);
  border-bottom: 1px solid var(--gold-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.map-visual-header h4 {
  color: var(--text-white);
  font-size: 1rem;
  font-weight: 700;
}

.map-embed-placeholder {
  height: 380px;
  background: radial-gradient(circle at 50% 50%, #172B5E 0%, #09132B 85%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  position: relative;
}

.map-frame-wrapper {
  position: relative;
  width: 100%;
  height: 420px;
  background: #0B1633;
}

.map-frame-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.map-floating-bar {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  background: rgba(11, 22, 51, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: var(--shadow-md);
}

[data-theme="light"] .map-floating-bar {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(8, 37, 103, 0.25);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .map-floating-bar div {
  color: #000000 !important;
}

[data-theme="light"] .map-floating-bar strong {
  color: #082567 !important;
}

@media (max-width: 640px) {
  .map-frame-wrapper {
    height: 460px;
  }
  .map-floating-bar {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 0.75rem;
    padding: 0.75rem;
    bottom: 10px;
    left: 10px;
    right: 10px;
  }
}

.map-pin-pulse {
  width: 60px;
  height: 60px;
  background: rgba(197, 160, 89, 0.25);
  border: 2px solid var(--gold-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-lighter);
  margin-bottom: 1.25rem;
  animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(197, 160, 89, 0.6); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 16px rgba(197, 160, 89, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(197, 160, 89, 0); }
}

/* ==========================================================================
   CONSULTATION MODAL
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 8, 20, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: var(--navy-card);
  border: 1px solid var(--gold-primary);
  border-radius: var(--radius-lg);
  max-width: 650px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), var(--shadow-gold);
  transform: translateY(20px);
  transition: transform var(--transition-normal);
  padding: 2.25rem;
  position: relative;
}

.modal-backdrop.active .modal-box {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  inset-inline-end: 1.25rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--gold-border);
  color: var(--text-cream);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--accent-red);
  color: var(--text-white);
}


/* ==========================================================================
   FLOATING ACTION BUTTONS
   ========================================================================== */
/* Floating WhatsApp Button (Bottom Right) */
.fab-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.fab-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.55);
}

.fab-whatsapp svg {
  width: 30px;
  height: 30px;
}

/* Back to Top Floating Button (Bottom Left Side) */
.back-to-top-btn {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 95;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.15rem;
  border-radius: 50px;
  background: #132247;
  border: 1px solid var(--gold-border);
  color: var(--gold-lighter);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
  transition: all var(--transition-normal);
  user-select: none;
}

.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top-btn:hover {
  background: var(--gold-primary);
  color: #070D1E;
  border-color: var(--gold-light);
  box-shadow: 0 8px 25px rgba(197, 160, 89, 0.45);
  transform: translateY(-3px);
}

.back-to-top-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.back-to-top-btn:hover .back-to-top-icon {
  transform: translateY(-2px);
}

.back-to-top-text {
  line-height: 1;
}

/* Light Theme Overrides for Back to Top Button */
[data-theme="light"] .back-to-top-btn {
  background: #FFFFFF;
  color: #000000;
  border-color: rgba(184, 134, 11, 0.45);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .back-to-top-btn:hover {
  background: var(--gold-primary);
  color: #FFFFFF;
  border-color: var(--gold-dark);
  box-shadow: 0 8px 24px rgba(184, 134, 11, 0.3);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
  background: #F1F5F9;
  border-top: 1px solid rgba(8, 37, 103, 0.15);
  padding: 4.5rem 0 2rem;
  color: #475569;
  font-size: 0.88rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand-desc {
  margin-top: 1rem;
  font-size: 0.86rem;
  line-height: 1.7;
  color: #475569;
}

.footer-col h4 {
  color: #082567;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.45rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  width: 28px;
  height: 2px;
  background: #082567;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: #475569;
}

.footer-links a:hover {
  color: #082567;
  padding-inline-start: 4px;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(8, 37, 103, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
}

.footer-copy-text {
  font-size: 0.86rem;
  font-weight: 600;
  color: #64748B;
  letter-spacing: 0.3px;
  line-height: 1.6;
}

.footer-disclaimer-text {
  font-size: 0.78rem;
  color: #64748B;
  max-width: 580px;
  line-height: 1.6;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid, .hero-split-grid, .about-grid, .contact-grid, .calculator-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .nav-menu {
    gap: 0.85rem;
  }

  .nav-link {
    font-size: 0.88rem;
    padding: 0.35rem 0.15rem;
  }

  .nav-cta-btn {
    padding: 0.55rem 1rem;
    font-size: 0.82rem;
  }
}

@media (max-width: 992px) {
  .top-bar {
    display: none;
  }

  .nav-menu, .nav-cta-btn {
    display: none;
  }

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

@media (max-width: 768px) {

  .hero-section {
    background-image: none;
  }

  .hero-white-content {
    max-width: 100%;
  }

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

  .hero-logo-img {
    width: 80px;
  }

  .hero-logo-name {
    font-size: 1.6rem;
    letter-spacing: 3px;
  }

  .hero-logo-divider {
    font-size: 0.75rem;
    letter-spacing: 2px;
  }

  .hero-logo-tagline {
    font-size: 0.65rem;
    letter-spacing: 1.5px;
  }

  .hero-subtitle-expat {
    font-size: 1.1rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .court-journey-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .calculator-container {
    padding: 1.5rem;
  }

  .calc-row-2 {
    grid-template-columns: 1fr;
  }

  .fab-whatsapp {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 50px;
    height: 50px;
  }

  .fab-whatsapp svg {
    width: 26px;
    height: 26px;
  }

  .back-to-top-btn {
    bottom: 1.25rem;
    left: 1.25rem;
    padding: 0.55rem 0.95rem;
    font-size: 0.78rem;
  }
}

@media (max-width: 480px) {
  .back-to-top-btn {
    width: 44px;
    height: 44px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }

  .back-to-top-btn .back-to-top-text {
    display: none;
  }

  .back-to-top-icon {
    width: 20px;
    height: 20px;
  }
}

/* Mobile Nav Drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  transform: translateX(100%);
  transition: transform var(--transition-normal);
}

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

.mobile-drawer.open {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(8, 37, 103, 0.15);
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.mobile-nav-links a {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1E293B;
}

.mobile-nav-links a:hover {
  color: #082567;
}

/* ==========================================================================
   ATTORNEY PROFILE SECTION (ABOUT HER)
   ========================================================================== */
.attorney-section {
  background: linear-gradient(180deg, var(--navy-deep) 0%, #0C1630 50%, var(--navy-deep) 100%);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(197, 160, 89, 0.15);
}

[data-theme="light"] .attorney-section {
  background: linear-gradient(180deg, #F8F9FA 0%, #EEF2F6 50%, #F8F9FA 100%);
  border-bottom-color: rgba(8, 37, 103, 0.1);
}

.attorney-grid {
  display: grid;
  gap: 3.5rem;
  align-items: center;
}

/* Ensure Photo is on the Right Side in both RTL and LTR on desktop */
html[dir="rtl"] .attorney-grid {
  grid-template-areas: "photo content";
  grid-template-columns: 0.85fr 1.15fr;
}

html[dir="ltr"] .attorney-grid {
  grid-template-areas: "content photo";
  grid-template-columns: 1.15fr 0.85fr;
}

.attorney-info-col {
  grid-area: content;
}

.attorney-photo-col {
  grid-area: photo;
}

.attorney-badge-wrap {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.attorney-name {
  font-size: 2.35rem;
  color: var(--text-white);
  line-height: 1.25;
  margin-bottom: 0.4rem;
  background: linear-gradient(135deg, #F9E7B9 0%, #DFB76C 50%, #C5A059 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="light"] .attorney-name {
  background: linear-gradient(135deg, #082567 0%, #0E3B9C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.attorney-tagline {
  font-size: 1.05rem;
  color: var(--gold-light);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

[data-theme="light"] .attorney-tagline {
  color: #082567;
}

.attorney-bio-text p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-cream);
  margin-bottom: 1.5rem;
}

[data-theme="light"] .attorney-bio-text p {
  color: #1E293B;
}

/* Feature Callout Box: What makes her different */
.attorney-diff-box {
  background: radial-gradient(circle at top right, rgba(8, 37, 103, 0.4), var(--navy-card));
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
  position: relative;
}

[data-theme="light"] .attorney-diff-box {
  background: #FFFFFF;
  border-color: rgba(8, 37, 103, 0.25);
  box-shadow: 0 6px 20px rgba(8, 37, 103, 0.08);
}

.attorney-diff-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.attorney-diff-header .diff-icon {
  font-size: 1.4rem;
}

.attorney-diff-header h4 {
  font-size: 1.15rem;
  color: var(--gold-lighter);
  font-weight: 700;
  margin: 0;
}

[data-theme="light"] .attorney-diff-header h4 {
  color: #082567;
  font-weight: 800;
}

.attorney-diff-content {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-white);
  margin: 0;
}

[data-theme="light"] .attorney-diff-content {
  color: #000000;
}

/* Strengths Badges */
.attorney-strengths {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.attorney-strength-item {
  background: rgba(7, 13, 30, 0.5);
  border: 1px solid rgba(197, 160, 89, 0.2);
  border-radius: var(--radius-sm);
  padding: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  transition: all var(--transition-fast);
}

[data-theme="light"] .attorney-strength-item {
  background: #FFFFFF;
  border-color: #CBD5E1;
}

.attorney-strength-item:hover {
  border-color: var(--gold-primary);
  transform: translateY(-2px);
}

.strength-icon {
  font-size: 1.25rem;
  line-height: 1;
}

.attorney-strength-item strong {
  display: block;
  font-size: 0.88rem;
  color: var(--text-white);
  margin-bottom: 0.2rem;
}

[data-theme="light"] .attorney-strength-item strong {
  color: #082567;
}

.attorney-strength-item span {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
}

[data-theme="light"] .attorney-strength-item span {
  color: #475569;
}

.attorney-cta-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Photo Card (Right Side) */
.attorney-photo-card {
  position: relative;
  background: radial-gradient(circle at 50% 30%, #15244C, var(--navy-deep));
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.45), 0 0 35px rgba(197, 160, 89, 0.15);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  max-width: 420px;
  margin: 0 auto;
}

[data-theme="light"] .attorney-photo-card {
  background: #FFFFFF;
  border-color: rgba(184, 134, 11, 0.4);
  box-shadow: 0 15px 40px rgba(8, 37, 103, 0.12), 0 0 25px rgba(184, 134, 11, 0.1);
}

.attorney-photo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.55), 0 0 45px rgba(197, 160, 89, 0.25);
}

.attorney-photo-frame {
  position: relative;
  border-radius: calc(var(--radius-lg) - 4px);
  overflow: hidden;
  border: 2px solid rgba(197, 160, 89, 0.35);
  background: #0B1428;
}

.attorney-portrait {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center 12%;
  display: block;
  transition: transform 0.5s ease;
}

.attorney-photo-card:hover .attorney-portrait {
  transform: scale(1.02);
}

.attorney-photo-caption {
  padding: 1.15rem 0.5rem 0.25rem;
  text-align: center;
}

.attorney-photo-caption h4 {
  font-size: 1.25rem;
  color: var(--text-white);
  margin-bottom: 0.25rem;
}

[data-theme="light"] .attorney-photo-caption h4 {
  color: #082567;
  font-weight: 800;
}

.attorney-photo-caption p {
  font-size: 0.85rem;
  color: var(--gold-light);
  margin-bottom: 0.75rem;
}

[data-theme="light"] .attorney-photo-caption p {
  color: #475569;
}

.attorney-caption-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 9999px;
  font-size: 0.78rem;
  color: #10B981;
  font-weight: 600;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
  animation: pulse-status 2s infinite;
}

@keyframes pulse-status {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.25); }
}

@media (max-width: 992px) {
  html[dir="rtl"] .attorney-grid,
  html[dir="ltr"] .attorney-grid {
    grid-template-areas:
      "photo"
      "content";
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .attorney-portrait {
    height: 420px;
  }

  .attorney-strengths {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   NEWS & ACHIEVEMENTS SECTION / PAGE
   ========================================================================== */
.btn-press-link {
  background: rgba(197, 160, 89, 0.15);
  border: 1px solid var(--gold-light);
  color: var(--gold-lighter);
  transition: var(--transition-fast);
}

.btn-press-link:hover {
  background: var(--gold-light);
  color: #030712;
  box-shadow: 0 4px 15px rgba(197, 160, 89, 0.35);
  transform: translateY(-2px);
}

[data-theme="light"] .btn-press-link {
  background: #082567;
  border-color: #082567;
  color: #FFFFFF;
}

[data-theme="light"] .btn-press-link:hover {
  background: #0E3B9C;
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(8, 37, 103, 0.35);
}

.news-page-hero {
  padding: 3.5rem 0 2rem;
  background: linear-gradient(180deg, #060B18 0%, #0B1633 100%);
  border-bottom: 1px solid var(--gold-border);
  position: relative;
  overflow: hidden;
}

[data-theme="light"] .news-page-hero {
  background: linear-gradient(180deg, #FFFFFF 0%, #F1F5F9 100%);
  border-bottom-color: rgba(8, 37, 103, 0.15);
}

.news-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
}

.news-breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-fast);
}

.news-breadcrumb a:hover {
  color: var(--gold-lighter);
}

[data-theme="light"] .news-breadcrumb a {
  color: #64748B;
}

[data-theme="light"] .news-breadcrumb a:hover {
  color: #082567;
}

.news-filters {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 2rem 0 0.5rem;
  justify-content: center;
}

.news-tab-btn {
  padding: 0.65rem 1.4rem;
  border-radius: 9999px;
  background: rgba(11, 22, 51, 0.65);
  border: 1px solid var(--gold-border);
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  backdrop-filter: blur(8px);
}

.news-tab-btn:hover {
  border-color: var(--gold-light);
  color: var(--text-white);
  transform: translateY(-2px);
}

.news-tab-btn.active {
  background: #082567;
  color: #FFFFFF;
  border-color: var(--gold-light);
  box-shadow: 0 4px 18px rgba(8, 37, 103, 0.55), 0 0 15px rgba(197, 160, 89, 0.25);
}

[data-theme="light"] .news-tab-btn {
  background: #FFFFFF;
  border-color: rgba(8, 37, 103, 0.2);
  color: #334155;
}

[data-theme="light"] .news-tab-btn:hover {
  border-color: #082567;
  color: #082567;
}

[data-theme="light"] .news-tab-btn.active {
  background: #082567;
  color: #FFFFFF;
  border-color: #082567;
  box-shadow: 0 4px 18px rgba(8, 37, 103, 0.35);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.news-card {
  background: #0B1633;
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-light);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 0 30px rgba(197, 160, 89, 0.15);
}

[data-theme="light"] .news-card {
  background: #FFFFFF;
  border-color: rgba(8, 37, 103, 0.18);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .news-card:hover {
  border-color: #082567;
  box-shadow: 0 16px 40px rgba(8, 37, 103, 0.14);
}

/* Featured Lead Card Spanning Full Width on Desktop */
.news-featured-card {
  grid-column: span 12;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 0;
}

html[dir="ltr"] .news-featured-card {
  grid-template-columns: 1fr 1.15fr;
}

.news-card-regular {
  grid-column: span 6;
}

.news-featured-card .news-media-box {
  position: relative;
  background: transparent;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 340px;
}

[data-theme="light"] .news-featured-card .news-media-box {
  background: #F8FAFC;
}

.news-featured-card .news-media-box img,
.news-featured-photo {
  width: 100% !important;
  height: 100% !important;
  min-height: 340px !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center top !important;
  transition: transform 0.6s ease;
  display: block !important;
  flex: 1;
}

.news-featured-card:hover .news-media-box img,
.news-featured-card:hover .news-featured-photo {
  transform: scale(1.03);
}

/* Regular Card Media Box (Emblems, Logos & Badges) */
.news-card-regular .news-media-box {
  position: relative;
  height: 180px;
  min-height: 180px;
  max-height: 180px;
  background: linear-gradient(135deg, #0e1d3a 0%, #071022 100%);
  border-bottom: 1px solid rgba(197, 160, 89, 0.25);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  transition: background var(--transition-fast);
}

[data-theme="light"] .news-card-regular .news-media-box {
  background: linear-gradient(135deg, #F8FAFC 0%, #E2E8F0 100%);
  border-bottom: 1px solid rgba(8, 37, 103, 0.12);
}

/* White plaque container for logo in card */
.news-logo-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(197, 160, 89, 0.45);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card-regular:hover .news-logo-card {
  transform: scale(1.06);
  box-shadow: 0 8px 24px rgba(197, 160, 89, 0.35);
}

.news-emblem-img {
  width: auto !important;
  max-width: 140px !important;
  height: 75px !important;
  max-height: 75px !important;
  min-height: unset !important;
  object-fit: contain !important;
  object-position: center center !important;
  display: block !important;
  margin: 0 !important;
}

.news-card-photo {
  width: 100% !important;
  height: 100% !important;
  min-height: 180px !important;
  max-height: 180px !important;
  object-fit: cover !important;
  object-position: center 30% !important;
  display: block !important;
  margin: 0 !important;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.news-card-regular:hover .news-card-photo {
  transform: scale(1.05) !important;
}


/* Round badge for icons/emblems */
.news-emblem-badge {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: rgba(197, 160, 89, 0.15);
  border: 2px solid var(--gold-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  transition: transform 0.3s ease;
}

[data-theme="light"] .news-emblem-badge {
  background: rgba(8, 37, 103, 0.08);
  border-color: #082567;
}

.news-card-regular:hover .news-emblem-badge {
  transform: scale(1.08);
}

.news-media-caption {
  padding: 0.6rem 1rem;
  background: rgba(6, 13, 30, 0.9);
  border-top: 1px solid rgba(197, 160, 89, 0.3);
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
}

[data-theme="light"] .news-media-caption {
  background: #F1F5F9;
  color: #475569;
}

.news-body {
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.news-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.news-publisher-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  background: rgba(197, 160, 89, 0.16);
  border: 1px solid rgba(197, 160, 89, 0.4);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold-lighter);
}

[data-theme="light"] .news-publisher-badge {
  background: rgba(8, 37, 103, 0.08);
  border-color: rgba(8, 37, 103, 0.28);
  color: #082567;
}

.news-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

[data-theme="light"] .news-date {
  color: #64748B;
}

.news-card-title {
  font-size: 1.45rem;
  color: var(--text-white);
  line-height: 1.45;
  margin-bottom: 1rem;
}

[data-theme="light"] .news-card-title {
  color: #082567;
  font-weight: 800;
}

.news-card-desc {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

[data-theme="light"] .news-card-desc {
  color: #334155;
}

.news-points-box {
  background: rgba(6, 13, 30, 0.6);
  border: 1px solid rgba(197, 160, 89, 0.25);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.25rem;
  margin-bottom: 1.75rem;
}

[data-theme="light"] .news-points-box {
  background: #F8FAFC;
  border-color: rgba(8, 37, 103, 0.15);
}

.news-point-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
  font-size: 0.88rem;
  line-height: 1.6;
  color: #E2E8F0;
}

.news-point-item:last-child {
  margin-bottom: 0;
}

[data-theme="light"] .news-point-item {
  color: #1E293B;
}

.news-point-bullet {
  color: var(--gold-light);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

[data-theme="light"] .news-point-bullet {
  color: #082567;
}

.news-card-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(197, 160, 89, 0.2);
}

[data-theme="light"] .news-card-actions {
  border-top-color: rgba(8, 37, 103, 0.15);
}

.btn-news-source {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.3rem;
  background: linear-gradient(135deg, #DFB76C 0%, #C5A059 100%);
  color: #030712;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(197, 160, 89, 0.35);
  transition: var(--transition-fast);
}

.btn-news-source:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow: 0 6px 20px rgba(197, 160, 89, 0.45);
}

[data-theme="light"] .btn-news-source {
  background: linear-gradient(135deg, #082567 0%, #0E3B9C 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(8, 37, 103, 0.35);
}

.btn-news-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.2rem;
  background: transparent;
  border: 1px solid var(--gold-border);
  color: var(--gold-lighter);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-news-secondary:hover {
  border-color: var(--gold-light);
  background: rgba(197, 160, 89, 0.15);
  transform: translateY(-2px);
}

[data-theme="light"] .btn-news-secondary {
  border-color: rgba(8, 37, 103, 0.35);
  color: #082567;
}

[data-theme="light"] .btn-news-secondary:hover {
  background: rgba(8, 37, 103, 0.08);
}


@media (max-width: 992px) {
  .news-featured-card {
    grid-template-columns: 1fr;
  }
  .news-card-regular {
    grid-column: span 12;
  }
}

/* ==========================================================================
   POSTER FEATURED CARD
   ========================================================================== */
.news-poster-card {
  grid-column: span 12;
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 0;
}

html[dir="rtl"] .news-poster-card {
  grid-template-columns: 420px 1fr;
}

html[dir="ltr"] .news-poster-card {
  grid-template-columns: 420px 1fr;
}

.news-poster-media-box {
  position: relative;
  background: linear-gradient(145deg, #091a3e 0%, #050d1e 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.75rem 1.5rem 1rem 1.5rem;
  overflow: hidden;
  border-inline-end: 1px solid rgba(197, 160, 89, 0.25);
}

[data-theme="light"] .news-poster-media-box {
  background: linear-gradient(145deg, #F1F5F9 0%, #E2E8F0 100%);
  border-color: rgba(8, 37, 103, 0.14);
}

.news-poster-frame {
  position: relative;
  display: block;
  width: 100%;
  max-width: 320px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  border: 2px solid rgba(197, 160, 89, 0.45);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  background: #0d1b3a;
  text-decoration: none;
}

[data-theme="light"] .news-poster-frame {
  background: #FFFFFF;
  border-color: rgba(8, 37, 103, 0.22);
  box-shadow: 0 12px 32px rgba(8, 37, 103, 0.16);
}

.news-poster-frame:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 18px 45px rgba(8, 37, 103, 0.26);
  border-color: var(--gold-primary);
}

.news-poster-card .news-poster-media-box img,
.news-poster-card .news-poster-img {
  width: 100% !important;
  height: auto !important;
  min-height: unset !important;
  max-height: 470px !important;
  object-fit: contain !important;
  object-position: center center !important;
  display: block !important;
  margin: 0 auto !important;
  flex: none !important;
}

.news-poster-zoom-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 37, 103, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(2px);
}

.news-poster-frame:hover .news-poster-zoom-overlay {
  opacity: 1;
}

.news-poster-zoom-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.15rem;
  background: linear-gradient(135deg, #DFB76C 0%, #C5A059 100%);
  color: #030712;
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 9999px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.news-poster-media-box .news-media-caption {
  width: 100%;
  margin-top: 1rem;
  border-radius: var(--radius-sm);
}

@media (max-width: 992px) {
  .news-poster-card {
    grid-template-columns: 1fr !important;
  }
  .news-poster-media-box {
    border-inline-end: none;
    border-bottom: 1px solid rgba(8, 37, 103, 0.14);
    padding: 1.5rem 1rem;
  }
  .news-poster-frame {
    max-width: 280px;
  }
}

