/* ========================================
   CAREERS PAGE STYLES - OPTIMIZED FOR 100% ZOOM
   ======================================== */

/* CSS Variables */
:root {
    --color-white: #FFFFFF;
    --color-primary-blue: #1D95D1;
    --color-bright-teal: #5CC2CF;
    --color-dark-teal: #207C7E;
    --color-primary-green: #6EB510;
    --color-blue-gray: #2B4150;
    --color-navy: #3C4F5C;
    --font-primary: 'Urbanist', sans-serif;
    --font-secondary: 'Inter', sans-serif;
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 40px;
    --spacing-xl: 80px;
    --spacing-xxl: 100px;
    --container-padding: 40px;
}

/* ========== HERO SECTION WITH SVG LINES ========== */
.careers-hero-section {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 80px 0 !important;
    background: radial-gradient(ellipse at 20% 30%, #2B4150 0%, #2B4150 25%, #207C7E 55%, #1D95D1 100%) !important;
}

.careers-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

/* SVG LINE PATTERN - UPDATED SIZE AND POSITIONING */
.careers-hero-pattern {
    position: absolute !important;
    top: -3% !important;
    left: 40% !important;
    right: -10% !important;
    bottom: -3% !important;
    overflow: hidden !important;
    background-image: url('https://arrowheadprstg.wpengine.com/wp-content/uploads/2026/01/subelement.svg') !important;
    background-repeat: no-repeat !important;
    background-position: right center !important;
    background-size: 750px !important;
    opacity: 1 !important;
    z-index: 2 !important;
    pointer-events: none !important;
    display: block !important;
}

/* ALTERNATIVE: If .careers-hero-pattern doesn't exist, add lines directly to background */
.careers-hero-background::after {
    content: '';
    position: absolute;
    top: -3%;
    left: 40%;
    right: -10%;
    bottom: -3%;
    background-image: url('https://arrowheadprstg.wpengine.com/wp-content/uploads/2026/01/subelement.svg');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 750px;
    opacity: 1;
    z-index: 2;
    pointer-events: none;
}

.careers-hero-section .container {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

@media (min-width: 769px) {
    .careers-hero-section .container {
        padding: 0 var(--container-padding);
    }
}

.careers-hero-content {
    max-width: 750px;
    text-align: left;
    margin: 0;
}

/* Hero Label - REDUCED SIZE */
.careers-hero-label {
    color: #6EB510;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: inline-block;
}

/* Hero Title - REDUCED SIZE */
.careers-hero-title {
    color: #ffffff;
    font-family: 'Urbanist', sans-serif;
    font-size: 52px;
    font-weight: 900;
    line-height: 1.1;
    margin: 0 0 24px 0;
    max-width: 650px !important;
    animation: fadeInTyping 1.5s ease-out;
}

@keyframes fadeInTyping {
    0% {
        opacity: 0;
        clip-path: inset(0 100% 0 0);
    }
    100% {
        opacity: 1;
        clip-path: inset(0 0 0 0);
    }
}

/* Hero Description - REDUCED SIZE */
.careers-hero-description {
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    margin: 0 0 40px 0;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.careers-hero-cta {
    margin-top: 24px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Hero Button - REDUCED SIZE */
.btn-careers-hero {
    display: inline-block;
    background: #2b4150;
    color: #ffffff;
    padding: 14px 36px;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(92, 194, 207, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-careers-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-careers-hero:hover {
    background: #2b4150;
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(92, 194, 207, 0.4);
    color: #ffffff;
}

.btn-careers-hero:hover::before {
    left: 100%;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== RESPONSIVE HERO PATTERN ========== */

/* Small to Medium Desktop (1000px - 1400px) - Move pattern further right */
@media (min-width: 1000px) and (max-width: 1400px) {
    .careers-hero-pattern,
    .careers-hero-background::after {
        left: 45% !important;
        right: -12% !important;
        background-position: 100% center !important;
    }
}

/* Hide SVG pattern on screens less than 1000px */
@media (max-width: 999px) {
    .careers-hero-pattern {
        display: none !important;
    }
    
    .careers-hero-background::after {
        display: none !important;
    }
}

/* Tablet/Mobile */
@media (max-width: 768px) {
    .careers-hero-section {
        min-height: 400px;
        padding: var(--spacing-xl) 0;
    }
    
    .careers-hero-title {
        font-size: 40px;
    }
    
    .careers-hero-description {
        font-size: 16px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .careers-hero-title {
        font-size: 40px !important;
    }
    
    .careers-hero-label {
        font-size: 14px;
    }
    
    .btn-careers-hero {
        padding: 14px 32px;
        font-size: 16px;
        width: 100%;
        text-align: center;
    }
}

/* ========== TEXT & IMAGE SECTION - CLEAN VERSION ========== */
.careers-text-image-section {
    position: relative;
    padding: var(--spacing-xxl) 0;
    background: #FFFFFF;
}

/* Remove all floating background elements */
.careers-text-image-background::before,
.careers-text-image-background::after {
    display: none;
}

.careers-text-image-section .container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 769px) {
    .careers-text-image-section .container {
        padding: 0 var(--container-padding);
    }
}

.careers-text-image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.careers-text-image-grid.image-left {
    grid-template-areas: "image content";
}

.careers-text-image-grid.image-right {
    grid-template-areas: "content image";
}

.careers-text-image-grid.image-left .careers-text-image-content {
    grid-area: content;
}

.careers-text-image-grid.image-left .careers-text-image-visual {
    grid-area: image;
}

.careers-text-image-grid.image-right .careers-text-image-content {
    grid-area: content;
}

.careers-text-image-grid.image-right .careers-text-image-visual {
    grid-area: image;
}

/* Section Title - REDUCED SIZE */
.careers-section-title {
    font-family: 'Urbanist', sans-serif;
    font-size: 36px;
    font-weight: 900;
    line-height: 1.2;
    color: #1D95D1;
    margin: 0 0 20px 0;
}

/* Section Content - REDUCED SIZE */
.careers-section-content {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #2B4150;
}

.careers-section-content p {
    margin-bottom: 20px;
}

/* Images straight, tilt on hover - matching about page */
.careers-text-image-visual {
    position: relative;
    max-width: 500px;
    margin-left: auto;
    transform: rotate(0deg);
    transition: transform 0.4s ease;
}

.careers-text-image-visual:hover {
    transform: rotate(2deg);
}

/* Remove all tape effects */
.careers-text-image-visual::before,
.careers-text-image-visual::after {
    display: none;
}

.careers-text-image-visual img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    display: block;
}

/* ========== BENEFITS SECTION - MATCHING ABOUT PAGE CARDS ========== */
.careers-benefits-section {
    position: relative;
    padding: var(--spacing-xxl) 0;
    background: #F8F8F8;
}

/* Remove background elements */
.careers-benefits-background::before {
    display: none;
}

.careers-benefits-section .container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 769px) {
    .careers-benefits-section .container {
        padding: 0 var(--container-padding);
    }
}

/* Benefits Title - REDUCED SIZE */
.careers-benefits-title {
    font-family: 'Urbanist', sans-serif;
    font-size: 36px;
    font-weight: 900;
    color: #1D95D1;
    text-align: left;
    margin: 0 0 16px 0;
}

/* Benefits Description - REDUCED SIZE */
.careers-benefits-description {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #2B4150;
    text-align: left;
    max-width: 800px;
    margin: 0 0 var(--spacing-xl) 0;
}

.careers-benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
}

/* Match about page card styling - REDUCED PADDING */
.careers-benefit-card {
    background: #FFFFFF;
    padding: 32px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.careers-benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    border-color: #1D95D1;
}

/* Benefit Icon - REDUCED SIZE */
.careers-benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 50%;
}

.careers-benefit-icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: invert(64%) sepia(35%) saturate(1027%) hue-rotate(144deg) brightness(91%) contrast(89%);
}

/* SVG icon styling for light teal outline icons */
.careers-benefit-icon svg {
    width: 50px;
    height: 50px;
    stroke: #5CC2CF;
    fill: none;
    stroke-width: 2;
}

/* Benefit Title - REDUCED SIZE */
.careers-benefit-title {
    font-family: 'Urbanist', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: #1D95D1;
    margin: 0 0 var(--spacing-sm) 0;
}

/* Benefit Description - REDUCED SIZE */
.careers-benefit-description {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #666666;
    margin: 0;
}

/* ========== AWARD SECTION - CLEAN VERSION ========== */
.careers-award-section {
    padding: var(--spacing-xxl) 0;
    background: #FFFFFF;
}

.careers-award-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 769px) {
    .careers-award-section .container {
        padding: 0 var(--container-padding);
    }
}

/* Award Title - REDUCED SIZE */
.careers-award-title {
    font-family: 'Urbanist', sans-serif;
    font-size: 36px;
    font-weight: 900;
    color: #1D95D1;
    margin: 0 0 var(--spacing-lg) 0;
}

.careers-award-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.careers-award-grid {
    display: grid;
    grid-template-columns: 450px 1fr;
    gap: 60px;
    align-items: flex-start;
}

/* Image straight, tilt on hover */
.careers-award-image {
    position: relative;
    transform: rotate(0deg);
    transition: transform 0.4s ease;
}

.careers-award-image:hover {
    transform: rotate(-2deg);
}

/* Remove tape effects */
.careers-award-image::before,
.careers-award-image::after {
    display: none;
}

.careers-award-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    display: block;
}

