/* ==========================================================================
   Osoul Group | مجموعة أصول — Official Logo Brand Design System
   Exact Palette from Primary Logo.svg: #29235C, #29265B, #4F70B6, #5D83BA
   ========================================================================== */

:root {
  --navy-950: #1B1740;
  --navy-900: #29235C;
  --navy-800: #29265B;
  --navy-700: #3A4D8F;
  --gold-500: #4F70B6;
  --gold-400: #5D83BA;
  --gold-600: #3E5CA0;
  --gold-soft: rgba(79, 112, 182, 0.12);

  --bg-white: #FFFFFF;
  --bg-sand: #F4F7FB;
  --bg-card: #FFFFFF;

  --text-dark: #1E1B4B;
  --text-body: #334155;
  --text-muted: #64748B;
  --text-light: #F8FAFC;
  --text-light-muted: rgba(248, 250, 252, 0.80);

  --border-light: #E2E8F0;
  --border-gold: rgba(79, 112, 182, 0.35);

  --shadow-sm: 0 2px 10px rgba(41, 35, 92, 0.05);
  --shadow-md: 0 12px 30px rgba(41, 35, 92, 0.08);
  --shadow-lg: 0 24px 50px rgba(41, 35, 92, 0.14);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;

  --font-sans: 'DIN Next LT Arabic', 'DINNextLTArabic-Medium', 'Tajawal', system-ui, -apple-system, sans-serif;
  --transition: 0.28s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

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

body {
  font-family: var(--font-sans);
  color: var(--text-body);
  background-color: var(--bg-white);
  line-height: 1.75;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.text-center {
  text-align: center;
}

.text-white {
  color: var(--text-light) !important;
}

.text-light-muted {
  color: var(--text-light-muted) !important;
}

.text-gold-light {
  color: var(--gold-400);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: inherit;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-sm {
  padding: 0.55rem 1.2rem;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 0.9rem 1.85rem;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(79, 112, 182, 0.32);
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-600), var(--gold-500));
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(79, 112, 182, 0.42);
}

.btn-outline-light {
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--text-light);
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}

.btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.16);
  border-color: var(--gold-400);
  color: var(--gold-400);
  transform: translateY(-2px);
}

/* ==========================================================================
   1. NAVBAR
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all var(--transition);
  background: rgba(41, 35, 92, 0.62);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar::after {
  content: '';
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  height: 2.5px;
  width: var(--scroll-progress, 0%);
  background: linear-gradient(90deg, var(--gold-500), #7fa1d4);
  transition: width 0.12s linear;
  pointer-events: none;
}

.navbar.scrolled {
  padding: 0.72rem 0;
  background: rgba(41, 35, 92, 0.96);
  box-shadow: 0 8px 28px rgba(27, 23, 64, 0.24);
  border-bottom-color: rgba(93, 131, 186, 0.35);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.08);
  padding: 4px;
  border: 1px solid rgba(93, 131, 186, 0.35);
}

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

.brand-ar {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-light);
}

.brand-en {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gold-400);
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: rgba(248, 250, 252, 0.88);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  transition:
    color 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.18s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  inset-inline-start: 50%;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold-400), #8cb0e6);
  transform: translateX(-50%);
  transition: width 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

html[dir='rtl'] .nav-link::after {
  transform: translateX(50%);
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
  background-color: rgba(93, 131, 186, 0.18);
}

.nav-link:active {
  transform: scale(0.96);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.48rem 0.85rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-light);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
}

.lang-toggle:hover {
  background: rgba(93, 131, 186, 0.18);
  border-color: var(--gold-400);
  color: var(--gold-400);
}

.mobile-only-btn {
  display: none;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 0 9px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text-light);
  border-radius: 2px;
  transition: all var(--transition);
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   2. HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 8.5rem 0 5rem;
  background-color: var(--navy-950);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to left,
    rgba(27, 23, 64, 0.90) 0%,
    rgba(41, 35, 92, 0.72) 48%,
    rgba(41, 35, 92, 0.28) 100%
  );
}

.hero-container {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 820px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: rgba(93, 131, 186, 0.14);
  border: 1px solid rgba(93, 131, 186, 0.35);
  color: var(--gold-400);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-400);
  box-shadow: 0 0 10px var(--gold-400);
}

.hero-title {
  font-family: var(--font-sans);
  font-size: clamp(2rem, 4.2vw, 3.35rem);
  font-weight: 800;
  color: var(--text-light);
  line-height: 1.3;
  margin-bottom: 1.25rem;
}

.hero-title-sub {
  display: block;
  margin-top: 0.4rem;
  font-size: clamp(1.35rem, 2.7vw, 2.15rem);
  font-weight: 700;
  color: rgba(248, 250, 252, 0.94);
}

.hero-subtitle {
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
  color: var(--text-light-muted);
  max-width: 680px;
  margin-bottom: 2.2rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: rgba(248, 250, 252, 0.88);
  font-size: 0.92rem;
  font-weight: 500;
}

.trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-400);
}

/* ==========================================================================
   SHARED SECTIONS
   ========================================================================== */
