/* ==========================================================================
   Kuwait Maritime Association - Design System & Custom Styles
   Supports Bootstrap 5 LTR & RTL seamlessly
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary-navy: #0f2b5c;
  --primary-navy-dark: #0a192f;
  --primary-blue: #1d4ed8;
  --accent-cyan: #0284c7;
  --accent-sky: #38bdf8;
  --accent-gold: #f59e0b;
  --bg-light: #f8fafc;
  --bg-subtle: #f1f5f9;
  --card-bg: #ffffff;
  --text-dark: #0f172a;
  --text-muted: #475569;
  --text-light: #94a3b8;
  --border-color: #e2e8f0;
  
  --font-arabic: 'The Year of Handicrafts', 'TheYearofHandicrafts', 'Cairo', system-ui, -apple-system, sans-serif;
  --font-english: 'The Year of Handicrafts', 'TheYearofHandicrafts', 'Inter', system-ui, -apple-system, sans-serif;
  
  --shadow-sm: 0 2px 8px rgba(15, 43, 92, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(15, 43, 92, 0.08);
  --shadow-lg: 0 20px 40px -10px rgba(15, 43, 92, 0.12);
  --shadow-hover: 0 25px 50px -12px rgba(15, 43, 92, 0.18);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 50px;
  
  --transition-fast: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --------------------------------------------------------------------------
   Global Reset & Base Typography
   -------------------------------------------------------------------------- */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'The Year of Handicrafts', 'TheYearofHandicrafts', var(--font-arabic);
  font-weight: 400;
  font-style: normal;
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 180%;
  letter-spacing: 0%;
  overflow-x: hidden;
}

html[dir="rtl"] body {
  text-align: right;
}

body[dir="ltr"] {
  font-family: 'The Year of Handicrafts', 'TheYearofHandicrafts', var(--font-english);
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  color: var(--primary-navy);
  letter-spacing: -0.02em;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #94a3b8;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-navy);
}

/* --------------------------------------------------------------------------
   Top Bar & Header / Navbar
   -------------------------------------------------------------------------- */
.top-bar {
  background: var(--primary-navy-dark);
  color: #e2e8f0;
  font-size: 0.875rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar a {
  color: #e2e8f0;
  text-decoration: none;
  transition: var(--transition-fast);
}

.top-bar a:hover {
  color: var(--accent-sky);
}

.navbar-kma {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
  padding: 4px 0;
}

.navbar-kma.scrolled {
  box-shadow: var(--shadow-md);
  padding: 2px 0;
}

.navbar-brand img {
  height: 62px;
  width: auto;
  transition: var(--transition-fast);
}

.nav-link {
  font-weight: 700;
  color: var(--text-dark) !important;
  padding: 4px 10px !important;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  font-size: 0.9rem;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-blue) !important;
  background-color: rgba(29, 78, 216, 0.06);
}

/* Hide Bootstrap default dropdown caret — using custom FA chevron icon instead */
.navbar-kma .dropdown-toggle::after {
  display: none !important;
}

.btn-lang-toggle {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  color: var(--primary-navy);
  font-weight: 700;
  border-radius: var(--radius-pill);
  padding: 6px 16px;
  font-size: 0.85rem;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-lang-toggle:hover {
  background: var(--primary-navy);
  color: #ffffff;
  border-color: var(--primary-navy);
}

.btn-kma-primary {
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-blue) 100%);
  color: #ffffff !important;
  font-weight: 700;
  border-radius: var(--radius-pill);
  padding: 10px 24px;
  border: none;
  box-shadow: 0 4px 14px rgba(15, 43, 92, 0.25);
  transition: var(--transition-fast);
}

.btn-kma-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 43, 92, 0.35);
  color: #ffffff;
}

.btn-kma-outline {
  background: transparent;
  color: var(--primary-navy);
  font-weight: 700;
  border-radius: var(--radius-pill);
  padding: 10px 24px;
  border: 2px solid var(--primary-navy);
  transition: var(--transition-fast);
}

.btn-kma-outline:hover {
  background: var(--primary-navy);
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   Hero & About Section (Legacy — kept for compatibility)
   -------------------------------------------------------------------------- */
.hero-section {
  padding: 80px 0 60px;
  background: radial-gradient(circle at 10% 20%, rgba(56, 189, 248, 0.08) 0%, rgba(248, 250, 252, 0) 80%);
  position: relative;
}

/* --------------------------------------------------------------------------
   Hero Full — Full-width background image hero
   -------------------------------------------------------------------------- */
.hero-full-section {
  position: relative;
  min-height: 600px;
  background-image: url('../images/hero-bg.png');
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(10, 25, 47, 0.88) 0%,
    rgba(15, 43, 92, 0.82) 50%,
    rgba(10, 25, 47, 0.90) 100%
  );
  z-index: 1;
}

.hero-content-wrapper {
  position: relative;
  z-index: 2;
  padding: 100px 0 120px;
}

.hero-inner {
  max-width: 800px;
  margin: 0 auto;
}

.hero-logo-img {
  height: 80px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  animation: heroLogoFade 1s ease-out;
}

@keyframes heroLogoFade {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 0.9; transform: translateY(0); }
}

.hero-full-title {
  font-size: 3rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
  animation: heroTitleSlide 0.9s ease-out 0.2s both;
}

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

.hero-full-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  margin-bottom: 0;
  animation: heroTitleSlide 0.9s ease-out 0.4s both;
}

.btn-hero-primary {
  background: linear-gradient(135deg, var(--accent-gold) 0%, #f97316 100%);
  color: #ffffff !important;
  font-weight: 700;
  border-radius: var(--radius-pill);
  padding: 14px 36px;
  border: none;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.35);
  transition: var(--transition-fast);
  animation: heroTitleSlide 0.9s ease-out 0.6s both;
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(245, 158, 11, 0.5);
}

