/* =========================================================================
   MASTER 3D INDUSTRIAL PRODUCT SHOWCASE FOR SAIFEE TOOLS & TRADERS
   Exact 1:1 Match to the 3D Reference Architecture
   ========================================================================= */

.exact-3d-showcase-section {
  position: relative;
  width: 100%;
  min-height: 760px;
  padding: 3.5rem 0 3.2rem;
  background: radial-gradient(120% 80% at 65% 45%, #FFFFFF 0%, #F5F9FE 55%, #EAF2FB 100%);
  overflow: hidden;
  box-sizing: border-box;
}

/* Diagonal Geometric Tech Corner Shards (Top-Right & Bottom-Left) */
.corner-shard {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.shard-top-right-navy {
  top: 0;
  right: 0;
  width: 180px;
  height: 180px;
  background: #061C38;
  clip-path: polygon(100% 0, 32% 0, 100% 68%);
}

.shard-top-right-orange {
  top: 0;
  right: 0;
  width: 135px;
  height: 135px;
  background: #01255F;
  clip-path: polygon(100% 0, 48% 0, 100% 52%);
}

.shard-bottom-left-navy {
  bottom: 0;
  left: 0;
  width: 180px;
  height: 180px;
  background: #061C38;
  clip-path: polygon(0 100%, 0 32%, 68% 100%);
}

.shard-bottom-left-orange {
  bottom: 0;
  left: 0;
  width: 135px;
  height: 135px;
  background: #01255F;
  clip-path: polygon(0 100%, 0 48%, 52% 100%);
}

/* Main Container */
.showcase-main-wrapper {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
}

/* Two Column Flex Row (35% Left, 65% Right) */
.showcase-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 520px;
}

/* =========================================================================
   1. LEFT SIDE CONTENT (35% Width)
   ========================================================================= */
.showcase-left-col {
  flex: 0 0 35%;
  max-width: 38%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 5;
}

/* Small Pill Label: OUR PRODUCTS */
.showcase-pill-capsule {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.42rem 1.15rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1.5px solid #01255F;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #01255F;
  text-transform: uppercase;
  margin-bottom: 1.35rem;
  box-shadow: 0 4px 15px rgba(1, 37, 95, 0.12);
  transition: transform 0.25s ease;
}

.showcase-pill-capsule:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(1, 37, 95, 0.2);
}

.pill-cube-icon {
  width: 16px;
  height: 16px;
}

/* Main Heading */
.showcase-main-heading {
  font-size: 2.85rem;
  font-weight: 850;
  line-height: 1.15;
  color: #061C38;
  letter-spacing: -0.03em;
  margin: 0 0 1.25rem 0;
  font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
}

.showcase-main-heading .highlight-orange {
  color: #01255F;
  position: relative;
  display: inline-block;
  white-space: nowrap;
}

/* Hand-drawn Orange Swoosh Underline */
.swoosh-underline-svg {
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 100%;
  height: 16px;
  pointer-events: none;
}

/* Description Text */
.showcase-sub-desc {
  font-size: 1.05rem;
  line-height: 1.55;
  color: #475569;
  margin: 0 0 2rem 0;
  max-width: 440px;
  font-weight: 450;
}

/* CTA Button: Explore All Products */
.showcase-cta-block {
  margin-top: 0.25rem;
}

.btn-explore-products {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.65rem 0.75rem 0.65rem 1.75rem;
  background: linear-gradient(90deg, #01255F 0%, #073B8A 100%);
  color: #FFFFFF;
  text-decoration: none;
  font-size: 1.02rem;
  font-weight: 700;
  border-radius: 999px;
  box-shadow: 0 10px 25px -4px rgba(1, 37, 95, 0.45), 0 4px 8px rgba(6, 28, 56, 0.08);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-explore-products:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 35px -5px rgba(1, 37, 95, 0.55), 0 6px 12px rgba(6, 28, 56, 0.12);
  color: #FFFFFF;
}

.btn-arrow-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #061C38;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.btn-arrow-circle svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.btn-explore-products:hover .btn-arrow-circle {
  transform: translateX(4px);
  background: #000000;
}

.btn-explore-products:hover .btn-arrow-circle svg {
  transform: translateX(2px);
}

/* =========================================================================
   2. RIGHT SIDE CONTENT: 3D CAROUSEL SHOWCASE (~65% Width)
   ========================================================================= */
.showcase-right-col {
  flex: 0 0 65%;
  max-width: 65%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Handwritten Top Doodle Note with Curved Arrow */
.doodle-top-wrapper {
  position: absolute;
  top: -66px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  z-index: 15;
  pointer-events: none;
}

.doodle-text-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-family: 'Caveat', 'Comic Neue', cursive, sans-serif;
  line-height: 1;
}

.doodle-top {
  font-size: 1.35rem;
  font-weight: 700;
  color: #061C38;
}

.doodle-sub {
  font-size: 1.45rem;
  font-weight: 700;
  color: #01255F;
}

