/* HERO SECTION */
.hero {
    height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    /*background: linear-gradient(135deg, #4a90e2, #007aff);*/
    color: white;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
}

#ctaBtn {
    margin-top: 25px;
    padding: 12px 28px;
    font-size: 1.1rem;
    border: none;
    border-radius: 6px;
    background: white;
    color: #007aff;
    cursor: pointer;
    transition: 0.3s ease;
}

#ctaBtn:hover {
    background-color: #e6e6e6;
}

/* INFO SECTIONS */
.info-section {
    max-width: 900px;
    margin: auto;
}

.info-section h2 {/* INFO SECTIONS */
    .info-section {
        max-width: 900px;
        margin: auto;
    }

    .info-section h2 {
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .info-section ul,
    .info-section ol {
        font-size: 1.1rem;
        line-height: 1.7;
        list-style: none;
    }

    .checklist li::before {
        content: "✔️ ";
    }

    /* Inputs (Προαιρετικά, αν θες να αλλάξεις το στυλ του template) */
    input[type="text"],
    input[type="email"] {
        /* προσοχή εδώ, το template χρησιμοποιεί την class .form-control */
    }
    font-size: 2rem;
    margin-bottom: 20px;
}

.info-section ul,
.info-section ol {
    font-size: 1.1rem;
    line-height: 1.7;
    list-style: none;
}

.checklist li::before {
    content: "✔️ ";
}

/* FORM SECTION */
.form-section {
    padding: 60px 20px;
    max-width: 50%;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

/* Form container */
#contactForm {
    width: 100%;
    margin: 40px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    font-family: Arial, sans-serif;
}

/* Rows */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

/* Full-width group */
.form-group.full {
    grid-column: span 2;
}

/* Labels */
label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #333;
}

/* Inputs */
input[type="text"],
input[type="email"] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus {
    border-color: #007aff;
    box-shadow: 0 0 0 3px rgba(0,122,255,0.2);
    outline: none;
}

/* Submit button */
.submit-btn {
    width: 100%;
    padding: 14px;
    background: #007aff;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.2s ease;
}

.submit-btn:hover {
    background: #005fcc;
}

/* Ευθυγράμμιση Captcha */
.captcha-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    margin-top: 5px;
}

.captcha-wrapper img {
    border-radius: 8px;
    border: 1px solid #dee2e6;
    max-height: 45px; /* Για να μην ξεχειλώνει */
}

.refresh-button {
    background-color: #f4f4f4;
    border: 1px solid #ccc;
    color: #333;
    border-radius: 8px;
    width: 45px;
    height: 45px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

.refresh-button:hover { background-color: #ebebeb; }

.spinning {
    animation: rotate 0.6s linear;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Fix για τα λάθη στα inputs με border-0 */
.form-control.is-invalid {
    border: 1px solid #dc3545 !important; /* Αναγκάζουμε το border να φανεί στο λάθος */
    background-color: #fff8f8 !important;
}


/* Σιγουρευόμαστε ότι το μήνυμα θα φανεί */
.invalid-feedback {
    display: block !important;
    color: #dc3545;
    font-size: 0.875em;
    margin-top: 0.25rem;
}

/* highlight στο πεδίο captcha αν έχει λάθος */
#captcha.is-invalid {
    border: 1px solid #dc3545 !important;
}

/* Mobile responsive */
@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .form-group.full {
        grid-column: span 1;
    }
}