: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);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 0;
    display: flex;
    flex-wrap: nowrap;
    gap: 2rem;
    align-items: center;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.talent-match .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.hero-banner-image {
    position: relative;
    flex: 1;
    transition: transform var(--transition-default);
}

/* .hero-banner-image:hover {
    transform: scale(1.02);
} */

.hero-banner-image .decorated {
    z-index: 300;
}

.hero-banner-image img {
    max-width: 98%;
    height: auto;
    display: block;
    z-index: 300;
}

/* .hero-banner-image img:hover {
    filter: brightness(1.05);
} */

.decorative-top-img {
    position: absolute;
    top: -20px;
    width: 100px;
    height: 100px;
    z-index: 1;
    transition: transform var(--transition-default);
}

/* .decorative-top-img:hover {
    transform: rotate(5deg) scale(1.1);
} */

.decorative-top-img:nth-child(2) {
    right: -20px;
    visibility: visible;
    background-size: contain;
}

.decorative-top-img:nth-child(3) {
    right: 60px;
    visibility: visible;
    background-size: contain;
}

.hero-banner-image.decorated::before {
    content: '';
}

.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;
}

.talent-match .image {
    flex: 1 1 45%;
}

.talent-match .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;
}

.talent-match h1 {
    font-size: 44px;
    color: rgba(0, 0, 0, 1);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 63px;
    letter-spacing: 1%;
}

.talent-match .highlight {
    color: #4754f0;
}

.talent-match p {
    font-size: 20px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 500;
    color: rgba(132, 134, 138, 1);
    line-height: 38px;
    letter-spacing: 2%;
}

.who-we-are-container {
    flex-direction: row-reverse;
}

.who-we-are .image {
    flex: 1 1 40%;
    transition: transform var(--transition-default);
}

.who-we-are .image:hover {
    transform: translateY(-5px);
}

.who-we-are .content {
    flex: 1 1 50%;
}

.who-we-are .section-label {
    font-size: 16px;
    font-weight: 600;
    color: rgba(39, 53, 175, 1);
    display: flex;
    gap: 8px;
    margin-bottom: 0.75rem;
}

.who-we-are h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 1rem;
    color: rgba(0, 0, 0, 1);
    line-height: 48px;
    letter-spacing: 1%;
}

.who-we-are p {
    font-size: 18px;
    font-weight: 500;
    line-height: 32px;
    letter-spacing: 2%;
    color: rgba(132, 134, 138, 1);
    margin-bottom: 1rem;
}

.who-we-are .feature {
    margin-top: 1rem;
    display: flex;
    align-items: start;
    gap: 1rem;
}

.who-we-are .feature .feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.who-we-are .feature h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: rgba(0, 0, 0, 1);
}

.who-we-are .feature p {
    color: rgba(132, 134, 138, 1);
    font-size: 18px;
    line-height: 32px;
}

.footer__list a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.what-we-do {
    background-color: #f5f7ff;
    padding: 4rem 0;
}

.what-we-do .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.what-we-do .section-header {
    width: auto;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    margin-bottom: 3rem;
    max-width: 40%;
}

.what-we-do .section-label {
    align-items: center;
    font-size: 16px;
    font-weight: 600;
    color: rgba(39, 53, 175, 1);
    display: flex;
    gap: 8px;
    margin-bottom: 0.75rem;
}

.what-we-do h2 {
    font-size: 44px;
    font-weight: 700;
    line-height: 1.2;
    color: #111;
    margin-bottom: 1.5rem;
}

.what-we-do .section-header p {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(132, 134, 138, 1);
    max-width: 650px;
}

.what-we-do .services-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: auto;
    justify-content: space-between;
}

.what-we-do .service-card {
    display: flex;
    flex-direction: row;
    background-color: #ffffff;
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
    flex: 1;
    gap: 18px;
    max-width: 550px;
    transition: transform var(--transition-default), box-shadow var(--transition-default);
}

.what-we-do .service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.center-service-card {
    margin-left: 79px;
}

.last-service-card {
    margin-left: 30px;
}

