/* ==========================================================================
   Badeel Foundation for Development - Design System & Core Styles
   Rooted in taste-skill principles: Anti-slop, balanced rhythm, clean typography
   ========================================================================== */

:root {
  /* Brand Palette from instructions.md */
  --c-primary: #1059e6;
  --c-primary-hover: #0c46b8;
  --c-primary-light: rgba(16, 89, 230, 0.08);
  --c-primary-glow: rgba(16, 89, 230, 0.25);
  
  --c-black: #080b11;
  --c-dark-surface: #0f1523;
  --c-white: #ffffff;
  
  --c-bg: #f8fafc;
  --c-bg-alt: #f1f5f9;
  --c-card: #ffffff;
  --c-border: rgba(15, 23, 42, 0.08);
  --c-border-hover: rgba(16, 89, 230, 0.35);
  
  --c-text-head: #0b1120;
  --c-text-body: #334155;
  --c-text-muted: #64748b;
  --c-text-light: #94a3b8;
  
  /* Typography Scale */
  --font-en: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-ar: 'IBM Plex Sans Arabic', 'Cairo', system-ui, -apple-system, sans-serif;
  
  /* Spacing & Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 35px -10px rgba(16, 89, 230, 0.12), 0 12px 18px -8px rgba(0, 0, 0, 0.06);
  --shadow-glow: 0 0 40px rgba(16, 89, 230, 0.25);

  --max-w: 1240px;
  --header-h: 76px;
  --transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-en);
  background-color: var(--c-bg);
  color: var(--c-text-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

body.lang-ar {
  font-family: var(--font-ar);
  direction: rtl;
}

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

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

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

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--c-border);
  height: var(--header-h);
  transition: var(--transition);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1320px;
}

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

.brand-logo {
  height: 48px;
  width: auto;
  border-radius: var(--radius-sm);
  object-fit: contain;
}

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

.brand-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--c-text-head);
  line-height: 1.2;
  white-space: nowrap;
}

.brand-tagline {
  font-size: 10.5px;
  font-weight: 500;
  color: var(--c-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.35vw, 22px);
  list-style: none;
}

.nav-link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--c-text-body);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
  display: inline-block;
  letter-spacing: -0.01em;
}

.nav-link:hover {
  color: var(--c-primary);
}

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

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.mobile-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-black);
  transition: var(--transition);
}

/* ==========================================================================
   Buttons & Badges
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--c-primary);
  color: var(--c-white);
  box-shadow: 0 4px 14px rgba(16, 89, 230, 0.25);
}

.btn-primary:hover {
  background: var(--c-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 89, 230, 0.35);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: var(--c-white);
  color: var(--c-text-head);
  border: 1px solid var(--c-border);
}

.btn-secondary:hover {
  border-color: var(--c-primary);
  color: var(--c-primary);
  transform: translateY(-2px);
}

.btn-secondary:active {
  transform: translateY(0);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  background: var(--c-primary-light);
  color: var(--c-primary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section {
  padding: 96px 0;
  position: relative;
}

.section-alt {
  background: var(--c-bg-alt);
}

.section-dark {
  background: var(--c-black);
  color: var(--c-white);
}

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

.section-head.start {
  text-align: start;
  margin-left: 0;
  margin-right: 0;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--c-text-head);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-top: 14px;
  margin-bottom: 16px;
  text-align: center;
}

.section-dark .section-title {
  color: var(--c-white);
  text-align: center;
}

.section-subtitle {
  font-size: 17px;
  color: var(--c-text-muted);
  line-height: 1.6;
  text-align: center;
}

.section-dark .section-subtitle {
  color: #94a3b8;
  text-align: center;
}

.section-subhead {
  font-size: 24px;
  font-weight: 700;
  color: var(--c-text-head);
  text-align: center;
  margin-bottom: 24px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: calc(90vh - var(--header-h));
  display: flex;
  align-items: center;
  padding: 72px 0 96px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 56px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 22px;
  text-align: center;
  align-items: center;
}

.hero-title {
  font-size: 48px;
  font-weight: 800;
  color: var(--c-text-head);
  line-height: 1.25;
  letter-spacing: -0.025em;
  text-align: center;
}

.hero-title span.highlight {
  color: var(--c-primary);
  display: inline-block;
}

.hero-description {
  font-size: 18px;
  color: var(--c-text-body);
  line-height: 1.65;
  max-width: 680px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 32px;
  margin-top: 16px;
  border-top: 1px solid var(--c-border);
  width: 100%;
  text-align: center;
}

.stat-item h3 {
  font-size: 28px;
  font-weight: 800;
  color: var(--c-text-head);
}

.stat-item p {
  font-size: 13px;
  font-weight: 500;
  color: var(--c-text-muted);
}

.hero-visual {
  position: relative;
}

.hero-card-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.hero-card-frame img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-card-frame:hover img {
  transform: scale(1.03);
}

.hero-floating-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--c-border);
}

body.lang-ar .hero-floating-badge {
  right: auto;
  left: 24px;
}

.floating-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--c-primary-light);
  color: var(--c-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

/* ==========================================================================
   Vision & Mission Cards
   ========================================================================== */
.vision-mission-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.vm-card {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: center;
  align-items: center;
}

.vm-card:hover {
  transform: translateY(-2px);
  border-color: var(--c-border-hover);
  box-shadow: var(--shadow-md);
}

.vm-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--c-primary-light);
  color: var(--c-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto;
}

