
/* =========================================================
   CAREER HERO
========================================================= */

.ain-career-hero {
    position: relative;
    width: 100%;
    min-height: 500px;
    overflow: hidden;
    background-color: var(--primary-color);
    background-repeat: no-repeat;
    /* Anchor image to the right so office/logo stays right */
    background-position: right center; 
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    font-family: var(--primary-font);
}

/* =========================================================
   BACKGROUND OVERLAY
   — Left side blends into primary color for text readability
========================================================= */

.ain-career-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        rgba(2, 0, 102, 0.95) 0%,
        rgba(2, 0, 102, 0.85) 40%,
        rgba(2, 0, 102, 0.2) 65%,
        transparent 100%
    );
}

/* =========================================================
   CONTAINER
========================================================= */

.ain-career-hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    margin: 0 auto;
    padding: 0 70px;
}

/* =========================================================
   CONTENT
========================================================= */

.ain-career-hero-content {
    position: relative;
    z-index: 3;
    width: 55%;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    padding: 50px 20px 120px 0;
}

/* =========================================================
   BADGE
========================================================= */

.ain-career-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin-bottom: 15px;
    padding: 7px 15px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--rs-white);
    font-family: var(--primary-font);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.4px;
    line-height: 1.2;
}

.ain-career-hero-badge svg {
    width: 14px;
    height: 14px;
    color: var(--accent-color);
}

/* =========================================================
   HEADING
========================================================= */

.ain-career-hero-title {
    max-width: 640px;
    margin: 0 0 15px;
    color: var(--rs-white);
    font-family: var(--primary-font);
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1px;
}

.ain-career-hero-title span {
    color: var(--secondary-color); 
}

/* =========================================================
   DESCRIPTION
========================================================= */

.ain-career-hero-description {
    max-width: 520px;
    margin: 0 0 25px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
}

/* =========================================================
   BUTTONS
========================================================= */

.ain-career-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.ain-career-btn {
    min-height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 11px 21px;
    border-radius: 7px;
    font-family: var(--primary-font);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    white-space: nowrap;
    transition: all 0.2s ease;
}

/* PRIMARY */

.ain-career-btn-primary {
    color: #ffffff !important;
    background: var(--secondary-color);
    border: 1px solid var(--secondary-color);
    box-shadow: 0 6px 18px rgba(192, 0, 99, 0.25);
}

.ain-career-btn-primary:hover {
    color: #ffffff !important;
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(2, 0, 102, 0.15);
}

.ain-career-btn-primary svg {
    width: 13px;
    height: 13px;
}

/* OUTLINE */

.ain-career-btn-outline {
    color: var(--rs-white) !important;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.ain-career-btn-outline:hover {
    background: var(--rs-white);
    color: var(--primary-color) !important;
    border-color: var(--rs-white);
    transform: translateY(-2px);
}

.ain-career-btn-outline svg {
    width: 15px;
    height: 15px;
}

/* =========================================================
   CAREER STATS STRIP
========================================================= */

.ain-career-stats-wrapper {
    position: absolute;
    left: 70px;
    right: 70px;
    bottom: 0;
    margin: 0 auto 10px;
    max-width: none;
    background: var(--rs-white);
    border: 1px solid #ededf5;
    border-radius: 13px;
    box-shadow: 0 8px 25px rgba(5, 7, 72, 0.15);
    z-index: 4;
}

.ain-career-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    padding: 20px 16px;
}

/* STAT ITEM */

.ain-career-stat-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    padding: 0 18px;
    min-height: 50px;
    position: relative;
}

.ain-career-stat-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 42px;
    background: #e5e5f0;
}

/* STAT ICON */

