.discrib{

    width: 600px;
    padding: 20px 20px 20px 0px;
}
.discrib span{
    color: #5b2bbf;
}
.discrib  p{
    font: 12px;
    line-height: 1.3;
    opacity: 60%;
}
.discrib h1{
    font-size: 35px;
    margin-bottom: 15px;
    text-transform: uppercase;
    line-height: 1.2;
}
.modem_image{
    width: 600px;
    border-radius: 10px;
    object-fit: cover;

}
.modem_image img{
    width: 100%;
    border-radius: 10px;
}

.hero-box {
    display: flex;
    align-items: center;
    padding: 80px 0px;
}

.service_hero{
    display: flex;
    gap: 20px;
}


.service-box{
    display: flex;
      width: min(1050px, calc(100% - 28px));
  margin: 15px auto 0;


  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
    background-color: white;
    padding: 15px;
    border: 1px solid rgba(255,255,255,.22);

    background:#fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 15px;
  box-shadow: var(--shadow-card);

  min-height: 120px;



  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}


.image-service{
    width: 150px;
}
.image-service img{
    width: 100%;
}



/* =========================
   BASE (keep your styles)
========================= */
.discrib{
  width: 600px;
  padding: 20px 20px 20px 0px;
}

.discrib span{ color: #5b2bbf; }

.discrib p{
  font-size: 12px;
  line-height: 1.3;
  opacity: 0.60;
}

.discrib h1{
  font-size: 35px;
  margin-bottom: 15px;
  text-transform: uppercase;
  line-height: 1.2;
}

.modem_image{
  width: 600px;
  border-radius: 10px;
  object-fit: cover;
}

.modem_image img{
  width: 100%;
  border-radius: 10px;
}

.hero-box{
  display: flex;
  align-items: center;
  padding: 80px 0px;

}

.service_hero{
  display: flex;
  gap: 20px;
}

.service-box{
  display: flex;
  width: min(1050px, calc(100% - 28px));
  margin: 15px auto 0;
  gap: 15px;
  flex-wrap: wrap;

  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 15px;
  box-shadow: var(--shadow-card);
  min-height: 120px;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}

.image-service{
  width: 150px;
  flex: 0 0 150px;
}

.image-service img{
  width: 100%;
}

/* =========================
   TABLET (<= 1024px)
========================= */
@media (max-width: 1024px){

.hero-box{
  display: flex;
  align-items: center;
  padding: 50px 0px;
  flex-wrap: wrap;
}
  .service_hero{
    gap: 16px;
  }

  /* Stack hero elements nicer on tablet */
  .discrib,
  .modem_image{
    width: 100%;
  }

  .discrib{
    padding: 12px 0;
  }

  .discrib h1{
    font-size: 30px;
  }

  .service-box{
    width: min(900px, calc(100% - 24px));
    padding: 14px;
  }

  .image-service{
    width: 130px;
    flex: 0 0 130px;
  }
}

/* =========================
   PHONE (<= 768px)
========================= */
@media (max-width: 768px){
  /* Hero turns into column */

  .hero-box{
  display: flex;
  align-items: center;
     padding: 35px 0px;
    align-items: stretch;
  flex-wrap: wrap;
}


  .service_hero{
    flex-direction: column;
    gap: 14px;
  }

  .discrib,
  .modem_image{
    width: 100%;
  }

  .discrib{
    padding: 10px 0;
  }

  .discrib h1{
    font-size: 26px;
    margin-bottom: 10px;
  }

  .discrib p{
    font-size: 13px; /* a ti kras pi lizib sou phone */
    line-height: 1.45;
  }

  /* Service cards: allow wrap */
  .service-box{
    width: calc(100% - 24px);
    padding: 14px;
    gap: 12px;
    min-height: auto;
  }

  .image-service{
    width: 110px;
    flex: 0 0 110px;
  }
}

/* =========================
   SMALL PHONE (<= 480px)
========================= */
@media (max-width: 480px){
  .discrib h1{
    font-size: 22px;
  }

  /* Service card becomes column for small screens */
  .service-box{
    flex-direction: column;
    align-items: flex-start;
    width: calc(100% - 20px);
    padding: 12px;
  }

  .image-service{
    width: 100%;
    flex: none;
  }

  .image-service img{
    border-radius: 10px;
  }

  .modem_image img{
    border-radius: 10px;
  }
}














/*--------login///////*/


/* =========================
   LOGIN MODAL (ONLY)
========================= */

.login-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.60);
  display: none;                 /* default hidden */
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 16px;
}

.login-overlay.is-open{
  display: flex;
}

/* Modal box */
.login-modal{
  width: min(420px, 94vw);
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0,0,0,0.28);
  border: 1px solid rgba(15, 23, 42, 0.10);
  transform: translateY(0);
}

/* Header */
.login-modal__header{
  background: #100a1b;
  color: #fff;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.login-modal__header h3{
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

.login-close{
  width: 34px;
  height: 34px;
  border: 0;
  background: rgba(255,255,255,0.14);
  color: #fff;
  border-radius: 8px;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

.login-close:hover{
  background: rgba(255,255,255,0.22);
}

/* Form */
.login-form{
  padding: 16px 18px 18px;
}

.login-field{
  position: relative;
  margin-bottom: 12px;
}

.login-icon{
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.55;
  font-size: 13px;
}

.login-field input{
  width: 100%;
  height: 46px;
  border-radius: 9px;
  border: 1px solid #e5e7eb;
  padding: 0 12px 0 42px;
  outline: none;
  font-size: 14px;
  background: #fff;
  color: #111827;
}

/* password input needs right padding for eye button */
#loginPassword{
  padding-right: 46px;
}

.login-field input:focus{
  border-color: rgba(59, 27, 121, 0.55);
  box-shadow: 0 0 0 3px rgba(59, 27, 121, 0.14);
}

/* Eye button */
.toggle-pass{
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  background: #f3f4f6;
  color: #111827;
  font-size: 16px;
}

.toggle-pass:hover{
  background: #e5e7eb;
}

.login-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 10px 0 14px;
  flex-wrap: wrap;
}

.login-check{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #111827;
}

.login-forgot{
  font-size: 13px;
  color: #4b5563;
  text-decoration: none;
}

.login-forgot:hover{
  text-decoration: underline;
}

/* Button */
.login-btn{
  width: 100%;
  height: 46px;
  border: 0;
  border-radius: 10px;
  background: #f2b53b;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  font-size: 15px;
}

.login-btn:hover{
  filter: brightness(0.96);
}

.login-btn:disabled{
  opacity: 0.7;
  cursor: not-allowed;
}

/* Hint (optional) */
.login-hint{
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  background: #f3f4f6;
  color: #111827;
}

/* Mobile */
@media (max-width: 420px){
  .login-modal__header h3{ font-size: 16px; }
  .login-form{ padding: 14px; }
}