
/* Footer styling */
.before-footer {
  background: #323232;  /* Change Newsletter baner color */
  color: #fff;
  text-align: center;
  padding: 20px;
  margin-top:30px;
  width:100%;
}

/* Footer styling */
.footer {
  background: #fff;   /* Change footer baner color */
  color: #565656; 
  text-align: center;
  padding: 20px;
  margin-top:30px;
}



#backToTop {
  position: fixed;
  bottom: 24px;       /* bottom-6 => 6 * 4px = 24px */
  right: 24px;        /* right-6 */
  display: none;      /* αρχικά κρυφό */
  background-color: #2563eb;  /* blue-600 */
  color: white;
  padding: 10px 16px;
  border: none;
  border-radius: 9999px; /* full rounded */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 999;
}
p {padding-bottom:5px;}
/* Όταν είναι ορατό */
#backToTop.show {
  display: block;
  opacity: 1;
}

/* Footer styling */
.footer {
  background: #222;
  color: #fff;
  text-align: center;
  padding: 20px;
  margin-top:30px;
}


.footer-grid {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  gap: 2rem;
  text-align: center;

  grid-template-columns: 1fr; /* Μικρές οθόνες: 1 στήλη */
}

/* Από 640px (π.χ. κινητό σε landscape): 2 στήλες */
@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Από 1024px και πάνω: 4 στήλες */
@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
    text-align: inherit;
  }

  .footer-col-left {
    text-align: left;
  }
  .footer-col-center {
    text-align: left;
  }
  .footer-col-right {
    text-align: left;
  }
  .footer-col-extra {
    text-align: left;
  }
}



.footer-bottom {
  margin-top: 2rem;         /* mt-8 = 8 * 0.25rem = 2rem */
  text-align: center;       /* text-center */
  color: #9ca3af;           /* text-gray-400 σε Tailwind (approx.) */
  font-size: 0.875rem;      /* text-sm = 14px = 0.875rem */
}
.text-link-footer {
  display: block;
  background: none;
  border: none;
  color: #fff; /* Tailwind 'text-blue-600' */
  font-weight: 500;
  padding: 4px 8px;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.text-link-footer:hover {
  background-color: rgba(37, 99, 235, 0.1); /* Ελαφρύ μπλε hover φόντο */
  text-decoration: none;
}

.footer-col-extra {
  /* Ίδιο ύψος και style με τις άλλες */
  line-height: 150%;
  font-size: 1rem;
}




.footer-grid {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  gap: 2rem;
  text-align: center;

  grid-template-columns: 1fr; /* Μικρές οθόνες: 1 στήλη */
}

/* Από 640px (π.χ. κινητό σε landscape): 2 στήλες */
@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Από 1024px και πάνω: 4 στήλες */
@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
    text-align: inherit;
  }
.footer-col-left {text-align: center;}
.footer-col-center {text-align: center;}
.footer-col-right {text-align: center;}
.footer-col-extra {text-align: center;} 
}

.social {
display: inline-block;
padding:5px;
}

.newsletter-wrapper-new {
  display: flex;
  flex-wrap: wrap;
  background-color: #323232;
  color: white;
  padding: 30px;
  border-radius: 12px;
  gap: 20px;
  width:100%;
  max-width:1100px;
  margin:auto;
}

.newsletter-text {
  flex: 1 1 100px;
  font-family: sans-serif;
}

.newsletter-text h2 {
  margin: 0 0 10px;
  font-size: 28px;
}

.newsletter-text p {
  font-size: 16px;
  line-height: 1.6;
}

.newsletter-form-container {
  flex: 1 1 100px;
}

.email-input-group {
  position: relative;
  width: 100%;
  max-width: 100%;
}


.code-input-group {
  position: relative;
  width: 100%;
  max-width: 100%;
}


#email {
  width: 100%;
  padding: 12px 100px 12px 15px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  box-sizing: border-box;
  max-width: 100%;
}


#send-code {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  padding: 0 20px;
  border: none;
  background-color: #e91e63;
  color: white;
  font-weight: bold;
  cursor: pointer;
  border-radius: 0 6px 6px 0;
}

#code {
  width: 100%;
  padding: 12px 100px 12px 15px; /* Χώρος δεξιά για το κουμπί */
  border: none;
  border-radius: 6px;
  font-size: 16px;
  box-sizing: border-box;
}

#verify-code {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  padding: 0 20px;
  border: none;
  background-color: #e91e63;
  color: white;
  font-weight: bold;
  cursor: pointer;
  border-radius: 0 6px 6px 0;
}


@media (max-width: 768px) {
  .newsletter-wrapper-new {
    flex-direction: column;
    text-align: center;
    gap: 0px;
    padding: 10px 15px;
  }

  .newsletter-text,
  .newsletter-form-container {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .newsletter-text h2 {
    font-size: 20px;
    margin-bottom: 6px;
  }

  .newsletter-text p {
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 10px;
  }

  .email-input-group {
    margin: 0 auto;
    width: 100%;
    max-width: 100%;
    position: relative;
  }
  
    .code-input-group {
    margin: 0 auto;
    width: 100%;
    max-width: 100%;
    position: relative;
  }

  #email {
    padding: 10px 85px 10px 12px;
    font-size: 15px;
  }
  
    #code {
    padding: 10px 85px 10px 12px;
    font-size: 15px;
  }

  #send-code {
    top: 5px;
    right: 5px;
    height: calc(100% - 10px);
    padding: 0 12px;
    font-size: 13px;
  }
  
#verify-code {
  top: 5px;
  right: 5px;
  height: calc(100% - 10px);
  padding: 0 12px;
  font-size: 13px;
  border-radius: 6px;
  position: absolute;
}

}

.newsletter-form-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.footer-title{padding:0px 0px 5px 0px;}