@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Geist:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800;900&display=swap');

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

/* @import "tailwindcss";
@config "./tailwind.config.js"; */

@layer base {
  :root {
    --primary: #000000;
    --secondary: #666666;
    --accent: #00ff0026;
  }

  body {
    font-family: "Geist", sans-serif;
    color: #000000;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  h1,
  h2,
  h3,
  h4 {
    font-family: "Inter", sans-serif;
  }

  .container {
    max-width: 1200px !important;
    margin: 0 auto !important;
  }
}

@layer components {
  .glass {
    @apply bg-white/70 backdrop-blur-md border border-white/20;
  }
}


@layer components {
  .glass {
    @apply bg-white/70 backdrop-blur-md border border-white/20;
  }
}


/* .glass logic moved to @layer components */

.text-balance {
  text-wrap: balance;
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-bg {
  background: radial-gradient(circle at 50% -35%,
      #ffffff 0%,
      #f6fbf9 45%,
      #eaf5f1 75%,
      #ddeee7 100%);
  /* background: radial-gradient(circle at center,
      #ffffff 0%,
      #f6fbf9 40%,
      #eaf5f1 70%,
      #ddeee7 100%); */

}

.mouse-gradient {
  background: radial-gradient(circle,
      #00ff0026 0%,
      transparent 70%);
}

.particle {
  animation: particle-fade 1s ease-out forwards;
}

@keyframes particle-fade {
  0% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1);
  }

  100% {
    opacity: 1;
    transform: translate(-50%, -50%) translate(var(--tw-translate-x, 0), var(--tw-translate-y, -50px)) scale(0);
  }
}

.mobile-menu {
  display: none;
}

.mobile-menu.open {
  display: block;
}

.floating-ui {
  background:
    color-mix(in oklab, #fff 50%, transparent);
  backdrop-filter: blur(10px);
  /* border: 1px solid color-mix(in oklab, #fff 50%, transparent); */
}

nav {
  position: fixed;
  top: 0;
  width: 100%;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  background: transparent;
}

.bento-card {
  border-radius: 24px;
  border: 1px solid #e0e0e0;
  padding: 20px;
}

.card {
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 26%);
}

/* Section 2 - Structural Gap Redesign */
.structural-gap-section {
  background-color: #050505;
  position: relative;
  overflow: hidden;
}

.animated-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  animation: blob-float 20s infinite alternate ease-in-out;
}

.blob-1 {
  width: 500px;
  height: 500px;
  background: #00FF00;
  top: -100px;
  right: -100px;
}

.blob-2 {
  width: 400px;
  height: 400px;
  background: #008000;
  bottom: -50px;
  left: -100px;
  animation-delay: -5s;
}

.blob-3 {
  width: 300px;
  height: 300px;
  background: #00FF00;
  top: 40%;
  right: 30%;
  animation-delay: -10s;
}

@keyframes blob-float {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }

  33% {
    transform: translate(50px, 80px) scale(1.1) rotate(120deg);
  }

  66% {
    transform: translate(-30px, 40px) scale(0.9) rotate(240deg);
  }

  100% {
    transform: translate(0, 0) scale(1) rotate(360deg);
  }
}

.glass-card-dark {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.glass-card-dark:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(0, 255, 0, 0.2);
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 48px 0 rgba(0, 255, 0, 0.1);
}

