/* =============================================================
   RESOURCE PAGE  —  css/resource.css
   Breakpoints: 1399 · 1199 · 991 · 767 · 575 · 399
   ============================================================= */

/* ── Helpers ─────────────────────────────────────────────────── */
.rsc-g-text {
    background: linear-gradient(269.87deg, #6e196f 4.97%, #f433e7 151.61%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* =============================================================
   SECTION 1 — HERO
   ============================================================= */
.rsc-hero {
    background: linear-gradient(181.51deg, rgba(255, 214, 219, 0) 22%, rgba(255, 212, 254, 0.85) 58%, rgba(255, 212, 254, 0.55) 100%);
    padding: 150px 0 80px;
    overflow: hidden;
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
}

.rsc-hero__heading {
    font-family: var(--font-body, 'Outfit', sans-serif);
    font-size: var(--fs-h1);
    font-weight: 500;
    color: #000;
    line-height: 1.17;
    letter-spacing: -0.58px;
    margin: 0 0 22px;
}

.rsc-hero__desc {
    font-family: var(--font-body, 'Outfit', sans-serif);
    font-size: var(--fs-p);
    font-weight: 300;
    color: #000;
    line-height: 1.4;
    letter-spacing: -0.2px;
    margin: 0 0 30px;
}

.rsc-hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 51px;
    padding: 0 34px;
    border-radius: 26px;
    background: linear-gradient(269.85deg, #6e196f 4.97%, #f433e7 151.61%);
    font-family: var(--font-body, 'Outfit', sans-serif);
    font-size: 18px;
    font-weight: 400;
    color: #fff;
    text-decoration: none;
    letter-spacing: -0.18px;
    white-space: nowrap;
    transition: opacity 0.2s, transform 0.2s;
    margin-bottom: 28px;
}

.rsc-hero__btn:hover {
    opacity: 0.88;
    color: #fff;
    transform: translateY(-1px);
}

/* Breadcrumb */
.rsc-hero__bc {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body, 'Outfit', sans-serif);
    font-size: 18px;
    font-weight: 300;
    letter-spacing: -0.18px;
}

.rsc-hero__bc a {
    color: #000;
    text-decoration: none;
    transition: color 0.2s;
}

.rsc-hero__bc a:hover { color: #9d248f; }

.rsc-hero__bc-sep {
    color: rgba(0, 0, 0, 0.4);
    font-size: 16px;
}

.rsc-hero__bc-cur { color: #9d248f; }

/* Hero right — photo composite */
.rsc-hero__right {
    justify-content: flex-end;
    align-items: center;
}

.rsc-hero__photos {
    position: relative;
    width: 100%;
    max-width: 514px;
    padding-bottom: 73.2%; /* 376 / 514 */
    margin-left: auto;
}

.rsc-hero__photos > * { position: absolute; }

/* small photo — top-left, sits ON TOP of main */
.rsc-hp__sm {
    left: 0;
    top: 0;
    width: 51.9%;   /* 267 / 514 */
    height: 40.4%;  /* 152 / 376 */
    object-fit: cover;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.30);
    border-radius: 6px;
    z-index: 3;
}

/* large main photo — slightly offset, lower z-index */
.rsc-hp__main {
    left: 9.3%;     /* 48 / 514 */
    top: 17.6%;     /* 66 / 376 */
    width: 88.9%;   /* 457 / 514 */
    height: 77.1%;  /* 290 / 376 */
    object-fit: cover;
    border-radius: 24px;
    z-index: 2;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.22);
}

/* floating icon — bottom-right */
.rsc-hp__icon {
    right: 0;
    bottom: 0;
    width: 18.9%;   /* 97 / 514 */
    height: auto;
    border-radius: 16px;
    z-index: 4;
    animation: rscFloat 3.2s ease-in-out infinite;
    background: #fff;
    padding: 20px;
}

@keyframes rscFloat {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-8px); }
}

/* =============================================================
   SECTION 2 — ACCESS SUPPORT
   ============================================================= */
.rsc-access {
    padding: 90px 0;
    /* background: linear-gradient(180deg, rgba(255, 212, 254, 0.48) 0%, rgba(255, 255, 255, 1) 72%); */
}

.rsc-access__photo {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 24px;
    display: block;
}

.rsc-access__heading {
    font-family: var(--font-body, 'Outfit', sans-serif);
    font-size: var(--fs-h2);
    font-weight: 600;
    color: #1e1e1e;
    line-height: 1.22;
    letter-spacing: -0.45px;
    margin: 0 0 22px;
}

.rsc-access__desc {
    font-family: var(--font-body, 'Outfit', sans-serif);
    font-size: var(--fs-p);
    font-weight: 300;
    color: #1e1e1e;
    line-height: 1.5;
    letter-spacing: -0.2px;
    margin: 0;
}

/* =============================================================
   SECTION 3 — FEATURE CARDS
   ============================================================= */
.rsc-cards {
    padding: 0 0 90px;
    position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgb(255 212 254 / 95%) 45%, rgba(255, 255, 255, 0) 100%);
}