.btn-hero-outline {
  background: transparent;
  color: #ffffff !important;
  font-weight: 700;
  border-radius: var(--radius-pill);
  padding: 14px 36px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  transition: var(--transition-fast);
  animation: heroTitleSlide 0.9s ease-out 0.7s both;
}

.btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
  transform: translateY(-3px);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  animation: scrollBounce 2s ease-in-out infinite;
  cursor: pointer;
  display: inline-block;
}

.hero-scroll-icon-img {
  height: 54px;
  width: auto;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.4));
  transition: var(--transition-fast);
}

.hero-scroll-indicator:hover .hero-scroll-icon-img {
  transform: scale(1.1);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.85; }
  50% { transform: translateX(-50%) translateY(10px); opacity: 1; }
}

/* --------------------------------------------------------------------------
   About Section
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   About Section (Matching Screenshot Layout)
   -------------------------------------------------------------------------- */
.about-section {
  background: #ffffff;
  padding: 90px 0;
  position: relative;
}

.about-main-heading {
  font-size: 2.2rem;
  font-weight: 900;
  color: #1e293b;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.about-text-lead {
  font-size: 1rem;
  color: #475569;
  line-height: 1.8;
}

.btn-about-capsule {
  background: #1e293b;
  color: #ffffff !important;
  font-weight: 700;
  border-radius: 50px;
  padding: 10px 24px 10px 14px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.15);
  transition: var(--transition-fast);
  font-size: 0.95rem;
}

.btn-about-capsule .btn-arrow-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: #ffffff;
  transition: var(--transition-fast);
}

.btn-about-capsule:hover {
  background: #0f172a;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.25);
  color: #ffffff !important;
}

.btn-about-capsule:hover .btn-arrow-circle {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
}

.about-wavy-backdrop {
  position: absolute;
  top: -45px;
  left: -50px;
  width: 280px;
  height: 200px;
  background-image: url('../images/wavy-bg.svg');
  background-repeat: repeat;
  background-size: 120px 120px;
  opacity: 0.55;
  z-index: 0;
  pointer-events: none;
}

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

.about-img-frame {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.about-photo-img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
}

/* Overlapping 3 Metric Blocks Bar */
.about-metrics-bar {
  display: flex;
  width: 88%;
  margin-top: -65px;
  position: relative;
  z-index: 3;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
  margin-inline-start: 0;
  margin-inline-end: auto;
}

.metric-block {
  flex: 1;
  padding: 16px 12px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: var(--transition-fast);
}

.bg-sky-light {
  background-color: #93c5fd;
  color: #0f2b5c;
}

.bg-sky-light .metric-top-label {
  color: #0f2b5c;
  font-size: 0.82rem;
  font-weight: 800;
}

.bg-sky-light .metric-number {
  color: #0f2b5c;
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
  margin: 4px 0;
}

.bg-sky-light .metric-bot-label {
  color: #1e293b;
  font-size: 0.78rem;
  font-weight: 700;
}

.bg-mid-blue {
  background-color: #0284c7;
  color: #ffffff;
}

.bg-mid-blue .metric-top-label {
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
}

.bg-mid-blue .metric-number {
  color: #ffffff;
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
  margin: 4px 0;
}

.bg-mid-blue .metric-bot-label {
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.78rem;
  font-weight: 700;
}

.bg-navy-dark {
  background-color: #1e293b;
  color: #ffffff;
}

.bg-navy-dark .metric-top-label {
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
}

.bg-navy-dark .metric-number {
  color: #ffffff;
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
  margin: 4px 0;
}

.bg-navy-dark .metric-bot-label {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.78rem;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Vision Section (Matching Screenshot Mockup "sc")
   -------------------------------------------------------------------------- */
.vision-section {
  position: relative;
  background: linear-gradient(180deg, rgba(178, 221, 255, 0.35) 0%, rgba(220, 240, 255, 0.25) 100%);
  padding: 90px 0;
  overflow: hidden;
}

.vision-wavy-top {
  position: absolute;
  top: 0;
  right: -20px;
  width: 340px;
  height: 240px;
  background-image: url('../images/wavy-bg.svg');
  background-repeat: repeat;
  background-size: 130px 130px;
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}

.vision-wavy-bottom {
  position: absolute;
  bottom: 0;
  left: -20px;
  width: 340px;
  height: 240px;
  background-image: url('../images/wavy-bg.svg');
  background-repeat: repeat;
  background-size: 130px 130px;
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}

.vision-main-card {
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.05);
}

.vision-goals-title {
  font-size: 2rem;
  font-weight: 900;
  color: #0284c7;
  letter-spacing: -0.01em;
}

.vision-goals-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.goal-check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.94rem;
  font-weight: 700;
  color: #1e293b;
}

.goal-check-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
}

.vision-photo-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 400px;
}

.vision-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vision-feature-card {
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
  transition: var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.vision-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.09);
}

.vision-card-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: #dbeafe;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vision-card-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.vision-card-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: #0284c7;
}

/* --------------------------------------------------------------------------
   Board of Directors Section (Matching Screenshot Mockup)
   -------------------------------------------------------------------------- */
.board-section {
  position: relative;
  background: #f8fafc;
  padding: 90px 0;
  overflow: hidden;
}

.board-arabesque-backdrop {
  position: absolute;
  inset: 0;
  background-image: url('../images/arabesque-wave.png');
  background-repeat: repeat;
  background-size: 220px 320px;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}

.max-w-850 {
  max-width: 850px;
}

