* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    color: white;
    background-color: #000;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    background-color: white;
    color: black;
    text-align: center;
    padding: 20px 20px;
}

header h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 2.8em;
    color: black;
}

header p {
    font-size: 1em;
    color: black;
    margin-top: 5px;
}

#main {
    position: relative;
    flex-grow: 1;
}

.background-overlay {
    background-image: url('girl-people.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    padding: 80px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.content-overlay {
    background: rgba(0, 0, 0, 0.6);
    padding: 40px;
    border-radius: 10px;
    max-width: 95%;
    margin: 0 auto;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center; /* Centering content */
}

.intro-text h2 {
    font-size: 2.5em;
    color: white;
    margin-bottom: 20px;
}

.intro-text p {
    font-size: 1.2em;
    color: white;
    max-width: 800px;
    margin: 0 auto 40px auto;
    text-align: justify; /* Justified text */
}

.services {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 20px;
    z-index: 2;
}

@media (min-width: 768px) {
    .services {
        flex-direction: row;
        justify-content: center; /* Center align services */
        gap: 20px; /* Add space between items */
    }
}

.service-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.service-box {
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    width: 300px;
    margin: 10px;
    padding: 20px;
    border-radius: 8px;
    text-align: left;
    position: relative;
    transition: box-shadow 0.3s ease;
    cursor: pointer;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-box:hover {
    box-shadow: 0 0 15px #ff9800;
}

.service-box h3 {
    margin: 0;
    font-size: 1.5em;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.service-box h3 .icon {
    width: 28px;
    height: auto;
    margin-right: 8px;
}

footer {
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    text-align: center;
    padding: 20px;
    position: relative;
    bottom: 0;
    width: 100%;
}

footer p {
    font-size: 0.9em;
}

/* Styling for the footer link */
.footer-link {
    color: #ff9800; /* Gold color */
    text-decoration: none;
}

.footer-link:hover {
    text-decoration: underline; /* Adds underline on hover */
    color: #ff9800; /* Keeps the gold color on hover */
}