.ain-career-stat-icon {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ain-career-stat-icon svg {
    width: 24px;
    height: 24px;
}

.ain-career-stat-item:nth-child(4) .ain-career-stat-icon {
    color: var(--secondary-color);
}

/* STAT TEXT */

.ain-career-stat-content h3 {
    font-family: var(--primary-font);
    font-size: 15px;
    line-height: 1.3;
    font-weight: 700;
    color: var(--rs-dark);
    margin: 0 0 3px;
}

.ain-career-stat-content p {
    font-family: var(--primary-font);
    font-size: 10.5px;
    line-height: 1.4;
    font-weight: 400;
    color: var(--rs-text-primary);
    margin: 0;
}

/* =========================================================
   RESPONSIVE — TABLET
========================================================= */

@media (max-width: 1199px) {

    .ain-career-hero-container {
        padding: 0 40px;
    }

    .ain-career-hero-content {
        width: 60%;
        padding-top: 45px;
        padding-bottom: 115px;
    }

    .ain-career-hero-title {
        font-size: 42px;
    }

    .ain-career-stats-wrapper {
        left: 40px;
        right: 40px;
    }
}

@media (max-width: 991px) {

    .ain-career-hero {
        min-height: 480px;
    }

    .ain-career-hero-container {
        padding: 0 30px;
    }

    .ain-career-hero-content {
        width: 68%;
        padding: 40px 15px 115px 0;
    }

    .ain-career-hero-title {
        font-size: 38px;
    }

    .ain-career-hero-description {
        font-size: 14px;
        max-width: 480px;
    }

    .ain-career-stats-wrapper {
        left: 30px;
        right: 30px;
    }

    .ain-career-stats-grid {
        padding: 16px 10px;
    }

    .ain-career-stat-item {
        gap: 10px;
        padding: 0 12px;
        min-height: 46px;
    }

    .ain-career-stat-icon svg {
        width: 21px;
        height: 21px;
    }

    .ain-career-stat-content h3 {
        font-size: 14px;
    }
}

/* =========================================================
   RESPONSIVE — MOBILE (Switched to White Background)
========================================================= */

@media (max-width: 767px) {

    .ain-career-hero {
        min-height: auto;
        background-image: none !important;
        background: #ffffff; /* Solid white background */
        padding-bottom: 20px;
    }

    .ain-career-hero-overlay {
        display: none;
    }

    .ain-career-hero-container {
        padding: 0 20px;
    }

    .ain-career-hero-content {
        width: 100%;
        min-height: auto;
        padding: 40px 0 30px;
    }

    .ain-career-hero-badge {
        background: rgba(192, 0, 99, 0.08); /* Light pink tint */
        color: var(--secondary-color);
        border: 1px solid rgba(192, 0, 99, 0.15);
    }

    .ain-career-hero-badge svg {
        color: var(--secondary-color);
    }

    .ain-career-hero-title {
        font-size: 32px;
        line-height: 1.2;
        letter-spacing: -0.5px;
        color: var(--primary-color); /* Dark blue text */
    }

    .ain-career-hero-title span {
        color: var(--secondary-color); /* Pink text */
    }

    .ain-career-hero-description {
        font-size: 14px; /* Slightly larger */
        max-width: 100%;
        color: #4a4a68; /* Dark gray for readability */
    }

    .ain-career-hero-actions {
        gap: 12px;
    }

    .ain-career-btn {
        min-height: 42px;
        font-size: 13px;
        padding: 10px 17px;
    }

    /* Adjust outline button for white background */
    .ain-career-btn-outline {
        color: var(--primary-color) !important;
        background: transparent;
        border: 1px solid var(--primary-color);
    }

    .ain-career-btn-outline:hover {
        background: var(--primary-color);
        color: #ffffff !important;
    }

    /* STATS — normal flow below hero content */
    .ain-career-stats-wrapper {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        width: calc(100% - 40px);
        margin: 0 auto 10px;
        box-shadow: 0 6px 18px rgba(5, 7, 72, 0.08);
        border: 1px solid #eee8f5;
    }

    .ain-career-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 14px 8px;
        row-gap: 14px;
    }

    .ain-career-stat-item {
        justify-content: flex-start;
        padding: 8px 10px;
        min-height: 48px;
    }

    .ain-career-stat-item:nth-child(2)::after,
    .ain-career-stat-item:nth-child(4)::after {
        display: none;
    }

    .ain-career-stat-item:nth-child(odd)::after {
        display: block;
    }

    .ain-career-stat-icon svg {
        width: 19px;
        height: 19px;
    }

    .ain-career-stat-content h3 {
        font-size: 13px;
    }

    .ain-career-stat-content p {
        font-size: 10px;
    }
}

@media (max-width: 420px) {

    .ain-career-hero-container {
        padding: 0 16px;
    }

    .ain-career-hero-content {
        padding: 32px 0 26px;
    }

    .ain-career-hero-title {
        font-size: 28px;
    }

    .ain-career-hero-actions {
        gap: 8px;
    }

    .ain-career-btn {
        padding: 9px 14px;
        font-size: 12px;
    }

    .ain-career-stats-wrapper {
        width: calc(100% - 32px);
    }

    .ain-career-stat-item {
        gap: 8px;
        padding: 7px 7px;
    }

    .ain-career-stat-icon svg {
        width: 18px;
        height: 18px;
    }
}

   
/* =========================================================
   CAREER HIRING PROCESS CTA
========================================================= */

