/* ============================================
   SOLUTION DETAILS — Premium JPLoft-style Design
   Blue Ocean Palette: #003366 / #0077cc / #ffcc00
   ============================================ */

.solution-details-page {
  background: #f0f4f8;
  color: #64748b; /* Soft slate gray */
  font-family: 'Avenir', sans-serif;
}

.sd-container {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  padding: 0 20px;
}

/* Fix Navbar Overlap */
section[class^="sd-"] {
  scroll-margin-top: 100px;
}

@media (max-width: 768px) {
  .sd-usecases-section {
    padding-top: 140px !important; /* Even more space to prevent overlapping with navbar/logo */
  }
}

@media (min-width: 1440px) {
  .sd-container { padding: 0; }
}

/* ===========================
   HERO
   =========================== */
.sd-hero.animated-hero {
  background: radial-gradient(circle at top center, #0056a3 0%, #003366 50%, #001a33 100%); /* Brand Theme Blue Gradient */
  padding: 50px 0 70px; /* Reduced padding */
  color: #fff;
  overflow: hidden;
  position: relative;
  text-align: center;
}

/* ERP Specific Hero Background */
.enterprise-erp-\(full-suite\)-hero {
  background: 
    linear-gradient(rgba(0, 51, 102, 0.9), rgba(0, 26, 51, 0.95)),
    url('https://www.transparenttextures.com/patterns/carbon-fibre.png'),
    #001a33 !important;
  background-blend-mode: overlay;
}

.enterprise-erp-\(full-suite\)-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(0, 242, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 242, 255, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(circle at center, black, transparent 80%);
}

/* Particles Background */
.particles-bg { position: absolute; inset: 0; pointer-events: none; }
.particle { position: absolute; background: #fff; border-radius: 50%; opacity: 0; }
.p1 { width: 4px; height: 4px; top: 20%; left: 10%; animation: floatUp 8s infinite linear; }
.p2 { width: 6px; height: 6px; top: 60%; left: 80%; animation: floatUp 6s infinite linear 2s; }
.p3 { width: 3px; height: 3px; top: 80%; left: 30%; animation: floatUp 10s infinite linear 1s; }
.p4 { width: 5px; height: 5px; top: 30%; right: 20%; animation: floatUp 7s infinite linear 3s; }
.p5 { width: 8px; height: 8px; top: 90%; left: 50%; animation: floatUp 9s infinite linear; }

@keyframes floatUp {
  0% { transform: translateY(0); opacity: 0; }
  20% { opacity: 0.5; box-shadow: 0 0 10px rgba(255,255,255,0.8); }
  80% { opacity: 0.5; }
  100% { transform: translateY(-200px); opacity: 0; }
}

.relative-z { position: relative; z-index: 2; }

/* Simple Banner Style */
.sd-hero.simple-banner {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 450px; /* Increased height for image-only banner */
  padding: 0;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent !important;
}

.simple-banner .sd-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center; /* Centered for symmetrical look */
  position: relative;
  z-index: 5;
}

.simple-banner-content {
  max-width: fit-content;
  background: rgba(0, 15, 31, 0.3); /* Much lighter, 'halka' glassy bg */
  backdrop-filter: blur(4px); /* Subtle blur */
  padding: 1.2rem 3rem; /* Reduced padding */
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2); /* Slightly more visible border to define the light box */
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  animation: fadeInScale 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}

.hero-title-main {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 0; /* Removed margin as it is now the only element */
  color: #fff;
  letter-spacing: -0.02em;
}

.hero-desc-sub {
  font-size: 1.3rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
  font-weight: 400;
}

.hero-pill-group {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.hero-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.7rem 1.4rem;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-pill:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
  border-color: #00f2ff;
}

.hero-pill i {
  color: #00f2ff;
  font-size: 1.1rem;
}

@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.banner-scanner {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg, 
    transparent, 
    rgba(0, 242, 255, 0.05), 
    rgba(0, 242, 255, 0.1), 
    rgba(0, 242, 255, 0.05), 
    transparent
  );
  transform: skewX(-20deg);
  animation: scanBanner 8s linear infinite;
  pointer-events: none;
  z-index: 2;
}

@keyframes scanBanner {
  0% { left: -100%; }
  100% { left: 200%; }
}

@media (max-width: 768px) {
  .simple-banner-content {
    padding: 2rem;
    margin: 0 15px;
    border-radius: 20px;
  }
  .hero-title-main {
    font-size: 2.2rem;
  }
  .hero-desc-sub {
    font-size: 1.1rem;
  }
}

