/* ============================================================
   NOUVO AYITI — Site Public Styles
   Missing classes for the public website
   ============================================================ */

/* HEADER */
.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(18, 61, 143, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: var(--sp-3) 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: auto;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  text-decoration: none;
  color: var(--color-primary);
  font-weight: var(--fw-bold);
  font-family: var(--font-heading);
  transition: transform 250ms ease;
}

.logo:hover {
  transform: scale(1.05);
}

.logo-image-only {
  gap: 0;
}

.logo-img {
  display: block;
  max-width: 60px;
  height: auto;
  flex-shrink: 0;
}

.logo-mark {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: white;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-title {
  font-size: 1rem;
  font-weight: var(--fw-bold);
  line-height: 1;
  color: var(--color-primary);
}

.logo-subtitle {
  font-size: 10px;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-500);
  line-height: 1;
}

/* NAVIGATION */
.nav-desktop {
  display: flex;
  gap: var(--sp-1);
  align-items: center;
}

.nav-desktop a {
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--radius-pill);
  font-size: var(--text-small);
  font-weight: var(--fw-medium);
  color: var(--gray-600);
  text-decoration: none;
  transition: all 250ms ease;
  white-space: nowrap;
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--color-primary);
  background: var(--color-primary-light);
}

/* HEADER ACTIONS */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

/* BURGER MENU */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
}

.burger span {
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all 250ms ease;
}

/* MOBILE MENU */
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: white;
  z-index: 300;
  max-height: calc(100vh - 72px);
  overflow-y: auto;
  box-shadow: var(--shadow-md);
}

.mobile-menu.is-open {
  display: block;
}

.mobile-menu a {
  color: var(--gray-700);
  text-decoration: none;
  transition: all 200ms;
}

.mobile-menu a:hover,
.mobile-menu a.active {
  color: var(--color-primary);
  background: var(--color-primary-light);
}

.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 200;
  backdrop-filter: blur(2px);
}

.overlay.is-open {
  display: block;
}

@media (max-width: 1024px) {
  .header {
    padding: var(--sp-2) 0;
  }

  .header-actions {
    gap: var(--sp-2);
  }

  .header-actions .btn {
    padding: 0.375rem var(--sp-3);
    font-size: 0.75rem;
  }
}

@media (max-width: 768px) {
  .burger { display: flex; }
  .nav-desktop { display: none; }

  .header {
    padding: var(--sp-2) 0;
  }

  .logo-img {
    max-width: 50px;
  }

  .header-actions {
    gap: var(--sp-2);
  }

  /* Hide the action buttons on mobile */
  .header-actions .btn {
    display: none;
  }

  /* Show language switcher only */
  .header-actions .lang-switcher {
    display: flex;
  }
}

@media (max-width: 480px) {
  .header {
    padding: var(--sp-1) 0;
  }

  .logo-img {
    max-width: 45px;
  }

  .burger {
    padding: 6px;
    width: 36px;
    height: 36px;
  }

  .burger span {
    width: 20px;
  }

  .header-actions {
    gap: var(--sp-1);
  }

  .lang-btn {
    padding: var(--sp-1) var(--sp-2);
    font-size: 0.75rem;
  }
}

/* HERO CARDS */
.hero-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  padding: var(--sp-6);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  backdrop-filter: blur(12px);
}

.hero-card-logo {
  width: 100%;
  max-width: 240px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.hero-card-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-card-text {
  text-align: center;
  color: white;
}

.hero-card-text h2 {
  font-size: 1.5rem;
  font-weight: var(--fw-bold);
  margin-bottom: 4px;
}

.hero-card-text p {
  font-size: var(--text-small);
  opacity: 0.9;
}

/* HERO LABEL/TITLE */
.hero-label {
  display: inline-block;
  font-size: 11px;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--sp-3);
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: var(--fw-bold);
  line-height: 1.1;
  color: white;
  margin-bottom: var(--sp-4);
}

.hero-title em {
  color: #8df5a0;
  font-style: normal;
}

/* HERO CTA */
.hero-cta {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
  margin-top: var(--sp-6);
}

