
:root {
  /* Primary palette — derived directly from logo artwork */
  --color-primary: #15568e;        /* Deep Royal Navy Blue from Logo typography & emblem */
  --color-accent: #15568e;         /* Corporate brand blue */
  --color-accent-bright: #62bde9;  /* Vibrant Sky Blue from Logo pulse wave accent */
  --color-accent-hover: #0e4370;   /* Deep hover state */
  --color-success: #16a34a;        /* Green for positive/compliance */
  --color-amber: #b45309;          /* Muted amber for secondary highlights */
  --color-amber-light: #fef3c7;

  /* Neutrals — soft corporate tones */
  --color-text: #0d2847;           /* Deep navy black for headings */
  --color-text-body: #334155;      /* Slate grey for readable body text */
  --color-text-muted: #64748b;     /* Muted slate grey for captions */
  --color-border: #e2e8f0;         /* Clean light border */
  --color-bg: #ffffff;
  --color-bg-subtle: #f4f8fc;      /* Soft ice-blue tint from logo highlight */
  --color-bg-dark: #0a2540;        /* Deep navy dark section background */

  /* Shadows — clean, subtle depth */
  --shadow-xs: 0 1px 2px rgba(21,86,142,0.05);
  --shadow-sm: 0 1px 3px rgba(21,86,142,0.08), 0 1px 2px rgba(21,86,142,0.04);
  --shadow-md: 0 4px 12px rgba(21,86,142,0.08), 0 2px 4px rgba(21,86,142,0.04);
  --shadow-lg: 0 12px 32px rgba(21,86,142,0.12);

  /* Border radius — consistent */
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 12px;

  /* Typography */
  --font-heading: 'Poppins', 'Cairo', sans-serif;
  --font-body: 'Open Sans', 'Cairo', sans-serif;

  /* Backward compatibility alias bindings */
  --color-white: #ffffff;
  --color-dark-blue-900: #0a2540;
  --color-roche-blue-600: #15568e;
  --color-roche-blue-light: #e0f2fe;
  --color-roche-grey-050: #f4f8fc;
  --color-roche-grey-200: #e2e8f0;
  --color-roche-grey-400: #94a3b8;
  --color-roche-grey-600: #64748b;
  --color-emerald: #16a34a;
  --color-emerald-light: #dcfce7;
  --font-roche-title: 'Poppins', 'Cairo', sans-serif;
  --font-roche-body: 'Open Sans', 'Cairo', sans-serif;
}

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-body);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-text);
  line-height: 1.25;
  font-weight: 700;
}

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

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

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

/* Container Utilities */
.container {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 1200px;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  position: relative;
}

.container-fluid {
  width: 100%;
}

/* Grid Columns */
.columns {
  display: flex;
  flex-wrap: wrap;
  margin-left: -1rem;
  margin-right: -1rem;
}

.column {
  flex: 1 1 0%;
  padding: 1rem;
}

.column.is-6  { flex: 0 0 50%; max-width: 50%; }
.column.is-3  { flex: 0 0 25%; max-width: 25%; }

@media (max-width: 768px) {
  .column.is-6, .column.is-3 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

.top-bar {
  background: #0c1e35;
  color: #94a3b8;
  font-size: 0.8rem;
  padding: 0.5rem 0;
  border-bottom: none;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.top-bar-info {
  display: flex;
  gap: 1.5rem;
}
.top-bar-info span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.top-bar-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: #94a3b8;
  letter-spacing: 0.02em;
}
.pulse-dot {
  width: 6px;
  height: 6px;
  background: #16a34a;
  border-radius: 50%;
  flex-shrink: 0;
}

.main-header {
  background: #ffffff;
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: none;
  transition: box-shadow 0.2s ease;
}
.main-header.scrolled {
  box-shadow: 0 1px 8px rgba(0,0,0,0.08);
}
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  height: 68px;
  max-width: 1280px;
  margin: 0 auto;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-logo-img {
  height: 46px;
  width: auto;
  object-fit: contain;
  display: block;
}
.footer-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  display: block;
  margin-bottom: 1rem;
}
.brand-text .company-name {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-text);
  letter-spacing: 0.05em;
  line-height: 1.2;
}
.brand-text .tagline {
  display: block;
  font-size: 0.7rem;
  color: var(--color-text-muted);
  letter-spacing: 0.03em;
}

