/* =========================================
   VARIABLES & SITE RE-BASE STYLES
========================================= */
*, html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html, body {
    width: 100%;
    overflow-x: hidden;
}

:root {
    --orange: #F15A24;
    --dark-blue: #0A192F;
    --light-grey: #F8F9FA;
    --text-white: #FFFFFF;
    --text-dark: #222222;
    --text-muted: #A8B2D1;
    --border-light: #EBEBEB;
}

a {
    text-decoration: none;
}

/* --- BUTTON & BLOCK DESIGN LIFTS --- */
.btn-orange {
    background-color: var(--orange);
    color: var(--text-white);
    padding: 14px 28px;
    font-weight: bold;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: background 0.3s ease;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
}

    .btn-orange:hover {
        background-color: #d44816;
    }

.btn-outline {
    background-color: transparent;
    color: var(--orange);
    border: 2px solid var(--orange);
    padding: 10px 20px;
    font-weight: bold;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
    text-transform: uppercase;
    font-size: 12px;
}

    .btn-outline:hover {
        background-color: var(--orange);
        color: var(--text-white);
    }

.btn-black {
    background-color: #000000;
    color: var(--text-white);
    padding: 14px 28px;
    font-weight: bold;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

    .btn-black:hover {
        background-color: #333333;
    }

.sub-heading {
    color: var(--orange);
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.short-orange-line {
    width: 40px;
    height: 3px;
    background-color: var(--orange);
    margin: 15px 0 20px 0;
}

.center-line {
    margin: 10px auto 30px auto;
}

.center-text {
    text-align: center;
}

.section-header h2 {
    font-size: 2.2rem;
    color: var(--dark-blue);
    text-transform: uppercase;
    margin-top: 5px;
}

/* =========================================
   HEADER NAVIGATION
========================================= */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background-color: var(--text-white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo img {
    height: 75px;
    width: auto;
}

.navbar {
    display: flex;
    gap: 25px;
}

    .navbar a {
        color: #333;
        font-weight: bold;
        font-size: 14px;
        padding-bottom: 5px;
        transition: 0.2s;
    }

        .navbar a:hover, .navbar a.active {
            color: var(--orange);
            border-bottom: 2px solid var(--orange);
        }

/* =========================================
   CAREERS HERO LAYOUT
========================================= */
.careers-hero {
    display: flex;
    flex-wrap: wrap;
    background-color: var(--dark-blue);
    align-items: stretch;
}

.hero-text {
    flex: 0 0 45%;
    padding: 80px 4% 80px 8%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

    .hero-text h1 {
        font-size: 3rem;
        color: var(--text-white);
        line-height: 1.1;
        margin-bottom: 20px;
        font-weight: 800;
    }

    .hero-text .orange-text {
        color: var(--orange);
    }

    .hero-text p {
        color: var(--text-muted);
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 35px;
    }

.hero-image {
    flex: 1;
    min-width: 400px;
}

    .hero-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

/* =========================================
   HERO STRIP ROW
========================================= */
.hero-strip {
    background-color: #050d1a;
    padding: 30px 8%;
    border-bottom: 4px solid var(--orange);
}

.strip-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.strip-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-white);
    flex: 1;
    min-width: 220px;
}

    .strip-item i {
        color: var(--orange);
        font-size: 1.8rem;
    }

    .strip-item h4 {
        font-size: 14px;
        font-weight: bold;
        margin-bottom: 4px;
    }

    .strip-item p {
        font-size: 12px;
        color: var(--text-muted);
        margin-bottom: 0;
        line-height: 1.4;
    }

/* =========================================
   SPLIT CURRENT OPPORTUNITIES BOARD
========================================= */
.split-jobs-panel {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    background-color: var(--light-grey);
}

/* Left Side Jobs Board */
.jobs-left-board {
    padding: 80px 6% 80px 8%;
}

    .jobs-left-board h2 {
        font-size: 2.2rem;
        color: var(--dark-blue);
        font-weight: 800;
        margin-bottom: 40px;
    }

.opportunities-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 35px;
}

.job-row-item {
    background-color: var(--text-white);
    padding: 25px;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    display: flex;
    align-items: center;
    gap: 20px;
}

.job-icon-circle {
    background-color: var(--light-grey);
    color: var(--orange);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.job-main-details {
    flex: 1;
}

    .job-main-details h4 {
        color: var(--dark-blue);
        font-size: 17px;
        font-weight: bold;
        margin-bottom: 6px;
    }

.job-meta-tags {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
}

    .job-meta-tags span {
        font-size: 12px;
        color: #666;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 6px;
    }

        .job-meta-tags span i {
            color: var(--orange);
        }

.job-main-details p {
    font-size: 13.5px;
    color: #555;
    line-height: 1.5;
}

.view-job-btn {
    flex-shrink: 0;
}

.view-all-vacancies-btn {
    padding: 14px 35px;
    font-size: 13px;
}

/* =========================================
   UPDATED RIGHT PANEL: FULL IMAGE COVER
========================================= */

.why-right-panel {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

    .why-right-panel .full-panel-img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* Forces the driver picture to completely cover the area without distorting */
        display: block;
    }

/* Tablet Layout: Ensures side-by-side elements keep equal block heights */
@media (max-width: 1200px) {
    .split-jobs-panel {
        grid-template-columns: 1fr; /* Stacks vertically if screen gets narrow */
    }

    .why-right-panel {
        height: 450px; /* Gives the image a solid, prominent frame when stacked */
    }
}

.why-benefits-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

    .why-benefits-list li {
        display: flex;
        align-items: center;
        gap: 12px;
        font-size: 14px;
        color: #ccc;
    }

        .why-benefits-list li i {
            color: var(--orange);
            font-size: 16px;
        }

.why-panel-image {
    width: 100%;
    height: 260px;
}

    .why-panel-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

/* =========================================
   OUR VALUES FIVE-COLUMN ROW
========================================= */
.careers-values {
    padding: 80px 5%;
    background-color: var(--text-white);
}

    .careers-values .section-header {
        margin-bottom: 50px;
    }

.values-five-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1300px;
    margin: 0 auto;
}

.val-card {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 20px 15px;
}

.border-right {
    border-right: 1px solid var(--border-light);
}

.val-card i {
    font-size: 2.5rem;
    color: var(--orange);
    margin-bottom: 20px;
}

.val-card h4 {
    color: var(--dark-blue);
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.val-card p {
    color: #666;
    font-size: 13px;
    line-height: 1.5;
}

/* =========================================
   DARK CONTRAST INTERACTIVE TESTIMONIAL SLIDER
========================================= */
.testimonials-section {
    background-color: #050d1a; /* Dark background matching image */
    padding: 80px 5%;
}

    .testimonials-section .section-header h2 {
        color: var(--text-white); /* White main text */
    }

.slider-outer-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1350px;
    margin: 0 auto 30px auto;
    gap: 15px;
    position: relative;
}

/* Orange Side Navigation Buttons */
.slider-nav-btn {
    background-color: var(--orange);
    color: var(--text-white);
    width: 45px;
    height: 45px;
    border-radius: 4px;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    flex-shrink: 0;
    z-index: 10;
}

    .slider-nav-btn:hover {
        background-color: #d44816;
        transform: scale(1.05);
    }

/* Slider Track Viewing Window */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, calc(100% / 3 - 17px));
    gap: 25px;
    flex: 1;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 15px 5px;
}

    .testimonials-grid::-webkit-scrollbar {
        display: none;
    }

