.text-color-3{
  color: #3a423d;
}

/* =================================================================
   MOBILE HORIZONTAL SCROLL FIX
   Prevents any element from causing the page to scroll horizontally
   ================================================================= */
html,
body {
  overflow-x: hidden !important;
  max-width: 100vw;
}

/* Contain decorative blobs and absolutely positioned elements
   that extend outside the viewport */
.activities-section,
.partners-section,
.hero-home,
.consortium-hero,
.testimonials-section,
.oec-news-section,
.oec-presence-section,
.blog-section,
section {
  overflow-x: hidden;
}

/* Ensure the world map canvas never causes horizontal scroll */
#oec-world-map-wrap,
.oec-map-wrap {
  max-width: 100%;
  overflow: hidden;
}

/* Testimonial marquee — guarantee containment on mobile */
.testimonials-marquee-outer {
  overflow: hidden !important;
  max-width: 100vw;
}

/* News filter chips — wrap on mobile instead of overflowing */
.oec-filter-row {
  max-width: 100%;
  overflow-x: hidden;
}

/* Trust badges row — allow wrapping */
.oec-trust-row {
  max-width: 100%;
}

@media (max-width: 767px) {
  /* Decorative blobs with negative positions — hide on mobile */
  .position-absolute[style*="left: -"],
  .position-absolute[style*="right: -"],
  .position-absolute[style*="bottom: -100px"],
  .position-absolute[style*="top: -"] {
    display: none !important;
  }

  /* Prevent any inline-styled wide elements from overflowing */
  [style*="width: max-content"],
  [style*="width:max-content"] {
    max-width: none;
  }

  /* Testimonial cards narrower on small screens */
  .testimonial-card-marquee {
    width: 280px !important;
  }
}