/* FOOTER */
.footer {
  background: var(--gray-900);
  color: rgba(255, 255, 255, 0.75);
  padding: var(--sp-16) 0 var(--sp-8);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-10);
  margin-bottom: var(--sp-10);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.footer-tagline {
  font-size: var(--text-small);
  color: rgba(255, 255, 255, 0.5);
  line-height: var(--lh-relaxed);
  max-width: 280px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.footer-col-title {
  font-weight: var(--fw-semibold);
  color: white;
  font-size: var(--text-small);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: var(--text-small);
  transition: color 250ms ease;
}

.footer-links a:hover {
  color: white;
}

.footer-newsletter {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.footer-newsletter input {
  padding: var(--sp-3) var(--sp-4);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  color: white;
  font-size: var(--text-small);
}

.footer-newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.footer-social {
  display: flex;
  gap: var(--sp-3);
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  transition: all 250ms ease;
  text-decoration: none;
}

.footer-social a:hover {
  background: var(--color-secondary);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--sp-6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-4);
}

.footer-copy {
  font-size: var(--text-caption);
  color: rgba(255, 255, 255, 0.35);
}

.footer-legal {
  display: flex;
  gap: var(--sp-5);
}

.footer-legal a {
  font-size: var(--text-caption);
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  transition: color 250ms ease;
}

.footer-legal a:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* SECTIONS */
.section {
  padding: var(--sp-16) 0;
}

/* Compact section variant - reduced padding */
.section-compact {
  padding: var(--sp-10) 0;
}

/* Emphasis section variant - larger padding for CTAs */
.section-emphasis {
  padding: var(--sp-12) 0;
}

.section-light {
  background: rgba(255, 255, 255, 0.5);
}

/* Light background variant */
.section-light-bg {
  background: rgba(18, 61, 143, 0.02);
}

/* Section center wrapper */
.section-center {
  max-width: 900px;
  margin: 0 auto;
}

.section-center.max-600 {
  max-width: 600px;
  text-align: center;
}

/* Leader page specific styles */
.leader-photo {
  width: 100%;
  max-width: 380px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(18,61,143,.12);
  display: block;
  margin: 0 auto;
}

.card-quote {
  background: var(--color-primary-light);
  border-radius: 16px;
  padding: var(--sp-6);
  margin: 0;
}

.card-quote .quote-icon {
  font-size: 1.5rem;
  margin-bottom: var(--sp-3);
}

.card-quote blockquote {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.7;
  color: var(--color-primary);
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 var(--sp-2) 0;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--color-secondary);
  font-weight: 600;
  margin: 0;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--sp-6);
  margin: 0 0 var(--sp-6) 0;
}

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

.bio-content {
  display: grid;
  gap: var(--sp-6);
  color: var(--gray-700);
  line-height: var(--lh-relaxed);
}

.bio-content p {
  font-size: 1.0625rem;
  font-weight: 500;
  margin: 0;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--sp-6);
}

.vision-card {
  padding: var(--sp-6);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.card-icon {
  color: var(--color-primary);
  font-size: 2.5rem;
  line-height: 1;
}

.card-text {
  color: var(--gray-700);
  line-height: var(--lh-relaxed);
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--sp-5);
}

.value-card {
  padding: var(--sp-6);
  border-left: 4px solid var(--color-secondary);
  background: rgba(227,27,35,.03);
}

.value-card h3 {
  color: var(--color-secondary);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--sp-5);
}

.expertise-item {
  padding: var(--sp-5);
  border-radius: 12px;
  background: white;
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--color-primary);
}

.expertise-item p {
  color: var(--gray-700);
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* CTA Section - Primary Brand */
.section-cta {
  background: var(--color-primary);
  color: white;
}

.section-cta p {
  color: rgba(255, 255, 255, 0.88);
}

/* Generic text color utilities */
.text-primary {
  color: var(--color-primary);
}

.text-secondary {
  color: var(--color-secondary);
}

.text-gray-600 {
  color: var(--gray-600);
}

.text-gray-700 {
  color: var(--gray-700);
}

.text-white {
  color: white;
}

/* Section description text */
.section-desc {
  font-size: 1.125rem;
  color: var(--gray-600);
  line-height: var(--lh-relaxed);
  max-width: 820px;
}

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-secondary);
  margin-bottom: var(--sp-4);
}

.section-title {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: var(--fw-bold);
  margin-bottom: var(--sp-4);
  color: var(--color-text);
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--gray-500);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--sp-8);
  max-width: 600px;
}

/* GRID LAYOUTS */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
  align-items: center;
}

.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

/* ICON CARD (Piliers) */
.icon-card {
  padding: var(--sp-6);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(18, 61, 143, 0.08);
  transition: all 250ms ease;
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  text-align: center;
}

.icon-card:hover {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 40px rgba(18, 61, 143, 0.1);
  transform: translateY(-4px);
}

.icon-card-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(18, 61, 143, 0.1), rgba(227, 27, 35, 0.1));
  border-radius: 16px;
  color: var(--color-primary);
}

.icon-card-icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 2;
}

.icon-card h3 {
  font-size: 1.25rem;
  font-weight: var(--fw-bold);
  color: var(--color-text);
  margin: 0;
}

.icon-card p {
  font-size: var(--text-small);
  color: var(--gray-600);
  line-height: var(--lh-relaxed);
  margin: 0;
}

/* CONTAINER */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-4);
  width: 100%;
  box-sizing: border-box;
}

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

