/* TeamVibe client revisions, 13 Nov 2026
   Include AFTER home-platinum.css. Keep original JS and carousel selectors. */

/* Hero: white canvas, lower heading, compact height to bring logos into view */
#home.pl-hero { background: #fff !important; padding: 0 !important; }
#home.pl-hero .pl-hero-shell {
    background: #fff !important;
    background-image: none !important;
    overflow: visible !important;
    isolation: isolate;
}
#home.pl-hero .pl-hero-shell::before,
#home.pl-hero .pl-hero-shell::after { content: none !important; display: none !important; }
#home.pl-hero .pl-hero-main { overflow: visible !important; }
#home.pl-hero .pl-reference-carousel { overflow: visible !important; }
#home.pl-hero .pl-ref-stage { border: 4px solid #fff; box-sizing: border-box; }
#home.pl-hero .pl-hero-mia { pointer-events: none !important; }

/* Neutral controls sit below, not over the character or video */
#home.pl-hero .pl-hero-main > .pl-ref-arrow {
    position: absolute !important;
    top: auto !important;
    bottom: -52px !important;
    width: 39px !important;
    height: 39px !important;
    display: grid !important;
    place-items: center !important;
    padding: 10px !important;
    border: 1px solid #e4e6ea !important;
    border-radius: 50% !important;
    background: #fff !important;
    color: #19263e !important;
    box-shadow: 0 4px 12px rgba(22,34,51,.08) !important;
    transform: none !important;
    z-index: 30 !important;
}
#home.pl-hero .pl-hero-main > .pl-ref-prev {
    left: calc(50% - 44px) !important;
    right: auto !important;
}
#home.pl-hero .pl-hero-main > .pl-ref-next {
    left: calc(50% + 5px) !important;
    right: auto !important;
}
#home.pl-hero .pl-hero-main > .pl-ref-arrow:hover,
#home.pl-hero .pl-hero-main > .pl-ref-arrow:focus-visible {
    border-color: var(--orange-500, #f47720) !important;
    color: var(--orange-600, #eb631c) !important;
    background: #fff7f2 !important;
}
#home.pl-hero .pl-ref-arrow svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

@media (min-width: 1200px) {
    #home.pl-hero .pl-hero-shell {
        height: 660px !important;
        min-height: 660px !important;
        padding: 0 !important;
    }
    #home.pl-hero .pl-hero-toprow { top: 74px !important; }
    #home.pl-hero .pl-hero-main {
        top: 130px !important;
        height: 430px !important;
        margin: 0 !important;
    }
    #home.pl-hero .pl-reference-carousel { height: 430px !important; }
    #home.pl-hero .pl-ref-stage { height: 430px !important; }
    #home.pl-hero .pl-hero-mia {
        height: 440px !important;
        width: 305px !important;
        right: -122px !important;
        bottom: 85px !important;
    }
}

@media (min-width: 1200px) {

    /* Reduce space above heading */
    #home.pl-hero .pl-hero-toprow {
        top: 35px !important;
    }

    /* Move carousel upward and increase height */
    #home.pl-hero .pl-hero-main {
        top: 95px !important;
        height: auto !important;
        margin: 0 !important;
    }

    /* Increase carousel height from 430px to 470px */
    #home.pl-hero .pl-reference-carousel {
        height: auto !important;
    }

    #home.pl-hero .pl-ref-stage {
        height: 470px !important;
        max-height: none !important;
    }

    /* Adjust hero total height */
    #home.pl-hero .pl-hero-shell {
        height: 650px !important;
        min-height: 650px !important;
        padding: 0 !important;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    #home.pl-hero .pl-hero-shell { height: auto !important; min-height: 0 !important; padding: 65px 0 78px !important; }
    #home.pl-hero .pl-hero-main { margin-top: 35px !important; }
    #home.pl-hero .pl-ref-stage { height: 360px !important; }
}
@media (max-width: 991px) {
    #home.pl-hero .pl-hero-shell { height: auto !important; min-height: 0 !important; padding: 36px 0 75px !important; }
    #home.pl-hero .pl-hero-main { margin-top: 24px !important; }
    #home.pl-hero .pl-ref-stage { height: auto !important; min-height: 0 !important; aspect-ratio: 16 / 8.5 !important; }
    #home.pl-hero .pl-hero-mia { right: -12px !important; width: 170px !important; height: 265px !important; bottom: 0 !important; }
}
@media (max-width: 600px) {
    #home.pl-hero .pl-hero-shell { padding: 35px 0 67px !important; }
    #home.pl-hero .pl-hero-main { margin-top: 18px !important; width: calc(100% - 20px) !important; }
    #home.pl-hero .pl-reference-carousel { width: 100% !important; }
    #home.pl-hero .pl-ref-stage { aspect-ratio: 16 / 10 !important; border-width: 2px; }
    #home.pl-hero .pl-hero-mia { right: -10px !important; width: 105px !important; height: 180px !important; bottom: 0 !important; }
    #home.pl-hero .pl-hero-main > .pl-ref-arrow { bottom: -46px !important; width: 36px !important; height: 36px !important; }
}