.section {
  padding: 5.5rem 0;
  scroll-margin-top: 84px;
}

.section-header {
  max-width: 720px;
  margin: 0 auto 3.5rem;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-600);
  background: var(--gold-soft);
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
}

.pillars-section .section-eyebrow {
  color: var(--gold-400);
  background: rgba(93, 131, 186, 0.16);
}

.section-title {
  font-family: var(--font-sans);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1.35;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* ==========================================================================
   3. ABOUT US
   ========================================================================== */
.about-section {
  background-color: var(--bg-white);
}

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

.about-image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
}

.about-image-frame img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-floating-card {
  position: absolute;
  bottom: -22px;
  inset-inline-start: 22px;
  inset-inline-end: 22px;
  background: var(--navy-900);
  color: var(--text-light);
  padding: 1.15rem 1.4rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-lg);
}

.floating-label {
  display: block;
  font-size: 0.78rem;
  color: var(--gold-400);
  font-weight: 600;
}

.floating-title {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0.15rem 0;
}

.floating-desc {
  display: block;
  font-size: 0.85rem;
  color: var(--text-light-muted);
}

.section-lead {
  font-size: 1.12rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.about-text {
  color: var(--text-body);
  margin-bottom: 1.85rem;
}

.about-highlights {
  display: grid;
  gap: 1rem;
}

.highlight-box {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: var(--bg-sand);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.highlight-num {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--navy-900);
  color: var(--gold-400);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.highlight-box h3 {
  font-size: 1rem;
  color: var(--navy-900);
  margin-bottom: 0.2rem;
}

.highlight-box p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ==========================================================================
   4. CORE SERVICES
   ========================================================================== */
.services-section {
  background-color: var(--bg-sand);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

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

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--navy-900), var(--gold-500));
  opacity: 0.25;
  transition: opacity var(--transition);
}

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

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

.service-card-featured {
  border-color: rgba(93, 131, 186, 0.42);
  box-shadow: var(--shadow-md);
}

.service-card-featured::before {
  background: linear-gradient(90deg, var(--gold-600), var(--gold-400));
  opacity: 1;
}

.service-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.4rem;
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--navy-900);
  color: var(--gold-400);
  border: 1px solid rgba(93, 131, 186, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.service-card:hover .service-icon {
  background: var(--gold-500);
  color: var(--navy-950);
  border-color: var(--gold-500);
}

.service-tag {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--gold-600);
  background: var(--gold-soft);
  padding: 0.28rem 0.78rem;
  border-radius: 999px;
}

.service-title {
  font-family: var(--font-sans);
  font-size: 1.32rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 0.7rem;
}

.service-desc {
  font-size: 0.96rem;
  color: var(--text-muted);
  margin-bottom: 1.35rem;
  line-height: 1.75;
}

.service-list {
  display: grid;
  gap: 0.7rem;
  padding-top: 1.25rem;
  margin-bottom: 1.5rem;
  border-top: 1px solid var(--border-light);
}

.service-list li {
  position: relative;
  padding-inline-start: 1.45rem;
  font-size: 0.93rem;
  color: var(--text-body);
}

.service-list li::before {
  content: '✓';
  position: absolute;
  inset-inline-start: 0;
  color: var(--gold-600);
  font-weight: 800;
}

.service-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.05rem;
  border-radius: var(--radius-sm);
  background: var(--bg-sand);
  border: 1px solid var(--border-light);
  color: var(--navy-900);
  font-weight: 700;
  font-size: 0.92rem;
  transition: all var(--transition);
}