.ain-career-hiring-cta {
    width: calc(100% - 137px);
    /*max-width: 1400px;*/
    margin: 0 auto 25px;
    padding: 0;
    /*font-family: var(--primary-font);*/
}

.ain-career-hiring-container {
    position: relative;
    overflow: hidden;
    min-height: 100px;
    padding: 22px 35px;
    display: flex;
    align-items: center;
    gap: 30px;
    border-radius: 17px;

    background: linear-gradient(
        110deg,
        #020066 0%,
        #090080 48%,
        #4814c6 78%,
        #c00063 100%
    );
}


/* =========================================================
   BACKGROUND DECORATION
========================================================= */

.ain-career-hiring-container::before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    top: -130px;
    left: 48%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.035);
    pointer-events: none;
}

.ain-career-hiring-container::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    right: -80px;
    bottom: -100px;
    border-radius: 50%;
    background: rgba(255, 0, 130, 0.18);
    pointer-events: none;
}


/* =========================================================
   ROCKET ICON
========================================================= */

.ain-career-hiring-icon {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.ain-career-hiring-icon svg {
    width: 48px;
    height: 48px;
    stroke-width: 1.7;
}


/* =========================================================
   CONTENT
========================================================= */

.ain-career-hiring-content {
    position: relative;
    z-index: 1;
    flex: 1;
    min-width: 0;
}

.ain-career-hiring-content h2 {
    margin: 0 0 5px;
    color: #ffffff;
    /*font-family: var(--primary-font);*/
    font-size: 21px;
    font-weight: 700;
    line-height: 1.35;
}

.ain-career-hiring-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    /*font-family: var(--primary-font);*/
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
}


/* =========================================================
   BUTTON
========================================================= */

.ain-career-hiring-btn {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    min-height: 45px;
    padding: 11px 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 30px;

    background: transparent;
    color: #ffffff !important;

    /*font-family: var(--primary-font);*/
    font-size: 12px;
    font-weight: 600;
    text-decoration: none !important;

    transition: all 0.25s ease;
}

.ain-career-hiring-btn svg {
    width: 13px;
    height: 13px;
    transition: transform 0.25s ease;
}

.ain-career-hiring-btn:hover {
    background: #ffffff;
    color: var(--primary-color) !important;
    transform: translateY(-2px);
}

.ain-career-hiring-btn:hover svg {
    transform: translateX(4px);
}


/* =========================================================
   RESPONSIVE - TABLET
========================================================= */

@media (max-width: 991px) {

    .ain-career-hiring-cta {
        width: calc(100% - 40px);
    }

    .ain-career-hiring-container {
        padding: 22px 25px;
        gap: 20px;
    }

    .ain-career-hiring-icon {
        width: 55px;
        height: 55px;
    }

    .ain-career-hiring-icon svg {
        width: 40px;
        height: 40px;
    }

    .ain-career-hiring-content h2 {
        font-size: 18px;
    }

    .ain-career-hiring-content p {
        font-size: 12px;
    }

    .ain-career-hiring-btn {
        padding: 10px 15px;
        font-size: 11px;
    }

}


/* =========================================================
   RESPONSIVE - MOBILE
========================================================= */

@media (max-width: 767px) {

    .ain-career-hiring-cta {
        width: calc(100% - 32px);
        margin-bottom: 20px;
    }

    .ain-career-hiring-container {
        min-height: auto;
        padding: 24px 20px;
        flex-wrap: wrap;
        gap: 14px;
        border-radius: 15px;
    }

    .ain-career-hiring-icon {
        width: 45px;
        height: 45px;
    }

    .ain-career-hiring-icon svg {
        width: 35px;
        height: 35px;
    }

    .ain-career-hiring-content {
        flex: 1;
        min-width: 180px;
    }

    .ain-career-hiring-content h2 {
        font-size: 17px;
    }

    .ain-career-hiring-content p {
        font-size: 11.5px;
    }

    .ain-career-hiring-btn {
        width: 100%;
        min-height: 43px;
        margin-top: 5px;
        font-size: 12px;
    }

}


