/* Argon - Modern Brand Styles */

:root {
  --primary-color: #0D0D0D;
  --secondary-color: #2A2A2A;
  --accent-color: #E94A1F;
  --dark-color: #0D0D0D;
  --light-color: #F2F2F2;
  --text-color: #2A2A2A;
  --text-light: #666666;
  --white: #ffffff;
  --gradient-primary: linear-gradient(135deg, #0D0D0D 0%, #2A2A2A 100%);
  --gradient-reveal: linear-gradient(135deg, #0D0D0D 0%, #2A2A2A 100%);
  --gradient-accent: linear-gradient(135deg, #E94A1F 0%, #ff6b4a 100%);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --border-radius: 0px;
  --transition: all 0.3s ease;

  /* Color Mode variables */
  --border-color: #e6e6e6;
  --inner-bg: rgba(0, 0, 0, 0.02);
  --navbar-bg: rgba(255, 255, 255, 0.98);
  --map-bg: #0D0D0D;
  --map-country-fill: #1a1a1a;
  --map-stroke: #2a2a2a;
  --white-fixed: #ffffff;
}

[data-bs-theme="dark"] {
  --white: #0D0D0D;
  --light-color: #1a1a1a;
  --dark-color: #F2F2F2;
  --text-color: #cbd5e1;
  --text-light: #94a3b8;
  --primary-color: #F2F2F2;
  --secondary-color: #e2e8f0;
  --border-color: rgba(255, 255, 255, 0.1);
  --inner-bg: rgba(255, 255, 255, 0.04);
  --navbar-bg: rgba(13, 13, 13, 0.95);
  --map-bg: #0D0D0D;
  --map-country-fill: #1a1a1a;
  --map-stroke: #333333;
  --gradient-primary: linear-gradient(135deg, #0D0D0D 0%, #1a1a1a 100%);
  --gradient-reveal: linear-gradient(135deg, #1a1a1a 0%, #2A2A2A 100%);
}

/* Theme Toggle Button Styling */
.btn-theme-toggle {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--dark-color);
  width: 38px;
  height: 38px;
  border-radius: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1rem;
}
.btn-theme-toggle:hover {
  background: var(--light-color);
  border-color: var(--accent-color);
  color: var(--accent-color);
}

/* Adaptive Logos */
.logo-dark {
  display: none;
}
[data-bs-theme="dark"] .logo-light {
  display: none;
}
[data-bs-theme="dark"] .logo-dark {
  display: block;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-color);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  background: var(--white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  color: var(--dark-color);
  line-height: 1.2;
}

h1 {
  letter-spacing: -0.01em;
}

h3, h4 {
  font-weight: 600;
}

.section-title {
  font-family: 'Sora', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  position: relative;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.section-subtitle {
  font-family: 'Inter', sans-serif;
  color: var(--text-light);
  font-size: 1.125rem;
  /* max-width: 600px; */
}

/* Eyebrow Label Motif */
.eyebrow-label {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-color) !important;
  margin-bottom: 0.5rem;
}

/* Buttons - Strictly Square Corners */
.btn {
  padding: 16px 36px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  border-radius: 0 !important;
  transition: var(--transition);
  text-transform: none;
  letter-spacing: 0.02em;
  border: none;
}

.btn-primary {
  background: #0D0D0D !important;
  color: #FFFFFF !important;
  border: none !important;
  border-radius: 0 !important;
}

.btn-primary:hover {
  background: #2A2A2A !important;
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-light {
  border: 2px solid #FFFFFF !important;
  color: #FFFFFF !important;
  background: transparent !important;
  border-radius: 0 !important;
}

.btn-outline-light:hover {
  background: #FFFFFF !important;
  color: #0D0D0D !important;
}

.btn-outline-dark {
  border: 2px solid #0D0D0D !important;
  color: #0D0D0D !important;
  background: transparent !important;
  border-radius: 0 !important;
}

.btn-outline-dark:hover {
  background: #0D0D0D !important;
  color: #FFFFFF !important;
}

/* Navigation */
.navbar {
  padding: 0.75rem 0;
  transition: var(--transition);
  background: var(--navbar-bg);
  backdrop-filter: blur(20px);
}

.navbar.scrolled {
  background: var(--navbar-bg);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  padding: 0.5rem 0;
}

.navbar.scrolled .nav-link,
.navbar.scrolled .navbar-brand {
  color: var(--dark-color);
}

.nav-link {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  color: #0D0D0D;
  margin: 0 0.75rem;
  position: relative;
  transition: var(--transition);
  font-size: 0.9375rem;
}

[data-bs-theme="dark"] .nav-link {
  color: #F2F2F2 !important;
}

.nav-link:hover,
.nav-link.active,
[data-bs-theme="dark"] .nav-link:hover,
[data-bs-theme="dark"] .nav-link.active {
  color: #E94A1F !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #E94A1F;
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Hero Section - Mist Grey Image Overlay */
.hero-section {
  padding: 140px 0 110px 0;
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(105deg, rgba(242, 242, 242, 0.94) 0%, rgba(242, 242, 242, 0.86) 55%, rgba(242, 242, 242, 0.62) 100%),
              url('../images/herobackground.jpg') center right / cover no-repeat !important;
}

.hero-section::before {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 3.5rem;
  line-height: 1.15;
  color: #0D0D0D !important;
  margin-bottom: 1.75rem;
  letter-spacing: -0.01em;
}

.hero-title--compact {
  font-size: 3.25rem;
}

@media (max-width: 768px) {
  .hero-section {
    padding: 100px 0 60px 0;
    min-height: auto;
  }
  .hero-title, .hero-title--compact {
    font-size: 2.125rem;
  }
}

.hero-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1.1875rem;
  line-height: 1.6;
  color: #2A2A2A !important;
  max-width: 680px;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 4rem;
}

.hero-stat {
  text-align: left;
}

.hero-stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-color);
  line-height: 1;
}

.hero-stat-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.5rem;
}

/* Services Section */
.services-section {
  padding: 6rem 0;
  background: var(--light-color);
}

.service-card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  height: 100%;
  border: 1px solid transparent;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--secondary-color);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient-primary);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-icon i {
  color: var(--white-fixed);
  font-size: 1.75rem;
}

