/* ==========================================================================
   AFRINIC Style Sheet
   Version: 1.01 Global updates (2026-07-09)
   Changes:
     - Standardize URL structure across all pages for SEO consistency.
     - Identify and remove unused PDF and PNG files from /assets.
     - Refactor site layout from fixed-width to fluid (using clamp/min) + ultra-wide constraints.
     - Remove various old copies of duplicate annual reports.
     - Rework layout on icp-2-review.html page (vertical timeline, cards).
   ========================================================================== */

/* ==========================================================================
   CSS VARIABLES & SYSTEM VARIABLES (Light Theme)
   ========================================================================== */
:root {
  /* HSL Color Definitions for styling flexibility */
  --primary-h: 24;
  --primary-s: 82%;
  --primary-l: 45%;
  --primary-color: hsl(var(--primary-h), var(--primary-s), var(--primary-l));
  --primary-hover: hsl(var(--primary-h), var(--primary-s), calc(var(--primary-l) - 8%));
  --primary-light: hsl(var(--primary-h), var(--primary-s), 95%);
  
  --secondary-h: 212;
  --secondary-s: 22%;
  --secondary-l: 18%;
  --secondary-color: hsl(var(--secondary-h), var(--secondary-s), var(--secondary-l));
  
  /* Fonts */
  --font-sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-display: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-primary: "Helvetica Neue", Helvetica, Arial, sans-serif;
  
  /* Box Shadow Definitions */
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  
  /* Base Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Layout constraints */
  /* --container-width removed: .container is now fully fluid */
  --header-height: 80px;

  /* Theme overrides */
  --bg-color: #ffffff;
  --bg-surface: #ffffff;
  --bg-surface-glass: rgba(255, 255, 255, 0.9);
  --text-color: #242e39;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --card-shadow: var(--shadow-sm);
  
  --utility-bg: #000000;
  --utility-text: #ffffff;
  
  --footer-bg: #f8fafc;
  --footer-text: #475569;
}

/* ==========================================================================
   GLOBAL RESETS
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  /* Fluid base: 15px on mobile, scales smoothly to 17px on wide screens */
  font-size: clamp(0.9375rem, 0.9rem + 0.2vw, 1.0625rem);
  height: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  transition: background-color var(--transition-normal), color var(--transition-normal);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

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

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

/* ==========================================================================
   COMMON LAYOUTS & UTILITIES
   ========================================================================== */
.container {
  width: 100%;
  /* TRUE FLUID: no max-width cap — stretches to full viewport width.
     Only the inner grid / reading columns constrain line length. */
  padding-inline: clamp(1rem, 3vw, 2.5rem);
}

/* Constrained-width inner wrapper — use this INSIDE .container for text-heavy
   sections that need a comfortable reading width on ultra-wide monitors */
.container-inner {
  max-width: 1440px;
  margin-inline: auto;
  width: 100%;
}

/* Wider variant for full-bleed sections (heroes, banners) */
.container-fluid {
  width: 100%;
  /* No max-width — full viewport. Use for hero/banner sections */
  padding-inline: clamp(1.5rem, 5vw, 4rem);
}

/* Break an element out of its container to span full viewport width */
.full-bleed {
  width: 100vw;
  margin-inline: calc(50% - 50vw);
}

/* Auto-fill responsive grid — columns min 280px, fills available space */
.fluid-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: clamp(1rem, 3vw, 2rem);
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.flex {
  display: flex;
  gap: 1rem;
}

.align-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.section-padding {
  /* Fluid vertical rhythm: 3rem on mobile → 6rem on desktop */
  padding-block: clamp(3rem, 7vw, 6rem);
}

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

.section-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

/* Glassmorphism Card base */
.glass-panel {
  background: var(--bg-surface-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.5rem;
  font-weight: 500;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-primary {
  background-color: var(--primary-color);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(209, 94, 20, 0.3);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-sm {
  padding: 0.4rem 1rem;
  font-size: 0.875rem;
}

/* Badges */
.badge {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 9999px;
  background-color: var(--primary-light);
  color: var(--primary-color);
}

/* Divider */
.divider {
  height: 1px;
  background-color: var(--border-color);
  margin: 3rem 0;
}

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */
/* 1. Utility Top Bar */
.utility-bar {
  background-color: var(--utility-bg);
  color: var(--utility-text);
  padding: 0.5rem 0;
  font-size: 0.8rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.utility-bar a {
  color: #d15e14;
}

.utility-bar a:hover {
  color: #ffffff;
}

.lang-selector {
  display: flex;
  gap: 1rem;
}

.lang-flag {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.quick-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.search-box input {
  padding: 0.25rem 1.8rem 0.25rem 0.75rem;
  border-radius: 4px;
  border: 1px solid #475569;
  background: #1e293b;
  color: #ffffff;
  font-size: 0.75rem;
}

.search-box button {
  position: absolute;
  right: 6px;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.75rem;
}



/* 2. Main Sticky Header */
.main-header {
  height: var(--header-height);
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
  transition: background-color var(--transition-normal);
}

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

.logo img {
  height: 52px;
}

/* Desktop Menu Layout */
.nav-menu {
  display: flex;
  gap: 1rem;
  height: 100%;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-link {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  color: var(--text-color);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--primary-color);
  transform: scaleX(0);
  transition: transform var(--transition-fast);
}

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

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

/* Dropdown Menu styling */
.nav-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  width: clamp(200px, 18vw, 280px);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 0 0 8px 8px;
  box-shadow: var(--shadow-lg);
  padding: 0.75rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
  z-index: 10;
}

.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item a {
  display: block;
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  color: var(--text-color);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.dropdown-item a:hover {
  background-color: var(--primary-light);
  color: var(--primary-color);
  padding-left: 1.5rem;
}

/* Mobile Toggler */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-color);
  cursor: pointer;
}

/* ==========================================================================
   OFF-CANVAS MOBILE MENU
   ========================================================================== */
.offcanvas-drawer {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100vh;
  background-color: var(--bg-surface);
  border-left: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  transition: right var(--transition-normal);
  padding: 2rem 1.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.offcanvas-drawer.open {
  right: 0;
}

.offcanvas-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.close-offcanvas {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
}

.mobile-menu-items {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav-item {
  border-bottom: 1px solid var(--border-color);
}

.mobile-nav-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
}

.mobile-nav-submenu {
  display: none;
  padding-left: 1rem;
  margin-bottom: 0.5rem;
}

.mobile-nav-submenu.open {
  display: block;
}

.mobile-nav-submenu li a {
  display: block;
  padding: 0.4rem 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.mobile-submenu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--primary-color);
  font-size: 0.8rem;
  transition: transform var(--transition-fast);
}

.mobile-submenu-toggle.rotate {
  transform: rotate(180deg);
}

/* Off-canvas Overlay */
.offcanvas-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.offcanvas-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Translation notice banner */
.translation-notice {
  background-color: #eff6ff;
  border-bottom: 1px solid #bfdbfe;
  color: #1e3a8a;
  padding: 0.6rem 0;
  font-size: 0.85rem;
  text-align: center;
  font-weight: 500;
}


.translation-notice i {
  color: var(--primary-color);
  margin-right: 0.5rem;
}

/* ==========================================================================
   HERO CAROUSEL
   ========================================================================== */
.hero-section {
  position: relative;
  height: clamp(300px, 45vw, 560px);
  overflow: hidden;
  background-color: #1e293b;
}

.carousel-inner {
  height: 100%;
  position: relative;
}

.carousel-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-slow) ease-in-out, visibility var(--transition-slow) ease-in-out;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}

.carousel-item.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.4) 100%);
  z-index: 2;
}