.board-section-heading {
  font-size: 2.2rem;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.board-section-lead {
  font-size: 0.96rem;
  color: #475569;
  line-height: 1.85;
}

.btn-board-more {
  background: #1e293b;
  color: #ffffff !important;
  font-weight: 700;
  border-radius: 50px;
  padding: 10px 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 0.9rem;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
  transition: var(--transition-fast);
}

.btn-board-more:hover {
  background: #0f172a;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.2);
  color: #ffffff !important;
}

.board-member-card {
  text-align: center;
  transition: var(--transition-fast);
}

.board-photo-box {
  border-radius: 18px;
  overflow: hidden;
  height: 240px;
  background: #e2e8f0;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  transition: var(--transition-fast);
}

.board-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.board-member-card:hover .board-photo-box {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
}

.board-member-name {
  font-size: 0.98rem;
  font-weight: 800;
  color: #0f172a;
}

.board-member-role {
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 600;
}

.board-featured-frame {
  position: relative;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
  max-width: 850px;
  overflow: hidden;
}

.board-featured-wavy-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/arabesque-wave.png');
  background-repeat: repeat;
  background-size: 180px 260px;
  opacity: 0.06;
  pointer-events: none;
}

.badge-honorary {
  display: inline-block;
  background: #e0f2fe;
  color: #0284c7;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 8px 30px;
  border-radius: 50px;
}

.honorary-card-box {
  background: #e0f2fe;
  border-radius: 20px;
  max-width: 250px;
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.08);
}

.honorary-photo-wrapper {
  border-radius: 16px;
  overflow: hidden;
  height: 220px;
  background: #cbd5e1;
}

.honorary-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.honorary-member-name {
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
}

.honorary-member-role {
  font-size: 0.78rem;
  color: #475569;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Membership Section (Matching Screenshot Mockup)
   -------------------------------------------------------------------------- */
.membership-section {
  position: relative;
  background: linear-gradient(180deg, rgba(224, 242, 254, 0.45) 0%, rgba(255, 255, 255, 0.2) 100%);
  padding: 90px 0;
  overflow: hidden;
}

.membership-wavy-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 300px;
  background-image: url('../images/wavy-bg.svg');
  background-repeat: repeat-x;
  background-size: 300px 150px;
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

.membership-section-heading {
  font-size: 2.2rem;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.membership-section-lead {
  font-size: 0.96rem;
  color: #475569;
  line-height: 1.85;
}

.membership-plan-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
  transition: var(--transition-fast);
}

.membership-plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.membership-plan-title {
  font-size: 1.4rem;
  font-weight: 900;
}

.plan-title-blue {
  color: #0284c7;
}

.plan-title-maroon {
  color: #881337;
}

.plan-title-navy {
  color: #0f172a;
}

.membership-plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.plan-price-blue .price-num {
  color: #0284c7;
  font-size: 1.6rem;
  font-weight: 900;
}

.plan-price-maroon .price-num {
  color: #881337;
  font-size: 1.6rem;
  font-weight: 900;
}

.plan-price-navy .price-num {
  color: #0f172a;
  font-size: 1.6rem;
  font-weight: 900;
}

.price-per {
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748b;
}

.membership-plan-desc {
  font-size: 0.88rem;
  line-height: 1.85;
  color: #475569;
}

.requirements-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
}

.requirements-list {
  font-size: 0.86rem;
  color: #334155;
  font-weight: 600;
}

.req-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f1f5f9;
  padding: 4px 12px;
  border-radius: 8px;
}

.btn-renew-outline {
  background: transparent;
  border: 1.5px solid #0284c7;
  color: #0284c7;
  border-radius: 50px;
  font-weight: 700;
  padding: 10px 20px;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.btn-renew-outline:hover {
  background: #0284c7;
  color: #ffffff;
}

.btn-subscribe-navy {
  background: #1e293b;
  color: #ffffff !important;
  border-radius: 50px;
  font-weight: 700;
  padding: 12px 24px;
  font-size: 0.92rem;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
  transition: var(--transition-fast);
}

.btn-subscribe-navy:hover {
  background: #0f172a;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.2);
  color: #ffffff !important;
}

.max-w-260 {
  max-width: 260px;
}

/* --------------------------------------------------------------------------
   Events / News Section (Matching Screenshot Mockup)
   -------------------------------------------------------------------------- */
.events-section {
  position: relative;
  background: #ffffff;
  padding: 90px 0;
}

.events-section-heading {
  font-size: 2.2rem;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.events-section-lead {
  font-size: 0.96rem;
  color: #475569;
}

.event-horizontal-card {
  background: #f0f7ff;
  border: 1px solid #e0f2fe;
  border-radius: 24px;
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.03);
  transition: var(--transition-fast);
}

.event-horizontal-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.08);
}

.event-meta-pill {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 50px;
  padding: 6px 20px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  color: #475569;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.meta-divider {
  color: #cbd5e1;
  font-size: 0.8rem;
}

.event-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
}

.event-card-desc {
  font-size: 0.88rem;
  line-height: 1.85;
  color: #475569;
}

