/* HERO */
.services-hero{
  margin-top: 110px;            /* similar spacing like your other pages */
  margin-left: 30px;
  margin-right: 30px;
  border-radius: 24px;
  overflow: hidden;

  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;

  background: linear-gradient(135deg, #234a7a, #3f6fb3);
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
}

.services-hero__inner{
  max-width: 980px;
  padding: 80px 18px;
  text-align: center;
  color: #fff;
}

.services-hero__title{
  margin: 0 0 14px;
  font-size: 82px;
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -1px;
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.services-hero__subtitle{
  margin: 0 0 28px;
  font-size: 22px;
  font-weight: 700;
  opacity: .95;
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.services-hero__desc{
  margin: 0 auto 46px;
  max-width: 720px;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 600;
  opacity: .92;
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Button */
.services-hero__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;

  padding: 16px 34px;
  border-radius: 16px;

  background: rgba(255,255,255,.28);
  color: #fff;
  text-decoration: none;

  font-size: 20px;
  font-weight: 800;
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  box-shadow: 0 14px 30px rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.25);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.services-hero__btn:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,.34);
  box-shadow: 0 18px 34px rgba(0,0,0,.28);
}

.services-hero__arrow{
  font-size: 26px;
  line-height: 1;
}

/* OPTIONAL NEXT SECTION */
.services-section{
  padding: 70px 16px;
  background: #fff;
}
.services-section__inner{
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.services-section__title{
  margin: 0 0 10px;
  font-size: 34px;
  font-weight: 800;
  color:#111;
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.services-section__text{
  margin: 0;
  color:#666;
  font-size: 16px;
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Responsive */
@media (max-width: 900px){
  .services-hero__title{ font-size: 56px; }
  .services-hero{ min-height: 220px; }
}
@media (max-width: 560px){
  .services-hero{
    margin-left: 14px;
    margin-right: 14px;
    margin-top: 95px;
  }
  .services-hero__title{ font-size: 40px; }
  .services-hero__subtitle{ font-size: 16px; }
  .services-hero__desc{ font-size: 13px; }
  .services-hero__btn{ font-size: 16px; padding: 14px 22px; }
}


.services-section{
  padding: 46px 16px 70px;
  background:#fff;
}

.services-section__inner{
  max-width: 1180px;
  margin: 0 auto;
}

.services-section__head{
  text-align:center;
  margin-bottom: 28px;
}

.services-section__title{
  margin: 0;
  font-size: 44px;
  font-weight: 900;
  color:#0b1320;
  letter-spacing: .2px;
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.services-section__subtitle{
  margin: 10px 0 0;
  font-size: 18px;
  color:#4b5563;
  line-height: 1.5;
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* GRID */
.services-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 34px;
  justify-content: center;
}

/* CARD */
.service-card{
  text-align: left;
  background:#fff;
  border: 1px solid #e6eaf0;
  border-radius: 16px;
  padding: 26px 26px 22px;
  box-shadow: 0 6px 18px rgba(16,24,40,.06);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.service-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(16,24,40,.12);
  border-color:#d7dde6;
}

.service-card__icon{
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #f3f5f7;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.service-card__icon img{
  width: 52px;
  height: 52px;
  -o-object-fit: contain;
     object-fit: contain;
  display: block;
  opacity: .9;
}

.service-card:hover .service-card__icon img{
  width: 58px;
  height: 58px;
  transform: scale(1.05); /* optional but smooth */
  transition: width .2s ease, height .2s ease, transform .2s ease;
}




.service-card__title{
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 600;
  color:#0b1320;
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.service-card__desc{
  margin: 0 0 18px;
  font-size: 15px;
  color:#475569;
  line-height: 1.6;
  max-width: 34ch;
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.service-card__link{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color:#1d4ed8;
  text-decoration:none;
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.service-card__link span{
  transition: transform .2s ease;
}

.service-card__link:hover span{
  transform: translateX(2px);
}

/* Responsive */
@media (max-width: 1024px){
  .services-grid{ grid-template-columns: repeat(2, 1fr); }
  .services-section__title{ font-size: 38px; }
}

@media (max-width: 640px){
  .services-grid{ grid-template-columns: 1fr; }
  .services-section__title{ font-size: 32px; }
  .service-card{ padding: 22px; }
}


/* Fiber laser Section */
/* SCROLL PIN WRAPPER (controls how long it stays pinned) */
.sv-reveal {
  position: relative;
  height: 180vh; /* <-- scroll length. increase if video is long */
  margin: 40px auto;
  max-width: 1200px;
  border-radius: 22px;
}

/* STICKY PANEL */
.sv-reveal__pin {
  position: sticky;
  top: 110px; /* match your navbar spacing */
  height: 620px;
  border-radius: 22px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 18px 60px rgba(0,0,0,.22);
}

/* Video layer */
.sv-reveal__media {
  position: absolute;
  inset: 0;
}

.sv-reveal__video {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

/* Dark overlay */
.sv-reveal__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,.74) 0%,
    rgba(0,0,0,.48) 42%,
    rgba(0,0,0,.16) 70%,
    rgba(0,0,0,.06) 100%
  );
}

/* Text overlay */
.sv-reveal__content {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 64px 56px;
  max-width: 640px;
  color: #fff;

  flex-direction: column;
  justify-content: center;

  transition: opacity .35s ease, transform .35s ease;
  will-change: opacity, transform;
}

.sv-reveal__content h2 {
  margin: 0 0 14px;
  font-size: 54px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.sv-reveal__desc {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.55;
  opacity: .92;
  max-width: 520px;
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.sv-reveal__list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 12px;
}

.sv-reveal__list li {
  position: relative;
  padding-left: 26px;
  font-size: 16px;
  opacity: .96;
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.sv-reveal__list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 0;
  opacity: .9;
}

/* Responsive */
@media (max-width: 768px) {
  .sv-reveal { height: 160vh; margin: 24px 16px; }
  .sv-reveal__pin { top: 90px; height: 520px; border-radius: 18px; }
  .sv-reveal__content { padding: 42px 22px; max-width: 100%; }
  .sv-reveal__content h2 { font-size: 38px; }
}


/** PCB Design Section */
.pcb-design{
  padding: 64px 16px;
  background: #fff;
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.pcb-design__inner{
  max-width: 1150px;
  margin: 0 auto;
}

.pcb-design__head{
  margin-bottom: 34px;
}

.pcb-design__title{
  margin: 0 0 10px;
  font-size: 44px;
  font-weight: 900;
  color: #0b1320;
  letter-spacing: -0.02em;
}

.pcb-design__lead{
  margin: 0;
  max-width: 880px;
  font-size: 16px;
  line-height: 1.7;
  color: #4b5563;
  font-weight: 500;
}

/* top row */
.pcb-design__top{
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 26px;
}

.pcb-design__subttl{
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 800;
  color: #0b1320;
}

/* checklist */
.pcb-design__list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.pcb-design__list li{
  position: relative;
  padding-left: 30px;
  font-size: 15px;
  color: #334155;
  line-height: 1.55;
  font-weight: 500;
}

.pcb-design__list li::before{
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  color: #16a34a;
  border: 2px solid #16a34a;
}

/* pills */
.pcb-design__pills{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pcb-pill{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid transparent;
}

.pcb-pill--blue{
  background: #dbeafe;
  color: #0b3b9f;
  border-color: #bfd7ff;
}

.pcb-pill--amber{
  background: #fef3c7;
  color: #92400e;
  border-color: #fde68a;
}

/* cards */
.pcb-design__cards{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 16px;
}

/* ✅ FULL IMAGE CARD */
.pcb-card{
  position: relative;
  height: 280px;
  border-radius: 18px;
  overflow: hidden;

  /* image handling */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;
  align-items: flex-end;

  border: 1px solid #eceff3;
  box-shadow: 0 10px 26px rgba(16,24,40,.12);
  transition: transform .25s ease, box-shadow .25s ease;
}

/* Hover */
.pcb-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(16,24,40,.18);
}

/* ✅ DARK OVERLAY FOR TEXT READABILITY */
.pcb-card::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,.55),
    rgba(0,0,0,.15)
  );
  z-index: 1;
}

/* ✅ TEXT AREA */
.pcb-card__label{
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 18px;

  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: .2px;
}

/* Hide unused old block */
.pcb-design__bestfor{
  display: none;
}

/* Responsive */
@media (max-width: 900px){
  .pcb-design__cards{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px){
  .pcb-design__cards{
    grid-template-columns: 1fr;
  }
}


/* responsive */
@media (max-width: 980px){
  .pcb-design__top{
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