.doodle-arrow-svg {
  width: 55px;
  height: 42px;
  transform: rotate(5deg);
}

/* 3D Carousel Stage Viewport */
.carousel-3d-stage {
  position: relative;
  width: 100%;
  height: 470px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
  transform-style: preserve-3d;
}

/* 3D Track for Positioning the 5 Visible Cards */
.carousel-3d-track {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 6;
}

/* Navigation Circular Buttons (< & >) */
.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #061C38;
  color: #FFFFFF;
  border: 2px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 25;
  box-shadow: 0 8px 22px rgba(6, 28, 56, 0.25);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
}

.carousel-nav-btn.prev-btn {
  left: 5px;
}

.carousel-nav-btn.next-btn {
  right: 5px;
}

.carousel-nav-btn:hover {
  background: #0756A5;
  border-color: #01255F;
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 10px 25px rgba(1, 37, 95, 0.4);
}

.carousel-nav-btn svg {
  width: 22px;
  height: 22px;
}

/* =========================================================================
   3. INDIVIDUAL 3D PRODUCT DISPLAY PANELS
   ========================================================================= */
.panel-3d-card {
  position: absolute;
  width: 200px;
  height: 292px;
  background: #FFFFFF;
  border-radius: 20px;
  border: 1px solid rgba(200, 212, 226, 0.75);
  box-shadow: 0 14px 32px rgba(6, 28, 56, 0.08), 0 0 1px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0.85rem 1rem;
  box-sizing: border-box;
  transform-style: preserve-3d;
  cursor: pointer;
  user-select: none;
  transition: transform 0.65s cubic-bezier(0.2, 0.9, 0.3, 1),
              box-shadow 0.65s ease,
              border 0.65s ease,
              opacity 0.65s ease;
}

/* 5 3D SLOTS ALONG THE PERSPECTIVE ARC (ELEVATED 75px TO CLEAR PODIUM COMPLETELY) */
/* Slot 0: Far Left */
.panel-3d-card.slot-pos-0 {
  transform: translateX(-310px) translateY(-60px) translateZ(-85px) rotateY(22deg) scale(0.82);
  z-index: 5 !important;
  opacity: 0.88;
  visibility: visible;
}

/* Slot 1: Mid Left */
.panel-3d-card.slot-pos-1 {
  transform: translateX(-160px) translateY(-66px) translateZ(-35px) rotateY(12deg) scale(0.92);
  z-index: 15 !important;
  opacity: 0.96;
  visibility: visible;
}

/* Slot 2: CENTER HERO (ELEVATED, 1.20x SCALE, FRONT Z-INDEX 35, 100% CLEAR OF PODIUM) */
.panel-3d-card.slot-pos-2 {
  transform: translateX(0px) translateY(-74px) translateZ(55px) rotateY(0deg) scale(1.20);
  z-index: 35 !important;
  opacity: 1;
  visibility: visible;
  width: 228px;
  height: 320px;
  border: 3px solid #01255F !important;
  box-shadow: 
    0 26px 60px -10px rgba(6, 28, 56, 0.22), 
    0 0 40px rgba(1, 37, 95, 0.38),
    0 0 0 1px rgba(255, 255, 255, 0.9) inset !important;
}

/* Slot 3: Mid Right */
.panel-3d-card.slot-pos-3 {
  transform: translateX(160px) translateY(-66px) translateZ(-35px) rotateY(-12deg) scale(0.92);
  z-index: 15 !important;
  opacity: 0.96;
  visibility: visible;
}

/* Slot 4: Far Right */
.panel-3d-card.slot-pos-4 {
  transform: translateX(310px) translateY(-60px) translateZ(-85px) rotateY(-22deg) scale(0.82);
  z-index: 5 !important;
  opacity: 0.88;
  visibility: visible;
}

/* Inactive hidden cards waiting in rotation - Completely hidden from layout & events */
.panel-3d-card.slot-hidden {
  transform: translateX(0px) translateY(-74px) translateZ(-160px) scale(0.6);
  opacity: 0;
  visibility: hidden !important;
  pointer-events: none !important;
  z-index: 0 !important;
}

/* TOP: Category Title Capsule */
.panel-top-capsule {
  width: 100%;
  padding: 0.42rem 0.6rem;
  border-radius: 12px;
  background: #0756A5;
  color: #FFFFFF;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.25;
  transition: all 0.4s ease;
}

/* Center Hero gets the Vibrant Orange Gradient Capsule */
.panel-3d-card.slot-pos-2 .panel-top-capsule {
  background: linear-gradient(90deg, #01255F 0%, #073B8A 100%) !important;
  padding: 0.52rem 0.8rem;
}

.panel-title-main {
  display: block;
  font-weight: 800;
  font-size: 0.88rem;
}

.panel-title-sub {
  display: block;
  font-size: 0.74rem;
  font-weight: 600;
  opacity: 0.95;
}

/* MIDDLE: Centered Floating Product Image Area */
.panel-image-area {
  position: relative;
  width: 100%;
  height: 158px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
}

.panel-prod-img {
  max-width: 96%;
  max-height: 148px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 14px rgba(6, 28, 56, 0.15));
  transition: transform 0.4s ease;
}