/* Testimonial Cards Style */
.testimonial-card {
    background-color: #0c1a30; /* Slightly lighter dark color for card contrast */
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 35px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 100%;
    transition: transform 0.3s ease;
}

    .testimonial-card:hover {
        transform: translateY(-5px);
    }

/* Orange Quote Marks */
.quote-icon-mark {
    color: var(--orange);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.quote-body-text {
    font-size: 14.5px;
    color: #cbd5e1; /* Subtle off-white readable text color */
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Profile Metadata Alignment */
.driver-profile-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 20px;
}

.profile-pic-container {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #1e293b;
    border: 2px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

    .profile-pic-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.driver-profile-meta h5 {
    color: var(--text-white);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.profile-job-title {
    color: var(--text-muted);
    font-size: 12px;
}

/* Lower Indicators Dots */
.slider-dot-indicators {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

    .slider-dot-indicators .dot {
        width: 8px;
        height: 8px;
        background-color: #334155;
        border-radius: 50%;
        cursor: pointer;
        transition: all 0.3s ease;
    }

        .slider-dot-indicators .dot.active {
            background-color: var(--orange);
            transform: scale(1.2);
        }

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (min-width: 992px) {
    .testimonial-card {
        min-width: 0; /* Fits three side-by-side on large desktops natively */
    }
}

@media (max-width: 991px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 100%); /* Full width slides on tablets and mobile screens */
    }
}}

.quote-icon-mark {
    color: rgba(241, 90, 36, 0.1);
    font-size: 2.5rem;
    position: absolute;
    top: 25px;
    left: 25px;
}

.quote-body-text {
    font-size: 14px;
    color: #444;
    line-height: 1.6;
    font-style: italic;
    position: relative;
    z-index: 2;
    margin-bottom: 30px;
}

.driver-profile-meta {
    display: flex;
    align-items: center;
    gap: 15px;
}

.profile-pic-placeholder {
    background-color: var(--light-grey);
    color: #999;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
}

.driver-profile-meta h5 {
    color: var(--dark-blue);
    font-size: 14px;
    font-weight: bold;
}

.profile-job-title {
    color: #777;
    font-size: 12px;
}

.slider-dot-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
}

    .slider-dot-indicators .dot {
        width: 10px;
        height: 10px;
        background-color: #ccc;
        border-radius: 50%;
        cursor: pointer;
    }

        .slider-dot-indicators .dot.active {
            background-color: var(--orange);
            width: 12px;
            height: 12px;
        }