.service-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--dark-color);
  font-weight: 700;
}

.service-description {
  color: var(--text-light);
  margin-bottom: 0;
  font-size: 0.9375rem;
}

/* Featured Insights Section */
.insights-section {
  padding: 140px 0 110px 0;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--white);
  transition: var(--transition);
}


[data-bs-theme="dark"] .insights-section {
  background: #141414 !important;
}

.insight-card {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  height: 100%;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
}

.insight-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--secondary-color);
}

.insight-image {
  height: 220px;
  overflow: hidden;
}

.insight-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.insight-card:hover .insight-image img {
  transform: scale(1.05);
}

.insight-content {
  padding: 1.5rem;
  flex: 1;
  position: relative;
  z-index: 1;
  transition: color 0.4s ease;
  border-radius: 0 0 var(--border-radius) var(--border-radius);
  overflow: hidden;
}

/* Circular Reveal Overlay (Contact Style) */
.insight-content::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-reveal);
  z-index: -1;
  clip-path: circle(0% at 100% 100%);
  transition: clip-path 0.9s cubic-bezier(0.25, 1, 0.5, 1);
}

.insight-card:hover .insight-content::before {
  clip-path: circle(150% at 100% 100%);
}

.insight-card:hover .insight-content {
  color: var(--white);
}

.insight-card:hover .insight-category {
  background: rgba(255,255,255,0.15);
  color: var(--white);
}

.insight-card:hover .insight-title {
  color: var(--white);
}

.insight-card:hover .insight-excerpt {
  color: rgba(255,255,255,0.8);
}

.insight-card:hover .insight-meta,
.insight-card:hover .insight-meta i {
  color: rgba(255, 255, 255, 0.7) !important;
}

.insight-card:hover .insight-link {
  color: var(--accent-color) !important;
  font-weight: 600;
}

