/* ==== RESET ==== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* ==== ΒΑΣΙΚΟ ΣΤΥΛ ==== */
body {
  font-family: Arial, sans-serif;
  background-color: #f9f9f9;
}

header {
  background-color: #2c3e50;
  color: white;
  height: 90px;
  display: flex;
  flex-direction: column;
  justify-content: center; /* Κεντραρισμένο κάθετα */
  align-items: center;     /* Κεντραρισμένο οριζόντια */
  padding: 15px 0;         /* Ίσο κενό πάνω και κάτω */
}


header h1 {
  margin: 0;
  font-size: 24px;
  line-height: 1;
}

nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  background-color: #34495e;
}

nav a {
  color: white;
  padding: 12px 16px;
  text-decoration: none;
  text-align: center;
  flex: 1 1 auto;
  min-width: 100px;
  max-width: 200px;
}

nav a:hover,
nav a.active {
  background-color: #1abc9c;
}

.section {
  display: none;
  padding: 40px 20px;
  max-width: 1000px;
  margin: auto;
}

.section.active {
  display: block;
}

h2, h3 {
  color: #2c3e50;
  margin-top: 20px;      /* Αποστάση από πάνω */
  margin-bottom: 5px;   /* Ή κράτα όσο έχεις */
}


.cta-button {
  background-color: #1abc9c;
  color: white;
  padding: 16px 32px;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 10px;
  display: inline-block;
  margin: 30px auto;
  text-align: center;
  transition: 0.3s ease;
}

.cta-button:hover {
  background-color: #16a085;
}

.centered {
  text-align: center;
}

.program, .benefits, .form-section {
  background-color: #ecf0f1;
  padding: 20px;
  margin-top: 20px;
  border-radius: 8px;
}

.benefits ul {
  list-style: none;
  padding-left: 0;
}

.benefits li {
  margin: 10px 0;
}

footer {
  background-color: #2c3e50;
  color: white;
  padding: 20px;
  text-align: center;
}

form input, form textarea {
  width: 100%;
  padding: 10px;
  margin-top: 8px;
  margin-bottom: 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}

button[type="submit"] {
  background-color: #1abc9c;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
}

button[type="submit"]:hover {
  background-color: #16a085;
}

/* ==== RESPONSIVE ==== */
@media (max-width: 768px) {
  header {
    height: 70px;
    padding: 0px 0;
  }

  header h1 {
    font-size: 18px;
  }

  nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  nav a {
    width: 100%;
    padding: 14px 10px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    border-right: 1px solid rgba(255,255,255,0.1);
    min-width: auto;
    max-width: none;
  }

  nav a:nth-child(2n) {
    border-right: none;
  }

  nav a:nth-last-child(-n+2) {
    border-bottom: none;
  }

  .section {
    padding: 20px 12px;
  }

  .cta-button {
    font-size: 1rem;
    padding: 14px 20px;
    max-width: 90%;
  }

  h2 {
    font-size: 1.2rem;
  }

  h3 {
    font-size: 1rem;
  }

  .program, .benefits, .form-section {
    padding: 15px;
  }

  form input, form textarea {
    font-size: 1rem;
  }
}