.hero-pill i {
  color: #00f2ff;
  font-size: 1.1rem;
  animation: iconPulse 2s infinite;
}

@keyframes iconPulse {
  0% { opacity: 0.6; transform: scale(0.9); text-shadow: 0 0 0 rgba(0, 242, 255, 0); }
  50% { opacity: 1; transform: scale(1.1); text-shadow: 0 0 10px rgba(0, 242, 255, 0.8); }
  100% { opacity: 0.6; transform: scale(0.9); text-shadow: 0 0 0 rgba(0, 242, 255, 0); }
}

.sd-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #e2e8f0;
}
.pulse-dot {
  width: 8px; height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 10px #10b981;
  animation: pulseDot 2s infinite;
}
@keyframes pulseDot { 0% { box-shadow: 0 0 0 0 rgba(16,185,129,0.7); } 70% { box-shadow: 0 0 0 10px rgba(16,185,129,0); } 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); } }

.sd-hero-content-center h1 {
  font-size: clamp(2.5rem, 4vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 0.8rem; /* Reduced margin */
  background: linear-gradient(to right, #ffffff, #e2e8f0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sd-hero-content-center .sd-hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin-bottom: 1.5rem; /* Reduced margin */
}

/* Explore button removed */

/* 3D Showcase Area */
.sd-hero-showcase {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1000px;
  margin: 0 auto;
  height: 280px; /* Reduced height */
}

.showcase-node {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}

.node-side { width: 220px; }
.node-center { width: 350px; z-index: 3; margin-top: -20px; } /* Reduced margin */

/* Labels & Icons */
.node-label {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.4rem 1rem; /* Reduced padding */
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem; /* Reduced margin */
  white-space: nowrap;
}
/* Floating Images & Hologram Logo */
.node-img-float {
  width: 120px;
  height: 120px;
  margin-bottom: 0.8rem; /* Reduced margin */
  position: relative;
  z-index: 5;
}
.icon-3d {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 25px rgba(0,0,0,0.5));
}

.hologram-content {
  position: relative;
  z-index: 5;
  margin-bottom: 10px; /* Reduced margin */
}
.holo-logo-wrapper {
  width: 160px; height: 160px;
  background: rgba(255,255,255,0.05);
  border: 2px solid rgba(0, 242, 255, 0.5);
  border-radius: 50%; /* Restored to circle */
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 50px rgba(0, 242, 255, 0.4), inset 0 0 30px rgba(0, 242, 255, 0.2);
  backdrop-filter: blur(8px);
  position: relative;
}

.holo-img-wrapper {
  width: 180px; height: 180px;
  background: rgba(255,255,255,0.05);
  border: 2px solid rgba(0, 242, 255, 0.5);
  border-radius: 12px; /* ERP images look better in rounded boxes */
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 50px rgba(0, 242, 255, 0.4), inset 0 0 30px rgba(0, 242, 255, 0.2);
  backdrop-filter: blur(8px);
  overflow: hidden;
  position: relative;
}

/* Scanning Line Effect */
.holo-img-wrapper::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(0, 242, 255, 0.4), transparent);
  animation: scanLine 3s linear infinite;
  pointer-events: none;
  z-index: 10;
}

@keyframes scanLine {
  0% { top: -100%; }
  100% { top: 100%; }
}

.hero-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Dashboard images look better covered */
  filter: brightness(1.1) contrast(1.1);
  animation: hologramFlicker 4s infinite alternate;
}

@keyframes hologramFlicker {
  0% { opacity: 0.9; filter: brightness(1) drop-shadow(0 0 10px rgba(0, 242, 255, 0.4)); }
  50% { opacity: 1; filter: brightness(1.2) drop-shadow(0 0 20px rgba(0, 242, 255, 0.7)); }
  100% { opacity: 0.85; filter: brightness(0.9) drop-shadow(0 0 15px rgba(0, 242, 255, 0.5)); }
}

.holo-text {
  font-weight: 900;
  font-size: 1.4rem;
  line-height: 1.1;
  text-align: center;
  color: #fff;
  text-shadow: 0 0 10px #00f2ff, 0 0 20px #00f2ff; /* Cyan glow */
}

/* Floating Animations */
.floating-anim { animation: floatImage 4s ease-in-out infinite; }
.floating-anim-slow { animation: floatImage 5s ease-in-out infinite; }
.floating-anim-slow-delay { animation: floatImage 5s ease-in-out infinite 1.5s; }

@keyframes floatImage {
  0% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0); }
}