.carousel-content {
  position: relative;
  z-index: 3;
  color: #ffffff;
  max-width: min(600px, 90%);
  padding: 2rem;
}

.carousel-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 0.6s ease forwards;
}

.carousel-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 0.8s ease forwards;
}

.carousel-btn {
  animation: fadeInUp 1s ease forwards;
}

/* Indicators */
.carousel-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 0.5rem;
}

.carousel-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color var(--transition-fast), border var(--transition-fast);
}

.carousel-indicator.active {
  background-color: var(--primary-color);
  border-color: #ffffff;
  transform: scale(1.1);
}

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

/* ==========================================================================
   QUICK LINKS (5 columns)
   ========================================================================== */
.quicklinks-section {
  padding: 3rem 0;
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
}

.quicklinks-grid {
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  text-align: center;
}

.quicklink-card {
  padding: 1.5rem 1rem;
  border-radius: 8px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.quicklink-card:hover {
  transform: translateY(-5px);
  background-color: var(--primary-light);
}

.quicklink-icon-wrap {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--bg-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem auto;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: background-color var(--transition-fast);
}

.quicklink-card:hover .quicklink-icon-wrap {
  background-color: var(--bg-surface);
  border-color: var(--primary-color);
}

.quicklink-icon-wrap img {
  width: 48px;
  height: 48px;
}

.quicklink-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-color);
}

.quicklink-card:hover h3 {
  color: var(--primary-color);
}

/* ==========================================================================
   MAIN DASHBOARD (8 / 4 Grid Split)
   ========================================================================== */
.dashboard-grid {
  grid-template-columns: 8fr 4fr;
  align-items: start;
  /* Cap dashboard grid to prevent excessively wide columns on ultrawide */
  max-width: 1440px;
  margin-inline: auto;
  width: 100%;
}

/* Left: Blog Feed */
.blog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.blog-grid {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
}

.blog-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
}

.blog-img {
  position: relative;
  overflow: hidden;
  height: clamp(130px, 15vw, 200px);
}

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

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

.blog-meta {
  position: absolute;
  bottom: 10px;
  left: 10px;
}

.blog-info {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.blog-title:hover {
  color: var(--primary-color);
}

.blog-excerpt {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  /* justified by the global p rule */
}

.blog-more {
  margin-top: auto;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.blog-more:hover {
  color: var(--primary-hover);
}

.blog-footer-btn {
  margin-top: 2rem;
}

/* Right Sidebar: News list */
.news-sidebar {
  padding: 1.5rem;
}

.sidebar-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary-color);
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.news-item {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
}

.news-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.news-item-title {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

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

.news-item-readmore {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-color);
}

/* ==========================================================================
   OUR WORK SECTION (4 Columns)
   ========================================================================== */
.work-section {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-color);
}

.work-grid {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
}

.work-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.work-img {
  height: clamp(120px, 12vw, 180px);
  overflow: hidden;
}

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

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

.work-info {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.work-card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.work-card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  /* justified by the global p rule */
}

.work-card-btn {
  margin-top: auto;
}

.work-footer-btn {
  margin-top: 3rem;
}

/* ==========================================================================
   SUBPAGES: GENERAL STYLING
   ========================================================================== */
.page-hero {
  background-color: var(--bg-surface);
  color: var(--text-color);
  padding-block: clamp(2rem, 5vw, 3.5rem) clamp(1rem, 3vw, 2rem);
  border-bottom: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.page-hero-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
}

.breadcrumb {
  display: flex;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: var(--primary-color);
}

.breadcrumb-separator {
  color: var(--text-muted);
  opacity: 0.5;
}

