:root {
    --itech-primary: #2937f0;
    --itech-accent: #f16628;
    --itech-dark: #010e28;
    --itech-light-bg: #f8f9fa;
    --itech-text-gray: #555;
    --itech-border-radius: 10px;
}

/* --- General Overrides --- */
.career-page-wrapper {
    font-family: 'Urbanist', sans-serif;
    overflow-x: hidden;
}

/* --- Hero Section --- */
.career-hero-section {
    background-color: #9CCC65;
    /* Exact Light Lime Green from reference */
    display: flex;
    align-items: center;
    min-height: 420px;
    padding: 130px 0 70px 0;
    position: relative;
    overflow: hidden;
}

.career-hero-watermark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../../assets/map.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    opacity: 0.3;
    mix-blend-mode: darken;
    /* Hue-on-hue darker green Effect */
    z-index: 0;
    transform: scale(1.1);
    filter: brightness(0.8);
}

.career-hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInLeft 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.career-hero-content h1 {
    font-size: 4.5rem;
    font-weight: 950;
    color: #ffffff;
    /* Default to white to avoid !important conflicts */
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -2.5px;
}

.career-hero-content h1 span.hero-accent-text,
.career-hero-content h1 span.hero-accent-text * {
    color: #2937f0 !important;
    /* iTechOps Accent Orange */
    -webkit-text-fill-color: #2937f0 !important;
    display: inline-block;
}

.career-hero-content .highlight {
    color: #2937f0 !important;
    /* Force iTechOps blue */
}

.career-hero-content p {
    font-size: 1.25rem;
    color: #ffffff !important;
    /* White text for description */
    margin-bottom: 40px;
    max-width: 580px;
    line-height: 1.8;
    font-weight: 600;
}

.btn-career-primary {
    background: #2937f0;
    /* Vibrant blue */
    color: #fff !important;
    padding: 16px 45px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s ease;
    border: none;
    box-shadow: 0 8px 20px rgba(41, 55, 240, 0.3);
    display: inline-block;
}

.btn-career-primary:hover {
    background: #010e28;
    /* Flip to navy on hover */
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(1, 14, 40, 0.4);
    color: #fff !important;
}

.career-hero-image-card {
    background: #fff;
    border-radius: 30px;
    padding: 35px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
    position: relative;
    z-index: 2;
    animation: fadeInRight 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both, floatCard 6s ease-in-out infinite 1.5s;
    border: none;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes floatCard {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(-15px, -15px) rotate(-1deg);
        /* Moves top-left */
    }

    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

.career-hero-image-card::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 10%;
    width: 80%;
    height: 20px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    filter: blur(15px);
    z-index: -1;
    animation: shadowPulse 6s ease-in-out infinite;
}

@keyframes shadowPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.2;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.1;
    }
}

.career-hero-image-card img {
    width: 100%;
    height: auto;
    object-fit: contain;
    animation: imageBreathe 10s ease-in-out infinite;
    /* Slower, smoother breathe */
}

@keyframes imageBreathe {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
    }

    50% {
        transform: scale(1.03) rotate(0.5deg);
    }

    /* More subtle scale and slight rotation */
}



/* --- Recruitment Process Section --- */
.process-section {
    padding: 30px 0 40px 0;
    /* Reduced top padding from 60px to 30px */
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-weight: 800;
    font-size: 2.8rem;
    color: var(--itech-dark);
    margin-bottom: 15px;
}

.section-title span {
    color: var(--itech-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: inline-block;
    margin-bottom: 15px;
    padding: 8px 20px;
    background: rgba(41, 55, 240, 0.1);
    border-radius: 30px;
}

.process-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
    height: 100%;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.process-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    border-color: var(--itech-primary);
}

.process-card p {
    color: var(--itech-text-gray);
    font-size: 1rem;
    line-height: 1.7;
    position: relative;
    z-index: 2;
}

/* Step Indicator */
.process-card::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 80px;
    height: 80px;
    background: rgba(241, 102, 40, 0.05);
    border-radius: 50%;
    z-index: 1;
}

.process-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #eef0ff 0%, #fff 100%);
    color: var(--itech-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2.2rem;
    box-shadow: 0 8px 20px rgba(41, 55, 240, 0.2);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.process-card:hover .process-icon {
    transform: scale(1.1) rotate(5deg);
}

.process-card h4 {
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: var(--itech-dark);
}

/* --- "Why join iTechOps?" Perks Section --- */
.perks-section {
    padding: 40px 0 40px 0;
    background: #fff;
    position: relative;
}

.perks-section::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(241, 102, 40, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -150px;
    left: -150px;
    z-index: 0;
}

.perks-header {
    text-align: center;
    margin-bottom: 80px;
}

.perks-sub-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.perks-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--itech-accent) 100%);
    border-radius: 2px;
}