/* Main Center Image */
.node-img-wrapper {
  width: 100%;
  max-width: 280px;
  margin-bottom: -20px;
  position: relative;
  z-index: 2;
}
.node-img-wrapper img { width: 100%; display: block; filter: drop-shadow(0 20px 30px rgba(0,0,0,0.5)); }

/* Platforms */
.node-platform {
  width: 180px; height: 50px;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 70%);
  border-bottom: 2px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  position: absolute; bottom: -25px;
}
.main-platform {
  width: 280px; height: 80px;
  background: radial-gradient(ellipse at center, rgba(0, 242, 255, 0.2) 0%, rgba(0,0,0,0) 70%);
  border-bottom: 3px solid rgba(0, 242, 255, 0.5);
  bottom: -40px;
}

/* Hologram Beam */
.hologram-beam {
  position: absolute;
  bottom: 0;
  width: 140px;
  height: 250px;
  background: linear-gradient(to top, rgba(0, 242, 255, 0.3) 0%, rgba(0, 242, 255, 0) 100%);
  clip-path: polygon(20% 100%, 80% 100%, 100% 0, 0 0);
  opacity: 0.6;
  animation: flicker 3s infinite alternate;
}
@keyframes flicker {
  0% { opacity: 0.5; }
  50% { opacity: 0.8; }
  100% { opacity: 0.4; }
}

/* Connecting Data Lines */
.data-line {
  position: absolute;
  top: 60%;
  width: 25%;
  height: 2px;
  background: rgba(255,255,255,0.1);
  z-index: 1;
}
.line-left { left: 15%; }
.line-right { right: 15%; }

.packet {
  position: absolute;
  top: -1px; left: 0;
  width: 15px; height: 4px;
  background: #00f2ff; /* Cyan packet */
  box-shadow: 0 0 10px #00f2ff, 0 0 20px #00f2ff;
  border-radius: 4px;
  animation: flowPacket 2s linear infinite;
}
.reverse-packet {
  animation: flowPacketReverse 2.5s linear infinite;
}

@keyframes flowPacket {
  0% { left: 0; opacity: 0; transform: scaleX(0.5); }
  10% { opacity: 1; transform: scaleX(1); }
  90% { opacity: 1; transform: scaleX(1); }
  100% { left: 100%; opacity: 0; transform: scaleX(0.5); }
}
@keyframes flowPacketReverse {
  0% { left: 100%; opacity: 0; transform: scaleX(0.5); }
  10% { opacity: 1; transform: scaleX(1); }
  90% { opacity: 1; transform: scaleX(1); }
  100% { left: 0; opacity: 0; transform: scaleX(0.5); }
}

/* ===========================
   SECTION HEADER
   =========================== */
.sd-section-header {
  text-align: center;
  margin-bottom: 1.5rem; /* Reduced margin */
}

.sd-section-header h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #003366;
  margin-bottom: 0.6rem;
}

.sd-section-header p {
  font-size: 1rem;
  color: #5a7d9a;
}

/* ===========================
   BENEFITS (Stat Row)
   =========================== */
.sd-benefits-section {
  background: #f8fafc; /* slightly off-white bg behind the white cards */
  padding: 40px 0; /* Reduced padding */
  border-bottom: 1px solid #e2e8f0;
}

.sd-benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem; /* Reduced gap */
}

.sd-benefit-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px; /* Slightly sharper corners like the reference */
  padding: 0; /* Remove padding to let top block go edge-to-edge */
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.sd-benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.sd-benefit-icon {
  width: 100%;
  height: 150px; /* Large top colored block */
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem; /* Large icon */
  position: relative;
  z-index: 1;
}

/* Removed pattern overlay for a clean, flat colored background */

.sd-benefit-icon i,
.sd-benefit-icon img {
  /* Add a soft white glow behind the icon to make it pop like the reference graphic */
  filter: drop-shadow(0 4px 8px rgba(255,255,255,0.6));
  position: relative;
  z-index: 1;
}

.sd-benefit-icon img.sd-custom-icon {
  width: 65px;
  height: auto;
  object-fit: contain;
}

.sd-benefit-card p {
  padding: 1.2rem 1rem; /* Reduced padding */
  font-size: 0.92rem;
  color: #64748b; /* Soft slate gray */
  line-height: 1.6;
  font-weight: 500; /* Slightly reduced weight for readability with gray text */
  margin: 0;
  text-align: center; /* Center the text to match reference */
}

/* ===========================
   FEATURES (3-col icon cards)
   =========================== */