.insight-category {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: var(--light-color);
  color: var(--primary-color);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 20px;
  margin-bottom: 1rem;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.insight-title {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  color: var(--dark-color);
  line-height: 1.4;
  font-weight: 700;
}

.insight-excerpt {
  color: var(--text-light);
  font-size: 0.9375rem;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.insight-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.875rem;
  color: var(--text-light);
}

.insight-meta i {
  margin-right: 0.35rem;
  color: var(--accent-color);
}

/* Interactive World Map & Track Record */
.world-map-section {
  padding: 4rem 0;
  background: var(--light-color);
  position: relative;
  overflow: hidden;
}

.world-map-section.pt-0 {
  padding-top: 0 !important;
}

.map-wrapper {
  position: relative;
  background: #FFFFFF;
  border-radius: 0 !important;
  padding: 16px;
  box-shadow: var(--shadow-sm);
  border: 1px solid #E6E6E6;
}

[data-bs-theme="dark"] .map-wrapper {
  background: #0D0D0D;
  border-color: #2A2A2A;
}

#world-map-svg {
  width: 100%;
  height: auto;
  display: block;
}

.country-path {
  fill: #E2E8F0;
  stroke: #FFFFFF;
  stroke-width: 0.75;
  transition: all 0.25s ease;
  cursor: pointer;
  opacity: 0.9;
}

[data-bs-theme="dark"] .country-path {
  fill: #1F2937;
  stroke: #0D0D0D;
}

.country-path:hover {
  fill: #CBD5E1;
  opacity: 1;
}

.country-path.active {
  fill: #E94A1F !important;
  stroke: #FFFFFF !important;
  stroke-width: 1;
  opacity: 1;
}

.country-path.active:hover {
  fill: #D13910 !important;
  filter: drop-shadow(0 2px 8px rgba(233, 74, 31, 0.4));
}

.map-dot {
  cursor: pointer;
}

.map-dot circle.main-dot {
  fill: var(--accent-color);
}

.map-dot circle.pulse {
  stroke: var(--accent-color);
  animation: mapPulse 2s infinite;
  transform-origin: center;
}

@keyframes mapPulse {
  0% { r: 3; opacity: 0.8; }
  70% { r: 12; opacity: 0; }
  100% { r: 3; opacity: 0; }
}

#map-tooltip {
  position: fixed;
  background: var(--dark-color);
  color: var(--white);
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 8px 16px;
  border-radius: 6px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.1s ease;
  z-index: 10000;
  white-space: nowrap;
  box-shadow: var(--shadow-lg);
}

#map-tooltip.show {
  opacity: 1;
}

.bracket-card {
  position: relative;
  padding: 3rem 2.5rem;
  background: var(--white);
}

.bracket-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 60px;
  background: var(--accent-color);
}

.bracket-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 60px; height: 4px;
  background: var(--accent-color);
}

.bracket-corner-br {
  position: absolute;
  bottom: 0; right: 0;
  width: 60px; height: 60px;
  border-bottom: 4px solid var(--primary-color);
  border-right: 4px solid var(--primary-color);
}

.intro-text {
  font-size: 1.1rem;
  color: var(--text-color);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.track-record-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.track-record-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.4;
  font-weight: 400;
}

.track-record-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: 700;
}

.stat-line {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.5;
  transition: color 0.3s ease;
}

.stat-line:hover {
  color: var(--dark-color);
}

.stat-line .stat-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-color);
  flex-shrink: 0;
  margin-top: 8px;
}

.stat-line strong {
  color: var(--primary-color);
  font-weight: 700;
}