.vm-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--c-text-head);
  text-align: center;
}

.vm-text {
  font-size: 16px;
  color: var(--c-text-body);
  line-height: 1.65;
  text-align: center;
}

/* ==========================================================================
   Areas of Work Grid (7 Focus Areas)
   ========================================================================== */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.area-card {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  text-align: center;
  align-items: center;
}

.area-card:hover {
  transform: translateY(-3px);
  border-color: var(--c-border-hover);
  box-shadow: var(--shadow-md);
}

.area-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--c-primary-light);
  color: var(--c-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.area-icon-wrap svg {
  width: 24px;
  height: 24px;
}

.area-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--c-text-head);
  text-align: center;
}

.area-desc {
  font-size: 15px;
  color: var(--c-text-muted);
  line-height: 1.6;
  text-align: center;
}

/* ==========================================================================
   Objectives & Values (Bento layout)
   ========================================================================== */
.objectives-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.objective-item {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  transition: var(--transition);
}

.objective-item:hover {
  border-color: var(--c-border-hover);
  transform: translateY(-2px);
}

.objective-number {
  min-width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--c-primary);
  color: var(--c-white);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.objective-text {
  font-size: 15px;
  font-weight: 600;
  color: var(--c-text-body);
  line-height: 1.5;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.value-card {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-3px);
  border-color: var(--c-border-hover);
  box-shadow: var(--shadow-sm);
}

.value-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
  border-radius: var(--radius-md);
  background: var(--c-primary-light);
  color: var(--c-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--c-text-head);
  margin-bottom: 8px;
}

.value-desc {
  font-size: 13px;
  color: var(--c-text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   Financial Statements & Downloads (THE MOST IMPORTANT SECTION)
   ========================================================================== */
.financial-banner {
  background: linear-gradient(135deg, #0b1120 0%, #101c36 100%);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  color: var(--c-white);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.financial-banner::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(16, 89, 230, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.financial-header-content {
  max-width: 680px;
  margin: 0 auto 40px;
  text-align: center;
}

.financial-header-content h3 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
  text-align: center;
}

.financial-header-content p {
  font-size: 16px;
  color: #cbd5e1;
  line-height: 1.6;
  text-align: center;
}

.download-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  position: relative;
  z-index: 2;
}

.download-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  transition: var(--transition);
}

.download-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.3);
}

.download-card-header {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.pdf-icon-badge {
  min-width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: #ef4444;
  color: var(--c-white);
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.download-card-meta h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 6px;
}

.download-card-meta p {
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.5;
}

.download-card-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-download {
  flex: 1;
  background: var(--c-primary);
  color: var(--c-white);
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-download:hover {
  background: #1d68f2;
  box-shadow: 0 6px 18px rgba(16, 89, 230, 0.4);
}

.btn-preview {
  background: rgba(255, 255, 255, 0.1);
  color: var(--c-white);
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: var(--transition);
}

.btn-preview:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   Success Stories / Video Showcase
   ========================================================================== */
.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.story-card {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.story-card:hover {
  transform: translateY(-3px);
  border-color: var(--c-border-hover);
  box-shadow: var(--shadow-md);
}

.story-video-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 ratio */
  background: #000;
  overflow: hidden;
}

.story-video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
  align-items: center;
}

.story-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--c-primary);
  text-transform: uppercase;
  text-align: center;
  display: block;
}

.story-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--c-text-head);
  line-height: 1.4;
  text-align: center;
}

.story-desc {
  font-size: 14px;
  color: var(--c-text-muted);
  line-height: 1.6;
  text-align: center;
}

/* ==========================================================================
   Photo Gallery / Impact Showcase
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  position: relative;
  aspect-ratio: 4 / 3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* ==========================================================================
   Contact & Footer
   ========================================================================== */
.contact-wrapper {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  box-shadow: var(--shadow-sm);
}

.contact-info-col h3 {
  font-size: 28px;
  font-weight: 800;
  color: var(--c-text-head);
  margin-bottom: 16px;
}