/* Sidebar Layout Grid */
.sidebar-layout-grid {
  display: grid;
  /* Fluid sidebar: fixed at 260px; content area takes remaining width.
     On ultra-wide, the sidebar-layout-grid itself caps at 1440px via .container-inner
     so neither column goes uncomfortably wide. */
  grid-template-columns: 260px 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
  /* Intrinsic cap: prevents content column growing past comfortable reading width */
  max-width: 1440px;
  margin-inline: auto;
  width: 100%;
}

@media (max-width: 900px) {
  .sidebar-layout-grid {
    grid-template-columns: 1fr;
  }
}

.sidebar-nav {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.5rem 1.25rem;
  box-shadow: var(--shadow-sm);
}

.sidebar-nav h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary-color);
}

.sidebar-menu {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.sidebar-menu li {
  position: relative;
}

.sidebar-menu a {
  display: block;
  padding: 0.4rem 0.6rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-color);
  border-radius: 4px;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

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

.sidebar-menu li.active > a {
  background-color: var(--primary-light);
  color: var(--primary-color);
  font-weight: 700;
}

/* Sidebar Submenus */
.sidebar-menu ul {
  margin-left: 0.75rem;
  padding-left: 0.5rem;
  border-left: 1px dashed var(--border-color);
  margin-top: 0.2rem;
  margin-bottom: 0.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.sidebar-menu ul li a {
  font-size: 0.825rem;
  padding: 0.25rem 0.5rem;
}

/* SUBPAGE content wrapper */
.subpage-body {
  padding: 4rem 0;
}

.rich-text {
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  color: var(--text-color);
  line-height: 1.75;
  /* Reading line length managed by the sidebar-layout-grid max-width above */
}

.rich-text p {
  margin-bottom: 1.5rem;
}

.rich-text strong {
  color: var(--primary-color);
}

/* SUBPAGE: About us specifics */
.about-quote {
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  text-align: center;
  font-weight: 500;
  color: var(--text-color);
  max-width: min(800px, 100%);
  margin: 0 auto 3rem auto;
  line-height: 1.5;
  border-left: 4px solid var(--primary-color);
  padding-left: 1.5rem;
}

.about-map-section {
  grid-template-columns: 5fr 7fr;
  align-items: center;
  margin-top: 4rem;
}

.map-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.map-list li {
  position: relative;
  padding-left: 1.5rem;
}

.map-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-size: 1.5rem;
  line-height: 1;
  top: -2px;
}

.vision-mission-grid {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  margin-top: 4rem;
  margin-bottom: 4rem;
}

.vm-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

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

.vm-card h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.values-section {
  text-align: center;
  margin-bottom: 4rem;
}

.values-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

.values-grid {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr));
  gap: 1.5rem;
}

.value-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.value-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}

/* ACCORDIONS / DETAILS DISCLOSURES */
.policy-section {
  max-width: min(900px, 100%);
  margin: 0 auto;
}

/* Styling native details disclosures */
.disclosure-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.disclosure-card {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background-color: var(--bg-surface);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.disclosure-card[open] {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-sm);
}

.disclosure-card summary {
  padding: 1.25rem 1.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  list-style: none; /* Hide default arrow */
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

/* Webkit specific summary arrow hide */
.disclosure-card summary::-webkit-details-marker {
  display: none;
}

.disclosure-card summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--primary-color);
  font-family: monospace;
  font-weight: bold;
  transition: transform var(--transition-fast);
}

.disclosure-card[open] summary::after {
  content: '−';
}

.disclosure-content {
  padding: 0 1.5rem 1.5rem 1.5rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1.25rem;
  font-size: 0.95rem;
  animation: slideDown 0.3s ease-out;
}

.disclosure-content ul {
  padding-left: 1.5rem;
  list-style-type: disc;
  margin-top: 0.75rem;
}