.event-read-more {
  color: #0284c7;
  font-weight: 800;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.event-read-more:hover {
  color: #0f172a;
  gap: 10px;
}

.event-photo-wrapper {
  border-radius: 18px;
  overflow: hidden;
  height: 200px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.event-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.btn-all-events {
  background: #1e293b;
  color: #ffffff !important;
  font-weight: 700;
  border-radius: 50px;
  padding: 12px 36px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 0.95rem;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
  transition: var(--transition-fast);
}

.btn-all-events:hover {
  background: #0f172a;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.2);
  color: #ffffff !important;
}

/* --------------------------------------------------------------------------
   Media Center Section (Matching Screenshot Mockup)
   -------------------------------------------------------------------------- */
.media-center-section {
  position: relative;
  background: #f8fafc;
  padding: 90px 0;
}

.media-center-heading {
  font-size: 2.2rem;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.media-center-lead {
  font-size: 0.96rem;
  color: #475569;
  line-height: 1.85;
}

.article-card {
  background: transparent;
  transition: var(--transition-fast);
}

.article-photo-wrapper {
  border-radius: 18px;
  overflow: hidden;
  height: 240px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  transition: var(--transition-fast);
}

.article-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.article-card:hover .article-photo-wrapper {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
}

.badge-article-category {
  display: inline-block;
  background: #e0f2fe;
  color: #0284c7;
  font-weight: 800;
  font-size: 0.82rem;
  padding: 4px 18px;
  border-radius: 50px;
}

.article-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.6;
}

.article-card-desc {
  font-size: 0.86rem;
  line-height: 1.75;
  color: #64748b;
}

.article-read-more {
  color: #0284c7;
  font-weight: 800;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.article-read-more:hover {
  color: #0f172a;
  gap: 10px;
}

.btn-more-coverages {
  background: #1e293b;
  color: #ffffff !important;
  font-weight: 700;
  border-radius: 50px;
  padding: 12px 36px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 0.95rem;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
  transition: var(--transition-fast);
}

.btn-more-coverages:hover {
  background: #0f172a;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.2);
  color: #ffffff !important;
}

/* --------------------------------------------------------------------------
   Contact & FAQ Section (Matching Screenshot Mockup)
   -------------------------------------------------------------------------- */
.contact-faq-section {
  position: relative;
  background: #ffffff;
  padding: 90px 0;
}

.contact-faq-heading {
  font-size: 2.2rem;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.contact-faq-lead {
  font-size: 0.96rem;
  color: #475569;
  line-height: 1.85;
}

.faq-question {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f172a;
}

.faq-answer {
  font-size: 0.88rem;
  line-height: 1.85;
  color: #475569;
}

.faq-trigger {
  cursor: pointer;
}

.faq-icon-toggle {
  color: #0f172a;
  font-weight: 900;
}

.contact-form-lead-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.65;
}

.field-label {
  font-size: 0.88rem;
  font-weight: 800;
  color: #0f172a;
}

.custom-form-input {
  background: #fafafa;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 0.9rem;
  color: #0f172a;
  transition: var(--transition-fast);
}

.custom-form-input:focus {
  background: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.1);
}

.btn-contact-submit {
  background: #1e293b;
  color: #ffffff !important;
  font-weight: 700;
  border-radius: 50px;
  padding: 14px 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.95rem;
  border: none;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
  transition: var(--transition-fast);
}

.btn-contact-submit:hover {
  background: #0f172a;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.2);
  color: #ffffff !important;
}

@media (min-width: 992px) {
  .border-end-lg {
    border-inline-end: 1px solid #e2e8f0;
  }
}

/* --------------------------------------------------------------------------
   Custom Footer (Matching Screenshot Mockup)
   -------------------------------------------------------------------------- */
.kma-custom-footer {
  background: #f0f6ff;
  color: #475569;
  border-top: 1px solid #e0f2fe;
}

.footer-logo {
  max-height: 80px;
  width: auto;
  object-fit: contain;
}

.footer-about-text {
  font-size: 0.86rem;
  line-height: 1.75;
  color: #64748b;
  max-width: 300px;
}

.social-circle-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  color: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
  border: 1px solid #e2e8f0;
  transition: var(--transition-fast);
}

.social-circle-btn:hover {
  background: #0284c7;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

.footer-column-title {
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
}

.footer-nav-list li {
  margin-bottom: 12px;
}

.footer-nav-list li a {
  color: #475569;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-nav-list li a:hover {
  color: #0284c7;
  padding-inline-start: 4px;
}

.footer-bottom-bar {
  border-color: #e2e8f0 !important;
}

.copyright-text {
  font-size: 0.86rem;
  color: #64748b;
  font-weight: 600;
}

.developer-credit {
  font-size: 0.86rem;
  color: #64748b;
  font-weight: 600;
}

.ksd-logo-badge {
  color: #0f172a;
  font-weight: 900;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
}

/* --------------------------------------------------------------------------
   Media Center Page Specific Styles (Matching Screenshot Mockup)
   -------------------------------------------------------------------------- */
.mediacenter-hero-section {
  position: relative;
  background: #0f1e36 url('../images/arabesque-wave.png') center/cover no-repeat;
  padding-top: 140px;
  padding-bottom: 70px;
}

.mediacenter-hero-title {
  font-size: 2.6rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.mediacenter-hero-subtitle {
  font-size: 1.05rem;
}

.hero-scroll-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #0284c7;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.4);
  transition: var(--transition-fast);
}

.hero-scroll-circle:hover {
  background: #02649b;
  color: #ffffff;
  transform: translateY(3px);
}

.btn-filter-pill {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 8px 24px;
  border-radius: 50px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
  transition: var(--transition-fast);
}

.btn-filter-pill:hover,
.btn-filter-pill.active {
  background: #1e293b !important;
  color: #ffffff !important;
  border-color: #1e293b !important;
}

.custom-search-input {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0 50px 50px 0 !important;
  padding: 10px 20px;
  font-size: 0.88rem;
  color: #0f172a;
}

.custom-search-input:focus {
  border-color: #0284c7;
  box-shadow: none;
}

.btn-search-icon {
  background: #1e293b;
  color: #ffffff !important;
  border-radius: 50px 0 0 50px !important;
  padding: 10px 18px;
  border: none;
}

.custom-sort-select {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 50px;
  padding: 10px 20px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
}

.mediacenter-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
  transition: var(--transition-fast);
}

.mediacenter-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.mediacenter-photo-wrapper {
  border-radius: 14px;
  overflow: hidden;
  height: 220px;
}

.mediacenter-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.badge-cat-pill {
  background: #e0f2fe;
  color: #0284c7;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 4px 16px;
  border-radius: 50px;
}

.meta-date {
  font-size: 0.82rem;
  color: #64748b;
  font-weight: 600;
}

.mediacenter-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.6;
}