.about-section {
  padding: 140px 0 110px 0;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.about-content,
.about-image{
    height:100%;
}

.about-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

/* Stats Section */
.stats-section {
  padding: 5rem 0;
  background: var(--gradient-primary);
  position: relative;
}

.stat-card {
  text-align: center;
  padding: 2rem;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.stat-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* CTA Section - White background with Signal Orange accent button */
.cta-section {
  padding: 4.5rem 0;
  background: #FFFFFF !important;
  border-top: 1px solid #E6E6E6;
  border-bottom: 1px solid #E6E6E6;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.cta-section .container {
  position: relative;
  z-index: 10;
}

.cta-title {
  font-family: 'Sora', sans-serif;
  font-size: 2.25rem;
  color: #0D0D0D !important;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.cta-subtitle {
  font-family: 'Inter', sans-serif;
  color: #2A2A2A !important;
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0;
}

[data-bs-theme="dark"] .cta-section {
  background: #111111 !important;
  border-top: 1px solid #2A2A2A !important;
  border-bottom: 1px solid #2A2A2A !important;
}

[data-bs-theme="dark"] .cta-title {
  color: #FFFFFF !important;
}

[data-bs-theme="dark"] .cta-subtitle {
  color: #cbd5e1 !important;
}

.cta-section .btn,
.cta-btn {
  background: #E94A1F !important;
  color: #FFFFFF !important;
  border: none !important;
  border-radius: 0 !important;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  padding: 16px 36px;
  transition: var(--transition);
}

.cta-section .btn:hover,
.cta-btn:hover {
  background: #D13910 !important;
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(233, 74, 31, 0.25);
}

/* Footer Section - Ink Black (#0D0D0D) */
.footer {
  background: #0D0D0D !important;
  color: #F2F2F2 !important;
  padding: 5rem 0 2rem 0;
  border-top: none;
}

.footer-brand {
  margin-bottom: 1.5rem;
}

.footer-description {
  font-family: 'Inter', sans-serif;
  color: #A0A0A0 !important;
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-title {
  font-family: 'Sora', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: #FFFFFF !important;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  font-family: 'Inter', sans-serif;
  color: #A0A0A0 !important;
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.9375rem;
}

.footer-links a:hover {
  color: #E94A1F !important;
  padding-left: 4px;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background: #1A1A1A;
  color: #FFFFFF !important;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 !important;
  transition: var(--transition);
  text-decoration: none;
}

.social-link:hover {
  background: #E94A1F;
  color: #FFFFFF !important;
}

.newsletter-input {
  background: #1A1A1A !important;
  border: 1px solid #333333 !important;
  color: #FFFFFF !important;
  padding: 12px 16px;
  border-radius: 0 !important;
}

.newsletter-input:focus {
  border-color: #E94A1F !important;
  outline: none;
}

.newsletter-btn {
  background: #E94A1F !important;
  color: #FFFFFF !important;
  border: none !important;
  padding: 12px 24px;
  font-weight: 600;
  border-radius: 0 !important;
  transition: var(--transition);
  margin-top: 12px;
}

.newsletter-btn:hover {
  background: #D13910 !important;
}

.footer-bottom {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid #1A1A1A;
  color: #888888;
  font-size: 0.875rem;
}

/* Services - 3 Main Categories */
.services-main-section {
  padding: 5rem 0;
  background: var(--white);
}

.service-category {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 2rem;
  height: 100%;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.service-category:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.service-category-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.service-subcategory {
  margin-bottom: 1.5rem;
}

.service-subcategory-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.service-subcategory-number {
  width: 28px;
  height: 28px;
  background: var(--primary-color);
  color: var(--white-fixed);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.service-subcategory-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark-color);
  margin: 0;
}

.service-subcategory ul {
  list-style: none;
  padding: 0;
  margin: 0 0 0 2.5rem;
}

.service-subcategory li {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 0.35rem;
  position: relative;
  padding-left: 0.75rem;
}

.service-subcategory li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary-color);
}

.service-subcategory li.sub-item {
  padding-left: 1.5rem;
  font-size: 0.8125rem;
}

.service-subcategory li.sub-item::before {
  content: '◦';
}

.service-note {
  font-size: 0.75rem;
  color: var(--text-light);
  font-style: italic;
  margin-top: 1rem;
  text-align: right;
}



/* Page Header */
.page-header {
  padding: 8rem 0 4rem;
  background: var(--gradient-primary);
  position: relative;
}

.page-title {
  font-size: 3rem;
  color: var(--white-fixed);
  margin-bottom: 1rem;
  font-weight: 800;
}

.page-breadcrumb {
  color: rgba(255, 255, 255, 0.6);
}

.page-breadcrumb a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
}

.page-breadcrumb a:hover {
  color: var(--accent-color);
}

/* Mission Section */
.mission-section {
  padding: 5rem 0;
  background: var(--light-color);
}

.mission-card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  height: 100%;
  border: 1px solid var(--border-color);
}
 
.mission-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient-primary);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}
 
.mission-icon i {
  color: var(--white-fixed);
  font-size: 1.75rem;
}
 
/* Team Section */
.team-section {
  padding: 5rem 0;
  background: var(--white);
}
 