.disclosure-content li {
  margin-bottom: 0.5rem;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* SUBPAGE: Contact specifics */
.contact-grid {
  grid-template-columns: 5fr 7fr;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-card {
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
}

.info-card-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.info-card-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.info-card-content {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.contact-form-panel {
  padding: 2.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  background-color: var(--bg-color);
  color: var(--text-color);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(209, 94, 20, 0.15);
}

/* User inputs validation styles */
.form-control:user-invalid {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.form-control:user-valid {
  border-color: #22c55e;
}

/* SUBPAGE: WHOIS lookup specifics */
.whois-panel {
  max-width: 800px;
  margin: 0 auto;
}

.whois-search-wrap {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.whois-search-input {
  flex-grow: 1;
  padding: 0.8rem 1.2rem;
  border-radius: 6px;
  border: 2px solid var(--border-color);
  font-size: 1.1rem;
  background-color: var(--bg-surface);
}

.whois-search-input:focus {
  outline: none;
  border-color: var(--primary-color);
}

.whois-terminal {
  background-color: #0b0f19;
  color: #a7f3d0;
  border: 1px solid #1e293b;
  border-radius: 8px;
  padding: 1.5rem;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.9rem;
  min-height: 350px;
  max-height: 600px;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  white-space: pre-wrap;
}

.whois-terminal-header {
  border-bottom: 1px solid #1e293b;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
  color: #64748b;
  display: flex;
  justify-content: space-between;
}

.whois-terminal-prompt {
  color: #34d399;
}

.whois-terminal-keyword {
  color: #f59e0b;
}

.whois-terminal-value {
  color: #ffffff;
}

.whois-examples {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.whois-examples a {
  color: var(--primary-color);
  text-decoration: underline;
  cursor: pointer;
}

/* ==========================================================================
   FOOTER SECTION (Sleek Light Redesign)
   ========================================================================== */
.main-footer {
  background-color: var(--footer-bg);
  color: var(--footer-text);
  margin-top: auto;
  font-size: 0.9rem;
  border-top: 1px solid #e2e8f0;
}

.footer-bottom-bar {
  padding: 3rem 0;
}

.footer-bottom-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.social-icons {
  display: flex;
  gap: 0.75rem;
}

.social-icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #ffffff;
  color: #64748b;
  text-decoration: none;
  transition: all var(--transition-fast);
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.social-icon-link:hover {
  background-color: var(--primary-color);
  color: #ffffff;
  transform: translateY(-2px);
  border-color: var(--primary-color);
}

.footer-clock-box {
  background-color: #ffffff;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  border: 1px solid #e2e8f0;
  font-weight: 500;
  font-size: 0.85rem;
  color: #475569;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.footer-clock-box span {
  color: var(--primary-color);
  font-weight: 700;
  margin-left: 0.5rem;
}

.footer-legal-links {
  display: flex;
  gap: 1rem;
  align-items: center;
  color: #cbd5e1; /* For the pipe separators */
}

.footer-legal-links a {
  color: #64748b;
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.footer-legal-links a:hover {
  color: var(--primary-color);
}

.footer-copyright-section {
  padding: 0.5rem 0;
  background-color: #ffffff;
  border-top: 1px solid #e2e8f0;
}

.footer-copyright-section .container {
  display: block;
  position: relative;
  color: #64748b;
  font-size: 0.85rem;
  padding-right: 80px; /* Space for the ISO badge */
  padding-top: 10px;   /* Vertical padding to center text */
  padding-bottom: 10px;
  line-height: 1.5;
}

.footer-copyright-section .container img {
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
}


/* ==========================================================================
   MEDIA QUERIES (Mobile & Tablet Responsiveness)
   ========================================================================== */
@media (max-width: 1024px) {
  /* Dashboard layout */
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  /* Sidebar layout */
  .sidebar-layout-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .sidebar-nav {
    display: block;
    width: 100%;
    margin-bottom: 2rem;
    background-color: var(--primary-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    box-sizing: border-box;
  }

  /* Navigation */
  .nav-menu {
    display: none;
  }
  
  .mobile-nav-toggle {
    display: block;
  }
  
  /* Hero */
  .hero-section {
    height: 400px;
  }
  
  .carousel-content h2 {
    font-size: 1.8rem;
  }
  
  /* Quicklinks (5 columns to 2/3) */
  .quicklinks-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .quicklink-card:nth-child(5) {
    grid-column: span 2;
  }
  
  /* Blogs & News */
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .work-grid {
    grid-template-columns: 1fr;
  }
  
  /* About us elements */
  .about-map-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .vision-mission-grid {
    grid-template-columns: 1fr;
  }
  
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Contact page */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .contact-form-panel {
    padding: 1.5rem;
  }
  
  /* Footer */
  .footer-menu-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
  
  .footer-bottom-container {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
  
  .footer-clock-box {
    justify-content: center;
  }
  
  .footer-legal-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  /* Quicklinks */
  .quicklinks-grid {
    grid-template-columns: 1fr;
  }
  
  .quicklink-card:nth-child(5) {
    grid-column: span 1;
  }
  
  .values-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-menu-grid {
    grid-template-columns: 1fr;
  }
  
  .page-hero-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  
  .whois-search-wrap {
    flex-direction: column;
  }
}

/* Premium Card & Styling Enhancements */
.card-premium {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.card-premium:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}

/* Premium Tabs Styling */
.premium-tabs-container {
  margin: 3rem 0;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background: var(--bg-surface);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.tabs-nav {
  display: flex;
  background: #f8fafc;
  border-bottom: 1px solid var(--border-color);
  padding: 0 1rem;
}

.tab-btn {
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 1rem 1.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

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

.tab-btn.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

.tabs-content {
  padding: 2rem;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
  animation: tabFadeIn 0.4s ease forwards;
}

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

/* Content List Enhancement */
.premium-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding-left: 0;
  list-style: none;
}

.premium-list li {
  position: relative;
  padding-left: 1.75rem;
  font-size: 1.05rem;
}

.premium-list li::before {
  content: "\f00c"; /* FontAwesome Check */
  font-family: FontAwesome;
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-size: 0.95rem;
  top: 2px;
}

/* Premium Table Styling */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.95rem;
  background-color: var(--bg-surface);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border-color);
}

table th, table td {
  padding: 1.1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
  line-height: 1.5;
}

table tr:last-child td {
  border-bottom: none;
}

table tr:first-child td, table th {
  background-color: #f8fafc;
  font-weight: 600;
  color: var(--text-dark);
  border-bottom: 2px solid var(--border-color);
}

table tr:hover {
  background-color: rgba(209, 96, 21, 0.02);
  transition: background-color var(--transition-fast) ease;
}

table a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

table a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }
}

/* ==========================================================================
   Joomla Page Builder (sppb) Modern Overrides
   ========================================================================== */

/* Layout Rows and Grid */
.sppb-row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
  margin-bottom: 2rem;
}

[class*="sppb-col-"] {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .sppb-col-md-1  { flex: 0 0 8.333333%; max-width: 8.333333%; }
  .sppb-col-md-2  { flex: 0 0 16.666667%; max-width: 16.666667%; }
  .sppb-col-md-3  { flex: 0 0 25%; max-width: 25%; }
  .sppb-col-md-4  { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .sppb-col-md-5  { flex: 0 0 41.666667%; max-width: 41.666667%; }
  .sppb-col-md-6  { flex: 0 0 50%; max-width: 50%; }
  .sppb-col-md-7  { flex: 0 0 58.333333%; max-width: 58.333333%; }
  .sppb-col-md-8  { flex: 0 0 66.666667%; max-width: 66.666667%; }
  .sppb-col-md-9  { flex: 0 0 75%; max-width: 75%; }
  .sppb-col-md-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
  .sppb-col-md-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
  .sppb-col-md-12 { flex: 0 0 100%; max-width: 100%; }
}

@media (max-width: 767px) {
  [class*="sppb-col-"] {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    margin-bottom: 1.5rem;
  }
}

/* Premium Card wrapper for individual Page Builder addon content (except single-column rows) */
.sppb-row:not(:has(.sppb-col-md-12)) .sppb-column-addons > div,
.sppb-addon-text-block,
.sppb-addon-single-image {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.75rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  box-sizing: border-box;
  margin-bottom: 1.5rem;
}

.sppb-row:not(:has(.sppb-col-md-12)) .sppb-column-addons > div:hover,
.sppb-addon-text-block:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  border-color: rgba(209, 96, 21, 0.15);
}

/* For full width blocks, don't display background/border unless specified */
.sppb-col-md-12 .sppb-addon-text-block {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}
.sppb-col-md-12 .sppb-addon-text-block:hover {
  transform: none;
  box-shadow: none;
  border-color: transparent;
}

/* Addon Title styling */
.sppb-addon-title, .sppb-addon-animated-heading {
  font-family: var(--font-primary);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 1.25rem;
  border-bottom: 2px solid var(--primary-light-border);
  padding-bottom: 0.5rem;
}

/* Content Lists customization */
.sppb-addon-content ul, 
.sppb-addon-text-block ul,
.rich-text ul {
  list-style: none;
  padding-left: 0;
  margin: 1.25rem 0;
}

.sppb-addon-content ul li, 
.sppb-addon-text-block ul li,
.rich-text ul li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  line-height: 1.6;
  color: var(--text-dark);
}

.sppb-addon-content ul li::before, 
.sppb-addon-text-block ul li::before,
.rich-text ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--secondary-color);
  font-weight: bold;
  font-size: 1.1rem;
}

/* Exclude list items with icons/social links */
.sppb-addon-content ul li:has(i)::before,
.sppb-addon-text-block ul li:has(i)::before,
.rich-text ul li:has(i)::before,
.sppb-addon-content ul li:has(.fa)::before,
.sppb-addon-text-block ul li:has(.fa)::before,
.rich-text ul li:has(.fa)::before,
[class*="social"] li::before {
  content: none !important;
}

.sppb-addon-content ul li:has(i),
.sppb-addon-text-block ul li:has(i),
.rich-text ul li:has(i),
.sppb-addon-content ul li:has(.fa),
.sppb-addon-text-block ul li:has(.fa),
.rich-text ul li:has(.fa) {
  padding-left: 0 !important;
}

.no-ticks li::before {
  content: none !important;
}
.no-ticks li {
  padding-left: 0 !important;
}

/* Ordered Lists */
.sppb-addon-content ol, 
.sppb-addon-text-block ol,
.rich-text ol {
  padding-left: 1.5rem;
  margin: 1.25rem 0;
}

.sppb-addon-content ol li, 
.sppb-addon-text-block ol li,
.rich-text ol li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
  color: var(--text-dark);
}

/* Page Builder Buttons formatting */
.sppb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.7rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease-in-out;
}