.sd-features-section {
  background: #ffffff;
  padding: 40px 0; /* Reduced padding */
}

.sd-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columns as requested */
  gap: 0.8rem; /* Reduced gap to fit 3 columns cleanly */
  align-items: stretch; /* All cards in a row stretch to same height */
}

.sd-feature-card {
  background: #f8fafc;
  border: 1px solid #edf2f7;
  border-radius: 8px;
  padding: 1rem;
  display: flex;
  flex-direction: row; /* Horizontal layout */
  align-items: center; /* Vertically center icon with text */
  gap: 1rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
  height: 100%; /* Stretch to fill grid row height */
  box-sizing: border-box;
}

/* Gradient hover background */
.sd-feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, #4db8ff, #0077cc); /* Original theme blue gradient */
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.sd-feature-card:hover {
  transform: translateY(-3px); /* Just a very subtle lift without shadow */
  border-color: transparent;
}

.sd-feature-card:hover::before {
  opacity: 1;
}

/* Text Container */
.sd-feature-text {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.sd-feature-icon {
  width: 50px; /* Reduced icon size to fit */
  height: 50px;
  min-width: 50px;
  border-radius: 8px; /* Reduced from 12px to match the sharper card */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  background: #fff;
  transition: background 0.3s ease;
}

/* Make icon background pure white when hovered to stand out against gradient */
.sd-feature-card:hover .sd-feature-icon {
  background: #ffffff !important;
}

/* ===== COLORFUL ICON VARIANTS ===== */
.sd-benefit-icon.color-purple, .sd-feature-icon.color-purple { background: #f3e8ff; color: #7c3aed; }
.sd-benefit-icon.color-green,  .sd-feature-icon.color-green  { background: #ecfdf5; color: #059669; }
.sd-benefit-icon.color-orange, .sd-feature-icon.color-orange { background: #fff7ed; color: #ea580c; }
.sd-benefit-icon.color-teal,   .sd-feature-icon.color-teal   { background: #f0fdfa; color: #0d9488; }
.sd-benefit-icon.color-red,    .sd-feature-icon.color-red    { background: #fef2f2; color: #dc2626; }
.sd-benefit-icon.color-yellow, .sd-feature-icon.color-yellow { background: #fefce8; color: #ca8a04; }
.sd-benefit-icon.color-blue,   .sd-feature-icon.color-blue   { background: #eff6ff; color: #1d4ed8; }
.sd-benefit-icon.color-indigo, .sd-feature-icon.color-indigo { background: #eef2ff; color: #4338ca; }

.sd-feature-text h4,
.sd-feature-header h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #003366;
  margin: 0 0 0.5rem 0; /* Add bottom margin to separate from description */
  line-height: 1.3;
  transition: color 0.3s ease;
}

.sd-feature-desc {
  font-size: 0.9rem;
  color: #5a7d9a;
  line-height: 1.6;
  margin: 0;
  transition: color 0.3s ease;
}

/* Change text to white on hover over the gradient */
.sd-feature-card:hover h4,
.sd-feature-card:hover .sd-feature-desc {
  color: #ffffff;
}

/* ===========================
   INFRASTRUCTURE (Zigzag)
   =========================== */
.sd-infra-section {
  background: #fff;
  padding: 40px 0; /* Reduced padding */
}

.infra-zigzag {
  display: flex;
  flex-direction: column;
  gap: 1.2rem; /* Reduced gap */
}

.infra-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  background: #f8fafc;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  min-height: 160px; /* Reduced min-height */
}

.infra-row.reverse .infra-text { order: 2; }
.infra-row.reverse .infra-img  { order: 1; }

.infra-text {
  padding: 1.2rem; /* Reduced padding */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sd-infra-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px; /* Reduced gap */
  margin-top: 0.6rem; /* Reduced top margin */
  padding: 0.4rem 1rem; /* Significantly reduced padding for a smaller button */
  background: transparent;
  color: #0077cc;
  font-weight: 700;
  font-size: 0.82rem; /* Smaller font size */
  border: 1px solid #0077cc;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.sd-infra-btn:hover {
  background: #0077cc;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 119, 204, 0.2);
}

.infra-text h4 {
  font-size: 1.1rem; /* Smaller h4 */
  color: #003366;
  margin-bottom: 0.5rem; /* Reduced margin */
  font-weight: 700;
}

.infra-text ul {
  list-style: none;
  padding: 0;
  color: #475569;
  font-size: 0.92rem;
}

.infra-text ul li {
  margin-bottom: 0.5rem;
  line-height: 1.5;
  padding-left: 1.2rem;
  position: relative;
}

.infra-text ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #0077cc;
  font-weight: 700;
}

.infra-img {
  position: relative;
  min-height: 200px;
}

.infra-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===========================
   USE CASES & SECURITY (Clean 2-Column List)
   =========================== */
.sd-usecases-section {
  background: #ffffff;
  padding: 40px 0; /* Reduced padding */
  border-top: 1px solid #edf2f7;
}

.sd-two-col.list-style {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem; /* Reduced gap */
  align-items: start;
}

.sd-col-heading {
  font-size: 1.25rem;
  font-weight: 800;
  color: #003366;
  margin-bottom: 2rem;
}

/* Left Column: Tick List */
.sd-tick-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sd-tick-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.sd-tick-icon {
  width: 26px;
  height: 26px;
  min-width: 26px;
  border-radius: 50%;
  background: #10b981; /* Green check circle */
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2);
}

.sd-item-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #003366;
  margin: 0 0 0.3rem 0;
  line-height: 1.3;
}

.sd-item-text p {
  font-size: 0.85rem;
  color: #64748b;
  margin: 0;
}

/* Right Column: Security (Rounded Square Icons) */
.sd-security-column .approach-box h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #003366;
  margin-bottom: 1rem; /* Reduced margin */
}

.sd-security-column .approach-box > p {
  display: none; /* Hide generic intro paragraph to match clean list design */
}

.sd-security-column .approach-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem; /* Reduced gap */
}

.sd-security-column .approach-box li {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  position: relative;
  font-size: 0.95rem;
  font-weight: 600;
  color: #003366;
  line-height: 1.4;
}

.sd-security-column .approach-box li::before {
  content: '\f023'; /* FontAwesome lock */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  min-width: 55px;
  background: #f1f5f9; /* Soft grey background like the image */
  border-radius: 12px;
  color: #10b981; /* Green icon color */
  font-size: 1.2rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

/* Multi-colored icons using nth-child to match reference image */
.sd-security-column .approach-box li:nth-child(2)::before { color: #ef4444; content: '\f132'; } /* shield */
.sd-security-column .approach-box li:nth-child(3)::before { color: #3b82f6; content: '\f21b'; } /* user-secret */
.sd-security-column .approach-box li:nth-child(4)::before { color: #f59e0b; content: '\f084'; } /* key */

/* ===========================
   PROCESS TIMELINE
   =========================== */
.sd-process-section {
  background: #fff;
  padding: 40px 0; /* Reduced padding */
}

.sd-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

/* No global line */
.sd-timeline::before { display: none; }

.sd-timeline-item {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  align-items: start;
  margin-bottom: 1.2rem; /* Reduced margin */
  gap: 0;
  position: relative;
  opacity: 0;
  transform: translateY(30px) scale(0.98); /* Smoother starting position */
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); /* Apple-style smooth easing */
}

.sd-timeline-item:last-child {
  margin-bottom: 0;
}

.sd-timeline-item.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Line going from this dot to the next dot */
.sd-timeline-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  top: calc(1rem + 44px); /* bottom of current dot */
  bottom: calc(-1.2rem - 1rem); /* Reduced to match new margin-bottom */
  background: #cde4f5; /* Theme blue light */
  z-index: 1;
}

/* Dot in center column */
.sd-timeline-dot {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  z-index: 2;
  padding-top: 1rem;
  position: relative;
}

.sd-timeline-dot span {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #4db8ff, #0077cc); /* Brighter theme blue gradient */
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  box-shadow: 0 4px 15px rgba(0, 119, 204, 0.35); /* Theme blue shadow */
  border: 3px solid #fff;
  position: relative;
  z-index: 2;
}

/* Card Positioning Wrapper (Overrides sd-feature-card for timeline layout) */
.sd-timeline-card {
  align-self: start;
  width: 100%;
  flex-direction: column; /* Force stack layout */
  padding: 0.8rem 1rem !important; /* Heavily reduced padding for timeline */
  gap: 0.5rem !important; /* Heavily reduced gap between header and text */
}

/* Timeline Card Header (Icon + Title centered in one line) */
.sd-timeline-card .sd-feature-header {
  display: flex;
  align-items: center;
  gap: 0.6rem; /* Reduced gap between icon and title */
  width: 100%;
}

.sd-timeline-card .sd-feature-icon {
  width: 36px; /* Smaller icon to match reduced padding */
  height: 36px;
  min-width: 36px;
  font-size: 1rem;
  border-radius: 8px;
}

.sd-timeline-card h4 {
  margin: 0 !important; /* Remove bottom margin to center align perfectly with icon */
  font-size: 1.05rem;
  font-weight: 900 !important; /* Extra bold as requested */
  letter-spacing: -0.2px;
}

.sd-timeline-card .sd-feature-desc {
  width: 100%; /* Full width description under the header */
  margin: 0 !important;
  font-size: 0.85rem; /* Slightly smaller text for compact card */
  line-height: 1.5;
}

/* Left card alignment */
.sd-timeline-item.left .sd-timeline-card  { grid-column: 1; text-align: left; }
.sd-timeline-item.left .sd-timeline-dot   { grid-column: 2; }
.sd-timeline-item.left .sd-timeline-empty { grid-column: 3; }

/* Right card alignment */
.sd-timeline-item.right .sd-timeline-empty { grid-column: 1; }
.sd-timeline-item.right .sd-timeline-dot   { grid-column: 2; }
.sd-timeline-item.right .sd-timeline-card  { grid-column: 3; }

/* Mobile Timeline Fixes centralized below in OVERHAUL section */

/* ===========================
   FULL-WIDTH CTA BANNER
   =========================== */
.sd-cta-banner {
  background: linear-gradient(135deg, #003366 0%, #0057a8 100%);
  padding: 70px 0;
  color: #fff;
}

.sd-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.sd-cta-text h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
}

.sd-cta-text p {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  max-width: 600px;
}

.sd-cta-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2.5rem;
  background: #ffcc00;
  color: #003366;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s;
}
.sd-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

/* ===========================
   RESPONSIVE DESIGN OVERHAUL
   =========================== */
@media (max-width: 1200px) {
  .sd-features-grid { grid-template-columns: repeat(2, 1fr); }
  .sd-two-col.list-style { gap: 2rem; }
}

@media (max-width: 1024px) {
  /* Hero Section */
  .sd-hero { padding: 60px 0 40px; }
  .sd-hero-grid  { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
  .sd-hero-desc { margin: 0 auto 2rem; }
  .sd-hero-image { height: 350px; margin: 0 auto; max-width: 800px; }
  
  /* Use Cases & Security */
  .sd-two-col, .sd-two-col.list-style { grid-template-columns: 1fr; gap: 3rem; }
  
  /* CTA Banner */
  .sd-cta-inner  { flex-direction: column; text-align: center; gap: 2rem; }
  .sd-cta-text p { margin: 0 auto; }
}

@media (max-width: 768px) {
  /* Headings */
  .sd-section-header h2 { font-size: 1.8rem; }
  .sd-hero-content-center h1 { font-size: 2.2rem; }
  
  /* Features Grid */
  .sd-features-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .sd-benefits-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  
  /* Infrastructure ZigZag */
  .infra-row { display: flex !important; flex-direction: column !important; }
  .infra-img { width: 100%; height: 250px; min-height: 250px; order: -1 !important; }
  .infra-text { padding: 1.5rem !important; order: 1 !important; text-align: left; }
  
  /* Sections Padding */
  .sd-hero, .sd-benefits-section, .sd-features-section, .sd-infra-section, .sd-usecases-section, .sd-process-section {
    padding: 40px 0;
  }
  .sd-hero.simple-banner { padding: 100px 0 80px; }
  .simple-banner .sd-hero-content-center { padding: 2rem 1.5rem; width: 92%; }

  /* Animated Showcase Mobile Fixes */
  .sd-hero-showcase { 
    flex-direction: column; 
    height: auto; 
    gap: 0 !important; /* Remove gap so lines can touch nodes */
    padding-top: 2rem; 
    align-items: center !important;
  }
  
  /* Vertical Data Lines for Mobile */
  .data-line { 
    display: block !important; 
    width: 2px !important; 
    height: 60px !important; 
    background: rgba(255,255,255,0.1) !important;
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    margin: 0 auto !important;
  }
  
  .packet {
    width: 6px !important;
    height: 20px !important;
    left: 50% !important;
    margin-left: -3px !important;
    top: 0 !important;
    background: #00f2ff !important;
    box-shadow: 0 0 15px #00f2ff, 0 0 30px #00f2ff !important;
    animation: flowPacketVertical 3s linear infinite !important; /* Single vertical animation */
    z-index: 10 !important;
    position: absolute !important;
  }
  
  .reverse-packet {
    animation: flowPacketVertical 3.5s linear infinite !important;
  }

  @keyframes flowPacketVertical {
    0% { transform: translateY(-20px); opacity: 0; }
    15% { opacity: 1; }
    85% { opacity: 1; }
    100% { transform: translateY(60px); opacity: 0; }
  }

  .node-left { order: 1 !important; margin-bottom: 0; }
  .line-left { order: 2 !important; }
  .node-center { 
    order: 3 !important; 
    margin: 0 !important; /* Center the logo in the middle */
    padding: 20px 0;
  }
  .line-right { order: 4 !important; }
  .node-right { order: 5 !important; margin-top: 0; }
  
  .node-side { width: 100%; text-align: center; }
  .node-platform { margin: 0 auto !important; }

  /* Implementation Timeline Mobile Fixes */
  .sd-timeline::before { display: none !important; }
  .sd-timeline-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important; /* Start of the card */
    gap: 1.2rem !important;
    margin-bottom: 2.5rem !important;
    width: 100% !important;
    text-align: left !important;
    position: relative !important;
    opacity: 1 !important;
    transform: none !important;
    grid-template-columns: none !important; /* Reset grid */
  }

  /* Force Number on LEFT, Card on RIGHT for ALL */
  .sd-timeline-dot { 
    order: 1 !important; 
    width: 40px !important;
    min-width: 40px !important;
    display: flex !important;
    justify-content: center !important;
    margin-top: 0.4rem !important; /* Aligns dot with card header text ("number borabor") */
  }
  .sd-timeline-card { 
    order: 2 !important; 
    flex: 1 !important;
    margin: 0 !important;
  }
  .sd-timeline-empty { display: none !important; }

  .sd-timeline-dot span {
    width: 36px !important;
    height: 36px !important;
    font-size: 0.95rem !important;
    margin: 0 !important;
  }

  /* Vertical Line on Mobile - Stays on the left */
  .sd-timeline-item:not(:last-child)::after {
    content: '' !important;
    position: absolute !important;
    left: 20px !important;
    top: 40px !important;
    bottom: -2.5rem !important;
    width: 2px !important;
    background: #cde4f5 !important;
    z-index: 1 !important;
    display: block !important;
  }
}

@media (max-width: 480px) {
  /* Hero Section */
  .sd-hero { padding: 40px 0 30px; }
  .sd-hero.simple-banner { padding: 80px 0 60px; }
  .sd-hero-content-center h1 { font-size: 1.8rem; }
  .simple-banner .sd-hero-content-center { padding: 1.5rem 1rem; width: 95%; }
  .sd-hero-image { height: 250px; }
  
  /* Benefits */
  .sd-benefits-grid  { grid-template-columns: 1fr; }
  
  /* Specialized Banking Solutions Cards - Force Horizontal */
  .sd-features-grid .sd-feature-card { 
    padding: 1rem; 
    flex-direction: row !important; 
    align-items: flex-start !important; 
    text-align: left !important;
    gap: 1rem !important;
  }
  
  /* Timeline Cards - Force Vertical (Header on top, Desc below) */
  .sd-timeline-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
    padding: 1rem !important;
    gap: 0.5rem !important;
  }
  
  .sd-timeline-card .sd-feature-header {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.8rem !important;
    width: 100% !important;
  }

  .sd-timeline-card .sd-feature-icon { margin-bottom: 0 !important; }
  
  /* Use Cases & Security List Fixes */
  .sd-avatar-item { flex-direction: column; text-align: center; }
  .sd-security-column .approach-box li { 
    flex-direction: row !important; /* Icon on left */
    text-align: left !important; 
    align-items: flex-start !important;
    gap: 1rem !important; 
  }
  .sd-security-column .approach-box li::before {
    margin: 0 !important;
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    font-size: 1rem !important;
  }
  
  .sd-security-column .approach-box h3 {
    text-align: left !important;
    margin-bottom: 1.5rem !important;
  }
  
  .sd-hero-actions { flex-direction: column; width: 100%; }
}

/* Security Header Fix (disable accidental clickability) */
.sd-security-column .approach-box {
  pointer-events: none; /* Disable all clicks in this box to prevent home navigation issue */
  cursor: default;
}
.sd-security-column .approach-box h3,
.sd-security-column .approach-box li {
  user-select: none;
}

/* ===========================
   INFRASTRUCTURE CARD SYSTEM — Premium Redesign
   =========================== */
.infra-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
  margin-bottom: 2rem;
}

/* Category Headers */
.infra-category-title {
  color: #0a1628;
  font-size: 1.6rem;
  font-weight: 900;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  padding-bottom: 1rem;
}

/* gradient underline removed */

.infra-category-title.secondary {
  font-size: 1.4rem;
  margin-top: 4rem;
}

/* === NEW PREMIUM CARD === */
.infra-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #e8edf5;
  box-shadow: 0 2px 12px rgba(0, 51, 102, 0.06);
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.infra-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 51, 102, 0.12);
  border-color: #ccdff0;
}

