:root {
    --header-height-desktop: 100px;
    --header-height-mobile: 70px;
    --primary-bg-color: rgba(255, 255, 255, 1);
    --color-text: rgba(50, 45, 41, 1);
    --color-background: rgba(255, 255, 255, 1);
    --transition-default: 0.3s ease;
}

body {
    overflow-x: hidden;
}

.main-content {
    padding-top: var(--header-height-desktop);
    background-color: var(--primary-bg-color);
}

.services-hero-banner-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding: 3rem 0;
}

.hero-banner-image {
    position: relative;
    flex: 1;
}

.hero-banner-image img {
    max-width: 98%;
    width: 98%;
    border-radius: 12px;
    height: auto;
    object-fit: contain;
    display: block;
    z-index: 300;
}


.decorative-top-img {
    position: absolute;
    top: -20px;
    width: 100px;
    height: 100px;
    z-index: 1;
}

.decorative-top-img:nth-child(2) {
    right: -20px;
    background-size: contain;
}

.decorative-top-img:nth-child(3) {
    right: 60px;
    background-size: contain;
}

.hero-banner-image.decorated::after {
    content: '';
    position: absolute;
    bottom: -40px;
    right: 4px;
    width: 80px;
    height: 80px;
    background: rgba(76, 89, 208, 0.48);
    background: linear-gradient(90deg, rgba(111, 122, 216, 0.166) 0%, rgba(57, 72, 211, 0.708) 100%);
    border-radius: 50%;
    z-index: 290;
    transform: rotate(30deg);
    transition: transform var(--transition-default), background var(--transition-default);
}

.hero-banner-image.decorated:hover::after {
    transform: rotate(45deg) scale(1.1);
    background: linear-gradient(90deg, rgba(111, 122, 216, 0.2) 0%, rgba(57, 72, 211, 0.8) 100%);
}

.content {
    flex: 1;
    padding-right: 20px;
}

.services-hero-banner .image {
    flex: 1 1 45%;
}

.services-hero-banner .badge {
    background: rgba(234, 236, 250, 1);
    color: rgba(57, 73, 211, 1);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: 3%;
    display: inline-block;
    margin-bottom: 1rem;
}

.services-hero-banner h1 {
    font-size: 44px;
    color: rgba(0, 0, 0, 1);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 63px;
    letter-spacing: 1%;
}

.services-hero-banner .highlight {
    color: #4754f0;
}

.services-hero-banner p {
    font-size: 20px;
    font-family: 'Plus Jakarta Sans';
    font-weight: 500;
    color: rgba(132, 134, 138, 1);
    line-height: 38px;
    letter-spacing: 2%;
}

.hiring-process-section {
    padding: 1rem 1.5rem;
    font-family: 'Plus Jakarta Sans';
}

.hiring-process-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hiring-process-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 48px;
    color: rgba(0, 0, 0, 1);
    text-align: start;
    margin-bottom: 4px;
}

.hiring-process-subtitle {
    font-size: 16px;
    color: rgba(132, 134, 138, 1);
    line-height: 32px;
    margin-bottom: 1.5rem;
    text-align: start;
    max-width: 720px;
    font-family: 'Plus Jakarta Sans';
}