.what-we-do .service-icon {
    min-width: 40px;
    height: 36px;
    background-color: #f0f2ff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color var(--transition-default), transform var(--transition-default);
}

.what-we-do .service-card:hover .service-icon {
    background-color: #e0e5ff;
    transform: scale(1.1);
}

.what-we-do-icons {
    height: 30px;
    transition: transform var(--transition-default);
}

.what-we-do .service-card:hover .what-we-do-icons {
    transform: scale(1.1);
}

.service-content {
    width: auto;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
}

.what-we-do .service-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: rgba(0, 0, 0, 1);
    margin-bottom: 12px;
    transition: color var(--transition-default);
}

.what-we-do .service-card:hover h3 {
    color: rgba(39, 53, 175, 1);
}

.what-we-do .service-card p {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
}

.what-we-do .know-more {
    color: rgba(39, 53, 175, 1);
    font-weight: 600;
    text-decoration: none;
    font-size: 16px;
    transition: color var(--transition-default);
}

.what-we-do .know-more:hover {
    color: rgba(57, 72, 211, 1);
}

@media (max-width: 992px) {

    .container {
        padding: 3rem 1rem;
        flex-wrap: wrap;
    }

    .what-we-do .services-cards {
        flex-wrap: wrap;
    }

    .what-we-do .service-card {
        flex: 1 1 calc(50% - 12px);
        max-width: none;
    }

    .what-we-do .section-header {
        margin-bottom: 0;
        max-width: 100%;
    }

    .what-we-do .service-card {
        max-width: 100%;
    }

    .center-service-card {
        margin-left: 0px;
    }

    .last-service-card {
        margin-left: 0px;
    }

    .decorative-top-img {
        display: none;
    }

    .decorative-top-img:nth-child(2) {
        right: -2px;
        visibility: hidden;
    }

    .decorative-top-img:nth-child(3) {
        right: 1px;
        visibility: hidden;
    }

    .hero-banner-image.decorated::after {
        position: absolute;
        bottom: -10px;
        right: -10px;
        width: 40px;
        height: 40px;
        transform: rotate(30deg);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 1rem 1rem;
        gap: 1rem;
        flex-direction: column;
    }

    .what-we-do {
        padding: 1rem 0;
    }

    .what-we-do h2 {
        font-size: 32px;
    }

    .what-we-do .service-card {
        flex: 1 1 100%;
    }

    .what-we-do .services-cards {
        flex-direction: column;
    }

    .who-we-are h2,
    .what-we-do h2 {
        font-size: 20px;
        font-weight: 700;
        margin-bottom: 0.5rem;
        color: rgba(0, 0, 0, 1);
        line-height: 30px;
        letter-spacing: 1%;
    }

    .talent-match .content,
    .who-we-are .content,
    .talent-match .image,
    .who-we-are .image {
        flex-direction: row;
    }

    .about-section-left-img {
        width: 100%;
        height: auto;
    }

    .talent-match .badge {
        padding: 6px 16px;
        border-radius: 20px;
        font-size: 12px;
        font-weight: 600;
        line-height: 24px;
        letter-spacing: 3%;
        display: inline-block;
        margin-bottom: 0.4rem;
    }

    .talent-match 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;
    }

    .who-we-are .section-label,
    .what-we-do .section-label {
        font-size: 14px;
    }

    .who-we-are .feature {
        margin-top: 0.8rem;
        display: flex;
        align-items: start;
        gap: 0.8rem;
    }

    .who-we-are .feature h4 {
        font-size: 16px;
        margin-bottom: 0.5rem;
        line-height: 24px;
        color: rgba(0, 0, 0, 1);
    }

    .what-we-do .section-header p {
        font-size: 14px;
        line-height: 24px;
        max-width: 650px;
    }

    .who-we-are p,
    .talent-match p,
    .who-we-are .feature p,
    .what-we-do .section-header p {
        font-size: 16px;
        line-height: 24px;
    }

    .what-we-do .service-card h3 {
        font-size: 18px;
        margin-bottom: 8px;
    }
}