
/* =====================================================
   AGGIELAND SOFTWARE - CAREERS PAGE
   Corporate Website Design
===================================================== */

.ag-careers {
    --ag-red: #c92529;
    --ag-navy: #172b45;
    --ag-dark: #202b3c;
    --ag-text: #5f6877;
    --ag-light: #f5f7fa;
    --ag-border: #e6e9ef;
    --ag-white: #ffffff;

    background: var(--ag-white);
    color: var(--ag-dark);
    font-family: inherit;
    overflow: hidden;
}

.ag-careers *,
.ag-careers *::before,
.ag-careers *::after {
    box-sizing: border-box;
}

.ag-careers .container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.ag-careers h1,
.ag-careers h2,
.ag-careers h3 {
    color: var(--ag-navy);
    font-family: inherit;
    line-height: 1.2;
    letter-spacing: -0.8px;
}

.ag-careers p {
    color: var(--ag-text);
    font-size: 16px;
    line-height: 1.8;
}

.ag-careers h2 {
    font-size: clamp(32px, 4vw, 42px);
    font-weight: 700;
    margin-bottom: 22px;
}

.ag-careers section {
    position: relative;
}

/* =====================================================
   HERO SECTION
===================================================== */

.ag-careers-hero {
    padding: 100px 0 90px;
    background: var(--ag-light);
    text-align: center;
}

.ag-careers-eyebrow {
   width: auto;
    font-weight: 400;
    font-size: 14px;
    text-transform: uppercase;
    padding-block-start: 12px;
    padding-block-end: 12px;
    padding-inline-start: 14px;
    padding-inline-end: 14px;
    border-block-start-width: 0px;
    border-block-end-width: 0px;
    border-inline-start-width: 2px;
    border-inline-end-width: 2px;
    border-color: #acadbe;
    border-style: solid;
    background-color: #e8eaee;
    display: inline-block;
    justify-content: center;
    margin-bottom: 15px;
}

.ag-careers-hero h1 {
    max-width: 950px;
    margin: 0 auto 25px;
    font-size: clamp(42px, 5vw, 64px);
    font-weight: 30;
    line-height: 1.12;
    letter-spacing: -2px;
}

.ag-careers-description {
    max-width: 850px;
    margin: 0 auto;
}

.ag-careers-description p {
    font-size: 18px;
    line-height: 1.85;
    margin-bottom: 15px;
}

/* =====================================================
   WHY AGGIELAND
===================================================== */

.ag-careers-why {
    padding: 95px 0;
    background: var(--ag-white);
}

.ag-careers-why h2 {
    text-align: center;
    margin-bottom: 48px;
}

.ag-careers-benefits {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.ag-careers-benefit {
    position: relative;
    padding: 34px 36px;
    background: var(--ag-white);
    border: 1px solid var(--ag-border);
    border-radius: 12px;
    transition: border-color .3s ease,
                box-shadow .3s ease,
                transform .3s ease;
}

.ag-careers-benefit::before {
    content: "";
    position: absolute;
    left: 0;
    top: 28px;
    bottom: 28px;
    width: 3px;
    background: var(--ag-red);
    border-radius: 0 4px 4px 0;
}

.ag-careers-benefit:hover {
    border-color: rgba(201, 37, 41, .3);
    box-shadow: 0 12px 35px rgba(23, 43, 69, .07);
    transform: translateY(-4px);
}

.ag-careers-benefit h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 14px;
}

.ag-careers-benefit p {
    margin-bottom: 0;
}

/* =====================================================
   OUR CULTURE
===================================================== */

.ag-careers-culture {
    padding: 90px 0;
    background: var(--ag-light);
}

.ag-careers-culture h2 {
    margin-bottom: 24px;
}

.ag-careers-culture .ag-careers-content {
    max-width: 950px;
    
}

.ag-careers-culture p {
        font-size: 24px;
    font-weight: 300;
    line-height: 34px;
}

/* =====================================================
   CURRENT OPPORTUNITIES
===================================================== */

