/* ============================================================
   TORA HOLDING COMPANY — Global CSS Design System v3.0
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Open+Sans:wght@300;400;500;600&display=swap');

/* ── Design Tokens ── */
:root {
  --clr-bg:          #F8F9FA;
  --clr-bg2:         #FFFFFF;
  --clr-navy:        #2C3E50;
  --clr-accent:      #F39C12;
  --clr-accent-dark: #D68910;
  --clr-text:        #1A1A1A;
  --clr-muted:       #7F8C8D;
  --clr-border:      rgba(44,62,80,0.10);
  --clr-white:       #FFFFFF;
  --clr-glass:       rgba(255,255,255,0.70);

  --ff-head: 'Poppins', sans-serif;
  --ff-body: 'Open Sans', sans-serif;

  --fw-regular: 400;
  --fw-medium:  500;
  --fw-semi:    600;
  --fw-bold:    700;
  --fw-xbold:   800;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm:  0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:  0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg:  0 8px 40px rgba(0,0,0,0.14);
  --shadow-glow:  0 8px 20px -8px rgba(243,156,18,0.35), 0 0 0 1px rgba(243,156,18,0.20);
  --shadow-glow-lg: 0 12px 32px -8px rgba(243,156,18,0.45), 0 0 0 1px rgba(243,156,18,0.25);

  --ease: cubic-bezier(0.4,0,0.2,1);
  --dur-fast: 200ms;
  --dur: 350ms;
  --dur-slow: 500ms;

  --nav-height: 80px;
  --section-pad: clamp(60px, 8vw, 100px);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--ff-body);
  font-size: 1rem;
  color: var(--clr-text);
  background: var(--clr-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  width: 100%;
  background: var(--clr-bg2);
  color: var(--clr-text);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  outline: none;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--clr-accent);
  box-shadow: 0 0 0 3px rgba(243,156,18,0.15);
}

/* ── Typography ── */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--ff-head);
  font-weight: var(--fw-bold);
  color: var(--clr-navy);
  line-height: 1.2;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; }
p  { color: var(--clr-muted); line-height: 1.8; }

/* ── Container ── */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
}

/* ── Section ── */
.section { padding: var(--section-pad) 0; }
.section--dark {
  background: var(--clr-navy);
  color: var(--clr-white);
}
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--clr-white); }
.section--dark p { color: rgba(255,255,255,0.72); }
.section--alt { background: var(--clr-bg2); }

.section-label {
  display: inline-block;
  font-family: var(--ff-head);
  font-size: 0.78rem;
  font-weight: var(--fw-semi);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: 0.75rem;
}
.section-title {
  margin-bottom: 1rem;
}
.section-sub {
  font-size: 1.05rem;
  max-width: 640px;
  margin-bottom: 2.5rem;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-family: var(--ff-head);
  font-weight: var(--fw-semi);
  font-size: 0.95rem;
  transition: all var(--dur) var(--ease);
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary {
  background: var(--clr-accent);
  color: var(--clr-white);
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover {
  background: var(--clr-accent-dark);
  box-shadow: var(--shadow-glow-lg);
  transform: translateY(-2px);
}
.btn-outline {
  border: 2px solid rgba(255,255,255,0.8);
  color: var(--clr-white);
  background: transparent;
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--clr-white);
  transform: translateY(-2px);
}
.btn-outline-dark {
  border: 2px solid var(--clr-navy);
  color: var(--clr-navy);
  background: transparent;
}
.btn-outline-dark:hover {
  background: var(--clr-navy);
  color: var(--clr-white);
  transform: translateY(-2px);
}
.btn-sm { padding: 0.6rem 1.4rem; font-size: 0.875rem; }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.05rem; }

/* ── Tag / Badge ── */
.tag {
  display: inline-block;
  padding: 0.25rem 0.8rem;
  background: rgba(243,156,18,0.12);
  color: var(--clr-accent-dark);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: var(--fw-semi);
  letter-spacing: 0.04em;
}
.tag-navy {
  background: rgba(44,62,80,0.08);
  color: var(--clr-navy);
}

/* ── Cards ── */
.card {
  background: var(--clr-bg2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}
.card-body { padding: 1.75rem; }
.card-img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }

