/* ===============================
   HERO SECTION
================================ */

.hero-section {
  min-height: 100vh;
  background:
    linear-gradient(120deg,
     rgba(245,248,255,0.95),
     rgba(240,245,255,0.85)),
    url("../images/ondemadmanufactore/hero-bg.png") center/cover no-repeat;
  overflow: hidden;
}

/* Badge */
.hero-badge {
  /*background: #226afb;*/
  color: #2563eb;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 20px;
}

/* Typography */
.hero-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-top: 15px;
}

.hero-title span {
  color: #2563eb;
}

.hero-text {
  font-size: 1.05rem;
  color: #555;
  max-width: 520px;
  margin-top: 15px;
}

/* Features */
.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 0.9rem;
  color: #333;
}

/* Image */
.hero-image-wrapper {
  position: relative;
}

.hero-image {
  transition: transform 0.6s ease;
  border-radius: 12px;
  box-shadow:1px 1px 1px 1px #6260894f;
}

/* Zoom hover */
.hero-image-wrapper:hover .hero-image {
  transform: scale(1.08);
}

/* ===============================
   ANIMATIONS
================================ */

.hero-left,
.hero-right {
  opacity: 0;
}

/* From left */
.animate-left {
  animation: slideLeft 1s ease forwards;
}

/* From right */
.animate-right {
  animation: slideRight 1s ease forwards;
}

@keyframes slideLeft {
  from {
    transform: translateX(-80px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideRight {
  from {
    transform: translateX(80px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 991px) {
  .hero-section {
    padding: 80px 0;
  }

  .hero-text {
    max-width: 100%;
  }
}
/* ===============================
   RIGHT IMAGE + OVERLAY CARD
================================ */

.hero-image-wrapper {
  position: relative;
  display: inline-block;
}

/* Main image hover zoom */
.hero-image {
  transition: transform 0.6s ease;
}

.hero-image-wrapper:hover .hero-image {
  transform: scale(1.08);
}

/* Overlay Card */
.project-card {
  position: absolute;
  bottom: 8%;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 530px;

  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border-radius: 14px;
  padding: 16px 18px;
  text-align: left;
}

/* Card text styles */
.project-id {
  font-size: 0.75rem;
  font-weight: 600;
  color: #2563eb;
}

.project-status {
  font-size: 0.75rem;
  font-weight: 500;
  color: #16a34a;
}

.project-title {
  font-size: 0.95rem;
  font-weight: 600;
}

.project-meta span {
  font-size: 0.75rem;
  color: #555;
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 991px) {
  .project-card {
    position: static;
    transform: none;
    margin: 20px auto 0;
  }
}

/* ================================================================================
                        hero section ends here 
====================================================================================*/
/* ================================================================================
                    capabiltiy  section starts  here 
====================================================================================*/
/* ===============================
   CAPABILITIES SECTION
================================ */

.capabilities-section {
  background-color: #f8fafc;
}

/* Header */
.section-tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: #f97316;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
}

.section-subtitle {
  max-width: 720px;
  margin: 10px auto 0;
  color: #555;
}

/* ===============================
   CARD
================================ */

.cap-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow 0.4s ease;
  height: 100%;
}

.cap-card:hover {
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

/* Image area */
.cap-img-wrapper {
  position: relative;
  overflow: hidden;
}

.cap-img-wrapper img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

/* Blue overlay (initial) */
.cap-overlay {
  position: absolute;
  inset: 0;
  background: rgba(37, 99, 235, 0.35);
  transition: opacity 0.4s ease;
}

/* Icon */
.cap-icon {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #fff;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 1.1rem;
  color: #2563eb;
}

/* Hover effects */
.cap-card:hover img {
  transform: scale(1.1);
}

.cap-card:hover .cap-overlay {
  opacity: 0;
}

/* Content */
.cap-content {
  padding: 20px;
}

.cap-title {
  font-size: 1.05rem;
  font-weight: 600;
  transition: color 0.3s ease;
}

.cap-card:hover .cap-title {
  color: #2563eb;
}

.cap-content p {
  font-size: 0.9rem;
  color: #555;
}

.cap-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: #2563eb;
  text-decoration: none;
}
/* ===============================
   CARD ENTRANCE ANIMATION
================================ */

.cap-animate {
  opacity: 0;
  transform: translateX(-60px);
}

/* Active animation state */
.cap-animate.animate {
  animation: slideInRight 0.8s ease forwards;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ================================================================================
                    capabiltiy  section ends  here 
====================================================================================*/
/* ================================================================================
                streamlined   section starts  here 
====================================================================================*/
/* ===============================
   WORKFLOW SECTION
================================ */

.workflow-section {
  background: radial-gradient(circle at 1px 1px, #1f2a44 1px, transparent 0),
              #0b1220;
  background-size: 28px 28px;
  color: #fff;
}

/* Header */
.workflow-tag {
  font-size: 0.75rem;
  letter-spacing: 1px;
  font-weight: 600;
  color: #f97316;
}

.workflow-title {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 700;
}

.workflow-btn {
  border-radius: 10px;
  font-weight: 500;
}

/* ===============================
   CARDS
================================ */

.workflow-card {
  position: relative;
  height: 100%;
  padding: 30px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.workflow-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
}

/* Icon */
.workflow-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 20px;
}

/* Step number */
.workflow-step {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 4rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.06);
}

/* Text */
.workflow-card h5 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.workflow-card p {
  font-size: 0.95rem;
  color: #cbd5e1;
}

/* ===============================
   LOAD ANIMATION
================================ */

.workflow-animate {
  opacity: 0;
  transform: scale(0.85);
}

.workflow-animate.animate {
  animation: zoomIn 0.7s ease forwards;
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.85);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 991px) {
  .workflow-card {
    padding: 25px;
  }
}

/* ================================================================================
                    streamlined  section ends  here 
====================================================================================*/
/* ================================================================================
                    featured card  section starts  here 
====================================================================================*/
.feature-section {
    padding: 80px 0;
}

.feature-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px 30px;
    height: 100%;
    transition: all 0.4s ease;
    position: relative;
}

.feature-card.middle {
    overflow: hidden;
}

.feature-card.middle::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #eef4ff, #f8fbff);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.feature-card.middle:hover::before {
    opacity: 1;
}