.mediacenter-card-desc {
  font-size: 0.86rem;
  line-height: 1.75;
  color: #64748b;
}

.mediacenter-read-more {
  color: #0284c7;
  font-weight: 800;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.mediacenter-read-more:hover {
  color: #0f172a;
  gap: 10px;
}

.btn-load-more-outline {
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #475569;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 10px 32px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: var(--transition-fast);
}

.btn-load-more-outline:hover {
  background: #1e293b;
  color: #ffffff !important;
  border-color: #1e293b;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.12);
}

.mediacenter-contact-section {
  background: #f8fafc;
  padding: 80px 0;
}

.contact-section-title {
  font-size: 2.2rem;
  font-weight: 900;
  color: #0f172a;
}

.contact-section-subtitle {
  font-size: 0.96rem;
  color: #475569;
}

.contact-form-card {
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.04);
}

.contact-form-heading {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   Documents & Reports Page Specific Styles (Matching Screenshot Mockup)
   -------------------------------------------------------------------------- */
.doc-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
  transition: var(--transition-fast);
}

.doc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.doc-cover-box {
  background: #e6f0fa;
  border-radius: 14px;
  height: 180px;
  padding: 24px;
  transition: var(--transition-fast);
}

.doc-card:hover .doc-cover-box {
  background: #dbeafe;
}

.doc-cover-logo {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.doc-cover-subtitle {
  color: #0f172a;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}

.badge-year-pill {
  background: #e0f2fe;
  color: #0284c7;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 4px 14px;
  border-radius: 50px;
}

.doc-filesize {
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 600;
}

.doc-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.5;
}

.doc-card-desc {
  font-size: 0.84rem;
  line-height: 1.75;
  color: #64748b;
}

.btn-doc-download {
  background: #1e293b;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 9px 16px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  border: none;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
  transition: var(--transition-fast);
}

.btn-doc-download:hover {
  background: #0f172a;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.16);
  color: #ffffff !important;
}

.btn-doc-view {
  background: #ffffff;
  color: #0284c7 !important;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 9px 16px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  border: 1px solid #0284c7;
  transition: var(--transition-fast);
}

.btn-doc-view:hover {
  background: #e0f2fe;
  color: #0284c7 !important;
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Board Members Page Specific Styles (Matching Screenshot Mockup)
   -------------------------------------------------------------------------- */
.chairman-speech-card {
  background: #f0f7ff;
  border: 1px solid #e0f2fe;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(2, 132, 199, 0.04);
}

.chairman-speech-heading {
  font-size: 1.8rem;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.board-member-horizontal-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  transition: var(--transition-fast);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.02);
}

.board-member-horizontal-card:hover {
  background: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.member-name-heading {
  font-size: 1.4rem;
  font-weight: 900;
  color: #0f172a;
}

.member-role-title {
  font-size: 0.98rem;
  font-weight: 800;
  color: #0284c7;
}

.member-bio-text {
  font-size: 0.88rem;
  line-height: 1.8;
  color: #64748b;
}

.member-photo-frame {
  width: 175px;
  height: 175px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
  display: inline-block;
  background: #ffffff;
  border: 2px solid #ffffff;
}

.member-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --------------------------------------------------------------------------
   General Assembly Members Page Specific Styles (Matching Screenshot Mockup)
   -------------------------------------------------------------------------- */
.members-directory-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: #0284c7;
  letter-spacing: -0.01em;
}

.general-member-card {
  background: #f0f7ff;
  border: 1px solid #e0f2fe;
  border-radius: 16px;
  padding: 16px 20px;
  transition: var(--transition-fast);
}

.general-member-card:hover {
  background: #ffffff;
  border-color: #0284c7;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.08);
}

.member-number-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #1e293b;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
}

.general-member-name {
  font-size: 1.02rem;
  font-weight: 800;
  color: #0f172a;
}

.membership-id-badge {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #0284c7;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 6px 16px;
  border-radius: 50px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.02);
}

/* --------------------------------------------------------------------------
   FAQ Page Specific Styles (Matching Screenshot Mockup)
   -------------------------------------------------------------------------- */
.faq-page-section {
  background: #f8fafc;
}

.faq-page-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.04);
}

.faq-page-heading {
  font-size: 2.2rem;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.faq-card-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  transition: var(--transition-fast);
}

.faq-card-item:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.faq-item-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
}

.faq-toggle-icon {
  color: #0f172a;
  font-size: 1rem;
  font-weight: 900;
}

.faq-item-answer {
  font-size: 0.88rem;
  line-height: 1.8;
  color: #64748b;
}

/* --------------------------------------------------------------------------
   Partners & Cooperation Page Specific Styles (Matching Screenshot Mockup)
   -------------------------------------------------------------------------- */
.partners-page-section {
  background: #ffffff;
}

.partners-intro-text {
  font-size: 1.02rem;
  line-height: 1.8;
  color: #475569;
  font-weight: 600;
}

.partner-card-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  height: 85px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.02);
  transition: var(--transition-fast);
}

.partner-card-box:hover {
  border-color: #0284c7;
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(2, 132, 199, 0.12);
}

.partner-grid-img {
  max-height: 42px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(15%);
  transition: var(--transition-fast);
}

.partner-card-box:hover .partner-grid-img {
  filter: grayscale(0%);
}