.ag-careers-opportunities {
    padding: 95px 0;
    background: var(--ag-white);
}

.ag-careers-opportunities .container {
    padding: 50px;
    background: var(--ag-light);
    border: 1px solid var(--ag-border);
    border-radius: 14px;
}

.ag-careers-opportunities h2 {
    margin-bottom: 18px;
}

.ag-careers-status {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 15px;
    margin-bottom: 15px;
    background: #fff1e9;
    border-radius: 5px;
    color: #a95b20 !important;
    font-size: 14px !important;
    font-weight: 600;
}

.ag-careers-status::before {
    content: "";
    width: 8px;
    height: 8px;
    background: #dc873d;
    border-radius: 50%;
    flex-shrink: 0;
}

.ag-careers-opportunities .ag-careers-content {
    max-width: 950px;
}

/* =====================================================
   STAY CONNECTED
===================================================== */

.ag-careers-connect {
    padding: 85px 0;
    background: var(--ag-navy);
    text-align: center;
}

.ag-careers-connect h2 {
    color: var(--ag-white);
    margin-bottom: 20px;
}

.ag-careers-connect .ag-careers-content {
    max-width: 780px;
    margin: 0 auto;
}

.ag-careers-connect p {
    color: rgba(255, 255, 255, .78);
    font-size: 17px;
}

.ag-careers-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 15px 27px;
    margin-top: 20px;
    background: var(--ag-red);
    color: var(--ag-white) !important;
    border: 1px solid var(--ag-red);
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all .3s ease;
}

.ag-careers-button::after {
    content: "\2192";
    font-size: 20px;
    transition: transform .3s ease;
}

.ag-careers-button:hover {
    background: transparent;
    color: var(--ag-white) !important;
    border-color: var(--ag-white);
}

.ag-careers-button:hover::after {
    transform: translateX(4px);
}

/* =====================================================
   TOGETHER WE GROW
===================================================== */

.ag-careers-closing {
    padding: 85px 0;
    background: #FFF;
    text-align: center;
}

.ag-careers-closing h2 {
    margin-bottom: 20px;
}

.ag-careers-closing p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 17px;
}

/* =====================================================
   CONTENT TYPOGRAPHY
===================================================== */

.ag-careers-content ul,
.ag-careers-content ol {
    padding-left: 22px;
    margin-bottom: 20px;
}

.ag-careers-content li {
    color: var(--ag-text);
    line-height: 1.8;
    margin-bottom: 8px;
}

.ag-careers-content strong {
    color: var(--ag-navy);
    font-weight: 700;
}

.ag-careers-content a {
    color: var(--ag-red);
    text-decoration: underline;
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 991px) {
    .ag-careers-hero {
        padding: 80px 0 70px;
    }

    .ag-careers-why,
    .ag-careers-opportunities {
        padding: 75px 0;
    }

    .ag-careers-benefit {
        padding: 30px;
    }
}

@media (max-width: 767px) {
    .ag-careers .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .ag-careers-hero {
        padding: 65px 0;
    }

    .ag-careers-hero h1 {
        font-size: 40px;
        letter-spacing: -1.2px;
    }

    .ag-careers-description p {
        font-size: 16px;
    }

    .ag-careers h2 {
        font-size: 32px;
    }

    .ag-careers-benefits {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .ag-careers-benefit {
        padding: 28px 25px;
    }

    .ag-careers-culture,
    .ag-careers-connect,
    .ag-careers-closing {
        padding: 65px 0;
    }

    .ag-careers-opportunities {
        padding: 65px 0;
    }

    .ag-careers-opportunities .container {
        padding: 30px 24px;
    }
}

@media (max-width: 480px) {
    .ag-careers-hero h1 {
        font-size: 34px;
    }

    .ag-careers h2 {
        font-size: 28px;
    }

    .ag-careers-benefit h3 {
        font-size: 20px;
    }

    .ag-careers p {
        font-size: 15px;
    }

    .ag-careers-button {
        width: 100%;
    }
}
