body {
  margin: 0;
  font-family: Inter, sans-serif;
  background: #0f172a;
  color: #e2e8f0
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #000;
}

header h1 {
  font-size: 20px;
  margin: 0
}

.about {
  padding: 40px 40px 80px 40px;
  max-width: 1100px;
  margin: auto
}

.about h2 {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 1.25rem;
}

.custom p {
  font-size: 18px;
  text-align: center;
  text-wrap: balance;
  color: #94a3b8;
  max-width: 600px;
  margin: 0 auto 1rem;
}

.announce {
  padding: 2rem 5rem;
  text-align: center;
  text-wrap: balance;
  background: linear-gradient(0deg, #0f172a, #1e293b);
}

.announce h2 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.announce p {
  font-size: 18px;
  color: #94a3b8;
  margin: 0 auto;
}

.container {
  padding: 40px 20px;
  max-width: 1100px;
  margin: auto;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px
}

.card {
  background: #94a3b8;
  color: #000;
  padding: 10px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .3);
}

.card h3 {
  margin-top: .5rem;
  margin-bottom: 0rem;
  font-size: 1.5rem;
}

.rotator {
  position: relative;
  height: 400px;
  overflow: hidden;
  border-radius: 12px
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease
}

.slide.active {
  opacity: 1
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .75) 100%)
}

.overlay h3 {
  margin: 0 0 6px;
  font-size: 20px;
  color: #fff
}

.overlay p {
  margin: 0;
  font-size: 14px;
  color: #d1d5db
}

.rotator img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* opacity: 0; // never let it show */
  animation: rotate 15s in finite
}

.rotator img:nth-child(1) {
  animation-delay: 0s
}

.rotator img:nth-child(2) {
  animation-delay: 5s
}

.rotator img:nth-child(3) {
  animation-delay: 10s
}

.services {
  background: linear-gradient(0deg, #465167, #0f172a);
}

.applications {
  padding:80px 40px;
  max-width:1100px;
  margin:auto;
}

.device {
  display: block;
  position: relative;
  padding: 10px 40px;
  object-fit: contain;
  background: #465167;
  margin: auto;
}

.device h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
}

.device h4 {
  text-align: center;
  text-wrap: balance;
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

.device .device-image {
  position: relative;
  display: block;
  width: fit-content;
  margin: 0 auto;
}

.device .device-image img {
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.device .device-image .hoverBox {
  position: absolute;
  height: unset;
  aspect-ratio: 2 / 1;
  width: 8%;
  cursor: pointer;
}

.device .device-image .reveal {
  position: absolute;
  padding: 1vw;
  font-size: 1.5vw;
  background: #0f172a;
  color: white;
  /*
  background: #94a3b8;
  color: black;
  */
  border-radius: 8px;

  opacity: 0;
  visibility: hidden;
  transition: opacity .3s;
}

.inDig {
  left: 11%;
  top: 11%;
}

.digIn {
  left: 21%;
  top: 10%;
  min-width: 10ch;
}

.inDig:hover + .digIn {
    opacity: 1;
    visibility: visible;
}

.inAnl {
  left: 11%;
  top: 27%;
}

.anlIn {
  left: 21%;
  top: 27%;
  min-width: 10ch;
}

.inAnl:hover + .anlIn {
    opacity: 1;
    visibility: visible;
}

.inTog {
  left: 11%;
  top: 42%;
}

.togIn {
  left: 21%;
  top: 42%;
  min-width: 10ch;
}

.inTog:hover + .togIn {
    opacity: 1;
    visibility: visible;
}

.inMom {
  left: 11%;
  top: 58%;
}

.momIn {
  left: 21%;
  top: 58%;
  min-width: 10ch;
}

.inMom:hover + .momIn {
    opacity: 1;
    visibility: visible;
}

.inSen {
  left: 11%;
  top: 74%;
}

.senIn {
  left: 21%;
  top: 74%;
  min-width: 10ch;
}

.inSen:hover + .senIn {
    opacity: 1;
    visibility: visible;
}

.module {
  position: absolute;
  height: unset;
  aspect-ratio: 1 / 1;
  width: 25%;
  cursor: crosshair;
  left: 37%;
  top: 1%;

  /* Remove this after positioning 
  border: 2px dashed red;*/
}

.modText {
  left: 36%;
  top: 71%;
  width: 25%;
  min-width: 10ch;
  text-align: center;
  text-wrap: balance;
}

.module:hover + .modText {
    opacity: 1;
    visibility: visible;
    cursor: crosshair;
}

.outDig {
  left: 81%;
  top: 11%;
}

.digOut {
  right: 20%;
  top: 10%;
  min-width: 10ch;
}

.outDig:hover + .digOut {
    opacity: 1;
    visibility: visible;
}

.outNop {
  left: 81%;
  top: 27%;
}

.nopOut {
  right: 20%;
  top: 26%;
  min-width: 10ch;
}

.outNop:hover + .nopOut {
    opacity: 1;
    visibility: visible;
}

.outNcl {
  left: 81%;
  top: 42%;
}

.nclOut {
  right: 20%;
  top: 41%;
  min-width: 10ch;
}

.outNcl:hover + .nclOut {
    opacity: 1;
    visibility: visible;
}

.outMul {
  left: 81%;
  top: 58%;
}

.mulOut {
  right: 20%;
  top: 57%;
  min-width: 10ch;
}

.outMul:hover + .mulOut {
    opacity: 1;
    visibility: visible;
}

.outSrv {
  left: 81%;
  top: 74%;
}

.srvOut {
  right: 20%;
  top: 73%;
  min-width: 10ch;
}

.outSrv:hover + .srvOut {
    opacity: 1;
    visibility: visible;
}

/* Mobile adjustments */
@media (max-width:600px) {

    .digitalReveal {
        width: 45%;
        min-width: 140px;
        font-size: 14px;
    }

}

.contact {
  visibility: hidden;
  display: none;
  padding:80px 40px;
  max-width:1100px;
  margin:auto
}

.btn {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  background: #3b82f6;
  color: white;
  font-weight: 600;s
  cursor: pointer
}

.btn1 {
  display: inline-block;
  margin: 10px;
  padding: 12px 20px;
  border-radius: 8px;
  background: #f97316;
  color: #fff;
  text-decoration: none
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px
}

.footer {
  padding: 20px;
  text-align: center;
  color: #64748b
}

input, textarea {
  width: 100%;
  padding: 10px;
  margin-top: 10px;
  border-radius: 6px;
  border: none;
  background: #0f172a;
  color: #e2e8f0
}

form {
  max-width: 500px;
  margin: auto
}