/* Image with overlay effect */
.infra-card-img-wrap {
  position: relative;
  overflow: hidden;
}

.infra-card-img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.infra-card:hover .infra-card-img {
  transform: scale(1.07);
}

.infra-card-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 26, 60, 0.5) 0%, transparent 60%);
}

/* Card Body */
.infra-card-body {
  padding: 1.6rem 1.5rem 1.8rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.infra-card-body h5 {
  color: #0a1628;
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 1.1rem;
  line-height: 1.3;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

/* List */
.infra-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}

.infra-card-list li {
  font-size: 0.875rem;
  color: #4a5568;
  padding: 0.5rem 0 0.5rem 1.4rem;
  position: relative;
  border-bottom: 1px solid #f0f4f8;
  line-height: 1.5;
}

.infra-card-list li:last-child {
  border-bottom: none;
}

.infra-card-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: linear-gradient(135deg, #0077cc, #00c6ff);
  border-radius: 50%;
}

/* === CONTROL BOX (Global Enterprise Control) === */
.infra-control-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  background: linear-gradient(135deg, #f0f6ff 0%, #e8f4ff 100%);
  padding: 3rem;
  border-radius: 24px;
  border: 1px solid #cce0f5;
  margin-top: 2rem;
  box-shadow: 0 8px 30px rgba(0, 77, 153, 0.06);
}

@media (max-width: 992px) {
  .infra-control-box {
    grid-template-columns: 1fr !important;
    gap: 2rem;
    padding: 2rem;
  }
}

.infra-control-text h3 {
  color: #003366;
  font-size: 1.5rem;
  margin-bottom: 1.8rem;
  font-weight: 900;
}

.infra-control-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.infra-control-list li {
  padding: 1.2rem 1.4rem;
  background: #fff;
  margin-bottom: 1rem;
  border-radius: 14px;
  box-shadow: 0 4px 15px rgba(0, 51, 102, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.infra-control-list li:hover {
  transform: translateX(5px);
  box-shadow: 0 8px 25px rgba(0, 51, 102, 0.10);
}

.infra-control-list li strong {
  display: block;
  color: #003366;
  margin-bottom: 0.3rem;
  font-size: 1rem;
  font-weight: 800;
}

.infra-control-list li p {
  margin: 0;
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.5;
}

.infra-img-mockup {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 25px 60px rgba(0, 51, 102, 0.15);
  border: 4px solid #fff;
  outline: 1px solid #cce0f5;
}
/* Custom Tiered Infrastructure Layout (Aligned & Scaled) */
.infra-custom-layout {
  display: flex;
  flex-direction: column;
  gap: 1.5rem; /* Tighter gap between rows */
  margin-top: 2rem;
}

.infra-top-row, .infra-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: center; /* Center points vertically next to image */
}

.infra-top-image {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.infra-top-image img {
  width: 100%;
  height: 380px; /* Fixed height to prevent vertical stretching */
  object-fit: cover; /* Fill the area while keeping height in check */
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.infra-top-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.infra-bottom-grid, .infra-bottom-grid-multi {
  border-top: none;
  padding-top: 0;
  align-items: flex-start; /* Keep bottom points top-aligned */
}

.infra-bottom-grid-multi {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 1rem;
}

@media (max-width: 1200px) {
  .infra-bottom-grid-multi {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .infra-bottom-grid-multi {
    grid-template-columns: 1fr;
  }
}

.infra-original-item h4 {
  font-size: 1.2rem;
  color: #003366;
  margin-bottom: 1rem;
  font-weight: 800;
}

.infra-original-item p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.6;
  margin-bottom: 0.8rem;
}

.infra-original-item ul li {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.6;
  margin-bottom: 0.6rem;
  list-style: disc;
  margin-left: 2rem;
}

@media (max-width: 992px) {
  .infra-top-row, .infra-bottom-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 1200px) {
  .infra-split-original-content {
    grid-template-columns: 1fr; /* Single column for points on smaller screens */
  }
}

@media (max-width: 992px) {
  .infra-split-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
  }
  .infra-split-image {
    height: 350px;
  }
}
