/* === GLOBAL STYLES === */
body, html {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    height: 100%;
    background: url('images/back_image.jpg') center/cover no-repeat;
    color: #333;
    display: grid;
    grid-template-rows: auto 1fr auto;
}

/* === HEADER === */
header {
    background: rgba(211,211,211,0.95);
    color: white;
    padding: 20px;
    text-align: center;
    z-index: 1;
}

.nav-header {
  background: rgba(211,211,211,0.95);
}
.logo {
    height: 100px;
    width: auto;
    object-fit: contain;
}

/* === NAVIGATION === */
.nav-menu {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
}

.nav-menu li {
    margin: 10px 15px;
}

.nav-menu a {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: 16px;
    color: #000;
}

.nav-menu img {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

/* === HERO SECTION === */
.hero {
    background: url('images/hero.jpg') center/cover no-repeat;
    color: white;
    text-align: center;
    padding: 100px 20px;
}

.hero h2 {
    font-size: 2.5rem;
}

.hero .btn {
    display: inline-block;
    background: #efefef;
    color: #000;
    padding: 10px 20px;
    text-decoration: none;
    margin-top: 10px;
    border-radius: 5px;
}

.hero .btn:hover {
    background: green;
}

/* === FORM CONTAINER === */
.form-container, .content, .content-1, .index {
    width: 90%;
    max-width: 900px;
    margin: 30px auto;
    padding: 20px;
    background: rgba(204, 204, 204, 0.8);
    border-radius: 10px;
    box-sizing: border-box;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* === FORM ELEMENTS === */
form {
    display: flex;
    flex-direction: column;
}

label {
    margin-top: 10px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
}

input, textarea {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    transition: border 0.3s ease-in-out;
}

input:focus, textarea:focus {
    border: 2px solid #000;
}

input[type="radio"], input[type="checkbox"] {
    transform: scale(1.2);
}

button {
    margin-top: 15px;
    padding: 10px;
    background: #0073e6;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background: green;
}

.register-btn {
    background: #28a745;
    margin-left: 10px;
}

.register-btn:hover {
    background: green;
}

/* === POPI AGREEMENT === */
.popi-agreement {
    margin-top: 15px;
    font-size: 14px;
}

.popi-agreement input {
    margin-right: 5px;
}

.popi-agreement a {
    color: blue;
    text-decoration: none;
}

.popi-agreement a:hover {
    text-decoration: underline;
}

/* === INFO CONTAINERS === */
.info-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    padding: 40px;
    flex-wrap: wrap;
}

.info-box {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    background: rgba(204, 204, 204, 0.9);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.text-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    height: auto;
    padding-top: 20px;
    white-space: normal;
    overflow-wrap: break-word;
}

.text-container p,
.text-container ul,
.text-container ol {
    line-height: 1.6;
}

/* === NUMBERED LIST === */
.numbered-list p {
    counter-increment: my-counter;
    position: relative;
    padding-left: 25px;
}

.numbered-list p::before {
    content: counter(my-counter) ". ";
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* === SECTION BACKGROUNDS === */
.reg {
    background-image: url('images/job-search-banner.jpg');
}
.about {
    background-image: url('images/bridge.jpg');
}
.services {
    background-image: url('images/back.jpg');
}
.contact {
    background-image: url('images/cycling.jpg');
}
.popia {
    background-image: url('images/skyscrapers.jpg');
}

/* === HEADINGS === */
h2 {
    font-size: 22px;
    color: black;
    text-align: center;
    margin-bottom: 10px;
}

li {
    font-size: 18px;
    text-align: center;
    color: #333;
}

/* === FOOTER === */
footer {
    background: rgba(204, 204, 204, 0.8);
    text-align: center;
    color: black;
    padding: 20px;
    z-index: 1;
}

/* === RESPONSIVENESS === */
@media (max-width: 768px) {
    header {
        padding: 10px;
    }

    .logo {
        height: 70px;
    }

    .hero h2 {
        font-size: 1.8rem;
    }

    .nav-menu {
        flex-direction: column;
    }

    .nav-menu li {
        margin: 10px 0;
    }

    .form-container,
    .content,
    .content-1,
    .index {
        padding: 15px;
        width: 95%;
    }

    .info-container {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
        align-items: center;
    }

    .info-box {
        max-width: 100%;
    }

    .hero {
        padding: 60px 15px;
    }
    h4 {
      color: red;
      text-decoration: underline;
    }
