/*
Theme Name: OneGoal Child
Theme URI: https://onegoal.qodeinteractive.com
Description: A child theme of OneGoal
Author: Select Themes
Author URI: https://qodeinteractive.com
Version: 1.0
Text Domain: onegoal
Template: onegoal
*/

/*
Theme Name: OneGoal Child
*/

/* ================= GLOBAL ALIGNMENT WITH THEME ================= */

body {
    background: #f5f7f6;
}

/* Use theme width instead of custom */
.careers-container {
    max-width: 1100px; /* match theme */
    margin: 0 auto;
    padding: 60px 20px;
}

/* Remove breadcrumb */
body.page .qodef-page-title,
body.page .qodef-breadcrumbs,
body.page .qodef-title-holder {
    display: none;
}

.qodef-content-inner {
    padding-top: 0;
}


/* ================= HERO ================= */

.hero {
    text-align: center;
    padding: 40px 0 20px;
}

.hero-title {
    font-size: 56px;
    line-height: 1.2;
    font-family: "Playfair Display", serif;
}

.hero-title span {
    display: inline;
}

.hero-sub {
    max-width: 520px;
    margin: 20px auto 0;
    font-size: 18px;
    line-height: 1.6;
    color: #4f6f6b;
}


/* ================= IMAGES ================= */

.hero-img img,
.full-image img,
.mid-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    margin: 30px 0;
    display: block;
}


/* ================= HOW WE WORK ================= */

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
}

.value-card {
    position: relative;
    padding-left: 18px;
}

.value-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    bottom: 5px;
    width: 1px;
    background: #ff5a2f;
}

.value-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.value-card p {
    font-size: 16px;
    line-height: 1.6;
}


/* ================= FIT ================= */

.fit-section {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 50px;
    align-items: center;
}

/* ===== PREMIUM CHECKLIST (DOUBLE CIRCLE STYLE) ===== */
.fit-left ul {
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
}

.fit-left ul li {
    position: relative;
    padding-left: 56px; /* space for icon */
    margin-bottom: 28px;
    font-size: 16px;
    line-height: 1.7;
}

/* Outer soft circle */
.fit-left ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(31, 77, 69, 0.12); /* light green tint */
}

/* Inner circle + check */
.fit-left ul li::after {
    content: "✓";
    position: absolute;
    left: 10px;
    top: 14px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #a7cfc5; /* inner circle */
    color: #1f4d45;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fit-right img {
    width: 100%;
    border-radius: 20px;
}


/* ================= BENEFITS ================= */

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
}

.benefits-grid > div {
    position: relative;
    padding-left: 18px;
}

.benefits-grid > div::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    bottom: 5px;
    width: 1px;
    background: #ff5a2f;
}


/* ================= JOB CARDS ================= */

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.job-card {
    background: #fff;
    padding: 28px;
    border-radius: 14px;
    border: 1px solid #e6eeee;
    transition: 0.25s ease;
}

.job-card:hover {
    transform: translateY(-4px);
}




/* ===== FINAL MOBILE POLISH (IMAGES + LEFT ALIGN) ===== */
@media (max-width: 768px) {

    /* ================= IMAGE OPTIMISATION ================= */

    

    /* ================= LEFT ALIGN FIX ================= */

    /* Section titles (IMPORTANT) */
    .careers-title,
    .section-title,
    .cta-title {
        text-align: left;
    }

    /* Hero stays centered (keep as is) */
    .hero {
        text-align: center;
    }

    /* All content blocks align left like About page */
    .value-card,
    .benefit-card,
    .fit-section,
    .job-card {
        text-align: left;
    }

    /* Improve spacing consistency */
    .value-card h3,
    .benefit-card h3 {
        margin-bottom: 10px;
    }

}