.service-cta-arrow {
  color: var(--gold-600);
  transition: transform var(--transition);
}

.service-cta:hover {
  background: var(--navy-900);
  color: var(--text-light);
  border-color: var(--navy-900);
}

.service-cta:hover .service-cta-arrow {
  color: var(--gold-400);
  transform: translateX(-4px);
}

/* ==========================================================================
   5. WHY USOUL GROUP / PILLARS
   ========================================================================== */
.pillars-section {
  background: radial-gradient(circle at top center, rgba(93, 131, 186, 0.08) 0%, transparent 55%),
              linear-gradient(160deg, var(--navy-950) 0%, var(--navy-900) 60%, var(--navy-800) 100%);
  position: relative;
}

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

.pillar-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.065) 0%, rgba(255, 255, 255, 0.025) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 2px solid rgba(93, 131, 186, 0.45);
  border-radius: var(--radius-lg);
  padding: 2rem 1.65rem;
  transition: all var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.pillar-card:hover {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.04) 100%);
  border-color: rgba(93, 131, 186, 0.55);
  border-top-color: var(--gold-400);
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.pillar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.pillar-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(93, 131, 186, 0.14);
  border: 1px solid rgba(93, 131, 186, 0.35);
  color: var(--gold-400);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.pillar-card:hover .pillar-icon {
  background: var(--gold-500);
  color: var(--navy-950);
  border-color: var(--gold-500);
}

.pillar-step {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--gold-400);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
}

.pillar-title {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 0.75rem;
  line-height: 1.45;
}

.pillar-desc {
  font-size: 0.93rem;
  line-height: 1.75;
  color: var(--text-light-muted);
}

/* ==========================================================================
   6. CONTACT SECTION
   ========================================================================== */
.contact-section {
  background-color: var(--bg-white);
}

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

.contact-lead {
  font-size: 1.03rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.contact-cards {
  display: grid;
  gap: 1rem;
}

.contact-direct-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.3rem;
  border-radius: var(--radius-md);
  background: var(--bg-sand);
  border: 1px solid var(--border-light);
  transition: all var(--transition);
}

a.contact-direct-card:hover {
  border-color: var(--gold-500);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.whatsapp-card {
  background: rgba(37, 211, 102, 0.08);
  border-color: rgba(37, 211, 102, 0.35);
}

.whatsapp-icon {
  background: #25D366;
  color: #FFFFFF;
}

.contact-direct-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--navy-900);
  color: var(--gold-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

[dir="ltr"] .hero-overlay {
  background: linear-gradient(
    to right,
    rgba(27, 23, 64, 0.90) 0%,
    rgba(41, 35, 92, 0.72) 52%,
    rgba(41, 35, 92, 0.28) 100%
  );
}

[dir="ltr"] .hero-bg-img {
  object-position: right center;
}

[dir="ltr"] .dir-arrow {
  transform: scaleX(-1);
}

[dir="ltr"] .service-cta:hover .service-cta-arrow,
[dir="ltr"] a.contact-direct-card:hover .contact-direct-arrow {
  transform: translateX(4px);
}

.contact-direct-body {
  flex: 1;
  text-align: start;
}

.contact-direct-label {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.15rem;
}

.contact-direct-value {
  display: block;
  font-size: 0.98rem;
  color: var(--navy-900);
  font-weight: 700;
}

.contact-direct-arrow {
  color: var(--gold-600);
  font-size: 1.1rem;
  font-weight: 700;
  transition: transform var(--transition);
}

a.contact-direct-card:hover .contact-direct-arrow {
  transform: translateX(-4px);
}

.contact-form-card {
  background: var(--bg-sand);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
}

.form-heading {
  font-family: var(--font-sans);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 1.5rem;
}

.contact-form {
  display: grid;
  gap: 1.1rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy-900);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-light);
  background: var(--bg-white);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(93, 131, 186, 0.18);
}

.form-feedback {
  font-size: 0.92rem;
  font-weight: 600;
  min-height: 1.4rem;
}

.form-feedback.success {
  color: #0F766E;
}

.form-feedback.error {
  color: #B91C1C;
}

/* ==========================================================================
   7. FOOTER
   ========================================================================== */