/* =========================================================
   RESPONSIVE - SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .ain-career-hiring-cta {
        width: calc(100% - 24px);
    }

    .ain-career-hiring-container {
        padding: 20px 16px;
        gap: 12px;
    }

    .ain-career-hiring-content h2 {
        font-size: 15px;
    }

    .ain-career-hiring-content p {
        font-size: 10.5px;
    }

}

    /* =========================================================
   CURRENT JOB OPPORTUNITIES
========================================================= */

.ain-career-jobs {
    position: relative;
    width: 100%;
    padding: 40px 0 45px;
    background: #ffffff;
    font-family: var(--primary-font);
}

.ain-career-jobs-container {
    width: 100%;
    /*max-width: 1400px; */
    padding: 0 70px;
    margin: 0 auto;
    position: relative;
}


/* =========================================================
   SECTION HEADER
========================================================= */

.ain-career-jobs-header {
    position: relative;
    text-align: center;
    margin-bottom: 35px; /* Slightly more space below header */
}

.ain-career-jobs-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 6px;
}

.ain-career-heading-line {
    width: 24px;
    height: 2px;
    display: inline-block;
    background: var(--secondary-color, #c00063);
    border-radius: 2px;
}

.ain-career-jobs-heading h2 {
    margin: 0;
    color: var(--primary-color, #020066);
    font-size: 27px; /* Reduced slightly from 29px for a cleaner look */
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.ain-career-jobs-header > p {
    margin: 0;
    color: #555555; /* Changed from primary color to a softer gray for better hierarchy */
    font-size: 14.5px;
    font-weight: 400;
    line-height: 1.6;
}


/* VIEW ALL BUTTON */

.ain-career-view-all {
    position: absolute;
    right: 0;
    top: 0;
    min-height: 41px;
    padding: 9px 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--secondary-color, #c00063);
    border-radius: 30px;
    color: var(--secondary-color, #c00063) !important;
    background: #ffffff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.25s ease;
}

.ain-career-view-all svg {
    width: 12px;
    height: 12px;
}

.ain-career-view-all:hover {
    color: #ffffff !important;
    background: var(--secondary-color, #c00063);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(192, 0, 99, 0.15);
}


/* =========================================================
   JOB GRID
========================================================= */

.ain-career-jobs-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}


/* =========================================================
   JOB CARD
========================================================= */

.ain-career-job-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
    min-height: 240px;
    padding: 24px;
    /* Subtle background tint to lift the card */
    background: #ffffff;
    border: 1px solid #e8e8f3;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(2, 0, 102, 0.03);
    transition: all 0.3s ease;
}

.ain-career-job-card:hover {
    border-color: rgba(192, 0, 99, 0.3);
    box-shadow: 0 10px 30px rgba(2, 0, 102, 0.08);
    transform: translateY(-3px);
}


/* =========================================================
   JOB TOP CONTENT
========================================================= */

.ain-career-job-top {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}


/* JOB ICON */

.ain-career-job-icon {
    flex-shrink: 0;
    width: 76px; /* Slightly smaller to match refined typography */
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-top: 2px;
}

.ain-career-job-icon svg {
    width: 30px;
    height: 30px;
    stroke-width: 2.2;
}

.ain-job-icon-blue {
    background: #f0f4ff;
    color: #168be8;
}

.ain-job-icon-pink {
    background: #fbf0f6;
    color: var(--secondary-color, #c00063);
}


/* =========================================================
   JOB INFORMATION
========================================================= */

.ain-career-job-info {
    flex: 1;
    min-width: 0;
}

.ain-career-job-info h3 {
    margin: 0 0 10px;
    color: var(--primary-color, #020066);
    font-size: 20px; /* Reduced slightly */
    font-weight: 700;
    line-height: 1.3;
}


/* JOB META */

.ain-career-job-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 8px;
    color: #4a4a68; /* Softer text color */
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
}

.ain-career-job-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.ain-career-job-meta span svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
    color: var(--primary-color, #020066);
}

.ain-career-job-meta i {
    width: 1px;
    height: 12px;
    display: inline-block;
    background: #d6d6e7;
}


/* DESCRIPTION */

.ain-career-job-description {
    margin: 12px 0 0;
    color: #5a5a73; /* Softer text */
    font-size: 13.5px;
    font-weight: 400;
    line-height: 1.6;
    /* Limit to 2 lines for uniform card heights */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* =========================================================
   JOB ACTIONS
========================================================= */

.ain-career-job-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px dashed #e8e8f3; /* Subtle divider */
}


/* VIEW DETAILS */

.ain-career-job-details {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color, #020066) !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.25s ease;
}

.ain-career-job-details svg {
    width: 14px;
    height: 14px;
    transition: transform 0.25s ease;
}

.ain-career-job-details:hover {
    color: var(--secondary-color, #c00063) !important;
}

.ain-career-job-details:hover svg {
    transform: translateX(3px);
}


/* APPLY NOW */

.ain-career-apply-btn {
    min-width: 130px;
    min-height: 44px;
    padding: 10px 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 10px; /* Slightly less rounded to match refined look */
    background: var(--secondary-color, #c00063);
    border: 1px solid var(--secondary-color, #c00063);
    color: #ffffff !important;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.25s ease;
}

.ain-career-apply-btn svg {
    width: 13px;
    height: 13px;
    transition: transform 0.25s ease;
}

.ain-career-apply-btn:hover {
    background: var(--primary-color, #020066);
    border-color: var(--primary-color, #020066);
    color: #ffffff !important;
    transform: translateY(-2px);
}

.ain-career-apply-btn:hover svg {
    transform: translateX(3px);
}


/* =========================================================
   RESPONSIVE - TABLET
========================================================= */

@media (max-width: 1199px) {
    .ain-career-jobs-container {
        padding: 0 40px;
    }
    .ain-career-job-card {
        padding: 20px;
    }
    .ain-career-job-top {
        gap: 15px;
    }
    .ain-career-job-icon {
        width: 66px;
        height: 66px;
    }
    .ain-career-job-icon svg {
        width: 26px;
        height: 26px;
    }
}

/* =========================================================
   RESPONSIVE - SMALL TABLET
========================================================= */

@media (max-width: 991px) {
    .ain-career-jobs {
        padding: 50px 0;
    }
    .ain-career-jobs-container {
        padding: 0 30px;
    }
    .ain-career-jobs-header {
        padding-bottom: 50px;
    }
    .ain-career-view-all {
        top: auto;
        right: 50%;
        bottom: 0;
        transform: translateX(50%);
    }
    .ain-career-view-all:hover {
        transform: translateX(50%) translateY(-2px);
    }
    .ain-career-jobs-grid {
        gap: 16px;
    }
    .ain-career-job-info h3 {
        font-size: 18px;
    }
}

/* =========================================================
   RESPONSIVE - MOBILE
========================================================= */

@media (max-width: 767px) {
    .ain-career-jobs {
        padding: 45px 0 50px;
    }
    .ain-career-jobs-container {
        padding: 0 20px;
    }
    .ain-career-jobs-heading h2 {
        font-size: 23px;
    }
    .ain-career-jobs-header > p {
        font-size: 13px;
    }
    .ain-career-jobs-grid {
        grid-template-columns: 1fr;
    }
    .ain-career-job-card {
        min-height: 0;
        padding: 20px;
    }
    .ain-career-job-actions {
        margin-top: 15px;
        padding-top: 12px;
    }
}

/* =========================================================
   RESPONSIVE - SMALL MOBILE
========================================================= */

@media (max-width: 420px) {
    .ain-career-jobs-container {
        padding: 0 16px;
    }
    .ain-career-jobs-heading h2 {
        font-size: 20px;
    }
    .ain-career-heading-line {
        width: 18px;
    }
    .ain-career-job-top {
        gap: 12px;
    }
    .ain-career-job-icon {
        width: 56px;
        height: 56px;
    }
    .ain-career-job-icon svg {
        width: 22px;
        height: 22px;
    }
    .ain-career-job-info h3 {
        font-size: 17px;
    }
    .ain-career-job-meta {
        font-size: 11.5px;
        gap: 7px;
    }
    .ain-career-apply-btn {
        min-width: 110px;
        min-height: 40px;
        font-size: 12.5px;
    }
}

    
/* =========================================================
   LIFE AT AINOSOF SECTION
========================================================= */

.ain-career-life {
    position: relative;
    width: 100%;
    padding: 0 0 60px;
    background: #ffffff;
    /*font-family: var(--primary-font);*/
}

/* Outer Container: Ensures perfect alignment with the rest of the site */
.ain-career-life-container {
    width: 100%;
    /*max-width: 1400px;*/
    margin: 0 auto;
    padding: 0 70px;
}

/* Inner Box: The gradient card holding the content */
.ain-career-life-inner {
    display: grid;
    grid-template-columns: 0.3fr 0.7fr;
    align-items: center;
    gap: 30px;
    padding: 22px;
    background: linear-gradient(110deg, #f1efff 0%, #f7f6ff 55%, #f1efff 100%);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(2, 0, 102, 0.03);
}


/* =========================================================
   LEFT CONTENT
========================================================= */

.ain-career-life-content {
    min-width: 0;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}


/* DECORATIVE ELEMENT */

.ain-career-life-decoration {
    position: relative;
    width: 40px;
    height: 13px;
    margin-bottom: 12px;
}

.ain-career-life-decoration span {
    position: absolute;
    display: block;
    height: 2px;
    background: var(--secondary-color);
}

.ain-career-life-decoration span:nth-child(1) {
    width: 7px;
    top: 0;
    left: 0;
    transform: rotate(45deg);
}

.ain-career-life-decoration span:nth-child(2) {
    width: 30px;
    top: 7px;
    left: 10px;
}

.ain-career-life-decoration span:nth-child(3) {
    width: 7px;
    top: 11px;
    left: 0;
    transform: rotate(-15deg);
}


/* HEADING */

.ain-career-life-title {
    margin: 0 0 12px;
    color: var(--primary-color);
    /*font-family: var(--primary-font);*/
    font-size: 28px;
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: -0.5px;
}


/* DESCRIPTION */

.ain-career-life-description {
    max-width: 320px;
    margin: 0 0 20px;
    color: #4a4a68;
    /*font-family: var(--primary-font);*/
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
}


/* =========================================================
   CULTURE BUTTON
========================================================= */

.ain-career-life-btn {
    min-height: 42px;
    padding: 10px 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 30px;
    background: var(--primary-color);
    border: 1px solid var(--primary-color);
    color: var(--rs-white) !important;
    /*font-family: var(--primary-font);*/
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.25s ease;
}

.ain-career-life-btn svg {
    width: 13px;
    height: 13px;
    transition: transform 0.25s ease;
}

.ain-career-life-btn:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--rs-white) !important;
    transform: translateY(-2px);
}

.ain-career-life-btn:hover svg {
    transform: translateX(3px);
}


/* =========================================================
   IMAGE GALLERY
========================================================= */

.ain-career-life-gallery {
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    align-items: center;
}


/* IMAGE CARD */

.ain-career-life-image {
    position: relative;
    width: 100%;
    height: 200px; /* Slightly taller for better proportion */
    overflow: hidden;
    border-radius: 12px;
    background: #e8e8f5;
    box-shadow: 0 4px 15px rgba(2, 0, 102, 0.08);
}

.ain-career-life-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.45s ease;
}


/* IMAGE HOVER */

.ain-career-life-image:hover img {
    transform: scale(1.05);
}


/* =========================================================
   RESPONSIVE - LARGE TABLET
========================================================= */

@media (max-width: 1199px) {

    .ain-career-life-container {
        padding: 0 40px;
    }

    .ain-career-life-inner {
        grid-template-columns: 30% 70%;
        gap: 20px;
        padding: 18px;
    }

    .ain-career-life-title {
        font-size: 25px;
    }

    .ain-career-life-gallery {
        gap: 12px;
    }

    .ain-career-life-image {
        height: 170px;
    }

}


/* =========================================================
   RESPONSIVE - TABLET
========================================================= */

@media (max-width: 991px) {

    .ain-career-life {
        padding-bottom: 50px;
    }

    .ain-career-life-container {
        padding: 0 30px;
    }

    .ain-career-life-inner {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 24px;
    }

    .ain-career-life-content {
        padding: 0;
    }

    .ain-career-life-description {
        max-width: 100%;
    }

    .ain-career-life-gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
    }

    .ain-career-life-image {
        height: 180px;
    }

}


/* =========================================================
   RESPONSIVE - MOBILE
========================================================= */

@media (max-width: 767px) {

    .ain-career-life {
        padding-bottom: 40px;
    }

    .ain-career-life-container {
        padding: 0 20px;
    }

    .ain-career-life-inner {
        padding: 20px;
        border-radius: 18px;
    }

    .ain-career-life-title {
        font-size: 24px;
    }

    .ain-career-life-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .ain-career-life-image {
        height: 150px;
    }

    /* Third image takes full width */

    .ain-career-life-image:last-child {
        grid-column: 1 / -1;
        height: 180px;
    }

}


/* =========================================================
   RESPONSIVE - SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .ain-career-life-container {
        padding: 0 16px;
    }

    .ain-career-life-inner {
        padding: 16px;
        border-radius: 15px;
    }

    .ain-career-life-title {
        font-size: 22px;
    }

    .ain-career-life-gallery {
        gap: 10px;
    }

    .ain-career-life-image {
        height: 120px;
    }

    .ain-career-life-image:last-child {
        height: 150px;
    }

}


/* =========================================================
   WHY WORK WITH AINOSOF
========================================================= */

.ain-why-work-section {
    width: 100%;
    padding: 70px 0; /* Slightly more vertical padding */
    /* Very subtle light purple/blue tint background */
    background: #f8f7fc; 
    font-family: var(--primary-font);
}

.ain-why-work-container {
    width: 100%;
    /* Using the same max-width as your hero to align the content */
    /*max-width: 1400px; */
    margin: 0 auto;
    /* Matched the padding to your hero section */
    padding: 0 70px; 
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px; /* Increased gap slightly for better breathing room */
}

/* =========================================================
   LEFT SIDE (Text & Button)
========================================================= */

.ain-why-work-left {
    width: 35%;
    max-width: 380px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Top Pink Line */
.ain-why-work-line {
    display: block;
    width: 45px;
    height: 3px;
    background: var(--secondary-color);
    margin-bottom: 20px;
    border-radius: 2px;
}

.ain-why-work-title {
    font-size: 38px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.15;
    margin: 0 0 15px;
    letter-spacing: -0.5px;
}

.ain-why-work-desc {
    font-size: 14.5px;
    color: #555555;
    line-height: 1.6;
    margin: 0 0 28px;
}

.ain-why-work-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 24px;
    border-radius: 30px;
    background: var(--secondary-color);
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.ain-why-work-btn:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(2, 0, 102, 0.15);
}

.ain-why-work-btn svg {
    width: 14px;
    height: 14px;
}

/* =========================================================
   RIGHT SIDE (Grid of Cards)
========================================================= */

.ain-why-work-right {
    width: 65%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

/* CARD */

.ain-why-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #ffffff;
    border: 1px solid #eae6f5;
    border-radius: 12px;
    padding: 20px 16px;
    box-shadow: 0 4px 15px rgba(2, 0, 102, 0.03);
    transition: all 0.3s ease;
}

.ain-why-card:hover {
    box-shadow: 0 10px 25px rgba(2, 0, 102, 0.08);
    border-color: #dcd0e8;
    transform: translateY(-4px);
}

/* ICON WRAPPER */

.ain-why-icon-wrapper {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: #f0ecfa; /* Light purple tint */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.ain-why-icon-wrapper svg {
    width: 22px;
    height: 22px;
}

/* CARD TEXT */

.ain-why-card-content h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 5px;
    line-height: 1.2;
}

.ain-why-card-content p {
    font-size: 11.5px;
    color: #666666;
    margin: 0;
    line-height: 1.3;
}

/* =========================================================
   RESPONSIVE DESIGN
========================================================= */

@media (max-width: 1199px) {
    .ain-why-work-container {
        padding: 0 40px; /* Matches hero tablet padding */
        gap: 40px;
    }
}

@media (max-width: 1100px) {
    .ain-why-work-container {
        flex-direction: column;
        gap: 45px;
    }

    .ain-why-work-left {
        width: 100%;
        max-width: 100%;
        text-align: center;
        align-items: center;
    }

    .ain-why-work-right {
        width: 100%;
        max-width: 900px;
    }
}

@media (max-width: 991px) {
    .ain-why-work-container {
        padding: 0 30px; /* Matches hero small-tablet padding */
    }
}

@media (max-width: 850px) {
    .ain-why-work-right {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .ain-why-work-container {
        padding: 0 20px; /* Matches hero mobile padding */
    }
}

@media (max-width: 600px) {
    .ain-why-work-section {
        padding: 50px 0;
    }
    
    .ain-why-work-title {
        font-size: 32px;
    }

    .ain-why-work-right {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .ain-why-card {
        padding: 16px;
    }

    .ain-why-icon-wrapper {
        width: 42px;
        height: 42px;
    }

    .ain-why-icon-wrapper svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 420px) {
    .ain-why-work-container {
        padding: 0 16px; /* Matches hero small mobile padding */
    }
}