.team-card {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.team-image {
  width: 100%;
  height: 280px;
  overflow: hidden;
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-card:hover .team-image img {
  transform: scale(1.05);
}

.team-info {
  padding: 1.5rem;
  text-align: center;
}

.team-name {
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
  font-weight: 700;
}

.team-role {
  color: var(--text-light);
  font-size: 0.875rem;
}

/* Process Section */
.process-section {
  padding: 5rem 0;
  background: var(--light-color);
}

.process-step {
  text-align: center;
  position: relative;
}

.process-step-number {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white-fixed);
  margin: 0 auto 1.5rem;
}

/* Contact Page */
.contact-section {
  padding: 0rem 0;
  background: var(--white);
}

.contact-info-card {
  perspective: none; /* Chill on the 3D */
  background: transparent;
  border: none;
  padding: 0;
  height: 100%;
  cursor: pointer;
}

.contact-card-inner {
  position: relative;
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 1.25rem 1.25rem;
  color: var(--text-color);
  height: 100%;
  border: 0.51px solid rgba(0,0,0,0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  z-index: 1;
}

/* Contact Card Corner Reveal (Inspired by Bottom-Right to Top-Left Flip) */
.contact-card-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-reveal);
  z-index: -1;
  /* Mathematically anchored at bottom-right for 100% gapless coverage */
  clip-path: circle(0% at 100% 100%);
  transition: clip-path 0.9s cubic-bezier(0.25, 1, 0.5, 1);
}

.contact-info-card:hover .contact-card-inner::before {
  clip-path: circle(150% at 100% 100%);
}

.contact-info-card:hover .contact-card-inner {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
  border-color: var(--primary-color);
}

/* Content Transitions */
.contact-card-inner > * {
  position: relative;
  z-index: 2;
  transition: all 0.4s ease;
}

.contact-info-card:hover .contact-card-inner {
  color: var(--white) !important;
}

.contact-info-card:hover .contact-info-title {
  color: var(--white);
}

.contact-info-card:hover p {
  color: rgba(255, 255, 255, 0.9) !important;
}

.contact-info-card i {
  color: var(--accent-color);
}

.contact-info-card:hover i {
  color: var(--white) !important;
  transform: translateY(-3px);
}

.contact-info-title {
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  color: var(--dark-color);
  font-weight: 700;
}

.contact-card-inner p {
  font-size: 1rem;
  word-wrap: break-word;
}

.contact-card-inner.centered {
  align-items: center;
  text-align: center;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info-item i {
  color: var(--accent-color);
  font-size: 1.25rem;
  margin-top: 0.25rem;
}

.office-section {
  padding: 5rem 0;
  background: var(--light-color);
}

.office-card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  height: 100%;
  transition: var(--transition);
  border: 1px solid var(--border-color);
}
 
.office-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
 
.office-flag {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}
 
.text-center .office-flag {
  margin-left: auto;
  margin-right: auto;
}
 
.office-flag i {
  color: var(--white-fixed);
  font-size: 1.25rem;
}
 
.office-name {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  font-weight: 700;
}
 
.office-address {
  color: var(--text-light);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
}
 
.text-center .office-address {
  justify-content: center;
}
 
/* Insights Page */
.insights-hero {
  padding: 6rem 0;
  background: var(--light-color);
}
 
.insights-grid {
  padding: 4rem 0;
  background: var(--white);
}
 