/* ==================== COUNTER ANIMATION ==================== */
.counter {
    font-family: inherit;
    transition: color 0.3s ease;
  }
  
  /* ==================== SMOOTH SCROLL ==================== */
  html {
    scroll-behavior: smooth;
  }
  
  .smooth-scroll {
    scroll-behavior: smooth;
  }
  
  /* Scroll margin for anchor links with fixed header */
  section[id] {
    scroll-margin-top: 100px;
  }
  
  /* ==================== HOVER EFFECTS ==================== */
  .hover-shadow-lg {
    transition: box-shadow 0.3s ease, transform 0.3s ease;
  }
  
  .hover-shadow-lg:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
    transform: translateY(-5px);
  }
  
  .hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3) !important;
  }
  
  /* ==================== ICON STYLES ==================== */
  .icon-box-about,
  .icon-circle,
  .icon-circle-large,
  .icon-circle-cta {
    transition: all 0.3s ease;
  }
  
  .icon-circle-large {
    display: inline-block;
  }
  
  /* ==================== Z-INDEX UTILITIES ==================== */
  .z-0 { z-index: 0; }
  .z-1 { z-index: 1; }
  .z-2 { z-index: 2; }
  
  /* ==================== MIN-VH UTILITIES ==================== */
  .min-vh-50 {
    min-height: 50vh;
  }
  
  /* ==================== OBJECT FIT ==================== */
  .object-fit-cover {
    object-fit: cover;
    object-position: center;
  }
  
  /* ==================== ANIMATIONS ==================== */
  @keyframes bounce {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(10px);
    }
  }
  
  .animate-bounce {
    animation: bounce 2s ease-in-out infinite;
  }
  
  @keyframes float {
    0%, 100% {
      transform: translateY(0) rotate(0deg);
    }
    50% {
      transform: translateY(-30px) rotate(5deg);
    }
  }
  
  /* ==================== BREADCRUMB ==================== */
  .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
  }
  
  .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.7);
    content: "›";
    font-size: 1.2rem;
  }
  
  /* ==================== NAVIGATION TABS/PILLS ==================== */
  #projectTabs .nav-link {
    border: 2px solid transparent;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 0.5rem;
  }
  
  #projectTabs .nav-link.active {
    background-color: var(--accent-color, #4caf50);
    border-color: var(--accent-color, #4caf50);
    color: white;
  }
  
  #projectTabs .nav-link:not(.active):hover {
    border-color: var(--accent-color, #4caf50);
    background-color: transparent;
    color: var(--accent-color, #4caf50);
  }
  
  /* ==================== GRAYSCALE LOGOS ==================== */
  .grayscale-logo img {
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
  }
  
  .grayscale-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
  }
  
  /* ==================== TIMELINE (About Page) ==================== */
  .timeline {
    padding: 2rem 0;
  }
  
  .timeline-line {
    background-color: var(--accent-color, #4caf50);
  }
  
  .timeline-marker {
    background-color: var(--accent-color, #4caf50);
    box-shadow: 0 0 0 10px rgba(76, 175, 80, 0.1);
  }
  
  @media (max-width: 768px) {
    .timeline-line {
      left: 30px !important;
    }
    
    .timeline-item .row {
      flex-direction: column !important;
    }
    
    .timeline-content {
      text-align: left !important;
      padding-left: 60px !important;
    }
  }
  
  /* ==================== PROCESS STEPS ==================== */
  .process-step-card {
    transition: transform 0.3s ease;
  }
  
  .process-step-card:hover {
    transform: translateY(-10px);
  }
  
  .step-badge {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  }
  
  /* ==================== MVV CARDS (Mission, Vision, Values) ==================== */
  .mvv-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .mvv-card:hover {
    transform: translateY(-5px);
  }
  
  /* ==================== DIFFERENTIATOR CARDS ==================== */
  .differentiator-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .differentiator-card:hover {
    transform: translateY(-5px);
  }
  
  /* ==================== CONSORTIUM PAGE - PARTNER CARDS ==================== */
  .partner-detail-card {
    scroll-margin-top: 100px;
  }
  
  .partner-photo img,
  .advisor-photo img {
    object-fit: cover;
    object-position: center;
  }
  
  .advisor-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .advisor-card:hover {
    transform: translateY(-10px);
  }
  
  /* Client Logo Boxes */
  .client-logo-box {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .client-logo-box:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  
  /* Contribution Box */
  .contribution-box {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1) 0%, rgba(76, 175, 80, 0.05) 100%);
  }
  
  /* Navigation Cards */
  .nav-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .nav-card:hover {
    transform: translateY(-10px);
  }
  
  /* Stat Boxes */
  .stat-box {
    transition: transform 0.3s ease;
  }
  
  .stat-box:hover {
    transform: translateY(-5px);
  }
  
  /* ==================== TEAM CATEGORY CARDS ==================== */
  .team-category-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .team-category-card:hover {
    transform: translateY(-5px);
  }
  
  /* ==================== CERTIFICATION CARDS ==================== */
  .certification-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
  }
  
  .certification-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-color, #4caf50);
  }
  
  /* ==================== MODAL STYLING ==================== */
  .modal-content {
    border-radius: 1rem;
  }
  
  /* ==================== IMPACT CARDS ==================== */
  .impact-card,
  .impact-category-card {
    transition: transform 0.3s ease;
  }
  
  .impact-card:hover,
  .impact-category-card:hover {
    transform: translateY(-5px);
  }
  
  /* ==================== PROJECT CARDS ==================== */
  .project-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .project-card:hover {
    transform: translateY(-5px);
  }
  
  /* ==================== BLOG CARDS ==================== */
  .blog-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .blog-card:hover {
    transform: translateY(-5px);
  }
  
  /* ==================== CHALLENGE CARDS ==================== */
  .challenge-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  }
  
  .challenge-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color, #4caf50) !important;
  }
  
  /* ==================== SOLUTION CARDS ==================== */
  .solution-card {
    transition: all 0.3s ease;
  }
  
  .solution-card:hover {
    background-color: rgba(255, 255, 255, 0.05);
  }
  
  /* ==================== RESPONSIVE ADJUSTMENTS ==================== */
  @media (max-width: 992px) {
    .partner-detail-card .row {
      flex-direction: column !important;
    }
    
    .partner-detail-card .border-end {
      border-right: none !important;
      border-bottom: 1px solid #dee2e6;
    }
  }
  
  @media (max-width: 768px) {
    .display-2 {
      font-size: 2.5rem;
    }
    
    .display-3 {
      font-size: 2rem;
    }
    
    .display-4 {
      font-size: 1.75rem;
    }
  }
  
  /* ==================== UTILITY CLASSES ==================== */
  .bg-opacity-5 { background-color: rgba(var(--bs-bg-opacity), 0.05) !important; }
  .bg-opacity-8 { background-color: rgba(var(--bs-bg-opacity), 0.08) !important; }
  .bg-opacity-10 { background-color: rgba(var(--bs-bg-opacity), 0.5) !important; }
  .bg-opacity-25 { background-color: rgba(var(--bs-bg-opacity), 0.25) !important; }
  .bg-opacity-90 { background-color: rgba(var(--bs-bg-opacity), 0.9) !important; }
  
  /* ==================== SECTION PADDING ==================== */
  .ptpb-120 {
    padding-top: 120px;
    padding-bottom: 120px;
  }
  
  @media (max-width: 768px) {
    .ptpb-120 {
      padding-top: 60px;
      padding-bottom: 60px;
    }
  }

/* ==================== STICKY HEADER FIX ==================== */
/* Override the overlap/negative-margin approach with sticky */
.header {
  position: sticky !important;
  top: 0 !important;
  margin-bottom: 0 !important;
  z-index: 1050 !important;
  background-color: var(--heading-color-3, #1B3738) !important;
  transition: box-shadow 0.3s ease;
}

/* Add shadow when scrolled (class added via JS) */
.header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

/* Hero no longer needs to compensate for overlapping header */
.home-hero {
  height: calc(100vh - 0px);
  max-height: none;
}

/* Adjust anchor scroll offset for sticky header */
section[id] {
  scroll-margin-top: 120px;
}

/* Mobile: ensure offcanvas sits above everything */
.offcanvas {
  z-index: 1060 !important;
}

/* Mobile hamburger button visibility */
.navbar-toggler {
  z-index: 1051;
}

/* Ensure nav logo doesn't make header too tall on mobile */
@media (max-width: 991.98px) {
  .header .header-logo {
    height: 70px !important;
    max-width: 130px;
  }
  .header .navbar {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }
}