/* Award Highlight - REDUCED SIZE */
.careers-award-highlight {
    font-family: 'Urbanist', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #6EB510;
    margin: 0 0 20px 0;
}

/* Award Text - REDUCED SIZE */
.careers-award-text {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #2B4150;
    margin-bottom: 20px;
}

.careers-award-text p {
    margin-bottom: var(--spacing-sm);
}

/* Full width quote below the grid - REDUCED SIZE */
.careers-award-quote {
    background: #F5F5F5;
    padding: 32px;
    border-left: 4px solid #5CC2CF;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-style: italic;
    line-height: 1.7;
    color: #2B4150;
    margin: 0;
    width: 100%;
}

/* ========== JOB LISTINGS SECTION - CLEAN VERSION ========== */
.careers-listings-section {
    position: relative;
    padding: var(--spacing-xxl) 0;
    background: #F5F5F5;
}

/* Remove background elements */
.careers-listings-background::before {
    display: none;
}

.careers-listings-section .container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 769px) {
    .careers-listings-section .container {
        padding: 0 var(--container-padding);
    }
}

/* Listings Title - REDUCED SIZE */
.careers-listings-title {
    font-family: 'Urbanist', sans-serif;
    font-size: 36px;
    font-weight: 900;
    color: #1D95D1;
    text-align: center;
    margin: 0 0 var(--spacing-sm) 0;
}