.insight-featured {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.insight-featured .insight-image {
  height: 400px;
}

.insight-featured .insight-content {
  padding: 2.5rem;
}

.insight-featured .insight-title {
  font-size: 1.75rem;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeInUp {
  animation: fadeInUp 0.6s ease forwards;
}

/* Responsive */
@media (max-width: 991px) {
  .hero-title {
    font-size: 2.75rem;
  }
  
  .hero-section {
    background: linear-gradient(to bottom, rgba(26,54,93,0.85) 0%, rgba(26,54,93,0.95) 100%),
                url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1920&q=80') center/cover no-repeat;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero-stats {
    gap: 2rem;
  }
  
  .navbar-collapse {
    background: var(--navbar-bg);
    padding: 1rem;
    border-radius: 12px;
    margin-top: 1rem;
  }
  
  .navbar-collapse .nav-link {
    color: var(--dark-color) !important;
  }

  .hero-title--compact {
    font-size: 2.25rem;
  }
}

@media (max-width: 767px) {
  .hero-title {
    font-size: 2.25rem;
  }

  .hero-title--compact {
    font-size: 1.75rem;
  }
  
  .hero-stats {
    flex-wrap: wrap;
    gap: 1.5rem;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .process-step h4 {
    font-size: 0.95rem;
  }

  /* Track Record Bracket Card Mobile Adjustments */
  .bracket-card {
    padding: 2.5rem 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.08);
  }
  .bracket-card::before, 
  .bracket-card::after, 
  .bracket-corner-br {
    display: none;
  }
}

/* Insight Link */
.insight-link {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: var(--transition);
}

.insight-link:hover {
  color: var(--accent-color);
}

.insight-link i {
  transition: transform 0.3s ease;
}

.insight-link:hover i {
  transform: translateX(4px);
}

.insight-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.insight-link {
  margin-top: auto;
}

/* Savitec IT Gold Button */
.btn-outline-alizeti {
  border: 1px solid var(--accent-color);
  color: var(--accent-color);
  background: transparent;
  padding: 0.35rem 0.85rem;
  font-size: 0.8rem;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  text-decoration: none;
}

.btn-outline-alizeti:hover {
  background: var(--accent-color);
  color: var(--dark-color);
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

/* Competency Accordion Styling */
.competency-accordion .accordion-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.competency-accordion .accordion-item:last-child {
  border-bottom: none;
}

.competency-accordion .accordion-button {
  background: transparent;
  box-shadow: none;
  padding: 1rem 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--dark-color);
  border-radius: 0;
  transition: var(--transition);
}

.competency-accordion .accordion-button:not(.collapsed) {
  background: transparent;
  color: var(--primary-color);
  box-shadow: none;
}

.competency-accordion .accordion-button::after {
  background-size: 0.9rem;
  width: 0.9rem;
  height: 0.9rem;
}

.competency-accordion .accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}

.competency-accordion .accordion-body {
  padding: 0 0.5rem 1rem 2.5rem;
}

.competency-accordion .accordion-body ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.competency-accordion .accordion-body li {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 0.4rem;
  position: relative;
  padding-left: 0.75rem;
  transition: color 0.2s ease;
}

.competency-accordion .accordion-body li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary-color);
}

.competency-accordion .accordion-body li:hover {
  color: var(--dark-color);
}

.competency-accordion .accordion-body li.sub-item {
  padding-left: 1.5rem;
  font-size: 0.8125rem;
}

.competency-accordion .accordion-body li.sub-item::before {
  content: '◦';
}

.competency-accordion .service-subcategory-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* Accordion open animation */
.competency-accordion .accordion-collapse {
  transition: height 0.35s ease;
}

/* Utility Classes */
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-gradient {
  background: var(--gradient-primary);
}

.section-padding {
  padding: 6rem 0;
}

/* Breadcrumb Styling */
.breadcrumb-item.active {
  color: var(--accent-color) !important;
  font-weight: 600;
}

/* Gold Breadcrumb Separator (/) */
.breadcrumb-item + .breadcrumb-item::before {
  color: var(--accent-color) !important;
  opacity: 0.8;
}

.page-breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
}

.page-breadcrumb a:hover {
  color: var(--white);
  text-decoration: underline;
}

/* New Competency Grid Styling (Market Access Africa Inspired) */
.competency-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  gap: 2rem;
  margin-top: 3rem;
}

.competency-card {
  padding: 0 2rem 5rem 2rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  position: relative;
  text-decoration: none !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 450px;
  overflow: hidden;
  z-index: 1;
}

.competency-icon-container {
  width: calc(100% + 4rem);  /* cancels the 2rem left + 2rem right padding */
  margin-left: -2rem;
  margin-right: -2rem;
  height: auto;              /* Let aspect-ratio define the height */
  aspect-ratio: 1 / 1;       /* Perfectly matches the 1:1 ratio of your images */
  margin-bottom: 2.5rem;
  margin-top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease;
  overflow: hidden; /* clips the image cleanly to this box */
}

.competency-icon-container img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  object-fit: cover; /* Since both container and image are 1:1, cover fits perfectly without zoom/crop */
}