/* ── Divider ── */
.divider { width: 60px; height: 4px; background: var(--clr-accent); border-radius: 4px; margin: 1rem 0 2rem; }

/* ── Grid Utilities ── */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1023px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ── Flex Utilities ── */
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

/* ── Text Utilities ── */
.text-center { text-align: center; }
.text-accent { color: var(--clr-accent); }
.text-white { color: var(--clr-white); }
.text-navy { color: var(--clr-navy); }
.text-muted { color: var(--clr-muted); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* ── Glassmorphism ── */
.glass {
  background: var(--clr-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: var(--radius-lg);
}

/* ========================================================
   NAVIGATION
   ======================================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease), backdrop-filter var(--dur) var(--ease);
}
.navbar.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
}
.navbar__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.navbar__logo-box {
  background: var(--clr-accent);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1;
}
.navbar__logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.navbar__logo-title {
  font-family: var(--ff-head);
  font-weight: 800;
  font-size: 1.15rem;
  color: #1a1a1a;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.navbar__logo-sub {
  font-family: var(--ff-body);
  font-size: 0.55rem;
  font-weight: 600;
  color: #8c8c8c;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.navbar__logo .logo-accent { color: var(--clr-accent); }
.navbar__logo-mark {
  width: 38px; height: 38px;
  background: var(--clr-navy);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--clr-accent);
  font-family: var(--ff-head);
  font-weight: var(--fw-xbold);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.navbar__menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.navbar__link {
  font-family: var(--ff-head);
  font-size: 0.875rem;
  font-weight: var(--fw-medium);
  color: var(--clr-navy);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: color var(--dur-fast), background var(--dur-fast);
  white-space: nowrap;
  text-decoration: none;
}
.navbar__link:hover, .navbar__link.active {
  color: var(--clr-accent);
  background: rgba(243,156,18,0.08);
}

/* Dropdown */
.navbar__dropdown {
  position: relative;
}
.navbar__dropdown-toggle { display: flex; align-items: center; gap: 0.25rem; }
.navbar__dropdown-toggle .chevron {
  width: 14px; height: 14px;
  transition: transform var(--dur) var(--ease);
}
.navbar__dropdown:hover .chevron,
.navbar__dropdown.open .chevron { transform: rotate(180deg); }
.navbar__dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: var(--clr-bg2);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--clr-border);
  padding: 0.5rem;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-8px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  z-index: 100;
}
.navbar__dropdown:hover .navbar__dropdown-menu,
.navbar__dropdown.open .navbar__dropdown-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.navbar__dropdown-menu a {
  display: block;
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: var(--fw-medium);
  color: var(--clr-navy);
  transition: background var(--dur-fast), color var(--dur-fast);
}
.navbar__dropdown-menu a:hover { background: rgba(243,156,18,0.08); color: var(--clr-accent); }
.navbar__dropdown-menu .dropdown-section {
  font-size: 0.72rem;
  font-weight: var(--fw-semi);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--clr-muted);
  padding: 0.4rem 0.9rem 0.2rem;
}

.navbar__actions { display: flex; align-items: center; gap: 0.75rem; }
.lang-switcher {
  font-size: 0.8rem;
  font-weight: var(--fw-semi);
  color: var(--clr-muted);
  cursor: pointer;
  padding: 0.35rem 0.7rem;
  border: 1.5px solid var(--clr-border);
  border-radius: 50px;
  transition: all var(--dur-fast);
}
.lang-switcher:hover { border-color: var(--clr-accent); color: var(--clr-accent); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background var(--dur-fast);
}
.hamburger:hover { background: rgba(243,156,18,0.1); }
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--clr-navy);
  border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background: var(--clr-bg2);
  box-shadow: var(--shadow-lg);
  padding: 1rem 1.5rem 2rem;
  z-index: 999;
  transform: translateY(-110%);
  opacity: 0;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
  max-height: calc(100vh - var(--nav-height));
  overflow-y: auto;
}
.mobile-nav.open { transform: translateY(0); opacity: 1; }
.mobile-nav a {
  display: block;
  padding: 0.85rem 0;
  font-family: var(--ff-head);
  font-weight: var(--fw-medium);
  font-size: 1rem;
  color: var(--clr-navy);
  border-bottom: 1px solid var(--clr-border);
  transition: color var(--dur-fast);
}
.mobile-nav a:hover { color: var(--clr-accent); }

