/* Reset and general styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Accessibility - skip link */
.skip-link {
    position: absolute;
    top: -50px;
    left: 0;
    background: #e91c23;
    color: white;
    padding: 8px;
    z-index: 100;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header styles */
header {
    background-color: #0b3d73;
    color: white;
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    max-height: 50px;
}

.main-nav {
    display: flex;
    list-style: none;
}

.main-nav li {
    margin-left: 20px;
}

.main-nav a {
    color: white;
    text-decoration: none;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.3s;
    font-weight: bold;
}

.main-nav a:hover,
.main-nav a:focus {
    background-color: rgba(255, 255, 255, 0.2);
    outline: none;
}

.main-nav a[aria-current="page"] {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Hero section */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    max-height: 60vh;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.hero img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background-color: rgba(11, 61, 115, 0.5);
}

.hero-overlay h1 {
    color: white;
    text-align: center;
    max-width: 800px;
    font-size: 2rem;
    line-height: 1.4;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Responsive hero video styles */
.hero video {
    width: 100%;
    height: auto;
    max-width: 100vw;
    max-height: 60vh;
    display: block;
    object-fit: cover;
    background: #0b3d73;
    border: none;
}

.hero video:focus {
    outline: 3px solid #e91c23;
    outline-offset: 2px;
}

@media (max-width: 768px) {
    .hero {
        min-height: 180px;
        max-height: 30vh;
    }
    .hero video {
        max-height: 30vh;
    }
}

.centered-content {
    text-align: center;
    margin-top: 1.5em;
}

.centered-content img {
    margin: 0 10px;
}

.centered-content .btn {
    display: inline-block;
    margin-top: 1em;
}


/* Mission section */
.mission {
    padding: 60px 0;
    background-color: #0f2233;
    background-image: url('images/about-subhead.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    position: relative;
}

.mission::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(15, 34, 51, 0.7); /* Semi-transparent overlay to ensure text readability */
    z-index: 1;
}

.mission-statement {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.mission-statement h2 {
    margin-bottom: 30px;
    font-size: 1.8rem;
    font-style: italic;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.mission-statement p {
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 1.1rem;
}

/* Left-align specific paragraphs */
.left-align {
    text-align: left !important;
}

/* Values section */
.values {
    padding: 60px 0;
}

.section-heading {
    color: #0b3d73;
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: #e91c23;
}

.values-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
}

.value-card {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
    position: relative;
    border: 2px solid #0b3d73;
    border-radius: 10px;
    overflow: visible;
    padding-top: 15px;
    margin-top: 15px;
}

.value-title {
    font-size: 2rem;
    letter-spacing: 2px;
    position: absolute;
    display: inline-block;
    padding: 5px 15px;
    z-index: 2;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
}

.value-title.integrity,
.value-title.honor,
.value-title.fellowship {
    background: #0b3d73;
    color: white;
    font-weight: bold;
}

.value-description {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    padding: 35px 30px 20px;
    position: relative;
}

.value-description::before {
    content: none;
}

/* Welcome section */
.welcome {
    padding: 60px 0;
}

.welcome .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.welcome-text {
    flex: 1;
    min-width: 300px;
}

.welcome-text h1 {
    color: #0b3d73;
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.welcome-text h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 4px;
    background-color: #e91c23;
}

.welcome-text p {
    margin-bottom: 30px;
    max-width: 600px;
}

.certifications {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.certifications img {
    max-width: 100px;
    height: auto;
}

.welcome-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.welcome-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Services section */
.services {
    padding: 60px 0;
    background-color: #f5f5f5;
}

.services h2 {
    color: #0b3d73;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

.services h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background-color: #e91c23;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.service-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.service-card:hover,
.service-card:focus-within {
    transform: translateY(-5px);
}

.service-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.service-card h3 {
    padding: 20px;
    text-align: center;
    color: #0b3d73;
}

.center-btn {
    text-align: center;
}

/* Services page styles */
.services-intro {
    padding: 30px 0;
    text-align: left;
}

.services-tagline {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 0 20px 0;
    line-height: 1.6;
    color: #0b3d73;
    font-weight: 500;
}

.service-row {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.alt-row {
    background-color: #f9f9f9;
}

.service-row-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: flex-start;
}

.service-row-content.reverse {
    flex-direction: row-reverse;
}

.service-info {
    flex: 1;
    min-width: 300px;
}

.service-image {
    max-width: 330px;
    width: 100%;
}

.service-image img {
    width: 330px;
    height: 300px;
    display: block;
    object-fit: cover;
    border-radius: 4px;
}

.service-title {
    color: #0b3d73;
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: bold;
}

.service-info p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-list {
    margin-left: 20px;
    margin-bottom: 20px;
}

.service-list li {
    margin-bottom: 8px;
    line-height: 1.5;
    position: relative;
    padding-left: 5px;
}

/* Careers page styles */
.careers-intro {
    padding: 40px 0;
    text-align: center;
}

.page-title {
    color: #0b3d73;
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100px;
    height: 3px;
    background-color: #e91c23;
    margin: 0 auto;
}

.special-heading {
    font-size: 2rem;
    margin: 25px 0;
    background: linear-gradient(to right, red, white, blue);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    font-weight: bold;
    position: relative;
}

.special-heading::before {
    content: "★";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    color: gold;
    font-size: 1.5rem;
    top: 0;
    opacity: 0;
}

.careers-intro-text {
    max-width: 800px;
    margin: 20px auto;
}

.careers-intro-text p {
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 1.1rem;
}

.great-place-banner {
    margin: 30px auto;
    max-width: 600px;
}

.great-place-banner img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.job-search-section {
    margin: 30px 0;
}

/* Target the specific "View all jobs" link */
.job-table-container > a {
    color: white !important;
    text-decoration: underline !important;
    font-size: 1em !important;
    font-weight: bold !important;
}

.job-table-container > a:hover {
    color: #e6f3ff !important; /* Light blue on hover */
}

.job-search-btn {
    background-color: #e91c23;
    color: white;
    padding: 12px 25px;
    font-weight: bold;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s;
}

.job-search-btn:hover,
.job-search-btn:focus {
    background-color: #c01016;
    outline: none;
}

/* Job listings section */
.job-listings {
    padding: 40px 0;
    background-color: #f5f5f5;
}

.job-search-bar {
    margin-bottom: 30px;
    text-align: center;
}

.job-search-bar form {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.job-search-bar input[type="search"] {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-right: none;
    outline: none;
    font-size: 1rem;
}

.search-btn {
    padding: 12px 20px;
    background-color: #0b3d73;
    color: white;
    border: none;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.search-btn:hover,
.search-btn:focus {
    background-color: #092c55;
    outline: none;
}

.advanced-link {
    margin-left: 15px;
    color: #0b3d73;
    text-decoration: underline;
    align-self: center;
}

.job-table-container {
    max-width: 100%;
    overflow-x: auto;
}

.job-table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.job-table th {
    background-color: #0b3d73;
    color: white;
    text-align: left;
    padding: 12px 15px;
}

.job-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #ddd;
}

.job-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.job-table a {
    color: #0b3d73;
    text-decoration: none;
    transition: color 0.3s;
}

.job-table a:hover,
.job-table a:focus {
    color: #e91c23;
    text-decoration: underline;
}

/* Benefits section */
.benefits {
    padding: 50px 0;
}

.section-title {
    color: #0b3d73;
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: #e91c23;
}

.benefits-intro {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
}

.benefits-intro p {
    line-height: 1.7;
    font-size: 1.1rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.benefit-card {
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.benefit-icon img {
    width: 100%;
    height: auto;
}

.benefit-card h3 {
    color: #0b3d73;
    text-align: center;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.benefit-card p {
    font-size: 0.95rem;
    line-height: 1.5;
}

.pay-transparency {
    text-align: center;
    margin-bottom: 40px;
}

.equal-opportunity {
    max-width: 900px;
    margin: 0 auto;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #666;
}



/* Button styles */
.btn {
    display: inline-block;
    background-color: #e91c23;
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn:hover,
.btn:focus {
    background-color: #c01016;
    outline: none;
}

/* Contact Us page styles */
.contact-section {
    padding: 60px 0;
}

.contact-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.contact-info, 
.office-info {
    flex: 1;
    min-width: 300px;
}

.contact-title, 
.office-title {
    color: #0b3d73;
    font-size: 1.8rem;
    margin-bottom: 25px;
    position: relative;
}

.contact-intro {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.office-address {
    font-style: normal;
    line-height: 1.6;
}

.address-item {
    display: flex;
    margin-bottom: 15px;
}

.address-item .icon {
    margin-right: 10px;
    color: #0b3d73;
    min-width: 20px;
}

.address-item a {
    color: #0b3d73;
    text-decoration: none;
    transition: color 0.3s;
}

.address-item a:hover,
.address-item a:focus {
    color: #e91c23;
    text-decoration: underline;
}

/* Contact form styles */
.contact-form-container {
    margin-bottom: 40px;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
}

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

.form-group {
    flex: 1;
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.form-group textarea {
    resize: vertical;
}

.required {
    color: #e91c23;
}

fieldset.form-group {
    border: none;
    padding: 0;
    margin-bottom: 20px;
}

fieldset.form-group legend {
    font-weight: 500;
    margin-bottom: 10px;
}

.radio-group {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
}

.radio-item {
    display: flex;
    align-items: center;
}

.radio-item input[type="radio"] {
    margin-right: 8px;
    width: auto;
}

.form-actions {
    margin-top: 20px;
}

.submit-btn {
    background-color: #b42c33;
    color: white;
    border: none;
    padding: 12px 30px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover,
.submit-btn:focus {
    background-color: #8e2429;
    outline: none;
}

/* Map section styles */
.map-section {
    width: 100%;
}

.map-container {
    width: 100%;
    height: auto;
}

.map-container img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Footer styles */
footer {
    background-color: rgb(170,35,47);
    color: white;
    padding: 40px 0;
}

footer .container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.footer-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    align-items: center;
    justify-items: center;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-logo img {
    max-height: 50px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer-links a:hover,
.footer-links a:focus {
    opacity: 0.8;
    text-decoration: underline;
}

.footer-info p {
    margin-bottom: 5px;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    transition: opacity 0.3s;
}

.footer-bottom a:hover,
.footer-bottom a:focus {
    opacity: 0.8;
    text-decoration: none;
}

.footer-certifications {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.footer-certifications img.certification-img {
    width: 80px;
    height: auto;
    object-fit: contain;
    vertical-align: middle;
    max-height: none;
}

.footer-certifications img[src*="DoL_Gold_Award.png"] {
    width: 80px;
    height: 79px;
}

.footer-certifications img[src*="sba.jpg"] {
    width: 80px;
    height: auto;
}

.footer-certifications img[src*="gptw2526-footer.jpg"] {
    width: 80px;
    height: auto;
}

.footer-certifications a img {
    width: 40px;
    height: 40px;
}

/* Careers section */
section.careers {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.careers-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
}

.careers-image {
    flex: 1;
    min-width: 300px;
}

.careers-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.careers-text {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
}

.careers-text h2 {
    color: #0b3d73;
    font-size: 2.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    align-self: flex-start;
}

.careers-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 4px;
    background-color: #e91c23;
}

.careers-text p {
    margin-bottom: 30px;
    max-width: 500px;
    text-align: left;
}

/* Responsive styles */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        align-items: center;
    }

    .main-nav {
        margin-top: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .main-nav li {
        margin: 5px 10px;
    }

    .welcome .container {
        flex-direction: column;
    }

    .welcome-text {
        order: 1;
    }

    .welcome-image {
        order: 2;
    }
    
    /* Keep careers-row as is for mobile to maintain image on left, text on right */
    .careers-row {
        flex-direction: column;
    }
    
    .careers-text {
        order: 1;
    }
    
    .careers-image {
        order: 2;
    }

    .hero-overlay h1 {
        font-size: 1.5rem;
    }

    .section-heading {
        font-size: 1.8rem;
    }

    .mission-statement h2 {
        font-size: 1.5rem;
    }

    .mission-statement p,
    .values-intro,
    .value-description {
        font-size: 1rem;
    }

    .value-title {
        font-size: 1.6rem;
    }
    
    .value-description {
        padding: 35px 15px 15px;
        max-width: 90%;
    }
    
    /* Services page responsive styles */
    .service-row-content,
    .service-row-content.reverse {
        flex-direction: column;
    }
    
    .service-info,
    .service-image {
        width: 100%;
        max-width: 100%;
    }
    
    .services-tagline {
        font-size: 1.3rem;
    }
    
    /* Careers page responsive styles */
    .page-title {
        font-size: 2rem;
    }
    
    .special-heading {
        font-size: 1.6rem;
    }
    
    .careers-intro-text p {
        font-size: 1rem;
        padding: 0 15px;
    }
    
    .job-search-bar form {
        flex-direction: column;
        max-width: 90%;
    }
    
    .job-search-bar input[type="search"] {
        width: 100%;
        border-right: 1px solid #ddd;
        border-bottom: none;
    }
    
    .search-btn {
        width: 100%;
    }
    
    .advanced-link {
        margin: 10px auto;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    /* Contact page responsive styles */
    .contact-title, 
    .office-title {
        font-size: 1.6rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .radio-group {
        grid-template-columns: 1fr 1fr;
    }
    
    .contact-intro {
        font-size: 1rem;
    }

    footer .footer-main {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo,
    .footer-certifications {
        justify-content: center;
    }
}

/* High contrast mode */
@media (forced-colors: active) {
    .btn {
        border: 2px solid;
    }
    
    .service-card {
        border: 1px solid;
    }
}

/* Focus outlines for all interactive elements */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus,
[tabindex]:focus,
.testimonial-indicator:focus,
.service-card a:focus,
.btn:focus,
.job-search-btn:focus,
.search-btn:focus,
.submit-btn:focus {
    outline: 3px solid #e91c23;
    outline-offset: 2px;
    text-decoration: none;
}

/* Ensure focus styles aren't removed on mouse clicks but only with keyboard navigation */
*:focus:not(:focus-visible) {
    outline: none;
}

*:focus-visible {
    outline: 3px solid #e91c23;
    outline-offset: 2px;
}

/* High contrast mode outlines */
@media (forced-colors: active) {
    *:focus {
        outline: 3px solid CanvasText;
    }
}

/* More accessibility enhancements */
.visually-hidden, .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: #0b3d73;
}

/* Careers Intro Content Layout */
.careers-intro-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin: 2rem 0;
}

.careers-image {
    flex: 0 0 50%;
}

.careers-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.careers-intro-text {
    flex: 0 0 50%;
}

@media (max-width: 768px) {
    .careers-row {
        flex-direction: column;
    }
    
    .careers-text {
        align-items: center;
        text-align: center;
    }
    
    .careers-text h2 {
        align-self: center;
        text-align: center;
    }
    
    .careers-text h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .careers-text p {
        text-align: center;
    }
}/* Testimonial section */
.testimonial {
    padding: 60px 0;
    color: white;
    background-image: url('images/databg.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

.testimonial::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(11, 61, 115, 0.85); /* Slightly transparent blue overlay */
    z-index: 1;
}

.testimonial .container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

/* Testimonial slider */
.testimonial-slider {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
    min-height: 200px; /* Fixed height for testimonial container */
}

.testimonial-slides {
    position: relative;
    min-height: 180px; /* Set minimum height for slides area */
}

.testimonial-slide {
    position: relative;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: none;
    padding: 0 15px;
}

.testimonial-slide.active {
    opacity: 1;
    display: block;
}

/* Style for the testimonial text */
.testimonial-slide blockquote {
    font-style: italic;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0;
}

.testimonial-slide blockquote p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.testimonial-slide blockquote footer {
    font-style: normal;
    font-weight: 400;
    margin-top: 15px;
    text-align: center;
    font-size: 1rem;
    color: white;
    border: none;
    background: none;
    box-shadow: none;
    outline: none;
}

/* Navigation controls */
.testimonial-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 15px;
    width: 100%;
}

.testimonial-tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.testimonial-btn {
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin: 0 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.testimonial-btn:hover {
    background-color: #f0f0f0;
}

.testimonial-btn:focus {
    outline: 3px solid #ffbf00;
}

.testimonial-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    margin: 0 5px;
    cursor: pointer;
    border: none;
    transition: background-color 0.3s ease;
}

.testimonial-indicator.active {
    background: white;
}

/* Responsive styles for testimonials */
@media (max-width: 768px) {
    .testimonial-slide blockquote p {
        font-size: 1rem;
    }
    
    .testimonial-slide blockquote footer {
        font-size: 0.9rem;
    }
    
    .testimonial-btn {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
}/* About-us Hero Mission Overlay */
.mission-overlay {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: rgba(11, 61, 115, 0.7); /* Darker blue overlay for better readability */
    z-index: 2;
}

.mission-text {
    color: white;
    font-size: 2.2rem;
    line-height: 1.4;
    max-width: 900px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-style: italic;
}

.mission-text p {
    margin: 0.2em 0;
}

.mission-text strong {
    font-weight: 700;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .mission-text {
        font-size: 1.5rem;
        line-height: 1.4;
        padding: 0 15px;
    }
}