.glass-card-light {
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.glass-card-light:hover {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(0, 255, 0, 0.3);
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 48px 0 rgba(0, 0, 0, 0.08);
}

.connector-line-v {
  position: absolute;
  left: 0;
  top: 50px;
  bottom: 50px;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.connect-dot {
  position: absolute;
  left: -4px;
  top: 50%;
  transform: translateY(-50%);
  width: 9px;
  height: 9px;
  background: #00FF00;
  border-radius: 50%;
  box-shadow: 0 0 10px #00FF00;
}

.learn-more-btn {
  background: linear-gradient(135deg, #00FF00 0%, #008000 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(0, 255, 0, 0.3);
  border: none;
}

.learn-more-btn:hover {
  box-shadow: 0 6px 20px rgba(0, 255, 0, 0.5);
  transform: scale(1.05);
}

/* Ecosystem Orbital Section Styles */
.ecosystem-orbital-section {
  background-color: #050a1a;
  position: relative;
  padding: 100px 0;
  overflow: hidden;
  min-height: 900px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbital-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  height: 800px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 120px;
}

/* Background Rings */
.orbital-rings {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* border: 2px dashed rgb(255, 255, 255) !important; */
  border-radius: 50%;
  box-shadow: none !important;
}

.ring-inner {
  width: 300px;
  height: 300px;
  border: 1px solid rgb(255, 255, 255) !important;
  box-shadow: none !important;
  animation: rotate-orbit 30s linear infinite;
}

.ring-outer {
  width: 600px;
  height: 600px;
  border: 2px dashed rgb(255, 255, 255) !important;
  box-shadow: none !important;
  animation: rotate-orbit 30s linear infinite;
}

@keyframes rotate-orbit {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Central Hub */
.central-hub {
  position: relative;
  z-index: 10;
  width: 180px;
  height: 180px;
  /* background: white; */
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: none !important;
  border: 1px solid rgba(65, 165, 102, 0.2);
  overflow: hidden;
}

.central-hub::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M10,20 L90,80 M10,80 L90,20 M50,0 L50,100 M0,50 L100,50 M20,10 L80,90 M80,10 L20,90' stroke='%2341a566' stroke-width='0.5' fill='none' opacity='0.4'/%3E%3Cpath d='M30,5 L70,95 M70,5 L30,95 M5,30 L95,70 M95,30 L5,70' stroke='%2341a566' stroke-width='0.3' fill='none' opacity='0.2'/%3E%3C/svg%3E");
  background-size: cover;
  animation: rotate-mesh 20s linear infinite;
  opacity: 0.6;
}

@keyframes rotate-mesh {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.hub-content {
  position: relative;
  z-index: 2;
  color: black;
}

.hub-logo {
  font-size: 2rem;
  margin-bottom: 5px;
}

.hub-title {
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 2px;
}

.hub-subtitle {
  font-size: 0.6rem;
  font-weight: 600;
  opacity: 0.8;
}

/* Participant Cards */
.participant-card {
  position: absolute;
  width: 240px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  z-index: 5;
  animation: float-slow 6s infinite ease-in-out;
}

.participant-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.card-icon-container {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.material-icons {
  font-size: 18px !important;
}

.card-body h4 {
  color: white;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
}

.card-body p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  line-height: 1.5;
  font-size: 12px;
}

/* Positioning for the 6 items: 1 Top, 1 Bottom, 2 Left, 2 Right */
.participant-0 {
  top: 1%;
  left: 40%;
  transform: translateX(-50%);
  animation-delay: 0s;
}

/* Top: Product Owner */
.participant-1 {
  top: 30%;
  right: 10%;
  animation-delay: 1s;
}

/* Top-Right: Service Provider */
.participant-2 {
  bottom: 30%;
  right: 10%;
  animation-delay: 2s;
}

/* Bottom-Right: Industry */
.participant-3 {
  bottom: 1%;
  left: 40%;
  transform: translateX(-50%);
  animation-delay: 3s;
}

/* Bottom: Skilled Workers */
.participant-4 {
  bottom: 30%;
  left: 10%;
  animation-delay: 4s;
}

/* Bottom-Left: Training Provider */
.participant-5 {
  top: 30%;
  left: 10%;
  animation-delay: 5s;
}

/* Top-Left: Government */
/* Section 6 Conclusion Layout */
.conclusion-section {
  padding: 6rem 2rem;
  background: white;
}

.conclusion-container {
  max-width: 1200px;
  margin: 0 auto;
}

.conclusion-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.conclusion-text-content {
  max-width: 540px;
}

.conclusion-list {
  margin: 2.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.conclusion-list-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.125rem;
  color: #4b5563;
}

.conclusion-list-item i {
  color: #10b981;
}

.conclusion-image-container {
  position: relative;
  border-radius: 3rem;
  overflow: hidden;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.1);
}

.conclusion-image-container img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  display: block;
}

.conclusion-badge {
  display: inline-flex;
  padding: 0.5rem 1.25rem;
  background: #f3f4f6;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
  color: #1f2937;
}

@media (max-width: 1024px) {
  .conclusion-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .conclusion-text-content {
    max-width: 100%;
  }

  .conclusion-image-container img {
    height: 400px;
  }
}

/* SECTION 6: Architecture Graphic */
.conclusion-graphic-container {
  height: 600px;
  width: 100%;
}

.iso-scene {
  perspective: 1000px;
}

.iso-tile {
  position: absolute;
  width: 80px;
  height: 80px;
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 10;
}

.iso-tile:hover {
  transform: translateY(-15px) scale(1.05);
  z-index: 20;
}

.iso-top {
  top: 20px;
  left: 110px;
  animation: float-iso 4s ease-in-out infinite;
}

.iso-mid-1 {
  top: 150px;
  left: 110px;
  animation: float-iso 4s ease-in-out infinite 0.5s;
}

.iso-mid-2 {
  top: 190px;
  left: 30px;
  animation: float-iso 4s ease-in-out infinite 0.7s;
}

.iso-mid-3 {
  top: 190px;
  left: 190px;
  animation: float-iso 4s ease-in-out infinite 0.9s;
}

.iso-mid-4 {
  top: 230px;
  left: 110px;
  animation: float-iso 4s ease-in-out infinite 1.1s;
}

.iso-bottom {
  top: 380px;
  left: 110px;
  animation: float-iso 4s ease-in-out infinite 1.5s;
}

.iso-face {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotateX(60deg) rotateZ(-45deg);
}

.bg-grey-tile {
  background: #f3f4f6;
  border: 2px solid white;
  box-shadow:
    -1px 1px 0px #d1d5db, -2px 2px 0px #d1d5db, -3px 3px 0px #d1d5db,
    -4px 4px 0px #d1d5db, -5px 5px 0px #9ca3af, -6px 6px 0px #9ca3af,
    -10px 10px 15px rgba(0, 0, 0, 0.1);
}

.bg-green-tile {
  background: #86efac;
  border: 2px solid white;
  box-shadow:
    -1px 1px 0px #4ade80, -2px 2px 0px #4ade80, -3px 3px 0px #4ade80,
    -4px 4px 0px #4ade80, -5px 5px 0px #22c55e, -6px 6px 0px #22c55e,
    -10px 10px 15px rgba(0, 0, 0, 0.15);
}

.bg-glow-tile {
  background: linear-gradient(135deg, #a7f3d0, #fef08a);
  border: 2px solid white;
  box-shadow:
    -1px 1px 0px #6ee7b7, -2px 2px 0px #6ee7b7, -3px 3px 0px #6ee7b7,
    -4px 4px 0px #6ee7b7, -5px 5px 0px #34d399, -6px 6px 0px #34d399,
    0px 0px 40px rgba(134, 239, 172, 0.8),
    -10px 10px 20px rgba(0, 0, 0, 0.2);
}

.iso-face i {
  /* Counter-rotate the icon so it faces the user */
  transform: rotateZ(45deg) rotateX(-60deg);
  font-size: 28px;
  filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.15));
}

@keyframes float-iso {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}



.footer-giant-text-container {
  position: relative;
  height: 300px;
  overflow: hidden;
  width: 100%;
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  line-height: 0.75;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Neutralize the default scroll-reveal transform so the container stays still */
.footer-giant-text-container.scroll-reveal {
  transform: none;
  opacity: 1;
  transition: none;
}

.footer-giant-text {
  font-size: 26vw;
  font-weight: 900;
  letter-spacing: -0.06em;
  color: #0000001a;
  display: block;
  position: absolute;
  bottom: -18%;
  /* left: 50%; */

  transform: translateY(110%);
  opacity: 0;

  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 1s ease;
}

/* Triggered when the parent container gets the .visible class from JS intersection observer */
.footer-giant-text-container.visible .footer-giant-text {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 538px) {
  .footer-giant-text {
    font-size: 160px;
    position: absolute;
    bottom: -8%;
  }

  .footer-giant-text-container {
    height: 200px;
  }

}

@media (min-width: 538px) and (max-width: 1024px) {
  .footer-giant-text {
    font-size: 200px;
    position: absolute;
    bottom: -16%;
  }

  .footer-giant-text-container {
    height: 200px;
  }
}

/* Left - Government oversight */
/* Section 6 Conclusion Layout */
@media (max-width: 1000px) {
  .orbital-container {
    height: auto;
    flex-direction: column;
    gap: 20px;
    padding: 40px 20px;
  }

  .participant-card {
    position: relative;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: 100%;
    max-width: 400px;
  }

  .orbital-rings,
  .ring {
    display: none;
  }

  .central-hub {
    margin-bottom: 40px;
  }
}

/* Color accents */
.bg-citizen {
  background: rgba(37, 99, 235, 0.2);
  color: #3b82f6;
}

.bg-technician {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
}

.bg-business {
  background: rgba(168, 85, 247, 0.2);
  color: #a855f7;
}

.bg-manufacturer {
  background: rgba(249, 115, 22, 0.2);
  color: #f97316;
}

.bg-recycler {
  background: rgba(20, 184, 166, 0.2);
  color: #14b8a6;
}

.bg-government {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

/* Animations */
@keyframes hub-pulse {

  0%,
  100% {
    transform: scale(1);
    box-shadow: none;
  }

  50% {
    transform: scale(1.05);
    box-shadow: none;
  }
}

@keyframes float-slow {

  0%,
  100% {
    transform: translate(var(--tw-translate-x, 0), 0);
  }

  50% {
    transform: translate(var(--tw-translate-x, 0), -15px);
  }
}

/* Particle effect behind hub */
.hub-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  /* background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%); */
  background: radial-gradient(circle, rgba(34, 197, 94, 0.15) 0%, transparent 70%);
  z-index: 1;
}

/* Feature Cards Redesign (Section 4) */
.feature-card {
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: transparent;
  transition: all 0.4s ease;
  font-size: 24px;
  color: #10b981 !important;
}

.feature-card a {
  font-size: 16px;
  color: #10b981;
}

.feature-card:hover .feature-icon {
  background: rgba(34, 197, 94, 0.1);
  transform: scale(1.1) rotate(5deg);
}

.featured-item {
  background: linear-gradient(180deg, rgba(236, 253, 245, 0.5) 0%, rgba(255, 255, 255, 1) 100%);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.featured-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 100px;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.mockup-container {
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.featured-item:hover .mockup-container {
  transform: scale(1.05) translateY(-5px);
}

@media (max-width: 1024px) {
  .feature-card {
    padding: 32px;
  }
}

.footer {
  background: radial-gradient(circle at 50% 120%, #34d39969 0%, #d1fae5a8 35%, #fff 70%);
}

.why-repair {
  /* background: radial-gradient(circle at 50% 120%, #34d399 0%, #d1fae5 35%, #fff 70%); */
}

/* Section 5 - Outcome Styles */
#outcomes {
  /* background: radial-gradient(circle at 50% 120%, #34d399 0%, #d1fae5 35%, #EAF5FF 70%); */
  background: radial-gradient(circle at 50% 120%, #34d3992b 0%, #d1fae5a8 35%, #fff 70%);
}

.outcome-pill {
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.outcome-pill:hover {
  transform: translateX(12px) !important;
  background: rgba(255, 255, 255, 0.8) !important;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.05) !important;
}

.utilization-card {
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.utilization-card:hover {
  transform: translateY(-12px) scale(1.02);
}

/* Custom animation for SVG charts */
svg circle {
  transition: stroke-dasharray 2.5s cubic-bezier(0.65, 0, 0.35, 1);
}

@media (max-width: 1024px) {
  #outcomes {
    min-height: auto;
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .outcome-pill {
    width: 100% !important;
    max-width: 380px;
  }
}

/* Stepped Cards Visual Component - V2 (Horizontal) */
.stepped-visual-row {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 2.5rem;
  padding-top: 4rem;
  z-index: 1;
  position: relative;
}

.stepped-card-v2 {
  flex: 1;
  max-width: 360px;
  /* background: linear-gradient(145deg, #090b0a 0%, #1a221d 100%); */
  border-radius: 2.5rem;
  padding: 32px;
  color: white;
  position: relative;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
}

.stepped-card-v2:hover {
  transform: translateY(-15px);
  border-color: rgba(0, 255, 0, 0.3);
  box-shadow: 0 40px 80px -20px rgba(0, 255, 0, 0.15);
}

.stepped-card-icon-v2 {
  width: 3.5rem;
  height: 3.5rem;
  background: rgba(0, 255, 0, 0.1);
  border-radius: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  transition: all 0.4s ease;
}

.stepped-card-v2:hover .stepped-card-icon-v2 {
  background: #00FF00;
  transform: scale(1.1) rotate(5deg);
}

.stepped-card-icon-v2 i {
  color: #00FF00;
  width: 1.75rem;
  height: 1.75rem;
  transition: all 0.4s ease;
}

.stepped-card-v2:hover .stepped-card-icon-v2 i {
  color: #000;
}

.stepped-card-title-v2 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
  font-family: 'DM Sans', sans-serif;
  line-height: 1.1;
}

.stepped-card-desc-v2 {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
}

@media (max-width: 1100px) {
  .stepped-visual-row {
    flex-direction: column;
    align-items: center;
    gap: 3rem;
  }

  .stepped-card-v2 {
    width: 100%;
    max-width: 500px;
    padding: 2.5rem;
  }
}

/* Section 3 & 4 Bento and Modern Layouts */
.bento-container {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 1.5rem;
}

.bento-card {
  /* background: white; */
  border-radius: 2rem;
  padding: 1.5rem;
  /* border: 1px solid #fff; */
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.03);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  display: flex;
  flex-direction: column;
}

.bento-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.08);
  border-color: #d1fae5;
}

.bento-card-main {
  grid-column: span 8;
  grid-row: span 2;
  /* background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%); */
}

.bento-card-side {
  grid-column: span 4;
  grid-row: span 2;
}

.bento-card-wide {
  grid-column: span 6;
  grid-row: span 1;
}

.bento-card-result {
  grid-column: span 12;
  background: #090b0a;
  color: white;
  flex-direction: row;
  align-items: center;
  gap: 4rem;
  padding: 3rem 4rem;
}

.bento-icon {
  width: 3rem;
  height: 3rem;
  background: #00ff001a;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: #10b981;
}

.bento-card:hover .bento-icon {
  background: #10b981;
  color: white;
  transform: scale(1.1) rotate(5deg);
}

.bento-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
  color: #fff;
}

.bento-desc {
  color: #ffffffa6;
  line-height: 1.6;
  font-size: 1rem;
}

/* Section 4 Comparison Layout */
.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.comparison-card {
  padding: 3rem;
  border-radius: 2.5rem;
  border: 1px solid #eef2f1;
  position: relative;
  overflow: hidden;
}

.comparison-card-principle {
  background: #f8fafc;
}

.comparison-card-practice {
  background: white;
  border: 2px solid #10b981;
}

.mandate-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  margin-right: 0.75rem;
}