/* Prevent .mobile-nav a from ruining .btn styling */
.mobile-nav .btn {
  display: flex;
  justify-content: center;
  border-bottom: none;
  padding: 0.85rem 2rem;
  color: var(--clr-white);
}
.mobile-nav .btn:hover { color: var(--clr-white); }

.mobile-dropdown-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.85rem 0;
  font-family: var(--ff-head);
  font-weight: var(--fw-medium);
  font-size: 1rem;
  color: var(--clr-navy);
  border: none;
  background: none;
  border-bottom: 1px solid var(--clr-border);
  cursor: pointer;
  text-align: left;
}
.mobile-dropdown-btn .chevron {
  width: 16px;
  height: 16px;
  transition: transform var(--dur) var(--ease);
}
.mobile-dropdown-btn.open .chevron {
  transform: rotate(180deg);
}
.mobile-dropdown-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur) var(--ease);
}
.mobile-dropdown-content a {
  padding-left: 1rem;
  font-size: 0.95rem;
  border-bottom: none;
  color: var(--clr-muted);
}
.mobile-dropdown-content a:hover {
  color: var(--clr-accent);
}

.mobile-nav .mobile-section {
  font-size: 0.72rem;
  font-weight: var(--fw-semi);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-muted);
  padding: 1rem 0 0.25rem;
}
.mobile-nav .mobile-cta { margin-top: 1.5rem; }

/* ── Page offset for fixed nav ── */
.page-main { padding-top: var(--nav-height); }
.page-hero { margin-top: calc(-1 * var(--nav-height)); padding-top: var(--nav-height); }

/* ========================================================
   FOOTER
   ======================================================== */
.footer {
  background: var(--clr-navy);
  color: rgba(255,255,255,0.8);
  padding: 64px 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
}
@media (max-width: 1023px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer__grid { grid-template-columns: 1fr; }
}
.footer__brand .logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.footer__brand .logo-mark {
  width: 38px; height: 38px;
  background: var(--clr-accent);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-head);
  font-weight: var(--fw-xbold);
  font-size: 1.1rem;
  color: var(--clr-white);
  flex-shrink: 0;
}
.footer__brand .brand-name {
  font-family: var(--ff-head);
  font-weight: var(--fw-bold);
  color: var(--clr-white);
  font-size: 1.1rem;
}
.footer__tagline {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 280px;
}
.footer__social { display: flex; gap: 0.75rem; }
.footer__social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  transition: all var(--dur) var(--ease);
}
.footer__social a:hover {
  border-color: var(--clr-accent);
  background: rgba(243,156,18,0.15);
  color: var(--clr-accent);
}
.footer__col h4 {
  font-family: var(--ff-head);
  font-weight: var(--fw-semi);
  color: var(--clr-white);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.2rem;
}
.footer__col a {
  display: block;
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  padding: 0.3rem 0;
  transition: color var(--dur-fast), padding-left var(--dur-fast);
}
.footer__col a:hover { color: var(--clr-accent); padding-left: 4px; }
.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}
.footer__contact-item svg { flex-shrink: 0; margin-top: 2px; color: var(--clr-accent); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 3rem;
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.footer__bottom p { font-size: 0.85rem; color: rgba(255,255,255,0.45); }
.footer__bottom .building-africa {
  font-family: var(--ff-head);
  font-weight: var(--fw-semi);
  color: var(--clr-accent);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

/* ========================================================
   PAGE HERO (Inner pages)
   ======================================================== */
.page-hero {
  min-height: 380px;
  display: flex;
  align-items: center;
  background: var(--clr-navy);
  position: relative;
  overflow: hidden;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0.3;
  filter: saturate(0.6);
}
.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(44,62,80,0.85) 0%, rgba(44,62,80,0.5) 100%);
}
.page-hero__content {
  position: relative;
  z-index: 2;
  padding: 100px 0 60px;
}
.page-hero h1 { color: var(--clr-white); font-size: clamp(2rem, 4.5vw, 3.2rem); }
.page-hero p { color: rgba(255,255,255,0.75); font-size: 1.1rem; max-width: 560px; margin-top: 0.75rem; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1rem;
}
.breadcrumb a { color: var(--clr-accent); }
.breadcrumb span { color: rgba(255,255,255,0.3); }