.centered-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}
.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0;
  margin: 0;
  padding: 0;
}
.nav-link {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: color 0.2s ease, background 0.2s ease;
  position: relative;
  white-space: nowrap;
}
.nav-link:hover {
  color: var(--color-text);
  background: var(--color-bg-subtle);
}
.nav-link.active {
  color: var(--color-primary);
  background: #e0f2fe;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2.5px;
  background: var(--color-accent-bright);
  border-radius: 2px;
  transition: width 0.25s ease;
}
.nav-link.active::after,
.nav-link:hover::after {
  width: 60%;
}

.btn-roche-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-accent);
  color: #ffffff;
  padding: 0.625rem 1.375rem;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
  white-space: nowrap;
}
.btn-roche-primary:hover {
  background: var(--color-accent-hover);
  transform: translateY(-1px);
}
.btn-roche-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--color-text);
  padding: 0.625rem 1.375rem;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid var(--color-border);
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn-roche-secondary:hover {
  border-color: var(--color-text-muted);
  color: var(--color-text);
}

.hero-slideshow {
  position: relative;
  width: 100%;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0c1e35;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  will-change: transform, opacity;
}
.hero-slide.active-slide,
.hero-slide.active {
  opacity: 1;
}
.hero-slide--1 { background-image: url('images/hero_bg.png'); }
.hero-slide--2 { background-image: url('images/hero_slide2.jpg'); }
.hero-slide--3 { background-image: url('images/hero_slide3.jpg'); }

.hero-slide--1.active-slide,
.hero-slide--1.active { animation: gifPanZoom1 7s ease-in-out infinite alternate; }
.hero-slide--2.active-slide,
.hero-slide--2.active { animation: gifPanZoom2 7s ease-in-out infinite alternate; }
.hero-slide--3.active-slide,
.hero-slide--3.active { animation: gifPanZoom3 7s ease-in-out infinite alternate; }

@keyframes gifPanZoom1 {
  0%   { transform: scale(1.0) translate(0, 0); }
  50%  { transform: scale(1.08) translate(-1.5%, -1%); }
  100% { transform: scale(1.15) translate(-2.5%, -1.5%); }
}
@keyframes gifPanZoom2 {
  0%   { transform: scale(1.16) translate(1.5%, 1.5%); }
  50%  { transform: scale(1.08) translate(0, 0.5%); }
  100% { transform: scale(1.02) translate(-1%, -1%); }
}
@keyframes gifPanZoom3 {
  0%   { transform: scale(1.02) translate(-1%, 0); }
  50%  { transform: scale(1.1) translate(1%, -1.5%); }
  100% { transform: scale(1.16) translate(0, -2%); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(12,30,53,0.85) 0%, rgba(12,30,53,0.6) 60%, rgba(12,30,53,0.4) 100%);
  z-index: 1;
}
.hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 5rem 0;
}
.hero-content-centered {
  text-align: left;
  max-width: 680px;
}
.hero-slide-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.8);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.35rem 0.85rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
}
.hero-slide-label::before { display: none; }

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.25rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  text-shadow: none;
}
.hero-description {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 2.5rem;
  line-height: 1.75;
  max-width: 540px;
}
.hero-cta-group {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
}
.hero-btn-alt {
  color: rgba(255,255,255,0.9);
  border-color: rgba(255,255,255,0.3);
}
.hero-btn-alt:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
  color: #fff;
  transform: translateY(-1px);
}
.hero-indicators {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  display: flex;
  gap: 0.5rem;
  z-index: 3;
}
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  padding: 0;
}
.hero-dot.active {
  background: #ffffff;
  width: 24px;
  border-radius: 4px;
}

.page-section {
  padding: 5rem 0;
  display: none;
}
.page-section.active {
  display: block;
}
.section-bg-white { background: #ffffff; }
.section-bg-subtle { background: var(--color-bg-subtle); }
.section-bg-light { background: var(--color-bg-subtle); }
.section-bg-dark { background: var(--color-bg-dark); padding: 0; }

.section-title-wrapper {
  text-align: center;
  margin-bottom: 3rem;
}
.section-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}
.section-title::after { display: none; }
.section-subtitle {
  font-size: 1rem;
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}
.section-title-wrapper-left {
  text-align: left;
  margin-bottom: 1.5rem;
}
.section-title-wrapper-left .section-title {
  font-size: 1.75rem;
}
.section-title-wrapper-left .section-title::after { display: none; }