.competency-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-reveal);
  z-index: -1;
  clip-path: circle(0% at 100% 100%);
  transition: clip-path 0.9s cubic-bezier(0.25, 1, 0.5, 1);
}

.competency-card > * {
  position: relative;
  z-index: 2;
}

.competency-card .competency-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 1.5rem;
  transition: color 0.3s ease;
}

.competency-card .competency-summary {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.7;
  max-width: 320px;
  margin: 0 auto;
  transition: color 0.3s ease;
}

/* Hover State */
.competency-card:hover::before {
  clip-path: circle(150% at 100% 100%);
}

.competency-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
  border-color: var(--primary-color);
}

.competency-card:hover .competency-title {
  color: var(--white);
}

.competency-card:hover .competency-summary {
  color: rgba(255, 255, 255, 0.9);
}

.competency-card:hover .competency-icon-container {
  transform: scale(1.1);
}

.competency-card:hover .competency-icon-container svg path {
    fill: var(--white) !important;
    opacity: 1 !important;
}

/* Active State for Mobile Touch */
.competency-card:active::before {
  clip-path: circle(150% at 100% 100%);
  transition: clip-path 0.3s ease;
}

.competency-card:active .competency-title {
  color: var(--white);
}

.competency-card:active .competency-summary {
  color: rgba(255, 255, 255, 0.9);
}

.competency-card:active .competency-icon-container svg path {
  fill: var(--white) !important;
  opacity: 1 !important;
}