/* Partner strip: tighten gutters and vertical rhythm */

/* ==========================================
   TEAMVIBE — COMPACT PARTNER LOGOS
========================================== */

.pl-logo-strip {
    padding: 8px 0 !important;
    margin: 0 !important;
    background: #fff;
}

.pl-logo-strip .pl-logo-strip-inner {
    min-height: 75px !important;
    gap: 12px !important;
    align-items: center;
}

/* Marquee container */
.pl-logo-strip .pl-hero-logo-marquee {
    height: 75px !important;
}

/* Reduce distance between logos */
.pl-logo-strip .pl-hero-logo-group {
    display: flex;
    align-items: center;
    gap: 8px !important;
    padding-right: 8px !important;
}

/* Each logo container */
.pl-logo-strip .pl-hero-logo {
    width: 110px !important;
    min-width: 110px !important;
    max-width: 110px !important;
    height: 65px !important;
    flex: 0 0 110px !important;

    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    margin: 0 !important;
}

/* Actual logo image */
.pl-logo-strip .pl-hero-logo img {
    width: 105px !important;
    max-width: 105px !important;
    height: 58px !important;
    max-height: 58px !important;
    object-fit: contain !important;
    opacity: 1 !important;
}

/* Tablet */
@media (max-width: 991px) {
    .pl-logo-strip .pl-hero-logo-group {
        gap: 7px !important;
        padding-right: 7px !important;
    }

    .pl-logo-strip .pl-hero-logo {
        width: 95px !important;
        min-width: 95px !important;
        max-width: 95px !important;
        flex-basis: 95px !important;
    }

    .pl-logo-strip .pl-hero-logo img {
        width: 90px !important;
        max-width: 90px !important;
        height: 52px !important;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .pl-logo-strip .pl-logo-strip-inner {
        gap: 10px !important;
    }

    .pl-logo-strip .pl-hero-logo-marquee {
        height: 65px !important;
    }

    .pl-logo-strip .pl-hero-logo-group {
        gap: 5px !important;
        padding-right: 5px !important;
    }

    .pl-logo-strip .pl-hero-logo {
        width: 85px !important;
        min-width: 85px !important;
        max-width: 85px !important;
        height: 58px !important;
        flex-basis: 85px !important;
    }

    .pl-logo-strip .pl-hero-logo img {
        width: 80px !important;
        max-width: 80px !important;
        height: 48px !important;
    }
}

/* =============================================
   TEAMVIBE — HERO BACKGROUND ENHANCEMENT
   EDUmarket-inspired subtle UAE skyline
============================================= */

#home.pl-hero {
    position: relative !important;
    isolation: isolate;
    background: #fffaf6 !important;
    overflow: hidden !important;
}

/* Soft background gradient */
#home.pl-hero::before {
    content: "" !important;
    display: block !important;

    position: absolute !important;
    inset: 0 !important;

    background:
        radial-gradient(
            ellipse at 15% 10%,
            rgba(255, 224, 203, 0.16),
            transparent 55%
        ),
        linear-gradient(
            180deg,
            #ffffff 0%,
            #fffaf6 65%,
            #fff4eb 100%
        ) !important;

    z-index: -1 !important;
    pointer-events: none !important;
}

/* Faint UAE skyline at bottom */
#home.pl-hero::after {
    content: "" !important;
    display: block !important;

    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;

    height: 260px !important;

    background-image:
        url('/assets_frontend/images/featured-heading-bg.png') !important;

    background-repeat: no-repeat !important;
    background-position: center bottom !important;
    background-size: 100% auto !important;

    opacity: 0.10 !important;
    z-index: -1 !important;
    pointer-events: none !important;
}