.hiring-process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(182px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.process-step {
    background-color: #ffffff;
    border-radius: 12px;
    border: 0.2px solid rgba(39, 53, 175, 1);
    padding: 1.5rem 1.25rem;
    text-align: start;
    /* box-shadow: 3px 3px 8px 0px rgba(216, 217, 218, 1); */
    border: 1px solid rgba(228, 230, 239, 1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.process-step:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.08);
}

.icon-circle {
    width: 40px;
    height: 40px;
    background-color: rgba(39, 53, 175, 1);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.step-heading {
    font-size: 18px;
    font-weight: 600;
    color: rgba(0, 0, 0, 1);
    margin-bottom: 0.75rem;
    line-height: 25px;
    font-family: 'Plus Jakarta Sans';
}

.step-text {
    font-size: 14px;
    font-weight: 500;
    color: rgba(132, 134, 138, 1);
    line-height: 26px;
    font-family: 'Plus Jakarta Sans';
}

.why-choose-us-section {
    background-color: #ffffff;
    padding: 3rem 1.5rem;
    font-family: 'Plus Jakarta Sans';
    position: relative;
}

.why-choose-us-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.why-choose-us-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 48px;
    color: rgba(0, 0, 0, 1);
    text-align: start;
    font-family: 'Plus Jakarta Sans';
}

.why-choose-us-subtitle {
    font-size: 16px;
    color: rgba(132, 134, 138, 1);
    line-height: 32px;
    margin-bottom: 1.5rem;
    text-align: start;
    font-weight: 500;
    font-family: 'Plus Jakarta Sans';
    max-width: 720px;
}

.why-choose-us-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    width: 100%;
}

.feature-card {
    background-color: #ffffff;
    border-radius: 12px;
    border: 1px solid rgba(228, 230, 239, 1);
    padding: 1.5rem 1rem;
    text-align: start;
    box-shadow: 3px 3px 8px 0px rgba(216, 217, 218, 1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 20px;
    height: auto;
    min-height: 150px;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.08);
}

.card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.icon-wrapper {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(217, 220, 247, 1);
    padding: 4px;
}

.icon-wrapper-mobile {
    margin-bottom: 1.5rem;
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(217, 220, 247, 1);
    padding: 6px 6px;
}

.card-content-img-title {
    gap: 10px;
    display: flex;
    flex-direction: row;
    align-items: start;
    justify-content: start;
}