.rsc-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rsc-card__icon {
    width: 91px;
    height: 91px;
    border-radius: 11px;
    background: linear-gradient(269.96deg, #6e196f 4.97%, #f433e7 151.61%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rsc-card__icon img {
    width: 65px;
    height: 65px;
    object-fit: contain;
    display: block;
}

.rsc-card__title {
    font-family: var(--font-body, 'Outfit', sans-serif);
    font-size: var(--fs-h4);
    font-weight: 600;
    color: #13002e;
    line-height: 1.2;
    margin: 0;
}

.rsc-card__desc {
    font-family: var(--font-body, 'Outfit', sans-serif);
    font-size: var(--fs-p);
    font-weight: 300;
    color: #0f233d;
    line-height: 1.33;
    letter-spacing: -0.18px;
    margin: 0;
}

/* =============================================================
   SECTION 4 — PRODUCT SUPPORT
   ============================================================= */
.rsc-support {
    background: linear-gradient(269.96deg, #6e196f 4.97%, #f433e7 151.61%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.rsc-support__left {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.rsc-support__tag {
    display: inline-flex;
    align-items: center;
    height: 51px;
    padding: 0 27px;
    border: 1.5px solid rgba(255, 255, 255, 0.75);
    border-radius: 25px;
    font-family: var(--font-body, 'Outfit', sans-serif);
    font-size: 18px;
    font-weight: 400;
    color: #fff;
    letter-spacing: -0.18px;
    white-space: nowrap;
    width: fit-content;
}

.rsc-support__heading {
    font-family: var(--font-body, 'Outfit', sans-serif);
    font-size: var(--fs-h2);
    font-weight: 600;
    color: #fff;
    line-height: 1.22;
    letter-spacing: -0.45px;
    margin: 0;
}

.rsc-support__intro {
    font-family: var(--font-body, 'Outfit', sans-serif);
    font-size: clamp(16px, 1.4vw, 20px);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.4;
    letter-spacing: -0.2px;
    margin: 0;
}

.rsc-support__item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rsc-support__item h3 {
    font-family: var(--font-body, 'Outfit', sans-serif);
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    letter-spacing: -0.2px;
    margin: 0;
}

.rsc-support__item p {
    font-family: var(--font-body, 'Outfit', sans-serif);
    font-size: 18px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.33;
    letter-spacing: -0.18px;
    margin: 0;
}

.rsc-support__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 51px;
    padding: 0 30px;
    background: #fff;
    border-radius: 26px;
    text-decoration: none;
    width: fit-content;
    transition: opacity 0.2s, transform 0.2s;
}

.rsc-support__btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.rsc-support__btn span {
    font-family: var(--font-body, 'Outfit', sans-serif);
    font-size: 18px;
    font-weight: 300;
    background: linear-gradient(269.46deg, #6e196f 4.97%, #f433e7 151.61%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.18px;
    white-space: nowrap;
}

.rsc-support__divider {
    border: none;
    border-top: 1px solid rgb(255 255 255);
    margin: 4px 0;
}

.rsc-support__right {
    display: flex;
    align-items: stretch;
}

.rsc-support__photo {
    width: 100%;
    min-height: 580px;
    object-fit: cover;
    border-radius: 24px;
    display: block;
}

/* =============================================================
   SECTION 5 — BUILT WITH SETUP
   ============================================================= */
.rsc-built {
    padding: 90px 0;
    background: #fff;
    position: relative;
    overflow: hidden;
}

.rsc-built::before {
       content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160.79deg, rgba(255, 214, 219, 0) 18.34%, rgb(204, 118, 201) 77.99%, #fff 90.61%);
    pointer-events: none;
}

.rsc-built > .container { position: relative; z-index: 1; }

.rsc-built__heading {
    font-family: var(--font-body, 'Outfit', sans-serif);
    font-size: var(--fs-h2);
    font-weight: 600;
    color: #000;
    line-height: 1.16;
    letter-spacing: -0.49px;
    margin: 0 0 18px;
}

.rsc-built__desc {
    font-family: var(--font-body, 'Outfit', sans-serif);
    font-size: var(--fs-p);
    font-weight: 300;
    color: #000;
    line-height: 1.39;
    letter-spacing: -0.18px;
    margin: 0;
}

.rsc-built__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
   
    padding: 12px 44px;
    border-radius: 26px;
    background: linear-gradient(269.85deg, #6e196f 4.97%, #f433e7 151.61%);
    font-family: var(--font-body, 'Outfit', sans-serif);
    font-size: 18px;
    font-weight: 300;
    color: #fff;
    text-decoration: none;
   
    white-space: nowrap;
    transition: opacity 0.2s, transform 0.2s;
}

.rsc-built__btn:hover {
    opacity: 0.88;
    color: #fff;
    transform: translateY(-2px);
}

/* =============================================================
   SECTION 6 — BLOG (page-specific tint)
   ============================================================= */
.page-resource .blog-section {
    background: linear-gradient(173.48deg, rgba(255, 214, 219, 0) 25.47%, rgba(255, 212, 254, 0.5) 57.66%, #fff 82%);
}
.rsc-support__left p{color:#fff!important}
/* =============================================================
   RESPONSIVE
   ============================================================= */

/* — 1399 — */
@media (max-width: 1399.98px) {
    .rsc-hero    { padding: 150px 0 70px; min-height: 520px; }
    .rsc-access  { padding: 80px 0; }
    .rsc-cards   { padding-bottom: 80px; }
    .rsc-support { padding: 80px 0; }
    .rsc-built   { padding: 80px 0; }
}

/* — 1199 — */
@media (max-width: 1199.98px) {
    .rsc-hero     { padding: 100px 0 60px; }
    .rsc-access   { padding: 70px 0; }
    .rsc-access__photo { height: 360px; }
    .rsc-cards    { padding-bottom: 70px; }
    .rsc-support  { padding: 70px 0; }
    .rsc-support__photo { min-height: 480px; }
    .rsc-built    { padding: 70px 0; }
    .rsc-built__btn { font-size: 20px; height: 58px; padding: 0 36px; }
}

/* — 991 — */
@media (max-width: 991.98px) {
    .rsc-hero     { padding: 90px 0 52px; min-height: auto; }
    .rsc-access   { padding: 60px 0; }
    .rsc-access__photo { height: 300px; border-radius: 18px; }
    .rsc-cards    { padding-bottom: 60px; }
    .rsc-card__icon { width: 76px; height: 76px; }
    .rsc-card__icon img { width: 52px; height: 52px; }
    .rsc-support  { padding: 60px 0; }
    .rsc-support__tag { font-size: 16px; height: 44px; }
    .rsc-support__btn { height: 46px; }
    .rsc-support__btn span { font-size: 16px; }
    .rsc-built    { padding: 60px 0; }
    .rsc-built__btn { font-size: 18px; height: 54px; padding: 0 30px; }
    .rsc-built .col-lg-4 { margin-top: 10px; }
}

/* — 767 — */
@media (max-width: 767.98px) {
    .rsc-hero     { padding: 80px 0 44px; }
    .rsc-hero__btn     { height: 44px; font-size: 16px; padding: 0 26px; border-radius: 22px; }
    .rsc-hero__bc      { font-size: 15px; }
    .rsc-access   { padding: 48px 0; }
    .rsc-access__photo { height: 240px; border-radius: 16px; }
    .rsc-cards    { padding-bottom: 48px; }
    .rsc-card__icon { width: 68px; height: 68px; }
    .rsc-card__icon img { width: 46px; height: 46px; }
    .rsc-support  { padding: 48px 0; }
    .rsc-built    { padding: 48px 0; }
    .rsc-built__btn { font-size: 16px; height: 48px; padding: 0 26px; border-radius: 22px; }
}

/* — 575 — */
@media (max-width: 575.98px) {
    .rsc-built .col-lg-4 { display: flex !important; justify-content: center; }
    .rsc-built__btn {width: fit-content;
        justify-content: center;
        margin: 0 auto; }
       .rsc-hero {
        padding: 90px 0 40px !important;
        min-height: auto;
    }
    .rsc-cards{padding-bottom: 40px!important;}
    .rsc-support{padding: 40px 0!important;}
    .rsc-built{padding: 40px 0!important;}
    .page-resource .blog-section{padding-top: 40px!important}
    .rsc-hero{text-align: center;}
    .rsc-access{text-align: center;}
    .rsc-card{    align-items: center;
    text-align: center;}
    .rsc-support{text-align: center;}
    .rsc-support__left{align-items: center;}
    .rsc-support__btn{margin: 0 auto;}
    .rsc-built{text-align: center;}
    .rsc-access{padding-top:40px!important}
    .rsc-support__left{    gap: 15px;}
    .rsc-support__heading {
        font-size: 22px;
        margin-bottom: -20px;
    }
}

/* — 399 — */
@media (max-width: 399.98px) {
    .rsc-hero__heading { font-size: 24px; }
    .rsc-card__icon { width: 60px; height: 60px; }
    .rsc-card__icon img { width: 40px; height: 40px; }
}

/* =============================================================
   BACK TO TOP BUTTON
   ============================================================= */
.rsc-back-top {
    position: fixed;
    bottom: 36px;
    right: 36px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: linear-gradient(269.85deg, #6e196f 4.97%, #f433e7 151.61%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(110, 25, 111, 0.40);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, box-shadow 0.2s ease;
    z-index: 999;
}

.rsc-back-top--visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.rsc-back-top:hover {
    box-shadow: 0 8px 28px rgba(110, 25, 111, 0.55);
    transform: translateY(-2px);
}

.rsc-back-top:focus-visible {
    outline: 3px solid #f433e7;
    outline-offset: 3px;
}

@media (max-width: 767.98px) {
    .rsc-back-top { bottom: 22px; right: 20px; width: 42px; height: 42px; }
    .rsc-back-top svg { width: 18px; height: 18px; }
}