.contact-info-col p {
  font-size: 16px;
  color: var(--c-text-body);
  line-height: 1.6;
  margin-bottom: 32px;
}

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

.contact-link-row {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--c-text-head);
  font-size: 15px;
  font-weight: 600;
}

.contact-icon-bubble {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--c-primary-light);
  color: var(--c-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: var(--c-bg-alt);
  color: var(--c-text-head);
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
  border: 1px solid var(--c-border);
}

.social-btn:hover {
  background: var(--c-primary);
  color: var(--c-white);
  border-color: var(--c-primary);
  transform: translateY(-2px);
}

.site-footer {
  background: var(--c-black);
  color: #94a3b8;
  padding: 48px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  font-size: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   Floating Language Switcher (Smooth & Fixed)
   ========================================================================== */
.floating-lang-pill {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  background: var(--c-black);
  color: var(--c-white);
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.15);
  transition: var(--transition);
  cursor: pointer;
  position: fixed;
}

body.lang-ar .floating-lang-pill {
  right: auto;
  left: 28px;
}

/* Rounded Pulse Animation every 5 seconds */
.floating-lang-pill::before,
.floating-lang-pill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: var(--radius-pill);
  pointer-events: none;
  z-index: -1;
}

.floating-lang-pill::before {
  box-shadow: 0 0 0 0 rgba(16, 89, 230, 0.85);
  animation: roundedPulseRing 5s infinite cubic-bezier(0.24, 0, 0.38, 1);
}

.floating-lang-pill::after {
  box-shadow: 0 0 0 0 rgba(16, 89, 230, 0.5);
  animation: roundedPulseRing 5s infinite cubic-bezier(0.24, 0, 0.38, 1);
  animation-delay: 0.35s;
}

@keyframes roundedPulseRing {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 89, 230, 0.85);
    opacity: 1;
  }
  22% {
    box-shadow: 0 0 0 18px rgba(16, 89, 230, 0);
    opacity: 0;
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 89, 230, 0);
    opacity: 0;
  }
}

.floating-lang-pill:hover {
  background: var(--c-primary);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 30px rgba(16, 89, 230, 0.4);
}

.floating-lang-pill:hover::before,
.floating-lang-pill:hover::after {
  animation-play-state: paused;
}

.floating-lang-pill svg {
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-title {
    font-size: 38px;
  }
  .areas-grid, .stories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .download-cards-grid {
    grid-template-columns: 1fr;
  }
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .site-header {
    height: 70px;
  }

  .site-header .container {
    padding-left: 16px;
    padding-right: 16px;
    gap: 10px;
  }

  .brand-logo {
    height: 38px;
  }

  .brand-title {
    font-size: 15px;
    white-space: nowrap;
  }

  /* Hide tagline on mobile to keep header clean and spacious */
  .brand-tagline {
    display: none;
  }

  .header-actions {
    gap: 8px;
  }

  /* CRITICAL: Hide the big CTA button in the header bar on mobile so it doesn't overlap contents */
  .header-actions .btn-primary,
  .nav-header-cta {
    display: none !important;
  }

  .header-actions .btn-secondary,
  .nav-lang-btn {
    padding: 6px 14px;
    font-size: 13px;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--c-white);
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--c-border);
    box-shadow: var(--shadow-md);
    gap: 16px;
    text-align: center;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu .nav-cta-item {
    display: block !important;
    margin-top: 10px;
  }

  .nav-menu .nav-cta-item .btn-primary {
    display: inline-flex !important;
    width: 100%;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  /* Hero Section centered on mobile */
  .hero-section {
    padding: 48px 0 64px;
    text-align: center;
  }

  .hero-content {
    align-items: center;
    text-align: center;
    gap: 18px;
  }

  .hero-title {
    font-size: 28px;
    line-height: 1.35;
    text-align: center;
  }

  .hero-description {
    font-size: 15px;
    text-align: center;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
    gap: 12px;
  }

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

  .hero-card-frame img {
    height: 300px;
  }

  .vision-mission-grid, .objectives-list, .areas-grid, .stories-grid, .values-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: center;
  }

  .financial-banner {
    padding: 32px 18px;
    text-align: center;
  }

  .download-card {
    padding: 24px 18px;
  }

  .download-card-header {
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 12px;
  }

  .download-card-meta h4 {
    text-align: center;
  }

  .download-card-meta p {
    text-align: center;
  }

  .download-card-actions {
    flex-direction: column;
    gap: 10px;
  }

  .download-card-actions .btn-download,
  .download-card-actions .btn-preview {
    width: 100%;
  }

  .contact-wrapper {
    padding: 28px 20px;
    text-align: center;
  }

  .contact-info-col h3,
  .contact-info-col p {
    text-align: center;
  }

  .contact-link-row {
    justify-content: center;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}