.sppb-btn-primary, .sppb-btn-custom, .sppb-btn-success, .sppb-btn-rounded {
  background-color: var(--primary-color);
  color: #ffffff !important;
}

.sppb-btn-primary:hover, .sppb-btn-custom:hover, .sppb-btn-success:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(209, 94, 20, 0.2);
}

.sppb-btn-block {
  display: flex;
  width: 100%;
}

/* Image alignment within page builder modules */
.sppb-img-responsive {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: var(--shadow-sm);
  display: block;
}

/* Legacy Tabs adaptation to Premium Tabs */
.nav-tabs, .rl_tabs > ul {
  display: flex;
  background: #f8fafc;
  border-bottom: 1px solid var(--border-color);
  padding: 0 1rem;
  margin: 0;
  list-style: none;
}

.nav-tabs li, .rl_tabs > ul li {
  margin: 0;
}

.nav-tabs li::before, .tabs-nav li::before, .rl_tabs > ul li::before {
  content: none !important;
  padding: 0 !important;
}

.nav-tabs li a, .rl_tabs > ul li a {
  display: inline-block;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 1rem 1.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.nav-tabs li a:hover, .rl_tabs > ul li a:hover {
  color: var(--primary-color);
}

.nav-tabs li.active a, .rl_tabs > ul li.active a,
.nav-tabs li a.active, .rl_tabs > ul li a.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

.tab-content, .rl_tabs > .tab-content {
  padding: 2rem;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-top: none;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

/* Hide default accordion headers that might be inserted inside the tab content block */
.rl_tabs-title, .nn_tabs-title {
  display: none !important;
}

/* Base accordion styling if used as fallback */
.sppb-addon-accordion {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.sppb-addon-accordion .sppb-panel {
  border-bottom: 1px solid var(--border-color);
}

.sppb-addon-accordion .sppb-panel:last-child {
  border-bottom: none;
}

.sppb-addon-accordion .sppb-panel-heading {
  background: #f8fafc;
  padding: 1rem 1.25rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-dark);
  transition: background-color 0.2s ease;
}

.sppb-addon-accordion .sppb-panel-heading:hover {
  background: var(--primary-light);
  color: var(--primary-color);
}

.sppb-addon-accordion .sppb-panel-collapse {
  padding: 1.5rem;
  background: #ffffff;
}

/* Hide language selector and translation notice globally */
.lang-selector, .translation-notice {
  display: none !important;
}

/* Hide social sharing, print friendly button, and last modified timestamps globally */
.helix-social-share, .printfriendly-button-wrapper, dd.modified {
  display: none !important;
}

/* Responsive Table Wrapper */
.responsive-table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1.5rem;
}

/* Stacked Layout Row Container */
.stacked-layout-row {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}

/* Remove nested box styling for Vision/Mission and Core Values on About page */
#column-wrap-id-1702273482491, #column-wrap-id-1702273482493,
#column-id-1702273482491, #column-id-1702273482493,
#sppb-addon-wrapper-1702273482492, #sppb-addon-wrapper-1702273482492 *,
#sppb-addon-wrapper-1702273482494, #sppb-addon-wrapper-1702273482494 *,
#column-wrap-id-1701941444648, #column-wrap-id-1701941444651,
#column-wrap-id-1701941444654, #column-wrap-id-1701941444657,
#column-id-1701941444648, #column-id-1701941444651,
#column-id-1701941444654, #column-id-1701941444657,
#sppb-addon-wrapper-1701941444649, #sppb-addon-wrapper-1701941444649 *,
#sppb-addon-wrapper-1701941444652, #sppb-addon-wrapper-1701941444652 *,
#sppb-addon-wrapper-1701941444655, #sppb-addon-wrapper-1701941444655 *,
#sppb-addon-wrapper-1701941444658, #sppb-addon-wrapper-1701941444658 * {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  transform: none !important;
}