/* Center Hero floating animation */
.panel-3d-card.slot-pos-2 .panel-prod-img {
  max-height: 172px;
  filter: drop-shadow(0 14px 22px rgba(6, 28, 56, 0.22));
  animation: heroProdFloat 4.5s ease-in-out infinite;
}

@keyframes heroProdFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

/* BOTTOM: View Details Action Button */
.panel-bottom-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.38rem 0.95rem;
  border-radius: 999px;
  background: #FFFFFF;
  color: #0756A5;
  border: 1.5px solid rgba(7, 86, 165, 0.35);
  font-size: 0.74rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}

.panel-bottom-btn svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s ease;
}

.panel-bottom-btn:hover {
  border-color: #01255F;
  color: #01255F;
  transform: scale(1.04);
}

.panel-bottom-btn:hover svg {
  transform: translateX(3px);
}

/* Center Hero gets the Vibrant Solid Orange Button */
.panel-3d-card.slot-pos-2 .panel-bottom-btn {
  background: linear-gradient(90deg, #01255F 0%, #073B8A 100%) !important;
  color: #FFFFFF !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(1, 37, 95, 0.4);
  padding: 0.45rem 1.25rem;
  font-size: 0.8rem;
}

.panel-3d-card.slot-pos-2 .panel-bottom-btn:hover {
  background: #E86600 !important;
  box-shadow: 0 6px 18px rgba(1, 37, 95, 0.55);
}

/* =========================================================================
   4. 3D EXHIBITION PODIUM PLATFORM
   ========================================================================= */
.stage-podium-platform {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 98%;
  max-width: 760px;
  pointer-events: none;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.podium-surface-img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 15px 30px rgba(6, 28, 56, 0.18));
}

.podium-neon-glow-ring {
  position: absolute;
  bottom: 2px;
  width: 90%;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(1, 37, 95, 0.65) 0%, rgba(1, 37, 95, 0.35) 50%, transparent 75%);
  filter: blur(12px);
  pointer-events: none;
}

/* =========================================================================
   5. BOTTOM FEATURE STRIP (4 VALUE PILLARS)
   ========================================================================= */
.showcase-bottom-strip {
  margin-top: 2.5rem;
  width: 100%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(200, 212, 226, 0.7);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(6, 28, 56, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 2rem;
  box-sizing: border-box;
}

.feat-col-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex: 1;
}

.feat-icon-box {
  width: 44px;
  height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.feat-icon-box svg {
  width: 38px;
  height: 38px;
}

.feat-col-item:hover .feat-icon-box {
  transform: scale(1.1) rotate(-3deg);
}

.feat-text-box {
  display: flex;
  flex-direction: column;
}

.feat-title {
  font-size: 0.94rem;
  font-weight: 800;
  color: #061C38;
  line-height: 1.25;
}

.feat-subtitle {
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748B;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.15rem;
}

.feat-divider {
  width: 1px;
  height: 34px;
  background: rgba(200, 212, 226, 0.8);
  margin: 0 1.25rem;
}

/* =========================================================================
   6. RESPONSIVE DESIGN (TABLET & MOBILE)
   ========================================================================= */
@media (max-width: 1100px) {
  .showcase-row {
    flex-direction: column;
    text-align: center;
  }
  .showcase-left-col {
    flex: 0 0 100%;
    max-width: 100%;
    align-items: center;
    margin-bottom: 2rem;
  }
  .showcase-right-col {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
  }
  .showcase-sub-desc {
    max-width: 600px;
  }
  .showcase-bottom-strip {
    border-radius: 24px;
    flex-wrap: wrap;
    gap: 1.5rem;
  }
  .feat-divider {
    display: none;
  }
  .feat-col-item {
    flex: 0 0 45%;
  }
}

@media (max-width: 768px) {
  .exact-3d-showcase-section {
    padding: 2rem 0;
  }
  .showcase-main-heading {
    font-size: 2.1rem;
  }
  .carousel-3d-stage {
    height: 380px;
  }
  .panel-3d-card {
    width: 160px;
    height: 235px;
  }
  .panel-3d-card.slot-pos-2 {
    width: 180px;
    height: 255px;
    transform: translateX(0px) translateZ(30px) scale(1.15);
  }
  .panel-3d-card.slot-pos-0 {
    transform: translateX(-160px) translateZ(-60px) scale(0.75);
  }
  .panel-3d-card.slot-pos-1 {
    transform: translateX(-80px) translateZ(-25px) scale(0.85);
  }
  .panel-3d-card.slot-pos-3 {
    transform: translateX(80px) translateZ(-25px) scale(0.85);
  }
  .panel-3d-card.slot-pos-4 {
    transform: translateX(160px) translateZ(-60px) scale(0.75);
  }
  .feat-col-item {
    flex: 0 0 100%;
  }
}
