html {
  scroll-behavior: smooth;
}

#our-focus,
#guiding-prin {
  scroll-margin-top: 80px; /* adjust to your navbar height */
}


/* ---- Base Styling ---- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #f6f7fb;
  color: #333;
  line-height: 1.6;
}




/* ---------- HERO SECTION ---------- */
.hero {
  position: relative;
  height: 620px; /* taller for strong visual impact */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -40px; /* lift section upwards */
}

.hero img.mainimg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.8);
  transition: transform 0.8s ease, filter 0.8s ease;
  will-change: transform;
}

.hero:hover img.mainimg {
  transform: scale(1.03);
  filter: brightness(0.75);
}

.hero-text {
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  opacity: 0;
  transform: translate(-50%, -40%) translateY(40px);
  animation: heroFadeIn 1.2s ease forwards;
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 14px;
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1.2;
  text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.7);
}

.hero-text p {
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  line-height: 1.5;
  text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.6);
}

/* ---------- Animation ---------- */
@keyframes heroFadeIn {
  0% {
    opacity: 0;
    transform: translate(-50%, -40%) translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -40%) translateY(0);
  }
}

/* ---------- RESPONSIVE ---------- */

/* Tablets */
@media (max-width: 900px) {
  .hero {
    height: 500px;
    margin-top: -20px;
  }

  .hero-text {
    top: 45%;
    padding: 0 20px;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }

  .hero-text p {
    font-size: 1.1rem;
  }
}

/* Mobile Phones */
@media (max-width: 480px) {
  .hero {
    height: 600px;
    margin-top: -49px;
  }

  .hero-text {
    max-width: 90%;
    top: 42%;
    padding: 0 10px;
  }

  .hero-text h1 {
    font-size: 1.8rem;
    margin-bottom: 10px;
  }

  .hero-text p {
    font-size: 1.3rem;
    line-height: 1.4;
    justify-content: center;
  }
}





/* ---------- MODERN INTEGRATED FOCUS SECTION (Black Boxes + White Text) ---------- */

/* Base Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f9fafb;
  color: #1f2937;
  line-height: 1.7;
  overflow-x: hidden;
}

/* Section Container */
.integrated-focus {
  background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 50%, #f1f1f1 100%);
  padding: 120px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Animated background elements */
.integrated-focus::before {
  content: "";
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(220, 38, 38, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(220, 38, 38, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(220, 38, 38, 0.04) 0%, transparent 50%);
  animation: pulseBackground 10s ease-in-out infinite;
  z-index: 1;
}

@keyframes pulseBackground {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

.integrated-focus .container {
  max-width: 1100px;
  width: 100%;
  text-align: center;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 70px 50px;
  border-radius: 28px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.05);
  animation: fadeUp 1s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
  opacity: 0;
  transform: translateY(50px);
  position: relative;
  z-index: 2;
}

/* Animated border gradient */
.integrated-focus .container::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 28px;
  padding: 2px;
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.4), rgba(255, 255, 255, 0.5), rgba(220, 38, 38, 0.4));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.6s ease;
  z-index: -1;
}

.integrated-focus .container:hover::before {
  opacity: 1;
}

/* Title */
.section-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 25px;
  background: linear-gradient(135deg, #dc2626, #f87171);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, #dc2626, #f87171);
  margin: 20px auto 0;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2);
  transform: scaleX(0);
  animation: expandLine 1s ease 0.8s forwards;
}

@keyframes expandLine {
  to { transform: scaleX(1); }
}

/* Subtitle */
.section-subtitle {
  font-size: 1.25rem;
  line-height: 1.8;
  color: #000000; /* Dark black */
  font-weight: 600; /* Makes it look bolder and richer */
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  animation: fadeInUp 1s ease 0.5s forwards;
}