.perks-subtitle {
    color: var(--itech-accent);
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 3px;
}

.perks-header h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--itech-dark);
}

.perks-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.perk-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 25px 20px;
    border-radius: 20px;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    background: rgba(255, 255, 255, 0.5);
}


.perk-item:hover {
    background-color: #fff;
    box-shadow: 0 20px 50px rgba(41, 55, 240, 0.15);
    transform: translateY(-8px);
    border-color: rgba(41, 55, 240, 0.2);
}

.perk-icon-circle {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--itech-primary) 0%, #5b6fff 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
    font-size: 2.8rem;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(41, 55, 240, 0.35);
    transition: all 0.4s ease;
}

.perk-item:hover .perk-icon-circle {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 15px 40px rgba(41, 55, 240, 0.5);
}

.perk-text {
    font-weight: 700;
    color: #222;
    font-size: 1.3rem;
    line-height: 1.4;
}

/* --- Job Listings (Cards - Enhanced) --- */
.jobs-section {
    padding: 40px 0 30px 0;
    /* Reduced bottom padding from 60px to 30px */
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.jobs-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(41, 55, 240, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    top: 50%;
    right: -200px;
    z-index: 0;
}

.job-card {
    background: linear-gradient(135deg, #e8f4f8 0%, #d1e7fd 100%);
    border-radius: 20px;
    padding: 40px 45px;
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 8px 30px rgba(41, 55, 240, 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid rgba(41, 55, 240, 0.15);
    position: relative;
    overflow: hidden;
    z-index: 1;
    cursor: pointer;
}

.job-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(180deg, #2937f0 0%, #5b6fff 100%);
    transform: scaleY(0);
    transition: transform 0.4s ease;
}

.job-card::after {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(41, 55, 240, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.job-card:hover::before {
    transform: scaleY(1);
}

.job-card:hover {
    box-shadow: 0 20px 50px rgba(41, 55, 240, 0.25);
    border-color: var(--itech-primary);
    transform: translateY(-10px) scale(1.02);
    background: linear-gradient(135deg, #bbdefb 0%, #90caf9 100%);
}

.job-info h3 {
    font-weight: 800;
    font-size: 1.7rem;
    margin-bottom: 15px;
    color: #0d47a1;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 2;
}

.job-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--itech-accent) 0%, #ff8c5f 100%);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.job-meta {
    display: flex;
    gap: 30px;
    color: var(--itech-text-gray);
    font-size: 1.05rem;
    margin-top: 8px;
    flex-wrap: wrap;
}

.job-meta span {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 30px;
    font-weight: 600;
    border: 2px solid rgba(41, 55, 240, 0.2);
    transition: all 0.3s ease;
}

.job-meta span:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(41, 55, 240, 0.15);
}

.job-meta i {
    color: var(--itech-primary);
    font-size: 1.3rem;
}

.btn-apply-sm {
    background: linear-gradient(135deg, var(--itech-primary) 0%, #5b6fff 100%);
    color: #fff;
    border: none;
    padding: 16px 40px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 1.05rem;
    transition: all 0.3s;
    white-space: nowrap;
    box-shadow: 0 6px 25px rgba(41, 55, 240, 0.35);
    cursor: pointer;
    position: relative;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-apply-sm:hover {
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 10px 35px rgba(41, 55, 240, 0.5);
    background: linear-gradient(135deg, #5b6fff 0%, var(--itech-primary) 100%);
}


/* --- Testimonials (Enhanced & Intuitive) --- */
.testimonials-section {
    padding: 40px 0 100px 0;
    /* Reduced top padding from 100px to 40px */
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

.testimonial-card-new {
    background: #fff;
    padding: 50px 40px;
    border-radius: 25px;
    margin: 20px;
    text-align: left;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
    border: 2px solid #f0f0f0;
    transition: all 0.4s ease;
    position: relative;
    min-height: 450px;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card-new:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--itech-primary);
}

.testimonial-split-wrapper {
    margin-top: 50px;
    padding: 20px;
    background: #fff;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.testimonial-illustration-box {
    padding: 20px;
    text-align: center;
}

.testimonial-illustration-box img {
    max-height: 400px;
    width: auto;
}

.testimonial-card-new {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 30px;
    margin: 15px;
    text-align: left;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
    animation: slideInRight 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
    animation-delay: 3s;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.testimonial-card-new:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(41, 55, 240, 0.1);
    border-color: var(--itech-primary);
    background: #fff;
}

.testimonial-card-new::before {
    content: '\f262';
    /* bi-chat-left-quote */
    font-family: 'bootstrap-icons' !important;
    font-size: 4rem;
    color: rgba(41, 55, 240, 0.08);
    position: absolute;
    top: 20px;
    right: 20px;
    line-height: 1;
    z-index: 1;
    pointer-events: none;
    transform: rotate(-10deg);
}

.testimonial-stars {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.testimonial-stars i {
    color: #FFB300;
    /* Richer gold */
    font-size: 1.1rem;
    filter: drop-shadow(0 0 5px rgba(255, 179, 0, 0.3));
}

.testimonial-text {
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 30px;
    line-height: 1.8;
    position: relative;
    z-index: 2;
    font-weight: 500;
}

.testimonial-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 2;
}

.testimonial-avatar-new {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--itech-primary) 0%, var(--itech-accent) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(41, 55, 240, 0.2);
}

.testimonial-author-new h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--itech-dark);
    margin: 0;
}

.testimonial-author-new span {
    font-size: 0.85rem;
    color: var(--itech-accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.testimonial-split-wrapper {
    margin-top: 60px;
    padding: 40px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 40px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

@media (max-width: 767px) {
    .testimonial-split-wrapper {
        padding: 15px;
        margin: 20px 10px;
        border-radius: 20px;
    }

    .testimonial-card-new {
        padding: 25px 20px;
        margin: 5px;
        min-height: auto;
    }

    .testimonial-text {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 20px;
    }

    .testimonial-author-new h5 {
        font-size: 1rem;
    }

    .testimonial-avatar-new {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .testimonial-card-new::before {
        font-size: 50px !important;
        top: 5px !important;
        right: 10px !important;
    }
}

.testimonial-illustration-box img {
    max-height: 450px;
    filter: drop-shadow(0 20px 30px rgba(41, 55, 240, 0.15));
    animation: floatIllustration 6s ease-in-out infinite;
}

@keyframes floatIllustration {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* --- Responsive --- */
@media (max-width: 991px) {
    .career-hero-content {
        text-align: center;
        margin-bottom: 40px;
    }

    .career-hero-content p {
        max-width: 100%;
    }

    .perks-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .career-hero-section {
        flex-direction: column-reverse;
    }

    .career-hero-content h1 {
        font-size: 3rem;
    }
}

@media (max-width: 767px) {
    .job-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .btn-apply-sm {
        width: 100%;
    }

    .perks-grid {
        grid-template-columns: 1fr;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .career-hero-content h1 {
        font-size: 2.5rem;
    }

    .testimonial-card-new {
        height: auto;
        min-height: 400px;
    }
}

/* --- Grow With Us Section --- */
.grow-with-us-section {
    padding: 60px 0 30px 0;
    /* Reduced bottom padding from 60px to 30px */
    background-color: #f8f9fa;
    position: relative;
    z-index: 1;
}

.section-header h2 {
    font-size: 2.5rem;
    /* Reduced from 3rem */
    font-weight: 800;
    color: #010e28;
    margin-bottom: 15px;
    /* Reduced from 20px */
}

.header-line {
    width: 80px;
    height: 4px;
    background: #2937f0;
    margin: 0 auto;
    border-radius: 2px;
}

.grow-card {
    background: #fff;
    padding: 30px 25px;
    /* Reduced from 40px 30px */
    border-radius: 24px;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
}

.grow-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: #2937f0;
}

.grow-icon-box {
    width: 60px;
    /* Reduced from 65px */
    height: 60px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    /* Reduced from 1.8rem */
    margin-bottom: 20px;
    /* Reduced from 25px */
    transition: all 0.3s ease;
}

.blue-bg {
    background-color: rgba(41, 55, 240, 0.1);
    color: #2937f0;
}

.green-bg {
    background-color: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.orange-bg {
    background-color: rgba(241, 102, 40, 0.1);
    color: #f16628;
}

.navy-bg {
    background-color: rgba(1, 14, 40, 0.1);
    color: #010e28;
}

.grow-card h3 {
    font-size: 1.35rem;
    /* Reduced from 1.5rem */
    font-weight: 700;
    color: #010e28;
    margin-bottom: 12px;
    /* Reduced from 15px */
}

.grow-card p {
    font-size: 0.95rem;
    /* Reduced from 1.05rem */
    color: #555;
    line-height: 1.6;
    /* Reduced from 1.7 */
    margin-bottom: 0;
    flex-grow: 1;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #555;
    margin-top: 10px;
    font-weight: 400;
}