.footer {
  background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 100%);
  color: var(--text-light-muted);
  padding: 4.25rem 0 2rem;
  border-top: 2px solid rgba(93, 131, 186, 0.4);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.9fr 1.1fr;
  gap: 3rem;
  padding-bottom: 2.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  align-items: start;
}

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

.footer-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  padding: 6px;
  border: 1px solid rgba(93, 131, 186, 0.38);
  flex-shrink: 0;
}

.footer-brand-meta {
  text-align: start;
}

.footer-title {
  font-family: var(--font-sans);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--text-light);
}

.footer-title-sep {
  color: var(--gold-500);
  margin: 0 0.25rem;
}

.footer-parent {
  font-size: 0.85rem;
  color: rgba(248, 250, 252, 0.84);
  font-weight: 500;
  margin-top: 0.15rem;
}

.footer-parent-en {
  font-size: 0.74rem;
  color: var(--gold-400);
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-top: 0.15rem;
  text-align: start;
}

.footer-desc {
  font-size: 0.94rem;
  line-height: 1.8;
  max-width: 400px;
  color: rgba(248, 250, 252, 0.72);
}

.footer-col {
  text-align: start;
}

.footer-heading {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 1.15rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  width: 32px;
  height: 2px;
  background: var(--gold-500);
  border-radius: 2px;
}

.footer-links {
  display: grid;
  gap: 0.7rem;
}

.footer-links a {
  font-size: 0.94rem;
  color: rgba(248, 250, 252, 0.78);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--gold-400);
}

.footer-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.footer-contact-item svg {
  color: var(--gold-400);
  flex-shrink: 0;
}

.footer-social-block {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
}

.social-links {
  display: flex;
  gap: 0.6rem;
}

.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.social-links a:hover {
  background: var(--gold-500);
  color: var(--navy-950);
  border-color: var(--gold-500);
  transform: translateY(-2px);
}

.social-handle {
  font-size: 0.86rem;
  color: var(--gold-400);
  font-weight: 600;
  text-align: right;
}

.footer-bottom {
  padding-top: 1.65rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.87rem;
  color: rgba(248, 250, 252, 0.65);
}

.footer-bottom-en {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(93, 131, 186, 0.85);
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  inset-inline-end: 24px;
  z-index: 950;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  background: #25D366;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.38);
  transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition);
}

.whatsapp-float:hover {
  background: #1EBE5D;
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(37, 211, 102, 0.48);
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 18px;
    inset-inline-end: 18px;
    padding: 0.85rem;
    border-radius: 50%;
  }

  .whatsapp-float-text {
    display: none;
  }
}

/* ==========================================================================
   REVEAL & NAVIGATION ARRIVAL ANIMATIONS
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes sectionArrivePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(79, 112, 182, 0.32);
    transform: translateY(4px);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(79, 112, 182, 0);
    transform: translateY(0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(79, 112, 182, 0);
    transform: translateY(0);
  }
}

.section.nav-arrived .section-eyebrow {
  animation: sectionArrivePulse 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.section.nav-arrived .section-title {
  transition: color 0.4s ease;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal,
  .nav-link,
  .nav-link::after,
  .navbar::after {
    transition: none !important;
    animation: none !important;
  }
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (Desktop, Tablet, Mobile, Small Mobile)
   ========================================================================== */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: 1fr;
    max-width: 680px;
    margin: 0 auto;
  }

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

  .about-grid,
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .about-floating-card {
    position: static;
    margin-top: 1rem;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .desktop-only-btn {
    display: none;
  }

  .mobile-only-btn {
    display: inline-flex;
    width: 100%;
    margin-top: 0.5rem;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 72px;
    inset-inline: 1rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    padding: 1.35rem;
    background: var(--navy-900);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: all var(--transition);
  }

  .nav-menu.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .services-grid,
  .pillars-grid,
  .footer-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 3.75rem 0;
    scroll-margin-top: 74px;
  }

  .hero {
    padding: 7rem 0 3.75rem;
    min-height: auto;
  }

  .about-image-frame img {
    height: 290px;
  }

  .contact-form-card {
    padding: 1.5rem;
  }

  .footer-bottom {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .brand-ar {
    font-size: 1rem;
  }

  .brand-en {
    font-size: 0.68rem;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .service-card,
  .pillar-card {
    padding: 1.65rem 1.35rem;
  }

  .contact-direct-card {
    padding: 1rem;
  }
}