.section-subtitle .highlight {
  font-weight: 700;
  background: linear-gradient(135deg, #dc2626, #f87171);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.section-subtitle .highlight::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #dc2626, #f87171);
  border-radius: 2px;
}

.section-subtitle .emphasis {
  font-style: italic;
  font-weight: 600;
  color: #b91c1c;
}

/* Focus List */
.focus-list {
  list-style: none;
  text-align: left;
  max-width: 850px;
  margin: 0 auto;
  opacity: 0;
  animation: fadeInUp 1s ease 0.7s forwards;
}

.focus-list li {
  position: relative;
  padding: 25px 25px 25px 70px;
  margin-bottom: 25px;
  font-size: 1.1rem;
  color: #ffffff;
  line-height: 1.7;
  transition: all 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
  background: #000000;
  border: 1px solid #222;
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  transform: translateX(-20px);
  opacity: 0;
  animation: listItemSlide 0.8s ease forwards;
}

.focus-list li:nth-child(1) { animation-delay: 0.9s; }
.focus-list li:nth-child(2) { animation-delay: 1.1s; }
.focus-list li:nth-child(3) { animation-delay: 1.3s; }

@keyframes listItemSlide {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.focus-list li:hover {
  transform: translateX(10px) translateY(-2px);
  background: #111111;
  border-color: #dc2626;
  box-shadow: 0 12px 24px rgba(220, 38, 38, 0.3);
  color: #fef2f2;
}

.focus-list .bullet {
  position: absolute;
  left: 25px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #dc2626, #f87171);
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.focus-list .bullet::before {
  content: "✔";
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: bold;
}

.focus-list li:hover .bullet {
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.5);
}

/* Animations */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* ---------- RESPONSIVE DESIGN ---------- */
@media (max-width: 900px) {
  .integrated-focus {
    padding: 80px 20px;
  }
  
  .integrated-focus .container {
    padding: 50px 35px;
  }

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

  .section-subtitle {
    font-size: 1.15rem;
  }
  
  .focus-list li {
    padding: 20px 20px 20px 60px;
    font-size: 1.05rem;
  }
  
  .focus-list .bullet {
    left: 20px;
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 480px) {
  .integrated-focus {
    padding: 60px 15px;
  }

  .integrated-focus .container {
    padding: 40px 25px;
    border-radius: 20px;
  }

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

  .section-subtitle {
    font-size: 1.05rem;
    margin-bottom: 35px;
  }

  .focus-list li {
    font-size: 1rem;
    padding: 18px 18px 18px 55px;
    margin-bottom: 20px;
  }

  .focus-list .bullet {
    width: 24px;
    height: 24px;
    left: 18px;
  }
  
  .focus-list .bullet::before {
    font-size: 0.8rem;
  }
}

@media (min-width: 1400px) {
  .integrated-focus .container {
    max-width: 1200px;
    padding: 80px 60px;
  }
  
  .section-title {
    font-size: 3.5rem;
  }
  
  .section-subtitle {
    font-size: 1.4rem;
  }
}








/* ---- Section Layout ---- */
.principles {
  padding: 60px 20px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.title {
  font-size: 2.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  color: #000000;
  animation: fadeDown 1s ease forwards;
}

.subtitle {
  font-size: 1.1rem;
  color: #000000;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.subtitle span {
  color: #b33a3a;
  font-weight: 600;
}

/* ---- Grid Cards ---- */
.grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.card {
  background: linear-gradient(135deg, #000000, #e63946, #000000);
  background-size: 300% 300%;
  animation: gradientMove 8s linear infinite;
  border-radius: 18px;
  padding: 30px 25px;
  box-shadow: 0 12px 25px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(40px);
  animation: slideUp 0.8s ease forwards, gradientMove 8s linear infinite;
}

/* Infinite smooth gradient animation */
@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

/* Existing slide up */
@keyframes slideUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}



.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.4s; }
.card:nth-child(4) { animation-delay: 0.6s; }
.card:nth-child(5) { animation-delay: 0.8s; }
.card:nth-child(6) { animation-delay: 1s; }

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 35px rgba(0,0,0,0.15);
}

/* Number Badge */
.number {
  position: absolute;
  top: -20px;
  left: -20px;
  background: #b33a3a;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  height: 45px;
  width: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.card h3 {
  margin: 20px 0 15px;
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
}

.card p {
  font-size: 0.95rem;
  color: #ffffff;
}

/* ---- Animations ---- */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

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









/* ===== Strategic Priorities (White Theme | Red & Black Cards) ===== */
.strategic-priorities {
  background: #ffffff;
  color: #1a1a1a;
  padding: 100px 20px;
  position: relative;
  overflow: hidden;
}

/* Soft floating radial gradient background */
.strategic-priorities::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: 
    radial-gradient(circle at 20% 80%, rgba(255, 0, 0, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(0, 0, 0, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(255, 100, 100, 0.03) 0%, transparent 50%);
  animation: floatBackground 15s ease-in-out infinite;
  z-index: 1;
}

@keyframes floatBackground {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-30px, -30px) rotate(180deg); }
}

.sp-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  text-align: center;
}

.sp-title {
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #000000 0%, #ff2d2d 50%, #b91c1c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
  animation: fadeSlideDown 1s ease 0.2s forwards;
}

.sp-subtitle {
  font-size: 1.3rem;
  color: #4b5563;
  margin-bottom: 80px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  opacity: 0;
  animation: fadeSlideDown 1s ease 0.4s forwards;
}

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

/* Modern Grid Layout */
.sp-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

/* Red-Black Glassmorphism Cards */
.sp-card {
  background: rgba(255, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 24px;
  padding: 50px 35px;
  text-align: left;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 
    0 8px 24px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: translateY(50px) scale(0.95);
  opacity: 0;
  animation: spFadeUp 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.sp-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 0, 0, 0.08), transparent);
  transition: left 0.6s ease;
}