/* Ensure the text is visible and spaced cleanly */
#sppb-addon-1702273482492 .sppb-addon-content,
#sppb-addon-1702273482494 .sppb-addon-content,
#sppb-addon-1701941444649 .sppb-addon-content,
#sppb-addon-1701941444652 .sppb-addon-content,
#sppb-addon-1701941444655 .sppb-addon-content,
#sppb-addon-1701941444658 .sppb-addon-content {
  padding: 0.5rem 0 !important;
  margin: 0 !important;
}

/* Sidebar Layout Grid Modifier (when sidebar is removed) */
.sidebar-layout-grid.no-sidebar {
  display: block;
}






/* ==========================================================================
   PREMIUM HOMEPAGE REDESIGN
   ========================================================================== */
.premium-hero {
    position: relative;
    padding: 8rem 0 12rem 0;
    background: linear-gradient(135deg, #111111 0%, #000000 100%);
    color: #ffffff;
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.hero-bg-shapes .shape-1 {
    width: 500px; height: 500px;
    background: var(--primary-color);
    top: -100px; right: -100px;
}

.hero-bg-shapes .shape-2 {
    width: 400px; height: 400px;
    background: #ffffff;
    opacity: 0.1;
    bottom: -150px; left: 10%;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    text-align: center;
}

.hero-text-block {
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-family: var(--font-display);
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #ffffff, #cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #cbd5e1;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-hero-primary {
    background: var(--primary-color);
    color: #ffffff;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all var(--transition-fast);
    border: 2px solid var(--primary-color);
}

.btn-hero-primary:hover {
    background: transparent;
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-hero-secondary {
    background: rgba(255,255,255,0.1);
    color: #ffffff;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all var(--transition-fast);
    border: 2px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}

.btn-hero-secondary:hover {
    background: #ffffff;
    color: #0f172a;
    transform: translateY(-2px);
}

.premium-quicklinks {
    margin-top: -6rem;
    position: relative;
    z-index: 10;
}

.quicklinks-grid-new {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.ql-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    text-decoration: none;
    color: var(--text-color);
    transition: all var(--transition-normal);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.ql-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 50px rgba(0,0,0,0.12);
    border-color: var(--primary-color);
}

.ql-icon {
    width: 60px; height: 60px;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 0 auto 1.5rem auto;
    transition: all var(--transition-fast);
}

.ql-card:hover .ql-icon {
    background: var(--primary-color);
    color: #ffffff;
}

.ql-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.ql-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.section-header-modern {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
}

.section-header-modern h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: #0f172a;
}

.view-all-link {
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.1rem;
}

.view-all-link:hover {
    text-decoration: underline;
}

.blog-grid-modern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.blog-card-new {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
    transition: transform var(--transition-normal);
}

.blog-card-new:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.blog-img-new {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.blog-img-new img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.blog-card-new:hover .blog-img-new img {
    transform: scale(1.05);
}

.blog-category {
    position: absolute;
    top: 1rem; left: 1rem;
    background: var(--primary-color);
    color: #ffffff;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.blog-content-new {
    padding: 2rem;
}

.blog-content-new h3 {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.blog-content-new h3 a {
    color: #0f172a;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.blog-content-new h3 a:hover {
    color: var(--primary-color);
}

.blog-content-new p {
    color: var(--text-muted);
    line-height: 1.6;
}

.premium-work {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.work-grid-modern {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.work-card-new {
    background: #ffffff;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    transition: all var(--transition-normal);
}

.work-card-new:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(0,0,0,0.06);
    border-color: #cbd5e1;
}

.work-icon-new {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.work-card-new h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #0f172a;
}

.work-card-new p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.work-card-new a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.work-card-new a:hover {
    text-decoration: underline;
}

@media (max-width: 992px) {
    .hero-title { font-size: 3.5rem; }
    .quicklinks-grid-new, .work-grid-modern { grid-template-columns: repeat(2, 1fr); }
    .blog-grid-modern { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .premium-quicklinks { margin-top: 2rem; }
    .quicklinks-grid-new, .work-grid-modern { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; }
}



/* ==========================================================================
   HOMEPAGE CARD GRID CATEGORIES
   ========================================================================== */
.premium-categories {
  padding: 5rem 0;
  background: #f8fafc;
}

.category-section {
  margin-bottom: 4rem;
}

.cat-header-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 2.5rem;
}

.cat-header {
  color: #ea580c;
  font-size: 1.5rem;
  font-weight: 800;
  font-style: italic;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  text-align: center;
}

.cat-sub {
  color: #1e293b;
  font-size: 1rem;
  font-weight: 700;
  font-style: italic;
  text-align: center;
}

.cards-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.cat-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  max-width: 380px;
  flex: 1 1 280px;
  height: 250px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin: 0 auto;
}

.cat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.cat-card img {
  width: auto;
  height: 25px;
  max-width: 100%;
  margin-bottom: 1.5rem;
  object-fit: contain;
}

.cat-card img[src*="ip_academy.svg"],
.cat-card img[src*="certi_6.svg"],
.cat-card img[src*="webinar.svg"] {
  height: 60px; 
}

.cat-desc {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: #334155;
  margin-bottom: auto;
  font-weight: 700;
  line-height: 1.4;
}

.cat-btn {
  background: #475569;
  color: #ffffff;
  font-size: 0.75rem;
  padding: 0.5rem 1.2rem;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
  white-space: nowrap;
  margin-top: 1.5rem;
}

.cat-btn:hover {
  background: #ea580c;
  color: #ffffff;
  text-decoration: none;
}
/* ENFORCE EXACT UNIFORM HEIGHT */
  max-width: 100%; /* PREVENT SQUISHING WIDE LOGOS */
  margin-bottom: 1rem;
  object-fit: contain;
}

/* The crest and webinar map need a bit more height because they aren't wide logotypes */
.cat-item img[src*="ip_academy.svg"],
.cat-item img[src*="certi_6.svg"],
.cat-item img[src*="webinar.svg"] {
  height: 60px; 
}

.cat-desc {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #334155;
  margin-bottom: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
}

.cat-btn {
  background: #475569;
  color: #ffffff;
  font-size: 0.75rem;
  padding: 0.4rem 1.2rem;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.cat-btn:hover {
  background: #ea580c;
  color: #ffffff;
  text-decoration: none;
}

@media (max-width: 1200px) {
  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 3rem;
  }
  .cat-col:nth-child(3) { border-right: none; }
  .cat-col:nth-child(5) { border-right: none; }
}

@media (max-width: 768px) {
  .categories-grid {
    grid-template-columns: 1fr;
  }
  .cat-col { border-right: none; margin-bottom: 2rem; border-bottom: 1px solid #cbd5e1; padding-bottom: 2rem; }
  .cat-col:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
}

/* ==========================================================================
   PDWG CO-CHAIRS TABS STYLING
   ========================================================================== */
.co-chairs-profiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 1.5rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 768px) {
  .co-chairs-profiles {
    grid-template-columns: 1fr;
  }
}

.co-chair-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s, box-shadow 0.2s;
}

.co-chair-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.co-chair-card img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  margin: 0 auto 1.5rem auto;
  border: 4px solid var(--primary-color, #d15e14);
}

.co-chair-card h3 {
  margin: 0.5rem 0;
  color: #1e293b;
  font-size: 1.25rem;
  font-weight: 700;
}

.co-chair-country {
  color: #64748b;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.co-chair-term {
  color: #d15e14;
  font-size: 0.9rem;
  margin: 0;
  font-weight: 500;
}

.co-chairs-description {
  background: #f8fafc;
  border-left: 4px solid #d15e14;
  padding: 2rem;
  border-radius: 0 8px 8px 0;
  margin-bottom: 2.5rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
}

.co-chairs-description h3 {
  color: #1e293b;
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.co-chairs-description h4 {
  color: #1e293b;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.co-chairs-description p {
  color: #475569;
  line-height: 1.6;
  font-size: 0.95rem;
}

.roles-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0 0;
}

.roles-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  color: #475569;
  line-height: 1.6;
  font-size: 0.95rem;
}

.roles-list li i {
  position: absolute;
  left: 0;
  top: 0.25rem;
  color: #10b981; /* Green checkmark */
  font-size: 1rem;
}

/* ==========================================================================
   BILLING TIMELINE STYLE
   ========================================================================== */
.sppb-addon-timeline {
  padding: 2rem 0;
}

.sppb-addon-timeline-text-wrap {
  text-align: center;
  margin-bottom: 3rem;
}

.sppb-addon-timeline-text-wrap h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark, #1e293b);
  position: relative;
  display: inline-block;
  padding-bottom: 0.75rem;
}