/* Responsive */
@media (max-width: 991px) {
  .competency-grid {
    grid-template-columns: 1fr;
  }
  .competency-card {
    min-height: auto;
    padding: 0 1.5rem 2.5rem 1.5rem;
  }
  .competency-icon-container {
    width: calc(100% + 3rem);
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    height: auto;
    aspect-ratio: 1 / 1;
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 767px) {
  /* Full-width Hero Buttons */
  .hero-section .d-flex.gap-3.flex-wrap {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-section .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }
  
  .competency-card .competency-title {
    font-size: 1.25rem;
  }
}

/* Universal Dark Mode Card Hover Rules (Option 1: Charcoal + Signal Orange Highlight & Glow) */
[data-bs-theme="dark"] .competency-card,
[data-bs-theme="dark"] .insight-card,
[data-bs-theme="dark"] .service-card,
[data-bs-theme="dark"] .approach-card,
[data-bs-theme="dark"] .team-card,
[data-bs-theme="dark"] .value-card,
[data-bs-theme="dark"] .contact-info-card {
  background: #161616 !important;
  border: 1px solid #2A2A2A !important;
}

[data-bs-theme="dark"] .competency-card::before,
[data-bs-theme="dark"] .insight-card::before,
[data-bs-theme="dark"] .service-card::before,
[data-bs-theme="dark"] .approach-card::before,
[data-bs-theme="dark"] .team-card::before,
[data-bs-theme="dark"] .value-card::before,
[data-bs-theme="dark"] .contact-info-card::before {
  display: none !important;
}

[data-bs-theme="dark"] .competency-card:hover,
[data-bs-theme="dark"] .insight-card:hover,
[data-bs-theme="dark"] .service-card:hover,
[data-bs-theme="dark"] .approach-card:hover,
[data-bs-theme="dark"] .team-card:hover,
[data-bs-theme="dark"] .value-card:hover,
[data-bs-theme="dark"] .contact-info-card:hover {
  background: #222222 !important;
  border-color: #E94A1F !important;
  transform: translateY(-6px) !important;
  box-shadow: 0 14px 30px rgba(233, 74, 31, 0.25) !important;
}

[data-bs-theme="dark"] .competency-card:hover .competency-title,
[data-bs-theme="dark"] .competency-card:hover h3,
[data-bs-theme="dark"] .competency-card:hover h4,
[data-bs-theme="dark"] .insight-card:hover .insight-title,
[data-bs-theme="dark"] .insight-card:hover h3,
[data-bs-theme="dark"] .service-card:hover h3,
[data-bs-theme="dark"] .approach-card:hover h4,
[data-bs-theme="dark"] .contact-info-card:hover .contact-info-title,
[data-bs-theme="dark"] .contact-info-card:hover h3 {
  color: #E94A1F !important;
}

[data-bs-theme="dark"] .competency-card:hover p,
[data-bs-theme="dark"] .insight-card:hover p,
[data-bs-theme="dark"] .service-card:hover p,
[data-bs-theme="dark"] .approach-card:hover p,
[data-bs-theme="dark"] .contact-info-card:hover p {
  color: #FFFFFF !important;
}




/* ==========================================
   FAQ Section
   ========================================== */

.faq-section {
  padding: 5rem 0;
  background: var(--white);
}

[data-bs-theme="dark"] .faq-section {
  background: #0D0D0D;
}

/* FAQ Accordion */
.faq-accordion .accordion-item {
  background: var(--white);
  border: 1px solid var(--border-color) !important;
  border-radius: 0 !important;
  overflow: hidden;
  margin-bottom: 1rem;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.faq-accordion .accordion-item:last-child {
  margin-bottom: 0;
}

.faq-accordion .accordion-item:hover {
  border-color: var(--accent-color) !important;
}

/* Question */
.faq-accordion .accordion-button {
  background: var(--white) !important;
  color: var(--dark-color) !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 1.25rem 1.5rem;
}

.faq-accordion .accordion-button.collapsed {
  color: var(--dark-color) !important;
}

.faq-accordion .accordion-button:not(.collapsed) {
  background: var(--light-color) !important;
  color: var(--accent-color) !important;
  box-shadow: none !important;
}

.faq-accordion .accordion-button:focus {
  box-shadow: none !important;
  border-color: var(--border-color) !important;
}

.faq-accordion .accordion-button::after {
  filter: none;
  transition: transform .2s ease;
}

/* Insights Page */
.insights-page {
  padding: 8rem 0 4rem;
}

/* Answer */
.faq-accordion .accordion-body {
  background: var(--white);
  color: var(--text-color);
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  line-height: 1.7;
  padding: 0 1.5rem 1.5rem;
}

/* ---------------- Dark Mode ---------------- */

[data-bs-theme="dark"] .faq-accordion .accordion-item {
  background: #161616;
  border-color: #2A2A2A !important;
}

[data-bs-theme="dark"] .faq-accordion .accordion-item:hover {
  border-color: var(--accent-color) !important;
}

[data-bs-theme="dark"] .faq-accordion .accordion-button {
  background: #161616 !important;
  color: #F2F2F2 !important;
}

[data-bs-theme="dark"] .faq-accordion .accordion-button.collapsed {
  background: #161616 !important;
  color: #F2F2F2 !important;
}

[data-bs-theme="dark"] .faq-accordion .accordion-button:not(.collapsed) {
  background: #1E1E1E !important;
  color: var(--accent-color) !important;
}

[data-bs-theme="dark"] .faq-accordion .accordion-body {
  background: #1E1E1E;
  color: #F2F2F2 !important;
}

[data-bs-theme="dark"] .faq-accordion .accordion-body p,
[data-bs-theme="dark"] .faq-accordion .accordion-body span,
[data-bs-theme="dark"] .faq-accordion .accordion-body li {
  color: #cbd5e1 !important;
}

[data-bs-theme="dark"] .faq-accordion .accordion-button::after {
  filter: brightness(0) invert(1);
}

.track-record-list strong {
    color: var(--accent-color);
}


/* Contact Section Overrides */
.contact-section {
  padding: 9rem 0 4rem;
  background: var(--light-color);
}

/* Contact Icons */
.contact-icon {
  font-size: 2.25rem;
  color: #E94A1F;
  transition: color 0.3s ease, transform 0.3s ease;
}

.contact-info-card:hover .contact-icon {
  color: #E94A1F !important;
  transform: translateY(-3px);
}

/* Contact Info Text */
.contact-info-text {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  line-height: 1.6;
  color: var(--text-color);
}

.contact-info-note {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  color: var(--text-light);
}

/* Contact Image Container */
.contact-image-container {
  min-height: 400px;
  height: 100%;
  border-radius: 0 !important;
  border: 1px solid var(--border-color);
}

/* Dark Mode Adjustments */
[data-bs-theme="dark"] .contact-info-text {
  color: #F2F2F2;
}

[data-bs-theme="dark"] .contact-info-note {
  color: #94a3b8;
}

[data-bs-theme="dark"] .contact-image-container {
  border-color: #2A2A2A;
}