/* --------------------------------------------------------------------------
   Partners Section
   -------------------------------------------------------------------------- */
.partners-section {
  background: #ffffff;
}

.partner-logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.partner-name {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --------------------------------------------------------------------------
   Gallery Section
   -------------------------------------------------------------------------- */
.gallery-section {
  background: var(--bg-subtle);
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: var(--transition-normal);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 43, 92, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-fast);
  color: #ffffff;
  font-size: 2rem;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

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

.hero-badge {
  background: rgba(29, 78, 216, 0.1);
  color: var(--primary-blue);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 2.75rem;
  line-height: 1.3;
  margin-bottom: 24px;
  color: var(--primary-navy-dark);
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 620px;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid #ffffff;
}

.hero-image-wrapper img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: var(--transition-normal);
}

.hero-image-wrapper:hover img {
  transform: scale(1.03);
}

/* Stats Cards Floating Block */
.stats-floating-box {
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 24px;
  margin-top: -40px;
  position: relative;
  z-index: 10;
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.stat-item {
  text-align: center;
  padding: 12px;
}

.stat-number {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--primary-blue);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Vision & Goals Section ("رؤيتنا ورسالتنا")
   -------------------------------------------------------------------------- */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px;
}

.section-subtitle {
  color: var(--accent-cyan);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.vision-image-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.vision-image-card img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.goal-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.goal-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(2, 132, 199, 0.1);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
  font-weight: bold;
}

.card-kma-gradient {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
  height: 100%;
}

.card-kma-gradient:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--accent-sky);
}

/* --------------------------------------------------------------------------
   Board of Directors Section ("أعضاء مجلس الإدارة")
   -------------------------------------------------------------------------- */
.board-section {
  background: var(--bg-subtle);
  padding: 80px 0;
}

.board-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition-fast);
  height: 100%;
}

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

.board-avatar-wrapper {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #ffffff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.board-avatar-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.board-name {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 4px;
  color: var(--primary-navy);
}

.board-role {
  font-size: 0.88rem;
  color: var(--primary-blue);
  font-weight: 700;
  margin-bottom: 12px;
}

.board-bio {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Membership Tiers ("العضوية والإشتراك")
   -------------------------------------------------------------------------- */
.membership-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-md);
  border: 2px solid transparent;
  transition: var(--transition-fast);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.membership-card.featured {
  border-color: var(--primary-blue);
  box-shadow: var(--shadow-lg);
}

.membership-card.featured::before {
  content: attr(data-badge);
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-blue);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 16px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.5px;
}

.membership-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.price-box {
  margin: 20px 0 28px;
}

.price-amount {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary-navy);
}

.price-currency {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-muted);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  flex-grow: 1;
}

.feature-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-dark);
}

.feature-list li i {
  color: #10b981;
  font-size: 1.1rem;
}

/* --------------------------------------------------------------------------
   News & Media Center ("المركز الإعلامي")
   -------------------------------------------------------------------------- */
.news-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition-fast);
  height: 100%;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.news-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-normal);
}

.news-card:hover .news-image img {
  transform: scale(1.05);
}

.news-content {
  padding: 24px;
}

.news-date {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 8px;
  display: block;
}

.news-title {
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 12px;
}

.news-title a {
  color: var(--primary-navy);
  text-decoration: none;
  transition: var(--transition-fast);
}

.news-title a:hover {
  color: var(--primary-blue);
}

/* --------------------------------------------------------------------------
   Partners Grid ("شركاؤنا")
   -------------------------------------------------------------------------- */
.partner-logo-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.partner-logo-item img {
  max-height: 55px;
  width: auto;
  filter: grayscale(40%);
  opacity: 0.85;
  transition: var(--transition-fast);
}

.partner-logo-item:hover {
  border-color: var(--accent-sky);
  box-shadow: var(--shadow-md);
}

.partner-logo-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* --------------------------------------------------------------------------
   Contact Us Section ("التواصل والإنضمام")
   -------------------------------------------------------------------------- */
.contact-card {
  background: linear-gradient(135deg, var(--primary-navy-dark) 0%, var(--primary-navy) 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent-sky);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.form-control-kma {
  background: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-control-kma:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.12);
  outline: none;
}

/* --------------------------------------------------------------------------
   Footer Section
   -------------------------------------------------------------------------- */
.footer-kma {
  background: var(--primary-navy-dark);
  color: #94a3b8;
  padding: 70px 0 30px;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-title {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: var(--transition-fast);
}

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

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition-fast);
  margin-inline-end: 8px;
}

.social-btn:hover {
  background: var(--primary-blue);
  color: #ffffff;
  transform: translateY(-3px);
}

/* --------------------------------------------------------------------------
   Custom Utility Classes (Complement Bootstrap 5)
   -------------------------------------------------------------------------- */

/* Bootstrap 5 goes up to py-5 (3rem); add py-6 for larger sections */
.py-6 {
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
}

/* RTL / LTR Alignment Utility Tweaks */
body[dir="ltr"] .text-end-responsive {
  text-align: left !important;
}
body[dir="rtl"] .text-end-responsive {
  text-align: right !important;
}

/* Global safe image/media rule — prevents horizontal overflow on all screens */
img, video, iframe, embed, object {
  max-width: 100%;
  height: auto;
}

/* --------------------------------------------------------------------------
   RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */

/* ---- Large Tablets / Small Laptops (≤ 1199px) ---- */
@media (max-width: 1199.98px) {
  .hero-title {
    font-size: 2.4rem;
  }

  .hero-lead {
    font-size: 1.05rem;
  }

  .navbar-brand img {
    height: 48px;
  }
}