.sppb-addon-timeline-text-wrap h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--primary-color, #d15e14);
  border-radius: 2px;
}

.sppb-addon-timeline-wrapper {
  position: relative;
  width: 100%;
  margin: 0 auto;
  padding: 1rem 0;
}

/* Vertical center line */
.sppb-addon-timeline-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: #e2e8f0;
  transform: translateX(-50%);
  border-radius: 2px;
}

.timeline-movement {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  width: 100%;
}

/* Badge (circle on the center line) */
.timeline-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  background-color: #ffffff;
  border: 4px solid var(--primary-color, #d15e14);
  border-radius: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 4px #f1f5f9;
}

/* Timeline items/panels */
.timeline-item {
  width: 45%;
}

.timeline-panel {
  position: relative;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  text-align: left;
}

.timeline-panel .title {
  margin: 0 0 0.5rem 0;
  font-weight: 700;
  color: var(--text-dark, #1e293b);
  font-size: 1.1rem;
}

.timeline-panel .details p {
  margin: 0;
  color: #475569;
  line-height: 1.5;
}

.timeline-panel .details ul {
  padding-left: 1.25rem;
  margin-top: 0.5rem;
}

.timeline-panel .details ul li {
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
}

/* Align panels left and right */
.timeline-movement.even .timeline-item:not(.mobile-hidden):not(.mobile-block) {
  text-align: right;
}

.timeline-date {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color, #d15e14);
  margin: 0;
  padding: 0.5rem 1rem;
}

/* Hide helper date nodes to preserve grid columns */
.mobile-block {
  display: none !important;
}

/* Desktop alignment */
@media (min-width: 769px) {
  .timeline-movement.even {
    flex-direction: row-reverse;
  }
  
  .timeline-date {
    text-align: right !important;
  }
}

/* Mobile responsive timeline (single column) */
@media (max-width: 768px) {
  .sppb-addon-timeline-wrapper::before {
    left: 20px;
  }
  
  .timeline-badge {
    left: 20px;
    transform: translate(-50%, -50%);
  }
  
  .timeline-movement {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 45px;
    margin-bottom: 2rem;
  }
  
  .timeline-item {
    width: 100%;
  }
  
  .mobile-block {
    display: block !important;
  }
  
  .mobile-hidden {
    display: none !important;
  }
  
  .timeline-date {
    text-align: left !important;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
  }
}

/* ==========================================================================
   FLUID LAYOUT — ULTRA-WIDE GUARD & RESPONSIVE OVERRIDES
   Generated as part of the fluid refactor
   ========================================================================== */

/* Prevent hero text from being hard to read on ultrawide */
@media (min-width: 1800px) {
  .carousel-content {
    max-width: min(700px, 40%);
  }
  .carousel-content h2 {
    font-size: 3rem;
  }
  .blog-grid {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  }
  .work-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}

/* Tablet: stack the about-map section */
@media (max-width: 900px) {
  .about-map-section {
    grid-template-columns: 1fr;
  }
  .vision-mission-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile: single column everything */
@media (max-width: 600px) {
  .hero-section {
    height: clamp(260px, 60vw, 360px);
  }
  .carousel-content h2 {
    font-size: 1.4rem;
  }
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   INTELLIGENT JUSTIFICATION
   Rule: Justify flowing prose paragraphs only.
   Never justify list items, headings, captions, buttons, or table cells.
   text-align-last: left prevents the final orphan line from stretching.
   ========================================================================== */

/* --- JUSTIFY: prose paragraphs across the whole site --- */
p,
.rich-text p,
.subpage-content p,
.disclosure-content p,
.tab-pane p,
.tabs-content p,
.about-quote,
blockquote,
.blog-excerpt,
.work-card-desc,
dd {
  text-align: justify;
  text-align-last: left;        /* Last line stays left-aligned, not stretched */
  hyphens: none;
  overflow-wrap: break-word;
}

/* --- NEVER JUSTIFY: list items, table cells, headings, UI elements --- */
li,
ul li,
ol li,
.rich-text ul li,
.rich-text ol li,
.premium-list li,
.map-list li,
.mobile-nav-submenu li,
.sidebar-menu li,
.news-list li,
th,
td,
h1, h2, h3, h4, h5, h6,
label,
button,
.btn,
.nav-link,
.tab-btn,
.breadcrumb,
.blog-title,
.news-item-title,
.work-card-title,
.page-title,
figcaption,
caption {
  text-align: unset;   /* Reset to browser/parent default (left) */
  hyphens: none;
}

/* --- SPECIAL CASES: centred elements must stay centred --- */
.text-center,
.section-title,
.vm-card,
.values-section,
.about-quote,
.quicklink-card,
.footer-bottom-container,
.sppb-text-center {
  text-align: center;
  text-align-last: center;   /* Overrides the justify rule above */
  hyphens: none;
}

/* ==========================================================================
   ICP-2 REVIEW SPECIAL LAYOUT
   ========================================================================== */
.icp2-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.icp2-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

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

.icp2-card--active {
  border-color: var(--primary-color);
  background: linear-gradient(to bottom, rgba(209, 94, 20, 0.02), var(--bg-surface));
}

.icp2-card-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
  position: relative;
}

.icp2-card-badge {
  display: inline-block;
  background-color: var(--border-color);
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

.icp2-card-badge--active {
  background-color: var(--primary-color);
  color: #ffffff;
}

.icp2-card-period {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.icp2-card-body ul {
  list-style: none;
  padding-left: 0 !important;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.icp2-card-body ul li {
  padding-left: 0 !important;
}

.icp2-card-body ul li::before {
  display: none !important;
}

.icp2-card-body ul li a {
  color: var(--primary-color);
  font-weight: 500;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.icp2-card-body ul li a:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

/* Timeline Layout */
.icp2-timeline {
  list-style: none;
  padding-left: 0 !important;
  margin: 2.5rem 0;
  position: relative;
}

.icp2-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20px;
  width: 2px;
  background-color: var(--border-color);
}

.icp2-step {
  position: relative;
  padding-left: 55px !important;
  margin-bottom: 2rem;
}

.icp2-step::before {
  display: none !important; /* Remove global list styles */
}

.icp2-step-marker {
  position: absolute;
  left: 0;
  top: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: var(--bg-surface);
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-muted);
  z-index: 1;
  transition: all var(--transition-fast);
}

.icp2-step--done .icp2-step-marker {
  background-color: #22c55e;
  border-color: #22c55e;
  color: #ffffff;
}

.icp2-step--active .icp2-step-marker {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #ffffff;
  box-shadow: 0 0 0 4px rgba(209, 94, 20, 0.15);
}

.icp2-step-content {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
}

.icp2-step-date {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.icp2-step--active .icp2-step-date {
  color: var(--primary-color);
}

.icp2-badge-inline {
  display: inline-block;
  background-color: var(--primary-light);
  color: var(--primary-color);
  font-size: 0.7rem;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  vertical-align: middle;
  margin-left: 0.5rem;
}

.icp2-steps-box {
  background-color: var(--primary-light);
  border-left: 4px solid var(--primary-color);
  padding: 1.5rem;
  border-radius: 0 8px 8px 0;
  margin: 1.5rem 0;
}

.icp2-video-wrap {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  margin: 2rem 0;
}

.icp2-video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