.pill {
  position: absolute;
  padding: 8px 16px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  animation: pillFloat 3s ease-in-out infinite;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.pill-1 {
  top: 20%;
  left: 2%;
  animation-delay: 0s;
}

.pill-2 {
  top: 2%;
  right: 6%;
  animation-delay: 0.5s;
}

.pill-3 {
  bottom: 0%;
  left: 5%;
  animation-delay: 1s;
}

.pill-4 {
  top: 80%;
  right: 5%;
  animation-delay: 1.5s;
}

.bento-image-ui {
  position: relative;
  width: 100%;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 1.5rem;
}

.bento-image {
  position: relative;
  width: 100%;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 1.5rem;

}

.bento-image img {
  /* width: 100%; */
  max-height: 320px !important;
  border-radius: 1.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.bento-image-ui img {
  width: 100%;
  height: 100%;
  border-radius: 1.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  object-fit: cover;
  transition: transform 0.5s ease;
}

.bento-card:hover .bento-image-ui img {
  transform: scale(1.05);
}

.skills-main {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  padding: 16px 22px;
  border-radius: 14px;
  text-align: center;
  color: white;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.skills-main h4 {
  font-size: 18px;
  font-weight: 600;
}

.skill-float {
  position: absolute;
  background: #fff;
  padding: 6px 10px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #000;
  box-shadow: 0 10px 20px rgba(0, 0, 0, .3);
}

.skill-float svg {
  width: 14px;
  height: 14px;
}

.skill-float.top {
  top: 0;
}

.skill-float.left {
  left: -10px;
}

.skill-float.right {
  right: 0;
}

.skill-float.bottom {
  bottom: -20px;
}

@media (max-width: 1024px) {
  .bento-container {
    grid-template-columns: repeat(1, 1fr);
  }

  .bento-card-main,
  .bento-card-side,
  .bento-card-wide,
  .bento-card-result {
    grid-column: span 1;
  }

  .bento-card-result {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .comparison-grid {
    grid-template-columns: 1fr;
  }
}

/* Section 5 Staggered Grid Layout */
.staggered-section {
  background: white;
  padding: 8rem 1.5rem;
  overflow: hidden;
}

.staggered-container {
  max-width: 1200px;
  margin: 0 auto;
}

.staggered-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  align-items: center;
  margin-top: 8rem;
  margin-bottom: 6rem;
  position: relative;
}

.staggered-card {
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  background: white;
}

.staggered-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-1 {
  transform: translateY(40px);
  height: 280px;
}

.card-2 {
  transform: translateY(-20px);
  height: 280px;
}

.card-3 {
  transform: translateY(40px);
  height: 280px;
}

.card-4 {
  transform: translateY(-20px);
  height: 280px;
}

.staggered-card:hover {
  /* transform: translateY(0) scale(1.03); */
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.decoration-icons {
  position: absolute;
  pointer-events: none;
  z-index: 5;
}

.paper-plane {
  top: -60px;
  right: 15%;
  animation: float-plane 6s ease-in-out infinite;
}

.sparkle {
  bottom: -40px;
  left: 25%;
  animation: pulse-sparkle 3s ease-in-out infinite;
}

@keyframes float-plane {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }

  50% {
    transform: translate(-20px, -20px) rotate(-10deg);
  }
}

@keyframes pulse-sparkle {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.6;
  }

  50% {
    transform: scale(1.5);
    opacity: 1;
  }
}

@media (max-width: 1024px) {
  .staggered-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .staggered-card {
    transform: none !important;
    height: 300px;
  }
}

@media (max-width: 640px) {
  .staggered-grid {
    grid-template-columns: 1fr;
  }
}

/* Section 4 Orbital Layout */
.orbital-infrastructure {
  position: relative;
  width: 100%;
  max-width: 1000px;
  height: 700px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbital-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
}

.ring-1 {
  width: 330px;
  height: 330px;
  border: 1px solid #41a566db;
  box-shadow: none !important;
}

.ring-2 {
  width: 480px;
  height: 480px;
  border: 1px solid #41a566db;
  box-shadow: none !important;
}

.ring-3 {
  width: 630px;
  height: 630px;
  border: 1px solid #41a566db;
  box-shadow: none !important;
}

.orbital-center-card {
  position: relative;
  z-index: 10;
  width: 280px;
  height: 480px;
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  border: 1px solid #f0f0f0;
}

.orbital-center-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-float-card {
  position: absolute;
  background: white;
  padding: 1.5rem;
  border-radius: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  width: 320px;
  z-index: 20;
  transition: all 0.3s ease;
}

.feature-float-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.feature-float-card .icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px dashed #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #f8fafc;
}

.feature-float-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: #1a1a1a;
}