/* --- FIX: Force body text and names to display in clear white --- */

.testimonial-card .quote-body-text {
    font-size: 14.5px;
    color: #ffffff !important; /* Forces the review quote text to be solid white */
    line-height: 1.6;
    margin-bottom: 30px;
}

.driver-profile-meta h5 {
    color: #ffffff !important; /* Forces the names (DANIEL R., SOPHIE K., etc.) to be solid white */
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

/* =========================================
   CTA STRIP BAR
========================================= */
.cta-strip {
    background: var(--orange);
    padding: 30px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-white);
    flex-wrap: wrap;
    gap: 20px;
}

.cta-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cta-icon-circle {
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 50%;
    width: 65px;
    height: 65px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
}

.cta-left h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

/* =========================================
   FOOTER (4-COLUMN DESIGN MATRIX)
========================================= */
.main-footer {
    background-color: #0A1424;
    color: var(--text-white);
    padding: 60px 4% 0 4%;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1.3fr;
    gap: 30px;
}

.footer-contact h3, .footer-links h3, .footer-talent-col h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--text-white);
}

.orange-divider {
    width: 30px;
    height: 3px;
    background-color: var(--orange);
    margin-bottom: 20px;
}

.footer-contact p {
    margin-bottom: 12px;
    font-size: 14px;
    display: flex;
    gap: 10px;
    color: #ccc;
    line-height: 1.4;
}

    .footer-contact p i {
        color: var(--text-white);
        width: 20px;
        text-align: center;
    }

.social-icons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

    .social-icons a {
        background: var(--text-white);
        color: #0A1424;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 14px;
        transition: 0.3s;
    }

        .social-icons a:hover {
            background: var(--orange);
            color: var(--text-white);
        }

.footer-logo {
    width: 100%;
    max-width: 220px;
    margin-bottom: 10px;
}

.tagline {
    font-size: 11px;
    letter-spacing: 2px;
    color: #888;
    text-transform: uppercase;
}

.links-grid {
    display: flex;
    gap: 30px;
}

    .links-grid ul {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .links-grid a {
        color: #ccc;
        font-size: 14px;
        display: flex;
        align-items: center;
        gap: 8px;
        transition: 0.3s;
    }

        .links-grid a:hover {
            color: var(--orange);
        }

.orange-arrow {
    color: var(--orange);
    font-size: 12px;
}

.footer-talent-col .talent-blurb {
    font-size: 14px;
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 20px;
}

.talent-submit-btn {
    font-size: 12px;
    padding: 12px 20px;
}

.footer-bottom-bar {
    text-align: center;
    margin-top: 50px;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

    .footer-bottom-bar p {
        font-size: 12px;
        color: #888;
    }

/* =========================================
   RESPONSIVE SCALING ADAPTATIONS
========================================= */
@media (max-width: 1200px) {
    .split-jobs-panel {
        grid-template-columns: 1fr;
    }

    .why-right-panel {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .why-panel-inner-box {
        padding: 60px 8%;
        flex: 1 0 50%;
    }

    .why-panel-image {
        flex: 1 0 50%;
        height: auto;
        min-height: 300px;
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonial-card:last-child {
        display: none;
    }
    /* Hide 3rd on tablet split */
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 850px) {
    .hero-text, .hero-image, .why-panel-inner-box, .why-panel-image {
        flex: 0 0 100%;
    }

    .job-row-item {
        flex-direction: column;
        text-align: center;
    }

    .job-meta-tags {
        justify-content: center;
    }

    .values-five-grid {
        flex-direction: column;
    }

    .val-card {
        border: none;
        padding: 30px 0;
        border-bottom: 1px solid var(--border-light);
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card:last-child {
        display: flex;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .orange-divider {
        margin: 0 auto 20px auto;
    }

    .footer-contact p {
        justify-content: center;
    }

    .social-icons, .links-grid {
        justify-content: center;
    }
}
