.gradient-text-ai {
    background: var(--Gradient-Linear-84, linear-gradient(90deg, #7873F5 0%, #EC77AB 100%));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.main-content {
    background: #fff;
}

.text-primary{
    color: #004EEB !important;
}

/* Hero + Detail background */
.hero {
    position: relative;
    overflow: hidden;
    min-height: 815px;
}

.detail-section {
    position: relative;
    overflow: hidden;
}

.hero::before,
.detail-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('/images/hero-section/bg-hero.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.7;
    z-index: 1;
}

.hero::after,
.detail-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('/images/hero-section/stripe.webp');
    background-size: cover;
    background-position: 20%;
    background-repeat: no-repeat;
    opacity: 0.2;
    z-index: 2;
}

.hero > * {
    position: relative;
    z-index: 3;
}

.hero-content {
    display: block !important;
    justify-content: unset !important;
    margin-top: 0 !important;
}

.hero-inner {
    padding-top: 12rem;
}

.hero-left-top {
    top: 0;
    left: 210px;
    width: 311px;
    overflow: hidden;
    background: #E265BF33;
    border-bottom-left-radius: 20px;
    z-index: 9;
}

.hero-left-bottom {
    top: 96%;
    left: 110px;
    width: 350px;
    overflow: hidden;
    background: #7F74F233;
    border-top-left-radius: 20px;
    transform: translateY(-50%);
    z-index: 9;
}

.hero-right-mid {
    top: 46%;
    right: 0px;
    width: 305px;
    overflow: hidden;
    background: #7F74F233;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    transform: translateY(-50%);
    z-index: 9;
}

.maddie-img {
    position: absolute;
    right: -75px;
    top: 36px;
    z-index: 10;
    pointer-events: none;
}

.post-images {
    height: 180px;
    width: 100%;
    position: relative;
}

.post-images img {
    position: absolute;
    object-fit: cover;
    top: 18px;
    left: 0;
    transition: opacity 0.7s ease-in-out;
    will-change: opacity;
}

.profile-images img {
    top: -35px;
    left: 70px;
}

.company-images img {
    top: -30px;
    left: 10px;
}

#powered-by-ai {
    background:
        linear-gradient(#FAFAFF, #FAFAFF) padding-box,
        linear-gradient(90deg, #7873F5 0%, #EC77AB 100%) border-box;
    border: 1px solid transparent;
    border-radius: 100px;
    padding: 8px 16px 8px 12px;
}

#powered-by-ai span {
    color: #5925DC;
}

/* Buttons */
.btn-find-jobs {
    background-color: #004EEB;
    box-shadow: 0px 4px 12px 0px #004EEB66;
    padding: 18px 32px;
    color: #fff;
}

.btn-find-jobs:hover {
    background-color: #0041d6;
    box-shadow: 0px 6px 16px 0px #0041d666;
}

.btn-hire-staff {
    background: #FAFAFA;
    border: 1px solid #DCDFEA;
    padding: 18px 32px;
    color: #404968;
}

.btn-hire-staff:hover {
    background: #F5F5F5;
    border-color: #C1C5D0;
    color: #404968;
}

/* Decorative elements */
.eclipse-left {
    position: absolute;
    left: -210px;
    top: 120%;
    transform: translateY(-50%);
    width: 658px;
    height: 658px;
    border-radius: 658px;
    background: linear-gradient(90deg, rgba(120, 115, 245, 0.50) 0%, rgba(236, 119, 171, 0.50) 100%);
    filter: blur(250px);
    z-index: -1;
}

.eclipse-left-2 {
    position: absolute !important;
    left: -210px;
    top: 120%;
    transform: translateY(-50%);
    width: 658px;
    height: 658px;
    border-radius: 658px;
    background: linear-gradient(90deg, rgba(120, 115, 245, 0.50) 0%, rgba(236, 119, 171, 0.50) 100%);
    filter: blur(250px);
    z-index: -1;
}

.eclipse-right {
    position: absolute;
    right: -210px;
    top: 0%;
    transform: translateY(-50%);
    width: 658px;
    height: 658px;
    border-radius: 658px;
    background: linear-gradient(90deg, rgba(120, 115, 245, 0.50) 0%, rgba(236, 119, 171, 0.50) 100%);
    filter: blur(250px);
    z-index: -1;
}

.eclipse-center {
    position: absolute;
    transform: translateY(-50%);
    top: 450px;
    width: 465px;
    height: 465px;
    border-radius: 658px;
    background: linear-gradient(90deg, rgba(120, 115, 245, 0.50) 0%, rgba(236, 119, 171, 0.50) 100%);
    filter: blur(250px);
    z-index: 1;
}

.maddie-side-wrapper {
    z-index: 3;
}

.img-circles {
    position: absolute;
    top: -64px;
    left: -9px;
    z-index: 2;
}

.card-pink {
    position: absolute;
    right: -10%;
    bottom: -80%;
    transform: translateY(-50%);
    width: 305px;
    height: 440px;
    border-radius: 20px;
    background: #E265BF33;
    z-index: -1;
}

/* Content sections */
.trust h5 {
    color: #404968;
}

.detail-inner {
    position: relative;
    z-index: 3;
}

.ms-card {
    height: 284px;
    opacity: 1;
    padding: 24px;
    gap: 16px;
    border-radius: 24px;
    border-width: 1px;
    max-width: 450px;
    color: #535862;
}

.ms-wrapper .ms-card:nth-child(1),
.ms-wrapper .ms-card:nth-child(3) {
    background: linear-gradient(0deg, #FDF2FA, #FDF2FA),
        linear-gradient(222.04deg, rgba(255, 255, 255, 0) 22.14%, rgba(255, 255, 255, 0.6) 78.84%);
    border: 1px solid #FCCEEE;
}

.ms-wrapper .ms-card:nth-child(2) {
    background: linear-gradient(0deg, #F4F3FF, #F4F3FF),
        linear-gradient(222.04deg, rgba(255, 255, 255, 0) 22.14%, rgba(255, 255, 255, 0.6) 78.84%);
    border: 1px solid #D9D6FE;
}

.improve-resume-section {
    width: 414px;
    height: 59px;
    opacity: 1;
    gap: 12px;
    border-radius: 100px;
    padding: 16px 28px;
    background:
        linear-gradient(white, white),
        linear-gradient(90deg, #7873F5 0%, #EC77AB 100%);
    background-clip: padding-box, border-box;
    background-origin: padding-box, border-box;
    border: 2px solid transparent;
}

.job-grid-maddie {
    bottom: 0;
    left: 100px;
}

.how-it-works-inner {
    width: 389;
    height: 75;
    opacity: 1;
    border-width: 2px;
    gap: 12px;
    border-radius: 100px;
    padding-top: 18px;
    padding-right: 40px;
    padding-bottom: 18px;
    padding-left: 40px;
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1)),
        linear-gradient(0deg, rgba(255, 255, 255, 0) 0%, #FFFFFF 179.33%);
    border: 2px solid #D5D7DA;
    color: #535862;
}

.ai-box {
    background:
        linear-gradient(white, white),
        linear-gradient(90deg, #7873F5 0%, #EC77AB 100%);
    background-clip: padding-box, border-box;
    background-origin: padding-box, border-box;
    border: 2px solid transparent;
    box-shadow: 0px 0px 32px 0px #D276BB66;
}

.grid-bg {
    background-color: #EFF1F5;
    position: relative;
    overflow: hidden;
}

.grid-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('/images/grid-bg.png');
    background-size: cover;
    background-position: 20%;
    background-repeat: no-repeat;
    opacity: 0.2;
    z-index: 0;
}

.grid-bg > * {
    position: relative;
    z-index: 1;
}

/* Responsive */
@media (max-width: 1600px) {
    .hero-left-top {
        left: 105px;
    }

    .company-images img {
        left: 10px;
    }

    .hero-left-bottom {
        left: 20px;
    }
}

@media (max-width: 1450px) {
    .hero-content {
        padding-right: 1rem;
        padding-left: 1rem;
    }
}

@media (max-width: 1440px) {
    .ms-card {
        max-width: 400px;
    }

    .ai-powered-section{
        right: -65px;
    }
}

@media (max-width: 1390px) {
    .maddie-img {
        right: -30px;
    }

    .hero-left-top {
        left: -7px;
    }

    .hero-left-bottom {
        left: -135px;
    }

    .hero-right-mid {
        right: 60px;
    }
}

@media (max-width: 1280px) {
    .ms-card {
        max-width: 350px;
    }

    .img-circles img{
        width: 1280px;
    }

    .maddie-side-wrapper img{
        height: 560px;
    }

    .job-grid-maddie img{
        width: 275px;
    }

    .how-it-works-inner h5{
        font-size:20px;
    }
}

@media (max-width: 1200px) {
    .hero {
        min-height: 850px;
    }

    .maddie-img {
        right: 10px;
        width: 650px !important;
    }
}

@media (max-width: 1024px) {
    .ms-card {
        max-width: 290px;
    }

    .img-circles img{
        width: 1015px;
    }

    .maddie-side-wrapper img{
        height: 430px;
    }

    .ai-powered-section{
        padding-top: 0 !important;
    }

    .ai-powered-section h2{
        font-size: 28px !important;
    }

    .ai-powered-section p{
        font-size: 16px !important;
    }

    .job-grid-maddie img {
        width: 200px;
    }

    .improve-resume-section{
        width: unset !important;
        height: unset !important;
    }

    .how-it-works-inner h5 {
        font-size: 16px;
    }

    /* Hero section */
    .hero-inner{
        padding-top: 8rem;
    }

    .maddie-img {
        width: 550px !important;
    }

    .hero {
        min-height: 720px;
    }

    .hero-left-top {
       width: 270px;
    }

    .hero-left-top img{
        height: 170px !important;
    }

    .hero-left-top p{
        font-size:16px !important;
    }

    .post-images{
        margin-bottom:1rem !important;
    }

    .hero-right-mid{
        width: 250px;
        right: -17px;
    }

    .hero-right-mid img{
        height: 230px;
    }

    .hero-right-mid p{
        font-size:16px !important;
    }

    .profile-images{
        left: -72px !important;
    }

    .card-pink{
        bottom: -100%;
    }

    .hero-left-bottom{
        width: 250px;   
        left: -95px;
    }

    .hero-left-bottom img{
        height: 200px !important;
    }

    .hero-left-bottom p{
        font-size:16px !important;
        padding-top: 0 !important;
    }

    .company-images{
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .hero {
        background-position: center;
    }

    .job-grid {
        margin-top: 3rem !important;
    }
}

@media (max-width: 500px) {

    .img-star-4{
        display: none !important;
    }

    .how-it-works-wrapper{
        gap: 1.5rem !important;
        flex-flow: column !important;
    }

     .how-it-works-wrapper img{
        transform: rotate(90deg);
    }

    .ai-powered-section{
        padding-top: 1rem !important;
        padding-bottom: 0 !important;
        right: 0;
        display: flex !important;
        flex-flow: column !important;
        align-items: center !important;
        text-align: center !important;
    }

    .ai-powered-section div{
        align-items: center !important;
    }

    .job-grid-maddie{
        position:unset !important;
    }

    .ms-card {
        max-width: 100%;
    }

    .job-grid{
        margin-top: 0 !important;
    }

    .hero-content {
        display: block;
        padding: 0 1rem;
    }

    h2 {
        font-size: calc(1.375rem + 1.5vw);
    }

    .maddie-img {
        position: unset !important;
        width: 450px !important;
    }

    .hero-inner {
        padding-top: 3rem;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        line-height: normal;
    }

    .hero-title {
        font-size: 33px;
    }

    .hero-btn {
        padding: 12px 32px !important;
        justify-content: center !important;
    }

    .hero-btn h5 {
        font-size: 13px !important;
    }

    .hero-btn h5 img {
        height: 17px;
        width: 17px;
    }

    .hero-btn-wrapper {
        flex: 1;
        text-align: center;
    }

    .parent-hero-btn {
        width: 100%;
    }

    .hero-right div.position-absolute {
        z-index: 1;
    }

    #powered-by-ai {
        margin-bottom: 1rem;
    }

    .hero-right {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .maddie-image-wrapper {
        pointer-events: none !important;
        z-index: 2;
    }

    .hero-left-top {
        right: -35px;
        top: 0px;
        left: unset;
        width: 250px;
    }

    .hero-right-mid {
        right: unset;
        left: 0;
    }

    .hero-right-mid .post-images img {
        left: 120 !important;
        width: 100%;
    }

    .hero {
        max-height: 1000px;
    }

    .post-images img {
        height: 180px;
    }

    .hero-left-top p,
    .hero-left-bottom p,
    .hero-right-mid p {
        font-size: 13px !important;
    }

    .post-images {
        margin-bottom: 0 !important;
    }

    .hero-right-mid {
        bottom: -253px;
        top: unset;
        right: -91px;
        left: unset;
        width: 200px;
        border-radius: 0;
    }

    .hero-left-bottom {
        width: 233px;
        left: -7px;
        top: 45%;
        border-radius: 0;
    }

    .company-images img {
        left: -12px;
        width: 100%;
    }

    .profile-images img {
        top: 0 !important;
    }
}

@media (max-width: 414px) {
    .hero {
        max-height: 855px;
    }

    .hero-title {
        font-size: 30px;
    }

    .meet-maddie-text {
        font-size: 16px !important;
    }

    .maddie-img {
        width: 400px !important;
    }

    .hero-content {
        padding: 0;
    }

    .hero-left-top {
        right: -70px;
        top: -25px;
    }
}

@media (max-width: 390px) {
    .hero {
        max-height: 845px;
    }
}

@media (max-width: 375px) {
    .hero {
        max-height: 830px;
    }
}

@media (max-width: 360px) {
    .hero-title {
        font-size: 27px;
    }
}

@media (max-width: 320px) {
    .hero-btn h5 i,
    .hero-btn h5 img {
        display: none !important;
    }
}