/* Allow background to be visible */
#home.pl-hero .pl-hero-shell {
    background: transparent !important;
    background-image: none !important;
}

/* Keep existing carousel above background */
#home.pl-hero .pl-hero-main,
#home.pl-hero .pl-hero-toprow {
    z-index: 2 !important;
}

/* Tablet */
@media (max-width: 991px) {
    #home.pl-hero::after {
        height: 200px !important;
        background-size: auto 200px !important;
        opacity: 0.08 !important;
    }
}

/* Mobile */
@media (max-width: 600px) {
    #home.pl-hero::after {
        height: 140px !important;
        background-size: auto 140px !important;
        opacity: 0.07 !important;
    }
}

/* ==========================================
   TEAMVIBE HERO — MORE VISIBLE BACKGROUND
========================================== */

#home.pl-hero::after {
    content: "" !important;
    display: block !important;

    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;

    height: 420px !important;

    background-image:
        url('/assets_frontend/images/featured-heading-bg.png') !important;

    background-repeat: no-repeat !important;
    background-position: center bottom !important;
    background-size: 100% auto !important;

    /* Increased from 0.10 */
    opacity: 0.28 !important;

    z-index: -1 !important;
    pointer-events: none !important;
}

/* Tablet */
@media (max-width: 991px) {
    #home.pl-hero::after {
        height: 300px !important;
        background-size: auto 300px !important;
        opacity: 0.22 !important;
    }
}

/* Mobile */
@media (max-width: 600px) {
    #home.pl-hero::after {
        height: 200px !important;
        background-size: auto 200px !important;
        opacity: 0.18 !important;
    }
}








/* ================================================
   TEAMVIBE — PREMIUM ORANGE EXPERIENCE BACKGROUNDS
   Same brand colors + decorative corner circles
================================================ */

:is(
    #top-experiences,
    #top-virtual,
    #top-unique,
    #top-recreational
).pl-tall-card-section {
    position: relative !important;
    isolation: isolate;
    overflow: hidden !important;

    background:
        radial-gradient(
            ellipse at 0% 5%,
            rgba(244, 119, 32, 0.065),
            transparent 40%
        ),
        radial-gradient(
            ellipse at 100% 95%,
            rgba(244, 119, 32, 0.07),
            transparent 42%
        ),
        linear-gradient(
            120deg,
            #fffaf6 0%,
            #ffffff 48%,
            #fff6ef 100%
        ) !important;
}

/* ================================================
   DECORATIVE TOP-LEFT CIRCLE
================================================ */

:is(
    #top-experiences,
    #top-virtual,
    #top-unique,
    #top-recreational
).pl-tall-card-section::before {
    content: "" !important;
    display: block !important;

    position: absolute !important;
    width: 310px;
    height: 310px;

    top: -175px;
    left: -150px;

    border-radius: 50%;
    border: 1px solid rgba(244, 119, 32, 0.15);

    background:
        radial-gradient(
            circle,
            rgba(244, 119, 32, 0.06) 0%,
            rgba(244, 119, 32, 0.025) 55%,
            transparent 70%
        );

    box-shadow:
        0 0 0 32px rgba(244, 119, 32, 0.018),
        0 0 0 65px rgba(244, 119, 32, 0.012);

    pointer-events: none;
    z-index: 0;
}

/* ================================================
   DECORATIVE BOTTOM-RIGHT CIRCLE
================================================ */

:is(
    #top-experiences,
    #top-virtual,
    #top-unique,
    #top-recreational
).pl-tall-card-section::after {
    content: "" !important;
    display: block !important;

    position: absolute !important;
    width: 400px;
    height: 400px;

    bottom: -230px;
    right: -180px;

    border-radius: 50%;
    border: 1px solid rgba(244, 119, 32, 0.14);

    background:
        radial-gradient(
            circle,
            rgba(244, 119, 32, 0.07),
            rgba(255, 180, 125, 0.025) 60%,
            transparent 75%
        );

    box-shadow:
        0 0 0 40px rgba(244, 119, 32, 0.018),
        0 0 0 85px rgba(244, 119, 32, 0.012);

    pointer-events: none;
    z-index: 0;
}

/* ================================================
   KEEP ALL CONTENT ABOVE DECORATIVE SHAPES
================================================ */

