/* Page Header */
.header {
    background: url('/images/headers/aiHeader.webp') no-repeat center center/cover;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: white;
    text-align: center;
    padding: 0 1rem;
    overflow: hidden;
}

/* Translucent Container */
.header .container {
    background: rgba(0, 0, 0, 0.7);
    width: 90%;
    max-width: 1200px;
    height: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
}

/* Logo */
.header .logo img {
    max-width: 32%;
    min-width: 300px;
    height: auto;
    filter: drop-shadow(5px 5px 4px black);
}

/* Text Styling */
.header p {
    margin: 0;
}

.header p span {
    font-size: 1.25rem; /* Ensures uniform size across all pages */
    font-weight: 400;
    line-height: 1.4; /* Keeps consistent spacing */
    color: #EAEAEA; /* Matches the general landing-header color */
    margin: 0.5rem 0; /* Adds consistent spacing */
    display: block;
}

.header a {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.header a:hover {
    text-decoration: none;
}

/* Responsive Adjustments */
/*
@media (max-width: 768px) {
    .landing-header {
        padding: 1rem 1rem;
    }

    .landing-header .logo img {
        max-width: 40%;
    }

    .landing-header .container {
        padding: 1.5rem;
    }

    .landing-header p span {
        font-size: 1rem;
        line-height: 1.4;
    }
}
*/

/* Additional Small Screen Adjustments */
@media (max-width: 480px) {

    .header {
        padding: 0rem 0rem;
    }

    .header .container {
        height: 100%;
        width: 100%;
        border-radius: 0px;
        box-shadow: none;
    }

    .header .logo img {
        max-width: 80%;
    }

    .header p span {
        line-height: 1.2;
        /* Tighter spacing for smaller screens */
    }
}