.section-label {
    font-size: 14px;
    font-weight: 600;
    color: rgba(39, 53, 175, 1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Plus Jakarta Sans';
}

.section-label img {
    width: 20px;
    height: 20px;
}

.feature-heading {
    font-size: 18px;
    font-family: 'Plus Jakarta Sans';
    font-weight: 600;
    color: rgba(0, 0, 0, 1);
    margin-bottom: 0.75rem;
    line-height: 25px;
    text-align: start;
}

.feature-text {
    font-size: 14px;
    color: rgba(132, 134, 138, 1);
    line-height: 25px;
    text-align: start;
    font-weight: 500px;
    font-family: 'Plus Jakarta Sans';
}

/* Reset the automatic animations */
.services-hero-banner-container,
.content,
.hero-banner-image,
.process-step,
.feature-card {
    /* opacity: 0; */
    animation: none;
}

/* Keep staggered animation timing for process steps */
.hiring-process-grid .process-step:nth-child(1).animate {
    animation: slideFromTopFadeIn 0.8s ease forwards;
}

.hiring-process-grid .process-step:nth-child(2).animate {
    animation: slideFromTopFadeIn 0.8s ease forwards 0.1s;
}

.hiring-process-grid .process-step:nth-child(3).animate {
    animation: slideFromTopFadeIn 0.8s ease forwards 0.2s;
}

.hiring-process-grid .process-step:nth-child(4).animate {
    animation: slideFromTopFadeIn 0.8s ease forwards 0.3s;
}

.hiring-process-grid .process-step:nth-child(5).animate {
    animation: slideFromTopFadeIn 0.8s ease forwards 0.4s;
}

/* Feature cards animations */
.why-choose-us-grid .feature-card:nth-child(1).animate {
    animation: slideFromTopFadeIn 1s ease forwards;
}

.why-choose-us-grid .feature-card:nth-child(2).animate {
    animation: slideFromTopFadeIn 1s ease forwards 0.1s;
}

.why-choose-us-grid .feature-card:nth-child(3).animate {
    animation: slideFromTopFadeIn 1s ease forwards 0.2s;
}

.why-choose-us-grid .feature-card:nth-child(4).animate {
    animation: slideFromTopFadeIn 1s ease forwards 0.3s;
}

/* Hero section animations */
.services-hero-banner-container.animate {
    animation: fadeInSlideUp 0.8s ease forwards;
}

.content.animate {
    animation: fadeInSlideUp 0.8s ease forwards;
}

.hero-banner-image.animate {
    animation: fadeInSlideUp 0.8s ease forwards 0.2s;
}

.icon-wrapper-mobile-img {
    width: 24px;
    height: 24px;
}

/* Animation keyframes */
@keyframes fadeInSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

@keyframes slideFromTopFadeIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

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

/* Responsive Media Queries */

/* Tablets and Mobiles (max-width: 768px) */
@media (max-width: 768px) {
    .main-content {
        padding-top: var(--header-height-mobile);
    }

    .services-hero-banner-container {
        flex-direction: column;
        gap: 20px;
        padding: 2rem 1rem;
    }

    .services-hero-banner .content,
    .services-hero-banner .image {
        flex: 1 1 100%;
        padding-right: 0;
    }

    .services-hero-banner h1 {
        width: 100%;
        font-size: 30px;
        color: rgba(0, 0, 0, 1);
        font-weight: 700;
        margin-bottom: 1rem;
        line-height: 42px;
        letter-spacing: 1%;
        text-align: justify;
    }

    .services-hero-banner p {
        font-size: 16px;
        line-height: 28px;
    }

    .feature-heading {
        font-size: 16px;
        font-weight: 600;
        color: rgba(0, 0, 0, 1);
        margin-bottom: 0;
        line-height: 46px;
        text-align: start;
    }

    .feature-text {
        font-size: 14px;
        color: rgba(132, 134, 138, 1);
        line-height: 26px;
        text-align: start;
    }

    .hero-banner-image img {
        width: 100%;
        height: auto;
    }

    .decorative-top-img {
        width: 80px;
        height: 80px;
    }

    .hero-banner-image.decorated::after {
        position: absolute;
        bottom: -10px;
        right: -10px;
        width: 40px;
        height: 40px;
        transform: rotate(30deg);
    }

    .hiring-process-section {
        padding: 1rem 1rem;
    }

    .hiring-process-title {
        font-size: 24px;
        line-height: 36px;
        margin-bottom: 0;
    }

    .hiring-process-subtitle {
        font-size: 14px;
        line-height: 24px;
        margin-bottom: 1rem;
    }

    .hiring-process-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0;
    }

    .process-step {
        padding: 1.25rem 1rem;
    }

    .why-choose-us-section {
        padding: 1rem 1rem;
    }

    .why-choose-us-title {
        font-size: 24px;
        line-height: 36px;
        margin-bottom: 0;
        font-family: 'Plus Jakarta Sans';
    }

    .why-choose-us-subtitle {
        font-size: 14px;
        line-height: 24px;
        margin-bottom: 1rem;
    }

    .why-choose-us-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        padding: 14px;
        flex-direction: row;
        text-align: center;
    }

    .card-content {
        display: flex;
        flex-direction: column;
        align-items: start;
        justify-content: start;
    }


    .icon-wrapper {
        display: none;
        margin-bottom: 1rem;
    }

    .services-hero-banner-container.animate,
    .content.animate,
    .hero-banner-image.animate {
        animation-duration: 0.6s;
    }

    .hiring-process-grid .process-step:nth-child(n).animate,
    .why-choose-us-grid .feature-card:nth-child(n).animate {
        animation-duration: 0.6s;
    }


    .feature-text {
        font-size: 14px;
        line-height: 24px;
        text-align: start;
    }

    .icon-wrapper-mobile {
        display: flex;
        justify-content: start;
        align-items: start;
        margin-bottom: 0;
    }

    .card-content-img-title {
        gap: 9px;
        align-items: start;
        justify-content: center;
    }

    .card-content {
        gap: 8px;
    }

    .icon-circle {
        margin-bottom: 10px;
    }

    .step-heading {
        margin-bottom: 0.5rem;
    }

    .icon-wrapper-mobile-img {
        width: 34px;
        height: 34px;
    }
}