/* ========================================================
   FORMS
   ======================================================== */
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-weight: var(--fw-medium);
  color: var(--clr-navy);
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
textarea { resize: vertical; min-height: 130px; }
.form-submit {
  display: flex;
  gap: 0; 
  justify-content: flex-start;
  margin-top: 0.5rem;
}

/* ========================================================
   SECTOR ICON CARDS
   ======================================================== */
.sector-card {
  background: var(--clr-bg2);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem 1.5rem;
  text-align: center;
  border: 1.5px solid var(--clr-border);
  transition: all var(--dur) var(--ease);
  cursor: default;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.sector-card:hover {
  border-color: var(--clr-accent);
  box-shadow: var(--shadow-glow);
  transform: translateY(-6px);
}
.sector-card:hover .sector-icon { transform: scale(1.08); }
.sector-icon {
  width: 110px; height: 110px;
  margin: 0 auto;
  transition: transform var(--dur) var(--ease);
  flex-shrink: 0;
}
.sector-icon svg { width: 70%; height: 70%; }
.sector-card h4 { font-size: 0.9rem; color: var(--clr-navy); margin: 0; line-height: 1.4; }

/* ========================================================
   METRICS / STATS
   ======================================================== */
.metrics-bar {
  background: var(--clr-navy);
  padding: 40px 0;
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}
@media (max-width: 767px) {
  .metrics-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}
.metric-item { padding: 1rem; }
.metric-number {
  font-family: var(--ff-head);
  font-weight: var(--fw-xbold);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--clr-accent);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.metric-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  font-weight: var(--fw-medium);
}

/* ========================================================
   PARTNERS SLIDER
   ======================================================== */
.partners-slider-wrap {
  overflow: hidden;
  position: relative;
}
.partners-slider-wrap::before,
.partners-slider-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.partners-slider-wrap::before { left: 0; background: linear-gradient(to right, var(--clr-bg), transparent); }
.partners-slider-wrap::after  { right: 0; background: linear-gradient(to left, var(--clr-bg), transparent); }
.partners-track {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  animation: partnerScroll 28s linear infinite;
  width: max-content;
}
.partners-track:hover { animation-play-state: paused; }
@keyframes partnerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.partner-logo {
  height: 64px;
  min-width: 140px;
  max-width: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: grayscale(1) opacity(0.7);
  transition: filter var(--dur) var(--ease);
  background: var(--clr-bg2);
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 0.5rem 1rem;
  flex-shrink: 0;
}
.partner-logo img {
  max-height: 44px;
  max-width: 140px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.partner-logo:hover { filter: grayscale(0) opacity(1); }

/* ========================================================
   TESTIMONIALS
   ======================================================== */
.testimonial-carousel { position: relative; overflow: hidden; }
.testimonial-track {
  display: flex;
  transition: transform var(--dur-slow) var(--ease);
}
.testimonial-slide {
  min-width: 100%;
  padding: 0 1rem;
}
.testimonial-card {
  background: var(--clr-bg2);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  font-size: 7rem;
  font-family: Georgia, serif;
  color: rgba(243,156,18,0.15);
  position: absolute;
  top: -0.5rem;
  left: 1.5rem;
  line-height: 1;
}
.testimonial-text {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--clr-text);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  position: relative;
}
.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}
.testimonial-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--clr-navy);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-head);
  font-weight: var(--fw-bold);
  color: var(--clr-accent);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.testimonial-name { font-weight: var(--fw-semi); font-family: var(--ff-head); color: var(--clr-navy); }
