* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Tahoma", sans-serif;
}

body {
    background-color: #f5f5f5;
}

header {
    overflow: hidden;
    padding: 5px 90px;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

header img:first-child {
    float: left;
    height: 65px;
}

header img:last-child {
    float: right;
    height: 65px;
}

.hero {
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 40px;
    direction: ltr;
}

.form-box {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    width: 100%;
    width: 500px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    direction: rtl;
    margin-top: 40px;
}
.form-box input,
.form-box button {
    border-radius: 20px;
}
.form-box h2 {
    text-align: center;
    margin-bottom: 15px;
    color: #333;
}

.form-box h3 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 16px;
    color: #666;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #444;
}

input,
select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
}

button {
    width: 100%;
    padding: 12px;
    background: #0f429b;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 10px;
}

button:hover {
    background: #0f429b;
}

.success-box {
    background: #e6f7e6;
    border: 1px solid #b2d8b2;
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
    text-align: center;
    color: #2d6a2d;
    font-weight: bold;
}

.form-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.form-col {
    flex: 1 1 0;
}

.age-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.age-buttons button {
    flex: 1;
    padding: 10px 0;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #fff;
    cursor: pointer;
    transition: 0.3s;
    font-size: 1rem;
}

.age-buttons button:hover {
    background-color: #e9f5ff;
    border-color: #0f429b;
}

.age-buttons button.active {
    background-color: #0f429b;
    color: #fff;
    border-color: #0f429b;
}

.age-buttons button {
    color: black;
} /* Messages */
.error-box {
    border-radius: 10px;
    padding: 15px 20px;
    margin: 20px 0;
    text-align: center;
    font-size: 1rem;
    transition: opacity 0.5s ease;
}

.error-box {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.error-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.error-box li {
    margin: 5px 0;
}
.image-row {
    display: flex;
    gap: 10px;
    align-items: center;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.image-row img {
    width: 70px;
    /* fix width */
    height: 70px;
    /* fix height */
    object-fit: contain;
    /* keep aspect ratio */
    display: block;
}
.hint {
    display: block;
    margin-bottom: 15px;
    font-size: 0.875rem;
    color: #6c757d;
    font-style: italic;
}

.input-with-icon {
    position: relative;
    display: inline-block;
    width: 100%;
    /* adjust as needed */
}

.input-with-icon input {
    width: 100%;
    padding-right: 40px;
    /* space for the icon */
    box-sizing: border-box;
}

.input-with-icon img {
    position: absolute;
    left: 12px;
    top: 39%;
    transform: translateY(-50%);
    height: 24px;
    cursor: pointer;
}

@media (min-width: 768px) {
    .form-box {
        margin-left: 100px;
    }
}
        .success-card {
            display: none;
            text-align: center;
            padding: 30px;
            border-radius: 15px;
            background: linear-gradient(135deg, #00c851, #33b5e5);
            color: white;
            font-size: 1.2rem;
            box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
            animation: rollIn 1s ease forwards;
        }

        @keyframes rollIn {
            0% {
                transform: translateX(-100%) rotate(-720deg);
                opacity: 0;
            }

            100% {
                transform: translateX(0) rotate(0deg);
                opacity: 1;
            }
        }

        .success-card h1 {
            font-size: 2.5rem;
            margin-bottom: 10px;
            animation: bounce 1s infinite;
        }

        @keyframes bounce {

            0%,
            100% {
                transform: translateY(0);
            }

            50% {
                transform: translateY(-15px);
            }
        }