.roche-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.roche-card:hover {
  box-shadow: 0 8px 24px rgba(21, 86, 142, 0.08);
  border-color: #cbd5e1;
  transform: translateY(-3px);
}
.card-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}
.card-text {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.stat-item {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem !important;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.stat-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(21, 86, 142, 0.08);
}
.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-label {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.vm-card {
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  height: 100%;
}
.vm-card-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}
.vm-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 1rem;
}
.vm-card-body {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  font-style: italic;
}
.mission-variant {
  background: #eff6ff;
  border-color: #bfdbfe;
}

.welcome-container {
  margin-bottom: 5rem;
}
.welcome-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 4rem;
  align-items: start;
}
.welcome-portrait img {
  width: 100%;
  border-radius: var(--radius-lg);
  display: block;
}
.welcome-portrait-badge {
  margin-top: 0.75rem;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-muted);
}
.welcome-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-text-body);
  margin-bottom: 1.25rem;
  font-style: italic;
}
.welcome-signoff {
  border-left: 3px solid var(--color-accent);
  padding-left: 1rem;
  margin-top: 1.5rem;
}
.welcome-signoff-text {
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-text);
}
.welcome-signoff-role {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-top: 0.25rem;
}


.penetration-visualizer {
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 2.5rem;
}
.penetration-bars {
  display: flex;
  height: 40px;
  border-radius: 4px;
  overflow: hidden;
  margin: 1.5rem 0 2.5rem;
}
.bar-public {
  width: 45%;
  background: var(--color-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
}
.bar-private {
  width: 55%;
  background: var(--color-success);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
}


.portfolio-card {
  cursor: pointer;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.portfolio-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
  transform: none;
}
.portfolio-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-accent);
  background: #eff6ff;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}
.portfolio-share {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-border);
  float: right;
  line-height: 1;
}
.alliances-wrapper {
  margin-top: 3rem;
}
.alliances-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 1.5rem;
}
.alliance-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1rem;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}
.alliance-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.alliance-logo-img {
  width: 100%;
  max-width: 280px;
  height: 65px;
  object-fit: contain;
  display: block;
}
.alliance-name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.125rem;
}
.alliance-specialty {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}
.alliances-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

/* ==========================================
   CUSTOM CORPORATE VECTOR MAP SYSTEM
   ========================================== */
.corporate-vector-map-wrapper {
  position: relative;
  width: 100%;
  height: 440px;
  background: #0a2540;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(10, 37, 64, 0.15);
}
.corporate-map-svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.map-radar-node {
  cursor: pointer;
  transition: transform 0.25s ease;
}
.map-radar-node:hover {
  transform: scale(1.25);
}
.radar-ring {
  transform-origin: center;
  animation: radarPulse 2.5s infinite linear;
}
@keyframes radarPulse {
  0% {
    r: 6;
    opacity: 0.9;
    stroke-width: 2;
  }
  50% {
    r: 22;
    opacity: 0.5;
    stroke-width: 1.5;
  }
  100% {
    r: 38;
    opacity: 0;
    stroke-width: 0.5;
  }
}
.map-branch-tooltip {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  max-width: 320px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  z-index: 10;
  transition: all 0.3s ease;
}
[dir="rtl"] .map-branch-tooltip {
  right: auto;
  left: 1.25rem;
  text-align: right;
}
.map-mode-btn {
  background: rgba(255,255,255,0.1);
  color: #94a3b8;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.4rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.map-mode-btn.active,
.map-mode-btn:hover {
  background: var(--color-accent-bright);
  color: #0a2540;
  border-color: var(--color-accent-bright);
}

.contact-wrapper-alshaer {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.contact-info-panel {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 2rem;
  border: 1px solid #e9ecef;
}
.contact-info-block {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #dee2e6;
}
.contact-info-block:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.contact-info-block-title {
  font-weight: 700;
  font-size: 1rem;
  color: #0c1e35;
  margin-bottom: 0.75rem;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: #374151;
}
.contact-info-item svg {
  color: #1d6fb8;
  flex-shrink: 0;
  margin-top: 3px;
}
.btn-contact-submit {
  background: #c90000;
  color: #ffffff;
  border: none;
  width: 100%;
  padding: 0.85rem;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.btn-contact-submit:hover {
  background: #a80000;
}
.business-hours-block {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
}

.main-footer {
  background: #0c1e35;
  color: #94a3b8;
}
.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 3rem;
  padding: 4rem 0 2.5rem;
}
.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
}
.footer-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #64748b;
}
.footer-heading {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #64748b;
  margin-bottom: 1rem;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-link {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.15s ease;
}
.footer-link:hover {
  color: #ffffff;
}
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: #94a3b8;
}
.footer-contact svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: #64748b;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem 0;
  font-size: 0.8125rem;
  color: #64748b;
  text-align: center;
}