.feature-float-card p {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.4;
}

/* Card positions */
.card-top-left {
  top: 15%;
  left: -20px;
}

.card-bottom-left {
  bottom: 15%;
  left: -20px;
}

.card-top-right {
  top: 20%;
  right: -20px;
}

.card-bottom-right {
  bottom: 10%;
  right: -20px;
}

@media (max-width: 1100px) {
  .orbital-infrastructure {
    height: auto;
    flex-direction: column;
    padding: 2rem 0;
    max-width: 100%;
  }

  .orbital-ring {
    display: none;
  }

  .orbital-center-card {
    width: 100%;
    max-width: 400px;
    height: auto;
    aspect-ratio: 1/1.2;
    margin-bottom: 2rem;
  }

  .feature-float-card {
    position: relative;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100%;
    max-width: 400px;
    margin-bottom: 1.5rem;
  }
}

.system-card {
  opacity: 0;
  transform: translateY(80px);
}

/* staggered diagonal look */

.system-card:nth-child(1) {
  transform: translateY(120px);
}

.system-card:nth-child(2) {
  transform: translateY(40px);
}

.system-card:nth-child(3) {
  transform: translateY(120px);
}

.system-card:nth-child(4) {
  transform: translateY(40px);
}



.governance-card {
  background: white;
  border-radius: 2rem;
  padding: 3rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.governance-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.1);
}