/* ---- Tablets / md Breakpoint (≤ 991px) ---- */
@media (max-width: 991.98px) {
  /* Navbar mobile menu: flush background & padded links */
  .navbar-kma .navbar-collapse {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 16px 20px;
    margin-top: 12px;
    box-shadow: var(--shadow-md);
  }

  .nav-link {
    padding: 10px 12px !important;
    border-bottom: 1px solid var(--border-color);
  }

  .nav-link:last-child {
    border-bottom: none;
  }

  /* Hero section */
  .hero-section {
    padding: 60px 0 40px;
  }

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

  .hero-lead {
    max-width: 100%;
  }

  .hero-image-wrapper img {
    height: 320px;
  }

  /* Stats floating box: remove negative pull-up, keep it below image */
  .stats-floating-box {
    margin-top: 24px;
  }

  /* Section headings */
  .section-title {
    font-size: 1.85rem;
  }

  /* Board section padding */
  .board-section {
    padding: 60px 0;
  }

  /* Contact card */
  .contact-card {
    padding: 28px;
    /* On tablets, contact info card appears below the form */
    margin-top: 0;
  }

  /* Vision & Goals */
  .vision-image-card img {
    height: 300px;
  }

  /* Membership cards equal height within row */
  .membership-card {
    padding: 28px 22px;
  }

  .py-6 {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
  }
}

/* ---- Small Tablets / Large Phones (≤ 767px) ---- */
@media (max-width: 767.98px) {
  /* Top bar: stack on very small screens */
  .top-bar .d-flex.justify-content-between {
    flex-direction: column;
    align-items: center !important;
    gap: 6px !important;
    text-align: center;
  }

  /* Hero */
  .hero-section {
    padding: 48px 0 32px;
  }

  .hero-title {
    font-size: 1.75rem;
    line-height: 1.4;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-image-wrapper img {
    height: 240px;
  }

  .hero-badge {
    font-size: 0.8rem;
  }

  /* Stats: 1 column layout on small phones */
  .stats-floating-box {
    padding: 16px;
    margin-top: 20px;
    border-radius: var(--radius-md);
  }

  .stat-item {
    padding: 8px 4px;
  }

  .stat-number {
    font-size: 1.85rem;
  }

  /* Section heading */
  .section-title {
    font-size: 1.6rem;
  }

  .section-header {
    margin-bottom: 36px;
  }

  /* Board cards */
  .board-avatar-wrapper {
    width: 90px;
    height: 90px;
  }

  /* Membership */
  .price-amount {
    font-size: 2rem;
  }

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

  .membership-card.featured::before {
    font-size: 0.7rem;
    padding: 4px 12px;
  }

  /* News cards */
  .news-image {
    height: 180px;
  }

  .news-content {
    padding: 18px;
  }

  /* Partners: 2-column grid */
  .partner-logo-item img {
    max-height: 45px;
  }

  /* Contact section */
  .contact-card {
    padding: 24px 20px;
    border-radius: var(--radius-md);
  }

  .contact-info-item {
    gap: 12px;
    margin-bottom: 18px;
  }

  .contact-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  /* Vision goals */
  .goal-icon-box {
    width: 36px;
    height: 36px;
    font-size: 1rem;
    border-radius: 10px;
  }

  .goal-item {
    gap: 12px;
    margin-bottom: 16px;
  }

  .card-kma-gradient {
    padding: 24px 20px;
  }

  /* Footer */
  .footer-kma {
    padding: 50px 0 24px;
    text-align: center;
  }

  .footer-links a:hover {
    padding-inline-start: 0;
  }

  .social-btn {
    width: 36px;
    height: 36px;
  }

  .py-6 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
}

/* ---- Mobile Phones (≤ 575px) ---- */
@media (max-width: 575.98px) {
  /* Contain page horizontally */
  body {
    font-size: 0.95rem;
  }

  /* Navbar brand logo shrinks gracefully */
  .navbar-brand img {
    height: 42px;
  }

  .navbar-kma {
    padding: 8px 0;
  }

  /* Hero */
  .hero-section {
    padding: 40px 0 28px;
  }

  .hero-title {
    font-size: 1.55rem;
    line-height: 1.45;
  }

  .hero-image-wrapper {
    border-radius: var(--radius-md);
  }

  .hero-image-wrapper img {
    height: 200px;
  }

  /* CTA buttons: stack vertically */
  .hero-section .d-flex.flex-wrap.gap-3 {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-kma-primary,
  .btn-kma-outline {
    display: block;
    width: 100%;
    text-align: center;
  }

  /* Stats: three stats in a single compact row */
  .stats-floating-box .row {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }

  .stats-floating-box .col-md-4 {
    min-width: 33%;
    flex: 0 0 33%;
  }

  .stat-number {
    font-size: 1.6rem;
  }

  .stat-label {
    font-size: 0.78rem;
  }

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

  .section-subtitle {
    font-size: 0.78rem;
  }

  /* Board filter btns: wrap & shrink */
  .board-filter-btn {
    padding: 7px 14px;
    font-size: 0.85rem;
  }

  /* Board card */
  .board-card {
    padding: 20px 16px;
  }

  .board-name {
    font-size: 1rem;
  }

  .board-avatar-wrapper {
    width: 80px;
    height: 80px;
  }

  /* Membership */
  .price-amount {
    font-size: 1.85rem;
  }

  /* News */
  .news-image {
    height: 160px;
  }

  /* Contact form */
  .bg-white.p-4.p-md-5 {
    padding: 20px !important;
  }

  /* Footer copyright row */
  .footer-kma .d-flex.flex-wrap.justify-content-between {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
  }

  /* Modal */
  .modal-content {
    border-radius: var(--radius-md);
  }

  .py-6 {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }
}

/* ---- Very Small Phones (≤ 360px) ---- */
@media (max-width: 360px) {
  .hero-title {
    font-size: 1.35rem;
  }

  .hero-image-wrapper img {
    height: 170px;
  }

  .section-title {
    font-size: 1.3rem;
  }

  .stat-number {
    font-size: 1.4rem;
  }

  .membership-card,
  .board-card {
    padding: 16px 12px;
  }

  .contact-card {
    padding: 18px 14px;
  }
}

/* ==========================================================================
   Enhancements for Exact Image Layout Match
   ========================================================================== */

/* Wavy Background Pattern Overlay (Image 1 & 2) */
.pattern-bg-overlay {
  position: relative;
  background-color: #f8fafc;
  background-image: url('../images/wavy-bg.svg');
  background-repeat: repeat;
  background-size: 130px 130px;
}

.relative-z {
  position: relative;
  z-index: 2;
}

/* Top Navbar Clean White Theme Matching Mockup Screenshot */
.navbar-kma {
  background: #ffffff !important;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  transition: var(--transition-fast);
  padding: 4px 0;
  border-bottom: 1px solid #e2e8f0;
}

.navbar-kma.scrolled {
  box-shadow: 0 6px 25px rgba(15, 23, 42, 0.1);
  padding: 2px 0;
}

.navbar-kma .nav-link {
  color: #0f172a !important;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 4px 10px !important;
  border-radius: var(--radius-pill);
  transition: var(--transition-fast);
}

.navbar-kma .nav-link:hover {
  color: #0284c7 !important;
}

.navbar-kma .nav-link.active {
  background-color: #e0f2fe !important;
  color: #1e3a8a !important;
  font-weight: 800;
}

/* Hide Bootstrap default dropdown caret — custom FA chevron is used */
.navbar-kma .dropdown-toggle::after {
  display: none !important;
}

.small-arrow {
  font-size: 0.65rem;
  opacity: 0.7;
}

.brand-logo {
  height: 62px;
  width: auto;
  transition: var(--transition-fast);
}

/* Language Button Simple */
.btn-lang-simple {
  background: transparent;
  border: none;
  color: #0f172a;
  font-weight: 800;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  cursor: pointer;
  border-radius: var(--radius-pill);
  transition: var(--transition-fast);
}

.btn-lang-simple:hover {
  background: #f1f5f9;
  color: #1d4ed8;
}

/* Split CTA Button Pill matching Screenshot */
.split-cta-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
  font-weight: 700;
  font-size: 0.88rem;
}

.split-cta-pill .cta-signup {
  background: #80caff;
  color: #0f172a !important;
  padding: 7px 16px;
  text-decoration: none;
  transition: var(--transition-fast);
  white-space: nowrap;
  font-size: 0.85rem;
}

.split-cta-pill .cta-signup:hover {
  background: #50b5ff;
  color: #0f172a !important;
}

.split-cta-pill .cta-login {
  background: #1e293b;
  color: #ffffff !important;
  padding: 7px 18px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition-fast);
  white-space: nowrap;
  font-size: 0.85rem;
}