.form-group {
  margin-bottom: 1.25rem;
}
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.375rem;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--color-text);
  background: #ffffff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  outline: none;
  box-sizing: border-box;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(29,111,184,0.1);
}
.form-textarea {
  min-height: 120px;
  resize: vertical;
}

[data-animate] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
[data-animate].animated {
  opacity: 1;
  transform: none;
}
[data-animate="slideInLeft"],
[data-animate="slideInRight"],
[data-animate="slideInUp"],
[data-animate="fadeInUp"] {
  opacity: 0;
  transform: translateY(16px);
}
[data-animate="slideInLeft"].animated,
[data-animate="slideInRight"].animated,
[data-animate="slideInUp"].animated,
[data-animate="fadeInUp"].animated {
  opacity: 1;
  transform: none;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.modal-content {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  max-width: 560px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
}

/* Lang button etc. */
.lang-btn {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
}
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 2rem;
  height: 2rem;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 10;
}
.hamburger-btn span {
  width: 2rem;
  height: 0.25rem;
  background: var(--color-text);
  border-radius: 10px;
  transition: all 0.3s linear;
  position: relative;
  transform-origin: 1px;
}


/* ==========================================
   ARABIC / RTL LANGUAGE SUPPORT
   ========================================== */

/* Arabic font */
[lang="ar"] {
  font-family: 'Cairo', 'Open Sans', sans-serif;
}
[lang="ar"] .hero-title,
[lang="ar"] .section-title,
[lang="ar"] .card-title,
[lang="ar"] .vm-card-title,
[lang="ar"] .stat-label,
[lang="ar"] .nav-link,
[lang="ar"] .btn-roche-primary,
[lang="ar"] .btn-roche-secondary,
[lang="ar"] .brand-text .company-name {
  font-family: 'Cairo', sans-serif;
}

/* ===========================================
   COMPREHENSIVE RTL LAYOUT — ARABIC MODE
   Every component fully right-to-left
   =========================================== */

/* ── TOP BAR ── */
[dir="rtl"] .top-bar .container {
  flex-direction: row;
}
[dir="rtl"] .top-bar-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.phone-number {
  direction: ltr !important;
  unicode-bidi: isolate;
  display: inline-block;
  white-space: nowrap;
}

[dir="rtl"] .top-bar-info {
  flex-direction: row;
}
[dir="rtl"] .top-bar-info span {
  flex-direction: row;
}

/* ── MAIN HEADER ROW ── */
[dir="rtl"] .header-container {
  flex-direction: row;
}

/* ── BRAND LOGO ── */
[dir="rtl"] .brand-logo {
  flex-direction: row;
}
[dir="rtl"] .brand-text {
  text-align: right;
}

/* ── NAV MENU & LINKS ── */
[dir="rtl"] .centered-nav {
  direction: rtl;
}
[dir="rtl"] .nav-menu {
  flex-direction: row;
}
[dir="rtl"] .nav-item {
  text-align: right;
}
/* Underline centering in RTL */
[dir="rtl"] .nav-link {
  transition: color 0.2s ease, background 0.2s ease;
}
[dir="rtl"] .nav-link:hover {
  color: var(--color-primary);
  background: #e0f2fe;
}
[dir="rtl"] .nav-link::after {
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
}
[dir="rtl"] .nav-link:hover::after,
[dir="rtl"] .nav-link.active::after {
  width: 60% !important;
}

/* ── ACTION GROUP (lang btn, search) ── */
[dir="rtl"] .header-container > div {
  flex-direction: row;
}