.sp-card:nth-child(1) { animation-delay: 0.3s; }
.sp-card:nth-child(2) { animation-delay: 0.4s; }
.sp-card:nth-child(3) { animation-delay: 0.5s; }
.sp-card:nth-child(4) { animation-delay: 0.6s; }
.sp-card:nth-child(5) { animation-delay: 0.7s; }

@keyframes spFadeUp {
  from { 
    opacity: 0; 
    transform: translateY(50px) scale(0.95);
  }
  to { 
    opacity: 1; 
    transform: translateY(0) scale(1);
  }
}

.sp-card h2 {
  font-size: 3rem;
  font-weight: 900;
  background: linear-gradient(135deg, #ff2d2d 0%, #000000 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  line-height: 1;
}

.sp-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #111111;
  letter-spacing: -0.01em;
}

.sp-card p,
.sp-card ul {
  font-size: 1rem;
  color: #4b5563;
  line-height: 1.7;
}

.sp-card ul {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.sp-card ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.sp-card ul li::before {
  content: "▸";
  position: absolute;
  left: 0;
  top: 0;
  color: #b91c1c;
  font-size: 1.1rem;
  font-weight: 700;
  transition: all 0.3s ease;
}

/* Hover Effects */
.sp-card:hover {
  transform: translateY(-8px) scale(1.02);
  background: rgba(255, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.15);
  box-shadow: 
    0 20px 40px rgba(185, 28, 28, 0.15),
    0 8px 32px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.sp-card:hover::before {
  left: 100%;
}

.sp-card:hover ul li::before {
  color: #ff2d2d;
  transform: translateX(3px);
}

.sp-card:hover ul li {
  color: #111111;
}

/* Responsive Design */
@media (max-width: 768px) {
  .strategic-priorities {
    padding: 60px 20px;
  }
  
  .sp-title {
    font-size: 2.5rem;
  }
  
  .sp-subtitle {
    font-size: 1.1rem;
    margin-bottom: 50px;
  }
  
  .sp-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .sp-card {
    padding: 35px 25px;
  }
  
  .sp-card h2 {
    font-size: 2.5rem;
  }
  
  .sp-card h3 {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .sp-title {
    font-size: 2rem;
  }
  
  .sp-card {
    padding: 30px 20px;
  }
  
  .sp-card h2 {
    font-size: 2rem;
  }
}







/* ===== Modes of Intervention (White Theme) ===== */
.modes-intervention {
  background: #ffffff;
  padding: 100px 20px;
  position: relative;
  overflow: hidden;
}

/* Subtle background accents */
.modes-intervention::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 0, 0, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(0, 0, 0, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(255, 100, 100, 0.03) 0%, transparent 50%);
  animation: pulseBackground 10s ease-in-out infinite;
  z-index: 1;
}

@keyframes pulseBackground {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.85; }
}

.modes-intervention .mi-container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  padding: 60px 40px;
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.modes-intervention .mi-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #000000 0%, #ff2d2d 50%, #b91c1c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
  display: inline-block;
}

.modes-intervention .mi-title::after {
  content: '';
  display: block;
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, #b91c1c, #ff5252);
  margin: 20px auto 0;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
  transform: scaleX(0);
  transition: transform 0.8s ease 0.3s;
  transform-origin: center;
}

.modes-intervention .mi-subtitle {
  font-size: 1.3rem;
  color: #4b5563;
  margin-bottom: 60px;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease 0.2s;
}

.modes-intervention .mi-content {
  background: rgba(255, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 20px;
  padding: 50px 40px;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease 0.4s;
}

.modes-intervention .mi-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: center;
  margin-bottom: 25px;
  color: #374151;
}

.modes-intervention .mi-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease 0.6s;
}