.split-cta-pill .cta-login:hover {
  background: #0f172a;
  color: #ffffff !important;
}


/* Hero Subtitle English */
.hero-full-en-subtitle {
  font-size: 1.4rem;
  font-weight: 700;
  color: #38bdf8;
  letter-spacing: 1px;
}

/* 3 Colored Horizontal Metric Cards in About Section */
.about-stat-card {
  border-radius: 16px;
  padding: 18px 10px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.about-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.about-stat-card.bg-sky {
  background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
  color: #ffffff;
}

.about-stat-card.bg-midblue {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
}

.about-stat-card.bg-navy {
  background: linear-gradient(135deg, #1e3a8a 0%, #0f2b5c 100%);
  color: #ffffff;
}

.about-stat-card .stat-icon {
  font-size: 1.25rem;
  margin-bottom: 4px;
  opacity: 0.95;
}

.about-stat-card .about-stat-num {
  font-size: 1.6rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 4px;
}

.about-stat-card .about-stat-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}

/* Board Section 5-Column Circular Avatars */
@media (min-width: 992px) {
  .col-lg-2-4 {
    flex: 0 0 20%;
    max-width: 20%;
  }
}

.board-avatar-circle {
  width: 120px;
  height: 120px;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #ffffff;
  box-shadow: 0 8px 20px rgba(15, 43, 92, 0.15);
  transition: var(--transition-fast);
}

.board-avatar-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.board-circle-card:hover .board-avatar-circle {
  transform: scale(1.08);
  box-shadow: 0 12px 28px rgba(15, 43, 92, 0.25);
}

/* Chairman Statement Featured Box */
.chairman-feature-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  background-image: url('../images/wavy-bg.svg');
  background-repeat: repeat;
  background-size: 100px 100px;
  position: relative;
}

.chairman-avatar-frame {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #1d4ed8;
  box-shadow: 0 6px 16px rgba(29, 78, 216, 0.2);
}

.chairman-avatar-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Partners Logo Grid */
.partner-logo-box {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  border: 1px solid #e2e8f0;
  background: #ffffff !important;
}

.partner-logo-box:hover {
  border-color: #38bdf8;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.06);
}

.partner-img {
  max-height: 48px;
  width: auto;
  object-fit: contain;
}

/* Colors & Buttons */
.bg-navy {
  background-color: #0a192f !important;
}

.text-navy {
  color: #0a192f !important;
}

.btn-kma-navy {
  background: #0f2b5c;
  color: #ffffff !important;
  font-weight: 700;
  border-radius: var(--radius-pill);
  padding: 12px 28px;
  border: none;
  transition: var(--transition-fast);
}

.btn-kma-navy:hover {
  background: #1d4ed8;
  color: #ffffff;
  transform: translateY(-2px);
}