:is(
    #top-experiences,
    #top-virtual,
    #top-unique,
    #top-recreational
) > .pl-featured-heading-bg,
:is(
    #top-experiences,
    #top-virtual,
    #top-unique,
    #top-recreational
) > .tb-container {
    position: relative;
    z-index: 1;
}

/* Remove heading's independent background
   so the entire section looks continuous */

:is(
    #top-experiences,
    #top-virtual,
    #top-unique,
    #top-recreational
) .pl-featured-heading-bg {
    background: transparent !important;
    background-image: none !important;
}

/* Keep cards white for premium contrast */

:is(
    #top-experiences,
    #top-virtual,
    #top-unique,
    #top-recreational
) .pl-event-card.pl-featured-card {
    background: #ffffff !important;
    box-shadow:
        0 7px 24px rgba(30, 39, 65, 0.055) !important;
}

/* ================================================
   RESPONSIVE
================================================ */

@media (max-width: 991px) {
    :is(
        #top-experiences,
        #top-virtual,
        #top-unique,
        #top-recreational
    ).pl-tall-card-section::before {
        width: 230px;
        height: 230px;
        top: -135px;
        left: -125px;
    }

    :is(
        #top-experiences,
        #top-virtual,
        #top-unique,
        #top-recreational
    ).pl-tall-card-section::after {
        width: 280px;
        height: 280px;
        bottom: -170px;
        right: -155px;
    }
}

@media (max-width: 600px) {
    :is(
        #top-experiences,
        #top-virtual,
        #top-unique,
        #top-recreational
    ).pl-tall-card-section::before {
        width: 160px;
        height: 160px;
        top: -90px;
        left: -95px;
    }

    :is(
        #top-experiences,
        #top-virtual,
        #top-unique,
        #top-recreational
    ).pl-tall-card-section::after {
        width: 190px;
        height: 190px;
        bottom: -115px;
        right: -110px;
    }
}


/* ================================================
   TEAMVIBE — TOP TEAM BUILDING BACKGROUND FIX
   Same gradient behind heading and carousel
================================================ */

/* Entire section has one continuous background */
#top-experiences.pl-tall-card-section {
    position: relative !important;

    background:
        radial-gradient(
            ellipse at 0% 5%,
            rgba(244, 119, 32, 0.065),
            transparent 40%
        ),
        radial-gradient(
            ellipse at 100% 95%,
            rgba(244, 119, 32, 0.07),
            transparent 42%
        ),
        linear-gradient(
            120deg,
            #fffaf6 0%,
            #ffffff 48%,
            #fff6ef 100%
        ) !important;
}

/* Remove the white background covering the heading */
#top-experiences .pl-featured-heading-bg,
#top-experiences .pl-featured-heading-bg .tb-container,
#top-experiences .pl-experience-head,
#top-experiences .pl-featured-heading-copy {
    background: transparent !important;
    background-image: none !important;
}

/* Remove any background overlay behind heading */
#top-experiences .pl-featured-heading-bg::before,
#top-experiences .pl-featured-heading-bg::after {
    content: none !important;
    display: none !important;
}

/* Keep heading and cards above decorative circles */
#top-experiences > .pl-featured-heading-bg,
#top-experiences > .tb-container {
    position: relative;
    z-index: 1;
}

/* Keep existing heading and card spacing */
#top-experiences .pl-featured-heading-bg {
    margin-bottom: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
}


/* ==========================================
   TEAMVIBE HERO — NEW SKYLINE BACKGROUND
   ========================================== */

#home.pl-hero {
    position: relative;
    background: #fff8f3 !important;
    isolation: isolate;
}

/* Background behind the complete hero */
#home.pl-hero .pl-hero-shell {
    position: relative;
    background-color: #fff8f3 !important;
    background-image:
        linear-gradient(
            180deg,
            rgba(255,255,255,0.92) 0%,
            rgba(255,250,246,0.78) 55%,
            rgba(255,244,235,0.35) 100%
        ),
        url('/assets_frontend/images/city-skylines/building.png') !important;

    background-repeat: no-repeat !important;
    background-position: center bottom !important;
    background-size: 100% auto !important;
}

/* Tablet */
@media (max-width: 991px) {
    #home.pl-hero .pl-hero-shell {
        background-size: auto 290px !important;
        background-position: center bottom !important;
    }
}

/* Mobile */
@media (max-width: 600px) {
    #home.pl-hero .pl-hero-shell {
        background-size: auto 190px !important;
        background-position: center bottom !important;
    }
}
