:root {
    --Gradient-Linear-84: linear-gradient(90deg, #7873F5 0%, #EC77AB 100%);
}

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    min-height: 600px;
}

.hero::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 {
    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;
}

.overlay-hero {
    z-index: 3;
}

/* Text */
.explore-title {
    color: #414651;
}

.explore-subtitle {
    color: #717680;
}

.explore-description {
    color: #535862;
    max-width: 450px;
}

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

#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;
}

/* Content layout */
.transforming-healthcare-recruitment-section {
    min-height: 900px;
    overflow: hidden;
}

.right-card {
    position: relative;
    overflow: hidden;
}

.maddie-card-shell {
    position: relative;
    min-height: 760px;
    border-radius: 36px;
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(145deg, #f2f1ff 0%, #ece9ff 45%, #f4edff 100%);
    border: 1px solid #e8e5ff;
}

.maddie-card-shell::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;
}

.maddie-card-shell::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;
}

.maddie-card-shell-left {
    min-height: 900px;
}

.maddie-side {
    position: absolute;
    right: -70px;
}

.maddie-img-right {
    position: relative;
    z-index: 5;
    padding-top: 5rem;
}

.maddie-img-left {
    position: relative;
    z-index: 5;
}

.eclipse-bottom-right {
    width: 465px;
    height: 465px;
    opacity: 1;
    top: 783px;
    left: -67px;
    background: linear-gradient(90deg, rgba(120, 115, 245, 0.7) 0%, rgba(236, 119, 171, 0.7) 100%);
    filter: blur(250px);
    z-index: 1;
}

.eclipse-top-right {
    width: 465px;
    height: 465px;
    opacity: 1;
    top: -292px;
    left: 434px;
    background: linear-gradient(90deg, rgba(120, 115, 245, 0.7) 0%, rgba(236, 119, 171, 0.7) 100%);
    filter: blur(250px);
    z-index: 1;
}

/* CTA + highlights */
.hero-btn h5 {
    font-size: 13px !important;
}

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

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

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

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

.gradient-section {
    opacity: 1;
    gap: 12px;
    border-radius: 100px;
    padding: 16px 28px;
    max-width: 450px;
    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;
}

/* Responsive */
@media (min-width: 993px) and (max-width: 1146px) {
    .hero-content {
        margin-top: 130px !important;
    }
}

@media (max-width: 1440px) {

    .hero-content {
        margin-top: 130px !important;
    }

    .meet-maddie-section{
        padding-left: 2rem;
    }

    .right-card {
        right: -1rem;
    }

    .maddie-card-shell-right{
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }

    .left-card {
        position: relative;
        left: -1rem;
    }

    .maddie-card-shell-left{
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }
}

@media (max-width: 1024px) {
    .maddie-card-shell {
        min-height: 640px;
    }

    .maddie-img-right img{
        height: 600px;
    }

    .maddie-side{
        height: 800px;
    }

    h2{
        font-size: 30px !important;
    }

    .title1-sophia{
        font-size: 16px !important;
    }

    .transforming-healthcare-recruitment-section {
        min-height: unset;
    }
}

@media (max-width: 768px) {
    .maddie-card-shell {
        min-height: 400px;
        border-radius: 26px;
    }

    .h1-nohemi {
        font-size: 28px;
    }

    .hero-texts {
        max-width: 400px;
    }

    .maddie-img-right img{
        height: 546px;
    }

    .meet-maddie-section{
        gap: .5rem !important
    }

    .first-explore-section{
        margin-bottom: 3rem !important;
    }

    .maddie-card-shell-left {
        min-height: 640px;
        border-radius: 26px;
    }

    .maddie-side {
        right: -150px;
    }

    .second-explore-section{
        padding-top: 1rem;
    }
}

@media (max-width: 500px) {
    .left-card{
        position: unset !important;
        border-radius: 0 !important;
    }

    .maddie-card-shell-left {
        min-height: 640px;
        border-radius: 0;
    }

    .maddie-side {
        position: absolute;
    }

    .right-card {
        right: 0 !important;
    }

    .maddie-card-shell-right {
        border-radius: 0;
    }

    .meet-maddie-section {
        padding: 2rem !important;
    }

    .title1-sophia {
        font-size: 15px !important;
    }
}

@media (max-width: 360px) {
    .maddie-img-right img {
        height: 460px;
    }
}