/* ── HERO SECTION ── */
[dir="rtl"] .hero-content-centered {
  direction: rtl;
  text-align: right;
}
[dir="rtl"] .hero-cta-group {
  flex-direction: row;
  justify-content: flex-start;
}
[dir="rtl"] .hero-slide-label {
  flex-direction: row;
}
[dir="rtl"] .hero-indicators {
  direction: ltr; /* dots stay center regardless */
}

/* ── WELCOME SECTION ── */
[dir="rtl"] .welcome-grid {
  direction: rtl;
}
[dir="rtl"] .welcome-body {
  direction: rtl;
  text-align: right;
}
[dir="rtl"] .welcome-signoff {
  border-left: none;
  border-right: 3px solid var(--color-emerald);
  padding-left: 0;
  padding-right: 1rem;
  text-align: right;
}
[dir="rtl"] .section-title-wrapper-left {
  text-align: right;
}
[dir="rtl"] .section-title-wrapper-left .section-title::after {
  left: auto;
  right: 0;
  transform: none;
}

/* ── SECTION TITLES (centred ones stay centred) ── */
[dir="rtl"] .section-title-wrapper {
  text-align: center;
}
[dir="rtl"] .section-title::after {
  left: 50%;
  transform: translateX(-50%);
}
[dir="rtl"] .section-subtitle {
  direction: rtl;
}

/* ── COLUMN GRIDS ── */
[dir="rtl"] .columns {
  flex-direction: row;
}

/* ── CARDS ── */
[dir="rtl"] .roche-card {
  text-align: right;
  direction: rtl;
}
[dir="rtl"] .card-title {
  text-align: right;
}
[dir="rtl"] .card-text {
  text-align: right;
}

/* ── VM CARDS (Vision / Mission) ── */
[dir="rtl"] .vm-card {
  text-align: right;
  direction: rtl;
}
[dir="rtl"] .vm-card-tag {
  display: block;
  text-align: right;
}

/* ── STATS GRID ── */
[dir="rtl"] .stat-item {
  direction: rtl;
}



/* ── PENETRATION BARS ── */
[dir="rtl"] .penetration-visualizer {
  direction: rtl;
  text-align: right;
}
[dir="rtl"] .penetration-bars {
  flex-direction: row;
}
[dir="rtl"] #detail-public,
[dir="rtl"] #detail-private {
  text-align: right;
  direction: rtl;
}

/* ── PORTFOLIO CARDS ── */
[dir="rtl"] .portfolio-card {
  text-align: right;
  direction: rtl;
}
[dir="rtl"] .portfolio-share {
  float: left; /* flips to left in RTL */
}

/* ── ALLIANCES ── */
[dir="rtl"] .alliances-wrapper {
  direction: rtl;
  text-align: right;
}
[dir="rtl"] .alliances-header {
  flex-direction: row;
}
[dir="rtl"] .alliance-card {
  direction: rtl;
}

/* ── CONTACT SECTION ── */
[dir="rtl"] .contact-wrapper-alshaer {
  direction: rtl;
}
[dir="rtl"] .contact-info-panel {
  text-align: right;
  direction: rtl;
}
[dir="rtl"] .contact-form-grid {
  direction: rtl;
}
/* Individual contact rows */
[dir="rtl"] .contact-info-card [style*="display:flex"] {
  flex-direction: row;
}
[dir="rtl"] .form-wizard-card {
  direction: rtl;
  text-align: right;
}
[dir="rtl"] .form-label {
  text-align: right;
  display: block;
}
[dir="rtl"] .form-input,
[dir="rtl"] .form-select,
[dir="rtl"] .form-textarea {
  text-align: right;
  direction: rtl;
}

/* ── FOOTER ── */
[dir="rtl"] .main-footer {
  direction: rtl;
  text-align: right;
}
[dir="rtl"] .footer-content {
  direction: rtl;
  text-align: right;
}
[dir="rtl"] .footer-links {
  text-align: right;
  padding-right: 0;
}
[dir="rtl"] .footer-contact li {
  flex-direction: row;
  justify-content: flex-start;
  gap: 0.75rem;
}
[dir="rtl"] .footer-bottom .container {
  text-align: center;
}

/* ── MODALS ── */
[dir="rtl"] .modal-content {
  direction: rtl;
  text-align: right;
}
[dir="rtl"] .modal-close {
  left: 1.5rem;
  right: auto;
}