/* Listings Description - REDUCED SIZE */
.careers-listings-description {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #2B4150;
    text-align: center;
    max-width: 700px !important;
    margin: 0 auto var(--spacing-xl) auto;
}

.careers-listings-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
    max-width: 900px;
    margin: 0 auto;
}

/* Match about page card styling - REDUCED PADDING */
.careers-listing-card {
    background: #FFFFFF;
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.careers-listing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    border-color: #1D95D1;
}

.careers-listing-header {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid #F5F5F5;
}

/* Listing Title - REDUCED SIZE */
.careers-listing-title {
    font-family: 'Urbanist', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #2B4150;
    margin: 0 0 var(--spacing-sm) 0;
}

.careers-listing-meta {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.careers-listing-meta span {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #666666;
    padding: 6px 12px;
    background: #F5F5F5;
    border-radius: 4px;
}

.careers-listing-department {
    color: #1D95D1 !important;
    background: rgba(29, 149, 209, 0.1) !important;
}

/* Listing Description - REDUCED SIZE */
.careers-listing-description {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #2B4150;
    margin-bottom: 20px;
}

/* Apply Button - REDUCED SIZE */
.careers-listing-apply {
    display: inline-block;
    background: #5CC2CF;
    color: #FFFFFF;
    padding: 10px 24px;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(92, 194, 207, 0.3);
}

.careers-listing-apply:hover {
    background: #207C7E;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(92, 194, 207, 0.4);
}

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

/* Tablet */
@media (max-width: 1024px) {
    .careers-hero-title {
        font-size: 42px;
    }
    
    .careers-hero-description {
        font-size: 16px;
    }
    
    .careers-text-image-grid,
    .careers-award-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .careers-text-image-grid.image-left,
    .careers-text-image-grid.image-right {
        grid-template-areas: "content" "image";
    }
    
    .careers-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .careers-hero-section {
        padding: var(--spacing-xl) 0;
    }
    
    .careers-hero-title {
        font-size: 40px;
    }
    
    .careers-hero-description {
        font-size: 16px;
    }
    
    .btn-careers-hero {
        font-size: 16px;
        padding: 14px 32px;
    }
    
    .careers-section-title,
    .careers-benefits-title,
    .careers-award-title,
    .careers-listings-title {
        font-size: 28px;
    }
    
    .careers-benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .careers-benefit-icon {
        width: 80px;
        height: 80px;
    }
    
    .careers-benefit-icon img,
    .careers-benefit-icon svg {
        width: 50px;
        height: 50px;
    }
}