.testimonial-role { font-size: 0.85rem; color: var(--clr-muted); }
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--clr-border);
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  border: none;
}
.carousel-dot.active {
  width: 24px;
  border-radius: 4px;
  background: var(--clr-accent);
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--clr-bg2);
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--clr-navy);
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  z-index: 5;
  border: 1.5px solid var(--clr-border);
}
.carousel-btn:hover { background: var(--clr-accent); color: var(--clr-white); border-color: var(--clr-accent); }
.carousel-btn.prev { left: 0; }
.carousel-btn.next { right: 0; }

/* ========================================================
   BLOG CARDS
   ======================================================== */
.blog-card { border-radius: var(--radius-lg); overflow: hidden; background: var(--clr-bg2); box-shadow: var(--shadow-sm); transition: all var(--dur) var(--ease); }
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.blog-card__img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.blog-card__body { padding: 1.5rem; }
.blog-card__meta { display: flex; align-items: center; gap: 1rem; font-size: 0.82rem; color: var(--clr-muted); margin-bottom: 0.6rem; }
.blog-card__title { font-size: 1.05rem; font-weight: var(--fw-semi); font-family: var(--ff-head); color: var(--clr-navy); margin-bottom: 0.5rem; line-height: 1.4; }
.blog-card__excerpt { font-size: 0.9rem; color: var(--clr-muted); margin-bottom: 1rem; }
.blog-read-more { font-size: 0.875rem; font-weight: var(--fw-semi); color: var(--clr-accent); display: flex; align-items: center; gap: 0.35rem; transition: gap var(--dur) var(--ease); }
.blog-card:hover .blog-read-more { gap: 0.6rem; }

/* ========================================================
   SUBSIDIARY CARDS
   ======================================================== */
.sub-card {
  background: var(--clr-bg2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all var(--dur) var(--ease);
  border: 1.5px solid var(--clr-border);
  display: flex;
  flex-direction: column;
}
.sub-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); border-color: var(--clr-accent); }
.sub-card__header {
  padding: 1.75rem 1.75rem 1rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.sub-card__icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  background: rgba(243,156,18,0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--clr-accent);
  flex-shrink: 0;
}
.sub-card__name { font-family: var(--ff-head); font-weight: var(--fw-bold); font-size: 1rem; color: var(--clr-navy); margin-bottom: 0.25rem; }
.sub-card__body { padding: 0 1.75rem 1.75rem; flex: 1; display: flex; flex-direction: column; gap: 0.75rem; }
.sub-card__desc { font-size: 0.9rem; color: var(--clr-muted); line-height: 1.7; }
.sub-card__footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }

/* ========================================================
   WHY WORK WITH TORA
   ======================================================== */
.why-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.why-item:hover {
  background: var(--clr-bg2);
  box-shadow: var(--shadow-md);
}
.why-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  background: rgba(243,156,18,0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--clr-accent);
  flex-shrink: 0;
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.why-item:hover .why-icon { background: var(--clr-accent); color: var(--clr-white); box-shadow: var(--shadow-glow); }
.why-content h4 { font-size: 1rem; color: var(--clr-navy); margin-bottom: 0.3rem; }
.why-content p { font-size: 0.9rem; }

/* ========================================================
   RESPONSIVE — Tablet  (768 – 1023px)
   ======================================================== */
@media (max-width: 1023px) {
  /* Nav */
  .navbar__menu { display: none; }
  .navbar__actions .lang-switcher { display: none; }
  .navbar__actions .btn { display: none; }
  .hamburger { display: flex; }

  /* Section padding */
  :root { --section-pad: 72px; }

  /* Grids: 2-column on tablet */
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }

  /* Metrics stays 4-col on tablet */
  .metrics-grid { grid-template-columns: repeat(4, 1fr); }

  /* Page hero */
  .page-hero { min-height: 300px; }
  .page-hero__content { padding: 80px 0 48px; }

  /* Footer */
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }

  /* CEO card */
  .ceo-card { grid-template-columns: 220px 1fr; gap: 2rem; padding: 2rem; }

  /* ISO inner */
  .iso-inner { gap: 2.5rem; }

  /* CEO spotlight on leadership page */
  .ceo-spotlight { grid-template-columns: 280px 1fr; gap: 2.5rem; padding: 2rem; }
}