.dark-section {
  background: #000000;
  color: white;
  border-radius: 3rem;
}

/* Architectural Protection Graphic */
.protection-graphic-container {
  perspective: 1200px;
}

.core-card {
  transform: rotateX(12deg) rotateY(-12deg) rotateZ(1deg);
  box-shadow:
    25px 25px 50px rgba(0, 0, 0, 0.4),
    inset 1px 1px 2px rgba(255, 255, 255, 0.1);
  background: linear-gradient(135deg, #111 0%, #050505 100%);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.core-card:hover {
  transform: rotateX(5deg) rotateY(-5deg) rotateZ(0deg) scale(1.02);
  box-shadow: 35px 35px 70px rgba(0, 0, 0, 0.5);
}

.satellite-card {
  min-width: 90px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.satellite-card:hover {
  transform: scale(1.05) translateY(-5px);
  /* box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
            border-color: #00FF00; */
}

@media (max-width: 768px) {
  .protection-graphic-container {
    height: auto !important;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    padding: 3rem 1.5rem !important;
  }

  .core-card {
    transform: none !important;
    width: 100% !important;
    max-width: 320px;
    order: -1;
  }

  .satellite-card {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    flex: 1 1 140px;
    max-width: 160px;
  }
}

/* Custom Animations for Bento Cards */
@keyframes float-slow {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.animate-float-slow {
  animation: float-slow 4s ease-in-out infinite;
}

@keyframes spin-slow {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.animate-spin-slow {
  animation: spin-slow 8s linear infinite;
}

@keyframes width-fill {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

.animate-width-fill {
  animation: width-fill 2.5s ease-out forwards;
}

@keyframes slide-right {
  from {
    transform: translateX(-20px);
    opacity: 0;
  }

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

.animate-slide-right {
  animation: slide-right 1.2s ease-out forwards;
}

@keyframes dash-offset {
  0% {
    stroke-dashoffset: 314;
    opacity: 0;
  }

  100% {
    stroke-dashoffset: 100;
    opacity: 1;
  }
}

.animate-dash-offset {
  animation: dash-offset 2.5s ease-out forwards;
}

@keyframes tracking-in-expand {
  0% {
    letter-spacing: -0.5em;
    opacity: 0;
  }

  40% {
    opacity: 0.6;
  }

  100% {
    opacity: 1;
  }
}

.animate-tracking-expand {
  animation: tracking-in-expand 1.8s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
}

/* Animation Delays */
.delay-100 {
  animation-delay: 0.1s !important;
}

.delay-200 {
  animation-delay: 0.2s !important;
}

.delay-300 {
  animation-delay: 0.3s !important;
}

.delay-400 {
  animation-delay: 0.4s !important;
}

.delay-500 {
  animation-delay: 0.5s !important;
}

.delay-700 {
  animation-delay: 0.7s !important;
}

.delay-1000 {
  animation-delay: 1s !important;
}

.red-dash-list {
  list-style: none;
  padding-left: 0;
}

.red-dash-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
}

.red-dash-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: #ef4444;
  /* red-500 */
  font-weight: bold;
}

.indicator-card {
  background: #fdfdfd;
  border: 1px solid rgba(0, 0, 0, 0.03);
  border-radius: 0.5rem;
  padding: 1.25rem;
  transition: all 0.3s ease;
}

.indicator-card:hover {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  transform: translateY(-2px);
}

/* Timeline Styles */
.timeline-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(-50%);
  z-index: 1;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: #ffffff;
  border-radius: 50%;
  z-index: 2;
  transition: all 0.3s ease;
}

.timeline-dot.active {
  background: #1e6e1c;
  /* purple-500 */
  box-shadow: 0 0 15px rgba(136, 247, 85, 0.5);
}

.step-badge {
  background: #f3f4ff;
  color: #1e6e1c;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.mockup-frame {
  background: #ffffff;
  border-radius: 1.5rem;
  padding: 2.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.mockup-header {
  display: flex;
  gap: 6px;
  margin-bottom: 20px;
}

.mockup-dot {
  width: 8px;
  height: 8px;
  background: #e2e8f0;
  border-radius: 50%;
}

@media (max-width: 1024px) {
  .timeline-line {
    left: 20px;
  }

  .timeline-dot {
    left: 20px;
  }
}

/* Isometric Graphic - Section 6 */
.iso-scene {
  perspective: 1000px;
}

.iso-line {
  fill: none;
  stroke: rgba(16, 185, 129, 0.3);
  stroke-width: 1.5;
  stroke-dasharray: 4 6;
  animation: line-flow 20s linear infinite;
  stroke-linecap: round;
}

@keyframes line-flow {
  from {
    stroke-dashoffset: 100;
  }

  to {
    stroke-dashoffset: 0;
  }
}



.icon-card {
  width: 80px;
  height: 80px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #6ee7b7;
  color: #000;
  box-shadow: 0 10px 40px rgba(16, 185, 129, 0.4);
  transition: all 0.3s ease;
}

.icon-card i {
  width: 28px;
  height: 28px;
}

.icon-card:hover {
  transform: translateY(-6px) scale(1.08);
}

.label {
  margin-top: 10px;
  font-size: 12px;
  color: white;
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 12px;
  border-radius: 999px;
  display: inline-block;
}

/* Bento Grid V2 Styles */
.bento-grid-v2 {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .bento-grid-v2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .bento-grid-v2 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.bento-card-v2 {
  position: relative;
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 2.5rem;
  padding: 2.5rem;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 520px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.bento-card-v2:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.bento-card-v2 .card-image-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 60%;
  overflow: hidden;
}

.bento-card-v2 .card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1); */
}

/* .bento-card-v2:hover .card-image-wrap img {
  transform: scale(1.05);
} */

/* Light Overlay for image gradient */
.card-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, white 95%);
  z-index: 1;
}

.bento-card-v2 .card-content {
  position: relative;
  z-index: 2;
  margin-top: 1rem;
}

.bento-card-v2 .card-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.bento-card-v2 .card-desc {
  color: #666;
  line-height: 1.6;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.bento-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: #10b981;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.bento-button i {
  font-size: 1.25rem;
  transition: transform 0.3s ease;
}

.bento-button:hover {
  gap: 0.75rem;
}

/* .bento-button:hover i {
  transform: translateX(4px);
} */

/* Theme Variations */
.theme-orange {
  border-bottom: 4px solid #FFA500;
}

.theme-orange .bento-button {
  color: #FFA500;
}

.theme-blue {
  border-bottom: 4px solid #472ba0db;
}


.theme-blue .bento-button {
  color: #472ba0db;
}

.theme-green {
  border-bottom: 4px solid #22c55e;
}


.theme-green .bento-button {
  color: #22c55e;
}

@media (max-width: 640px) {
  .bento-card-v2 {
    min-height: 480px;
    padding: 2rem;
  }

  .bento-card-v2 .card-title {
    font-size: 1.5rem;
  }
}

/* ─── Arabic / RTL Support ──────────────────────────────────────────────────── */

/* Apply Arabic font when RTL is active — exclude Material Icons spans so icon glyphs stay intact */
[dir="rtl"] body,
[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4,
[dir="rtl"] p,
[dir="rtl"] span:not(.material-icons),
[dir="rtl"] a,
[dir="rtl"] button,
[dir="rtl"] label,
[dir="rtl"] input,
[dir="rtl"] textarea,
[dir="rtl"] select {
  font-family: 'Cairo', 'Segoe UI', sans-serif;
}

/* Always preserve the Material Icons glyph font regardless of language direction */
.material-icons,
[dir="rtl"] .material-icons {
  font-family: 'Material Icons' !important;
  direction: ltr;
}

/* Arabic headings need more vertical room — Cairo font + diacritics exceed the 0.9 line-height
   used on hero/section titles, causing lines to physically overlap. Specificity (0,1,1)
   beats any single Tailwind leading-* class at (0,1,0). */
[dir="rtl"] h1,
[dir="rtl"] h2 {
  line-height: 1.3;
}

/* Keep the EN|AR toggle pill direction-neutral so it always reads left-to-right */
.lang-toggle-pill {
  direction: ltr !important;
}

/* Flip only the directional arrow_forward icon in RTL (not all icons) */
[dir="rtl"] .material-icons.scale-75 {
  transform: scaleX(-1) scale(0.75);
}

/* Nav: keep brand + tagline readable when RTL flips the flex row */
[dir="rtl"] #nav .container {
  flex-direction: row-reverse;
}

/* Desktop nav links gap preserves natural RTL reading order */
[dir="rtl"] #nav .hidden.md\:flex.items-center.gap-8 {
  flex-direction: row-reverse;
}

/* Access Platforms button + hamburger group */
[dir="rtl"] #nav .flex.items-center.gap-4 {
  flex-direction: row-reverse;
}

/* Footer top grid: reverse column order for RTL */
[dir="rtl"] .footer .grid {
  direction: rtl;
}

/* Text alignment helpers for common content blocks */
[dir="rtl"] .text-secondary {
  text-align: inherit;
}

/* Ensure lists inside RTL read naturally */
[dir="rtl"] ul,
[dir="rtl"] ol {
  padding-inline-start: 1.5rem;
  padding-inline-end: 0;
}

/* Connect dot positioning fix for RTL (connector section) */
[dir="rtl"] .connect-dot {
  right: auto;
  left: -4px;
}


.item-title{
  color: #10b981 !important;
}

#video-wrapper:fullscreen,
#video-wrapper:-webkit-full-screen {
    width: 100vw !important;
    height: 100vh !important;
    max-width: none !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
}

#video-wrapper:fullscreen video,
#video-wrapper:-webkit-full-screen video {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain;
}