/* LANGUAGE SWITCHER */
.lang-switcher {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-3);
  border: 1px solid var(--gray-200);
  background: white;
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-size: var(--text-small);
  color: var(--color-text);
  transition: all 250ms ease;
  white-space: nowrap;
}

.lang-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.lang-btn .arrow {
  transition: transform 250ms ease;
  color: var(--gray-600);
}

.lang-btn[aria-expanded="true"] .arrow {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: var(--sp-2);
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 250ms ease;
  z-index: 1000;
}

.lang-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-dropdown a {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-4);
  color: var(--gray-600);
  text-decoration: none;
  font-size: var(--text-small);
  transition: all 250ms ease;
  border-bottom: 1px solid var(--gray-100);
}

.lang-dropdown a:last-child {
  border-bottom: none;
}

.lang-dropdown a:hover,
.lang-dropdown a.active {
  background: var(--color-primary-light);
  color: var(--color-primary);
}

/* DROPDOWN NAVIGATION */
.nav-item {
  position: relative;
}

.nav-item-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 250ms ease;
  z-index: 200;
  padding: var(--sp-2) 0;
  pointer-events: none;
}

@media (max-width: 768px) {
  .nav-item-dropdown {
    display: none !important;
  }
}

.nav-item:hover .nav-item-dropdown,
.nav-item:focus-within .nav-item-dropdown,
.nav-item.is-open .nav-item-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-item-dropdown a {
  display: block;
  padding: var(--sp-3) var(--sp-4);
  color: var(--gray-700);
  font-size: var(--text-small);
  transition: all 200ms ease;
  text-decoration: none;
  white-space: nowrap;
}

.nav-item-dropdown a:hover {
  background: var(--color-primary-light);
  color: var(--color-primary);
}

/* FORM STYLES */
.form-card {
  background: white;
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  padding: var(--sp-8);
}

@media (max-width: 768px) {
  .form-card {
    padding: var(--sp-6);
  }
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
  margin-bottom: var(--sp-4);
}

@media (max-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* CONTACT INFO CARD */
.contact-info-card {
  background: var(--color-primary);
  color: white;
  border-radius: 24px;
  padding: var(--sp-8);
}

@media (max-width: 768px) {
  .contact-info-card {
    padding: var(--sp-6);
  }
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  padding: var(--sp-4) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}

/* FOUR COLUMN GRID */
.four-col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
}

@media (max-width: 1024px) {
  .four-col {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .four-col {
    grid-template-columns: 1fr;
  }
}

/* BUTTON STYLES */
.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 0.625rem var(--sp-5);
  border-radius: var(--radius-pill);
  font-size: var(--text-small);
  font-weight: var(--fw-semibold);
  border: 2px solid var(--color-primary);
  background: transparent;
  color: var(--color-primary);
  text-decoration: none;
  transition: all 250ms ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn-outline-dark:hover {
  background: var(--color-primary);
  color: white;
}

.btn-outline-dark:active {
  transform: scale(0.98);
}

.btn-outline-dark.btn-sm {
  padding: 0.375rem var(--sp-4);
  font-size: var(--text-caption);
}

.btn-outline-dark.btn-lg {
  padding: 0.875rem var(--sp-8);
  font-size: var(--text-body);
}

/* OVERFLOW FIX */
body {
  overflow-x: hidden;
}

/* NA-HERO BLOB RESPONSIVE */
@media (max-width: 768px) {
  .na-hero::before {
    width: 280px !important;
    height: 280px !important;
  }

  .na-hero::after {
    width: 320px !important;
    height: 320px !important;
  }
}

@media (max-width: 480px) {
  .na-hero::before {
    width: 200px !important;
    height: 200px !important;
  }

  .na-hero::after {
    width: 220px !important;
    height: 220px !important;
  }
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .three-col {
    grid-template-columns: repeat(2, 1fr);
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: var(--sp-6);
  }
}

@media (max-width: 768px) {
  .three-col {
    grid-template-columns: 1fr;
  }

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

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

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-legal {
    flex-wrap: wrap;
  }

  .section {
    padding: var(--sp-10) 0;
  }

  .section-compact {
    padding: var(--sp-6) 0;
  }

  .section-emphasis {
    padding: var(--sp-8) 0;
  }

  .icon-card {
    padding: var(--sp-4);
  }
}

@media (max-width: 480px) {
  .three-col {
    grid-template-columns: 1fr;
    gap: var(--sp-4);
  }

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

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

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

  .section {
    padding: var(--sp-8) 0;
  }

  .section-compact {
    padding: var(--sp-4) 0;
  }

  .section-emphasis {
    padding: var(--sp-6) 0;
  }

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

  .icon-card {
    padding: var(--sp-4);
    gap: var(--sp-3);
  }

  .icon-card h3 {
    font-size: 1.125rem;
  }
}
