/*
 * About Us Page Stylesheet
 * - Loaded AFTER style.css
 * - Contains only styles specific to about-us.html
 */

/* Banner Section */
.about-banner {
    position: relative;
    width: 100%;
    background-color: var(--dark); /* Fallback color */
    overflow: hidden;
}

.about-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(28, 32, 53, 0.5); /* Semi-transparent overlay */
    z-index: 1;
}

.about-banner__img {
    display: block;
    width: 100%;
    /* Clamp height for responsive scaling between a min and max */
    height: clamp(300px, 50vh, 500px);
    object-fit: cover;
    object-position: center;
}

.about-banner__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 90%;
    max-width: 800px;
    text-align: center;
    color: #fff;
}

/* Breadcrumb Navigation */
.breadcrumb-nav .breadcrumb {
    margin-bottom: 0;
    background-color: transparent;
}
.breadcrumb-nav .breadcrumb-item a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}
.breadcrumb-nav .breadcrumb-item a:hover {
    text-decoration: underline;
}

/* General About Page Styling */
.about-page .display-6 {
    font-weight: 600; /* Bolder headings */
}

/* Services List */
.services-list {
    list-style: none;
    padding-left: 0;
}
.services-list li {
    font-size: 1.1rem;
    padding: 15px;
    margin-bottom: 1rem;
    border-left: 4px solid var(--primary);
    background-color: var(--light);
    border-radius: 0 5px 5px 0;
}
.services-list li strong {
    color: var(--dark);
    display: block;
    margin-bottom: 4px;
}

/* Careers / Job Listing */
.job-listing-container {
    max-width: 800px;
    margin: 0 auto;
}
.job-listing {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 15px rgba(0, 0, 0, .06);
    transition: box-shadow .3s ease;
}
.job-listing:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, .1);
}
.job-listing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background-color: var(--light);
    border-bottom: 1px solid #e0e0e0;
    border-radius: 8px 8px 0 0;
}
.job-listing-header h3 {
    margin-bottom: 0;
    color: var(--primary);
}
.job-listing-header .job-location {
    font-weight: 500;
    color: var(--secondary);
}
.job-listing-body {
    padding: 1.5rem;
}
.job-listing-body ul {
    padding-left: 20px;
    margin-top: 1rem;
}
.job-listing-footer {
    padding: 1rem 1.5rem;
    text-align: right;
    border-top: 1px solid #e0e0e0;
    background-color: #fafafa;
     border-radius: 0 0 8px 8px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .about-banner__content h1 {
        font-size: 2.5rem;
    }
    .about-banner__content p {
        font-size: 1.1rem;
    }
    .job-listing-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    .job-listing-footer {
        text-align: center;
    }
}