/* ========================================================
   RESPONSIVE — Mobile  (≤ 767px)
   ======================================================== */
@media (max-width: 767px) {
  /* Base spacing */
  :root {
    --section-pad: 52px;
    --nav-height: 68px;
  }

  /* Typography scale-down */
  h1 { font-size: clamp(1.9rem, 6vw, 2.6rem); }
  h2 { font-size: clamp(1.5rem, 5vw, 2rem); }
  h3 { font-size: clamp(1.15rem, 4vw, 1.5rem); }

  /* Container padding */
  .container { padding: 0 16px; }

  /* ── Grids ── */
  .grid-2,
  .grid-3,
  .grid-4 { grid-template-columns: 1fr; }

  /* ── Buttons ── */
  .btn { padding: 0.8rem 1.6rem; font-size: 0.9rem; }
  .btn-lg { padding: 0.9rem 1.8rem; font-size: 0.95rem; }
  .btn-sm { padding: 0.6rem 1.2rem; font-size: 0.82rem; }

  /* ── Metrics ── */
  .metrics-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .metric-number { font-size: clamp(1.75rem, 7vw, 2.4rem); }
  .metric-item { padding: 0.75rem 0.5rem; }

  /* ── Page hero ── */
  .page-hero { min-height: 360px; }
  .page-hero h1 { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .page-hero p { font-size: 0.95rem; }
  .page-hero__content { padding: 80px 0 36px; }

  /* ── Section header layout ── */
  .flex-between { flex-direction: column; align-items: flex-start; }

  /* ── CEO card (index page) ── */
  .ceo-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 1.75rem 1.25rem;
  }
  .ceo-card .divider { margin: 0.75rem auto 1.25rem; }
  .ceo-photo,
  .ceo-photo-placeholder {
    max-height: 280px;
    aspect-ratio: auto;
    width: 100%;
    object-fit: cover;
  }

  /* ── CEO spotlight (leadership page) ── */
  .ceo-spotlight {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 1.75rem 1.25rem;
  }
  .ceo-spotlight .ceo-img-wrap { max-height: 320px; aspect-ratio: auto; }
  .ceo-spot-quote { text-align: left; }

  /* ── Testimonials ── */
  .testimonial-card { padding: 1.75rem 1.25rem; }
  .testimonial-text { font-size: 0.975rem; }
  .carousel-btn { display: none; }          /* hide side arrows; dots handle nav */
  .testimonial-slide { padding: 0 0.25rem; }

  /* ── Blog section header ── */
  .flex-between { flex-direction: column; align-items: flex-start; gap: 1rem; }

  /* ── Partner logo slider ── */
  .partner-logo { min-width: 110px; height: 52px; }
  .partner-logo img { max-height: 34px; }
  .partners-slider-wrap::before,
  .partners-slider-wrap::after { width: 40px; }

  /* ── Footer ── */
  .footer { padding: 48px 0 0; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
    padding: 1.25rem 0;
  }
  .footer__tagline { max-width: 100%; }

  /* ── Forms ── */
  .form-row { grid-template-columns: 1fr; }

  /* ── Why split section ── */
  .why-split { gap: 2.5rem; }
  .why-split__img { aspect-ratio: 4/3; }

  /* ── About snap ── */
  .about-snap__stats { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .about-stat { padding: 0.85rem; }

  /* ── ISO section ── */
  .iso-inner { gap: 2rem; }
  .iso-badges-grid { gap: 1rem; }
  .iso-badge { width: 115px; height: 115px; }

  /* ── Final CTA ── */
  .final-cta { padding: 56px 0; }
  .final-cta h2 { font-size: clamp(1.5rem, 5vw, 2rem); }
  .final-cta .ctas { flex-direction: column; align-items: center; }
  .final-cta .ctas .btn { width: 100%; max-width: 320px; justify-content: center; }

  /* ── Scroll snap tweak for sub-cards ── */
  .img-sub-card { min-width: 240px; }

  /* ── Back to top ── */
  #back-to-top { bottom: 1.25rem; right: 1.25rem; width: 40px; height: 40px; }
}

/* ========================================================
   RESPONSIVE — Small phones  (≤ 480px)
   ======================================================== */
@media (max-width: 480px) {
  :root { --section-pad: 44px; }

  /* Hero CTAs stack vertically */
  .hero__ctas {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  .hero__ctas .btn { width: 100%; max-width: 300px; justify-content: center; }

  /* Hide hero decorations that crowd small screens */
  .hero__scroll-hint { display: none; }
  .hero__arrows { bottom: 1rem; }
  .hero__arrow { width: 36px; height: 36px; }

  /* Metrics 1-col on very small phones */
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }

  /* ISO badges wrap to 2 per row */
  .iso-badge { width: 100px; height: 100px; }
  .iso-badge__code { font-size: 0.95rem; }

  /* Sector grid: 1 col on very small phones */
  .grid-4 { grid-template-columns: 1fr; }

  /* Sub-card scroll min width */
  .img-sub-card { min-width: 220px; }

  /* CTA buttons full width */
  .ctas { flex-direction: column; align-items: center; }
  .ctas .btn { width: 100%; max-width: 300px; justify-content: center; }

  /* Footer bottom text smaller */
  .footer__bottom p { font-size: 0.78rem; }
  .building-africa { font-size: 0.82rem; }
}

/* ============================================================
   RESPONSIVE SUPPLEMENT v2 — All pages / new hero classes
   ============================================================ */

/* ── Sectors grid (homepage) ── */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
@media (max-width: 1023px) {
  .sectors-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .sectors-grid { grid-template-columns: 1fr; }
}

/* ── Hero new elements — tablet (768–1023px) ── */
@media (max-width: 1023px) {
  .hero-title  { font-size: clamp(2.4rem, 5.5vw, 4rem); }
  .hero-stats-bar { margin-top: 3rem; }
  .hero-stat-item { padding: 1.25rem 1rem; }
  .hero-stat-num  { font-size: 1.6rem; }
}

/* ── Hero new elements — mobile (≤767px) ── */
@media (max-width: 767px) {
  .hero { min-height: 100svh; }
  .hero-content { padding: 0 1.25rem; }
  .hero-title { font-size: clamp(2rem, 8vw, 3rem); margin-bottom: 1rem; }
  .hero-sub { font-size: 0.95rem; margin-bottom: 2rem; }

  .hero-ctas { flex-direction: column; align-items: center; width: 100%; gap: 0.75rem; }
  .hero-btn-primary,
  .hero-btn-outline {
    width: 100%;
    max-width: 320px;
    justify-content: center;
    padding: 0.9rem 1.5rem;
    font-size: 0.9rem;
  }

  .hero-trust-strip { gap: 0.75rem; margin-top: 1.5rem; }
  .hero-trust-strip .flags { font-size: 1.1rem; }

  .hero-stats-bar {
    flex-direction: column;
    border-radius: 16px;
    margin-top: 2rem;
  }
  .hero-stat-item {
    padding: 1rem 1.5rem;
    flex-direction: row;
    gap: 1rem;
    justify-content: flex-start;
    text-align: left;
  }
  .hero-stat-item:not(:last-child)::after {
    right: 10%; top: auto; bottom: 0;
    width: 80%; height: 1px; left: 10%;
  }
  .hero-stat-num   { font-size: 1.5rem; margin-bottom: 0; }
  .hero-stat-label { font-size: 0.7rem; }

  .hero-scroll-indicator { display: none; }
  .hero-accent-line      { display: none; }

  /* Metrics premium — remove column dividers on mobile */
  .metrics-premium .metric-item { border-right: none; border-bottom: 1px solid rgba(0,0,0,0.06); }
  .metrics-premium .metric-item:last-child { border-bottom: none; }

  /* Blog header */
  .blog-header-row { flex-direction: column; align-items: flex-start; gap: 1rem; }

  /* Word wrap safety */
  h1, h2, h3, p { word-break: break-word; overflow-wrap: break-word; }

  /* Sectors heading size */
  #sectors-heading { font-size: clamp(1.4rem, 5vw, 2rem) !important; }

  /* About snap image */
  .about-snap__img-wrap { aspect-ratio: 3/2; }
}

/* ── Hero — very small phones (≤480px) ── */
@media (max-width: 480px) {
  .hero-title { font-size: clamp(1.75rem, 9vw, 2.4rem); }
  .hero-eyebrow { font-size: 0.65rem; padding: 0.4rem 1rem; }
  .hero-sub { font-size: 0.875rem; }
  .hero-stat-item { padding: 0.85rem 1.25rem; }
  .hero-stat-num { font-size: 1.3rem; }
  .hero-grid-lines { display: none; }

  /* Sectors: single column on tiny phones */
  .sectors-grid { grid-template-columns: 1fr; }

  /* Metrics: clean 2×2 grid with borders */
  .metrics-grid { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .metrics-premium .metric-item { border: none; border-bottom: 1px solid rgba(0,0,0,0.06); }
  .metrics-premium .metric-item:nth-child(odd)  { border-right: 1px solid rgba(0,0,0,0.06); }

  /* Partners fade edges narrower */
  .partners-slider-wrap::before,
  .partners-slider-wrap::after { width: 24px; }
}

/* ============================================================
   RESPONSIVE POLISH — Leadership, Subsidiaries, General
   ============================================================ */

/* ── CEO spotlight (leadership page) — very small phones ── */
@media (max-width: 480px) {
  .ceo-spotlight { padding: 1.5rem 1.25rem; gap: 2rem; }
  .ceo-img-wrap  { aspect-ratio: 4/3; max-height: 260px; }
  .ceo-spot-name { font-size: 1.5rem; }
  .ceo-spot-quote { padding-left: 0.75rem; font-size: 0.9rem; }
}

/* ── CEO card (homepage) — very small phones ── */
@media (max-width: 480px) {
  .ceo-card { padding: 1.5rem 1rem; }
  .ceo-photo { max-height: 260px; aspect-ratio: 4/3; }
}

/* ── Subsidiaries metrics strip on tiny phones ── */
@media (max-width: 380px) {
  .sub-metrics { grid-template-columns: 1fr; }
}

/* ── Navbar overflow guard ── */
.navbar__inner { overflow: visible; }
@media (max-width: 480px) {
  .navbar__logo-title { font-size: 1rem; }
  .navbar__logo-sub   { font-size: 0.5rem; }
}

/* ── Safe image sizing globally ── */
img { max-width: 100%; height: auto; }

/* ── Prevent horizontal scroll on any page ── */
body { overflow-x: hidden; }

/* ── CTA sections: ensure buttons always wrap properly ── */
.final-cta .ctas,
[style*="justify-content:center"][style*="flex-wrap:wrap"] {
  flex-wrap: wrap !important;
}

/* ── Projects page (if exists) ── */
@media (max-width: 767px) {
  .projects-grid { grid-template-columns: 1fr !important; }
  .project-card  { margin-bottom: 1.5rem; }
}

/* ── Standards/ISO page ── */
@media (max-width: 767px) {
  .iso-inner { flex-direction: column; gap: 2rem; }
  .iso-section-title { text-align: center; }
}

/* ── Form inputs: prevent zoom on iOS (min 16px) ── */
@media (max-width: 767px) {
  input, textarea, select { font-size: 16px; }
}

/* ── Blog newsletter form: stack on phones ── */
@media (max-width: 480px) {
  form[aria-label="Newsletter subscription"] {
    flex-direction: column;
    align-items: stretch;
  }
  form[aria-label="Newsletter subscription"] input,
  form[aria-label="Newsletter subscription"] button {
    width: 100%;
  }
}

/* ── Leadership exec card grid: 1-col on very small ── */
@media (max-width: 480px) {
  .grid-3.stagger { grid-template-columns: 1fr; }
}

/* ── Page hero: safe text padding on tiny screens ── */
@media (max-width: 380px) {
  .page-hero { min-height: 360px; }
  .page-hero__content { padding: 70px 0 32px; }
  .page-hero h1       { font-size: 1.5rem; }
  .breadcrumb         { font-size: 0.78rem; }
}

/* ── Testimonial card: compact on tiny phones ── */
@media (max-width: 380px) {
  .testimonial-card { padding: 1.25rem 1rem; }
  .testimonial-text { font-size: 0.875rem; }
}