/* ── MOBILE NAV DRAWER ── RTL slides in from right */
@media (max-width: 900px) {
  [dir="rtl"] .centered-nav {
    left: auto !important;
    right: -100% !important;
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    text-align: right !important;
  }
  [dir="rtl"] .centered-nav.open {
    left: auto !important;
    right: 0 !important;
  }
  [dir="rtl"] .nav-menu {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  [dir="rtl"] .nav-link {
    text-align: right !important;
    width: 100% !important;
  }
  [dir="rtl"] .header-container > div {
    flex-direction: row; /* keep action buttons LTR on mobile */
  }
}

/* Language Toggle Button */
.lang-btn {
  background: var(--color-roche-blue-600);
  color: var(--color-white);
  border: none;
  padding: 0.5rem 1.1rem;
  border-radius: 4px;
  font-family: var(--font-roche-title);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.lang-btn:hover {
  background: var(--color-emerald);
}

/* Hamburger Button */
.hamburger-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger-btn span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--color-dark-blue-900);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger-btn.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.hamburger-btn.open span:nth-child(2) {
  opacity: 0;
}
.hamburger-btn.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ==========================================
   RESPONSIVE UTILITY CLASSES FOR GRIDS & MAP
   ========================================== */

html, body {
  overflow-x: hidden;
  max-width: 100%;
}

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

.branch-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.gis-map-canvas {
  width: 100%;
  height: 480px;
  background: #081b33;
}

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

.careers-banner {
  background: linear-gradient(135deg, #15568e 0%, #0a2540 100%);
  padding: 4.5rem 0;
  text-align: center;
  color: #ffffff;
  position: relative;
}

.careers-banner-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ffffff;
  margin: 0;
}

/* ==========================================
   MOBILE RESPONSIVE STYLES
   ========================================== */

/* ==========================================
   MOBILE NAV DRAWER — LTR & RTL SYSTEM
   ========================================== */

@media (max-width: 900px) {
  /* Mobile Header Container */
  .main-header {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  body.menu-open .main-header {
    z-index: 10000 !important;
  }
  .header-container {
    gap: 0.5rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }

  .brand-logo-img {
    height: 36px;
    max-width: 150px;
  }

  /* Hamburger & Drawer */
  .hamburger-btn {
    display: flex;
    z-index: 10001;
  }

  /* English / LTR Mobile Drawer (Slides from LEFT) */
  .centered-nav {
    position: fixed !important;
    top: 0 !important;
    left: -100% !important;
    right: auto !important;
    width: 82% !important;
    max-width: 320px !important;
    height: 100vh !important;
    background: #ffffff !important;
    box-shadow: 10px 0 40px rgba(10,37,64,0.25) !important;
    z-index: 10000 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    transition: left 0.32s cubic-bezier(0.16, 1, 0.3, 1) !important;
    padding: 4.5rem 1.25rem 2rem !important;
    overflow-y: auto !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    filter: none !important;
    -webkit-font-smoothing: antialiased;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }

  .centered-nav.open {
    left: 0 !important;
    right: auto !important;
  }

  /* Arabic / RTL Mobile Drawer (Slides from RIGHT) */
  [dir="rtl"] .centered-nav {
    left: auto !important;
    right: -100% !important;
    transition: right 0.32s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: -10px 0 40px rgba(10,37,64,0.25) !important;
    text-align: right !important;
  }

  [dir="rtl"] .centered-nav.open {
    left: auto !important;
    right: 0 !important;
  }

  .nav-menu {
    flex-direction: column !important;
    gap: 0.25rem !important;
    width: 100% !important;
  }

  [dir="rtl"] .nav-menu {
    align-items: stretch !important;
  }

  .nav-link {
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: #0c1e35 !important;
    padding: 0.9rem 1rem !important;
    border-bottom: 1px solid #e2e8f0 !important;
    display: block !important;
    width: 100% !important;
    border-radius: 6px !important;
    background: transparent !important;
    text-align: left !important;
    opacity: 1 !important;
    -webkit-font-smoothing: antialiased;
  }

  [dir="rtl"] .nav-link {
    text-align: right !important;
  }

  .nav-link:hover,
  .nav-link.active {
    background: #e0f2fe !important;
    color: #15568e !important;
  }

  /* Mobile Nav Overlay */
  .nav-overlay {
    display: none;
    position: fixed !important;
    inset: 0 !important;
    background: rgba(10,25,45,0.65) !important;
    z-index: 9998 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    filter: none !important;
  }
  .nav-overlay.active {
    display: block !important;
  }

  /* Hero Section */
  .hero-slideshow {
    min-height: 540px;
  }
  .hero-container {
    padding: 3rem 1.25rem;
  }
  .hero-badge {
    font-size: 0.75rem;
    padding: 0.35rem 0.85rem;
  }
  .hero-title {
    font-size: 1.95rem;
    line-height: 1.25;
    margin-bottom: 1rem;
  }
  .hero-description {
    font-size: 0.925rem;
    line-height: 1.65;
    padding: 0;
    margin-bottom: 1.75rem;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
    align-items: stretch;
  }
  .hero-cta-group .btn-roche-primary,
  .hero-cta-group .btn-roche-secondary {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
  }

  /* Executive Welcome Section */
  .welcome-container {
    padding: 0;
  }
  .welcome-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .welcome-portrait img {
    height: 280px;
    object-fit: cover;
  }

  /* Key Company Metrics */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .stat-item {
    padding: 1.25rem 1rem;
  }
  .stat-number {
    font-size: 1.85rem;
  }
  .stat-label {
    font-size: 0.8rem;
  }

  /* Columns System */
  .columns {
    flex-direction: column;
    gap: 1.5rem;
  }
  .column.is-6, .column.is-3 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  /* Product & Branch Grids */
  .product-cards-grid,
  .branch-cards-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  /* GIS Map */
  .gis-map-canvas {
    height: 340px;
  }
  .presence-map-container {
    border-radius: 8px;
    margin-bottom: 1.75rem;
  }

  /* Alliances Grid */
  .alliances-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .alliance-logo-img {
    height: 52px;
  }

  /* Careers Banner */
  .careers-banner {
    padding: 3rem 1rem;
  }
  .careers-banner-title {
    font-size: 2.2rem;
  }

  /* Contact Section */
  .contact-wrapper-alshaer {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .contact-form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .contact-info-card-alshaer,
  .contact-form-card-alshaer {
    padding: 1.5rem;
  }

  /* Top Bar */
  .top-bar-info {
    display: none;
  }
  .top-bar-badge {
    font-size: 0.78rem;
    text-align: center;
    width: 100%;
    justify-content: center;
  }

  /* Footer */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2.5rem 0 1.5rem;
  }

  /* Section Titles */
  .section-title {
    font-size: 1.65rem;
  }

  /* Modal */
  .modal-content {
    padding: 1.25rem;
    width: 94%;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.6rem;
  }
  .hero-slideshow {
    min-height: 480px;
  }
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
  .alliances-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  .alliance-card {
    padding: 0.85rem 0.5rem;
  }
  .alliance-logo-img {
    height: 44px;
  }
  .section-title {
    font-size: 1.45rem;
  }
  .section-subtitle {
    font-size: 0.875rem;
  }
  .top-bar-badge {
    font-size: 0.72rem;
  }
  .gis-map-canvas {
    height: 290px;
  }
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* ==========================================
   FAQ ACCORDION COMPONENT
   ========================================== */
.faq-accordion-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: all 0.25s ease;
}

.faq-item:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-sm);
}

.faq-item.active {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.faq-question-btn {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary);
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

[dir="rtl"] .faq-question-btn {
  text-align: right;
}

.faq-question-btn:hover {
  background-color: #f8fafc;
  color: var(--color-accent);
}

.faq-item.active .faq-question-btn {
  background-color: #f0f7ff;
  color: var(--color-primary);
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #eff6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  flex-shrink: 0;
  transition: transform 0.3s ease, background-color 0.2s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background: var(--color-primary);
  color: #ffffff;
}

.faq-answer-pane {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-content {
  padding: 0 1.5rem 1.35rem 1.5rem;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--color-text-body);
  border-top: 1px solid transparent;
}

.faq-item.active .faq-answer-content {
  border-top-color: #e2e8f0;
  padding-top: 1rem;
}

@media (max-width: 768px) {
  .faq-question-btn {
    padding: 1rem 1.15rem;
    font-size: 0.95rem;
  }
  .faq-answer-content {
    padding: 0 1.15rem 1.15rem 1.15rem;
    font-size: 0.9rem;
  }
}