.modes-intervention .mi-list li {
  position: relative;
  font-size: 1.1rem;
  padding: 25px 25px 25px 65px;
  background: rgba(255, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 16px;
  color: #1f2937;
  transition: all 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.modes-intervention .mi-list li::before {
  content: '▶';
  position: absolute;
  left: 25px;
  top: 50%;
  transform: translateY(-50%);
  color: #b91c1c;
  font-weight: bold;
  font-size: 1.2rem;
  width: 32px;
  height: 32px;
  background: rgba(185, 28, 28, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.modes-intervention .mi-list li:hover {
  transform: translateY(-5px);
  background: rgba(185, 28, 28, 0.06);
  border-color: rgba(185, 28, 28, 0.25);
  box-shadow:
    0 12px 24px rgba(185, 28, 28, 0.15),
    0 8px 20px rgba(0, 0, 0, 0.08);
  color: #000000;
}

.modes-intervention .mi-list li:hover::before {
  background: rgba(185, 28, 28, 0.2);
  color: #ff2d2d;
  transform: translateY(-50%) scale(1.1);
}

/* === Scroll Active State === */
.modes-intervention.active .mi-container,
.modes-intervention.active .mi-subtitle,
.modes-intervention.active .mi-content,
.modes-intervention.active .mi-list {
  opacity: 1;
  transform: translateY(0);
}

.modes-intervention.active .mi-title::after {
  transform: scaleX(1);
}

/* Responsive */
@media (max-width: 768px) {
  .modes-intervention {
    padding: 60px 20px;
  }
  
  .modes-intervention .mi-container {
    padding: 40px 20px;
  }
  
  .modes-intervention .mi-title {
    font-size: 2.5rem;
  }
  
  .modes-intervention .mi-subtitle {
    font-size: 1.1rem;
    margin-bottom: 40px;
  }
  
  .modes-intervention .mi-content {
    padding: 35px 25px;
  }
  
  .modes-intervention .mi-list {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .modes-intervention .mi-list li {
    padding: 20px 20px 20px 55px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .modes-intervention .mi-title {
    font-size: 2rem;
  }
  
  .modes-intervention .mi-content {
    padding: 25px 20px;
  }
  
  .modes-intervention .mi-list li {
    padding: 18px 18px 18px 50px;
  }
  
  .modes-intervention .mi-list li::before {
    left: 18px;
    width: 28px;
    height: 28px;
    font-size: 1.1rem;
  }
}






/* ===== Sector Priorities (White Background + Black Cards) ===== */
.sector-priorities {
  background: #ffffff;
  padding: 100px 20px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* Floating red orbs for subtle background decoration */
.sector-priorities::before,
.sector-priorities::after {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(80px);
  animation: float 15s ease-in-out infinite alternate;
  z-index: 0;
}

.sector-priorities::before { top: -200px; left: -200px; }
.sector-priorities::after { bottom: -200px; right: -200px; animation-delay: 3s; }

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
  33% { transform: translate(30px, -40px) scale(1.1) rotate(120deg); }
  66% { transform: translate(-20px, 30px) scale(0.9) rotate(240deg); }
}

/* Container */
.spx-container {
  max-width: 1300px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

/* ===== Titles ===== */
.spx-title {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 30px;
  background: linear-gradient(135deg, #b91c1c, #dc2626, #ef4444);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0;
  transform: translateY(-30px);
  transition: all 0.8s ease;
}

.spx-title.active {
  opacity: 1;
  transform: translateY(0);
}

.spx-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, #dc2626, #f87171);
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.spx-subtitle {
  max-width: 700px;
  margin: 0 auto 80px;
  font-size: 1.3rem;
  color: #4b5563;
  line-height: 1.7;
  opacity: 0;
  transform: translateY(-30px);
  transition: all 0.8s ease 0.2s;
}

.spx-subtitle.active {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Grid Layout ===== */
.spx-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 30px;
  align-items: stretch;
}

/* ===== Black Cards with White Content ===== */
.spx-card {
  background: #0a0a0a;
  color: #ffffff;
  border-radius: 24px;
  padding: 50px 35px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(60px) scale(0.95);
  transition: all 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.spx-card.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.spx-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 45px rgba(220, 38, 38, 0.2);
}

/* Card Heading */
.spx-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 25px;
  color: #ffffff;
  position: relative;
  padding-bottom: 12px;
}

.spx-card h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #dc2626, #f87171);
  border-radius: 2px;
  transition: width 0.4s ease;
}

.spx-card:hover h3::after {
  width: 80px;
}

/* Card List */
.spx-card ul {
  list-style: none;
  text-align: left;
  font-size: 1.05rem;
}

.spx-card ul li {
  margin-bottom: 18px;
  padding-left: 35px;
  position: relative;
  color: #e5e7eb;
  transition: all 0.3s ease;
  line-height: 1.6;
}

.spx-card ul li::before {
  content: "▶";
  position: absolute;
  left: 0;
  top: 2px;
  color: #ef4444;
  font-size: 1rem;
}

.spx-card ul li:hover {
  color: #ffffff;
  transform: translateX(8px);
}

/* Responsive */
@media (max-width: 768px) {
  .sector-priorities { padding: 60px 20px; }
  .spx-title { font-size: 2.5rem; }
  .spx-subtitle { font-size: 1.1rem; margin-bottom: 50px; }
  .spx-card { padding: 35px 25px; }
}
@media (max-width: 480px) {
  .spx-title { font-size: 2rem; }
  .spx-card { padding: 30px 20px; }
}