.feature-card * {
    position: relative;
    z-index: 1;
}

.icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 20px;
}

.icon-blue {
    background: #eef3ff;
    color: #2563eb;
}

.icon-orange {
    background: #fff3e8;
    color: #f97316;
}

.icon-green {
    background: #ecfdf3;
    color: #16a34a;
}

.feature-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
}

.feature-text {
    color: #4b5563;
    line-height: 1.7;
    font-size: 16px;
}

@media (max-width: 767px) {
    .feature-section {
        padding: 50px 0;
    }
}
/* ================================================================================
                    featured card  section ends  here 
====================================================================================*/
/* ================================================================================
                    cta section   section satrts  here 
====================================================================================*/

/* CTA SECTION */
.cta-section {
    min-height: 480px;
    background: 
        linear-gradient(
            rgba(18, 76, 216, 0.9),
            rgba(18, 76, 216, 0.9)
        ),
        url("../images/ondemadmanufactore/hero-bg.png") center/cover no-repeat;
    color: #ffffff;
    padding: 80px 0;
}

/* TEXT STYLES */
.cta-title {
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    max-width: 720px;
    margin: 0 auto 40px;
    line-height: 1.7;
    opacity: 0.95;
}

/* BUTTON */
.cta-btn {
    background: #ffffff!important;
    color: #124cd8;
    padding: 14px 34px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.35s ease;
}

.cta-btn:hover {
    background: #0b3cb8!important;
    color: #e8efff;
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

/* ANIMATION */
.animate-up {
    opacity: 0;
    transform: translateY(40px);
    animation: slideUp 0.9s ease forwards;
}

.delay-1 {
    animation-delay: 0.3s;
}

.delay-2 {
    animation-delay: 0.6s;
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .cta-section {
        padding: 60px 15px;
    }

    .cta-btn {
        font-size: 16px;
        padding: 12px 28px;
    }
}

/* ================================================================================
                    cta section   section ends  here 
====================================================================================*/




/* ================================================================================
                    slider section   section starts  here 
====================================================================================*/


.case-studies-section {
    padding: 80px 0;
    background: #ffffff;
    overflow: hidden;
}

.custom-container {
    padding-left: 5vw;
    padding-right: 5vw;
}

/* Header */
.case-header {
    margin-bottom: 40px;
}

.case-subtitle {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #ff7a18;
}

.case-title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 700;
    color: #0b1c2d;
    margin-top: 10px;
}

/* Slider */
.case-slider {
    margin-top: 30px;
}

.case-slide {
    padding: 0 12px;
}

/* Card */
.case-card {
    position: relative;
    height: 420px;
    border-radius: 22px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    transform: scale(0.92);
    animation: zoomIn 0.9s ease forwards;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

/* Zoom & shadow on hover */
.case-card:hover {
    transform: scale(1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

/* Gradient overlay */
.case-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.75),
        rgba(0, 0, 0, 0.15)
    );
    z-index: 1;
}

/* Content */
.case-content {
    position: relative;
    z-index: 2;
    padding: 30px;
    color: #ffffff;
    animation: slideText 0.9s ease forwards;
}

.case-tag {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: #ff9f43;
}

.case-content h3 {
    font-size: 22px;
    font-weight: 700;
    margin: 10px 0;
}

.case-content p {
    font-size: 15px;
    line-height: 1.6;
    opacity: 0.9;
}

.case-link {
    display: inline-block;
    margin-top: 15px;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.case-link:hover {
    transform: translateX(5px);
}

/* Background images */
.bg-drone {
    background: url("../images/ondemadmanufactore/case-drone.png") center/cover no-repeat;
}

.bg-medical {
    background: url("../images/ondemadmanufactore/hero-part.png") center/cover no-repeat;
}

.bg-robotics {
    background: url("../images/ondemadmanufactore/service-3d.png") center/cover no-repeat;
}

/* Animations */
@keyframes zoomIn {
    from {
        transform: scale(0.85);
        opacity: 0;
    }
    to {
        transform: scale(0.92);
        opacity: 1;
    }
}

@keyframes slideText {
    from {
        transform: translateX(-40px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .case-card {
        height: 360px;
    }
}

@media (max-width: 576px) {
    .case-card {
        height: 320px;
    }
}


/* ================================================================================
                    slider section   section ends  here 
====================================================================================*/
/* =========================
   CASE STUDIES SECTION
========================= */
