/* Center and clear layout for your wrapper */
#everything-cta,
.gform-footer.gform_footer.top_label {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 0;
}

/* The Base Button Styling */
#everything-cta .rwm-cta-btn,
.gform-footer.gform_footer.top_label .gform_button.button {
    position: relative;
    display: inline-block;
    text-decoration: none;
    letter-spacing: 1px;
    z-index: 1;
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    background-color 0.3s,
    color 0.3s;
}

/* Click effect on the main button */
#everything-cta .rwm-cta-btn:active,
.gform-footer.gform_footer.top_label .gform_button.button:active {
    transform: scale(0.95);
}

/* Scroll Cover Animations */
body {
    margin: 0;
    font-family: sans-serif;
    background-color: #f5f5f5;
}
.normal-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e0e0e0;
    font-size: 2rem;
}
/* --- STICKY COVER-UP SCROLL CORE CSS --- */
html.rwm-steps-active {
    scroll-behavior: auto;
}

.steps-container {
    position: relative;
    width: 100%;
    background: transparent;
    overflow: visible;
}

/* Styles each slide to stick to the top of the viewing */
.step-slide {
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100svh;
    width: 100%;
    display: block;
    box-sizing: border-box;
    overflow: visible;
    isolation: isolate;
    background-color: var(--rwm-black);
}

/* Assigns sequential layering stack so next ones overlay */
.slide-1 { z-index: 1; }
.slide-2 { z-index: 2; }
.slide-3 { z-index: 3; }
.slide-4 { z-index: 4; }

/* Split layout: text stays in place, image bleeds to next slide */
.slide-content {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    min-height: 100svh;
    margin: 0;
    padding: 0;
    overflow: visible;
}

.left-col {
    position: relative;
    z-index: 2;
    width: 50%;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: clamp(32px, 6vw, 80px);
    background-color: var(--rwm-black);
    box-sizing: border-box;
    color: var(--rwm-white);
    font-size: 1.2rem;
    line-height: 1.6;
    top: 5%;
}

.left-col p {
    color: var(--rwm-white) !important;
    font-size: 1.2rem;
    line-height: 1.6;
    margin: 0;
}

.step-num {
    font-size: 1.1rem;
    color: #a0a0a0 !important;
    font-weight: 600;
    margin-bottom: 20px;
}

.left-col h3 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin: 0 0 20px 0;
    color: var(--rwm-white) !important;
    line-height: 1.15;
}

.right-col {
    position: absolute;
    top: 5%;
    left: 50%;
    right: calc(50% - 50vw);
    height: 100%;
    min-height: 100vh;
    min-height: 100svh;
    background-color: #18171c;
    background-size: contain !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    border-radius: 0;
    z-index: 1;
    pointer-events: none;
}

/* Allow image bleed past Divi/Genesis content wrappers */
.et_pb_section:has(.steps-container),
.et_pb_row:has(.steps-container),
.et_pb_column:has(.steps-container),
.content:has(.steps-container) {
    overflow: visible !important;
}

@media (max-width: 900px) {
    .left-col {
        width: 100%;
        min-height: auto;
        padding: 0px 0px 0px 10px;
    }

    .left-col p {
        font-size: 1rem;
    }

    .left-col h3 {
        font-size: 1.8rem;
        margin: 0 0 10px 0;
    }

    .slide-content {
        display: flex;
        flex-direction: column;
        min-height: 100vh;
        min-height: 100svh;
    }

    .right-col {
        position: relative;
        left: auto;
        right: auto;
        top: 8%;
        height: 50%;
        order: -1;
        min-height: 50vh;
    }
}

/* Eveything Buttons Animations */
.everything-btn {
    position: relative;
    background-color: #0d1117;
    border: 1px solid var(--rwm-aqua);
    border-radius: 12px;
    padding: 30px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    transition: border-color 0.4s ease, transform 0.3s ease;
}

.everything-btn p {
    margin: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
}

.everything-btn .card-content {
    position: relative;
    z-index: 2;
    color: #c9d1d9;
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

/* Keeps bot protection bullet points in same points
   AKA don't let them go onto next half of screen.
*/
@media (max-width: 900px) {
    .content ul li {
        break-inside: avoid;
    }

  /* Targets 6th bullet point and rest */
  ul[style*="columns: 2"] li:nth-child(n+6) {
        margin-left: 15px !important;
  }
}

/* -----------------------------------------
   The Glowing Grid Background
----------------------------------------- */
.everything-btn .card-grid-glow {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 1;
    transition: background-image 0.4s ease;;
    background-image:
            linear-gradient(to right, rgba(255, 255, 255, 0.12) 1px, transparent 1px),
            linear-gradient(to bottom, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
    background-size: 24px 24px;
}

.everything-btn:hover {
    border-color: rgba(0, 196, 255, 0.4);
    transform: translateY(-2px);
    color: var(--rwm-aqua) !important;
}

.everything-btn:hover .card-grid-glow {
    background-image:
            linear-gradient(to right, rgba(0, 255, 204, 0.15) 1px, transparent 1px),
            linear-gradient(to bottom, rgba(0, 255, 204, 0.15) 1px, transparent 1px);
}

/* 
   WORLD SECTION — scroll parallax layout
   Works with client-world-parallax.js. ALso works with #world-overlay
*/

/* Give the section extra height so there's room to scroll and animate. */
#acf6a3406face102:has(#world-overlay),
.row.text-full-width:has(#world-overlay) {
    position: relative;
    min-height: 180vh;
    min-height: 180svh;
    padding-bottom: 12vh;
    background-attachment: scroll !important;
    overflow: visible;
}

/* Inner wrappers inherit the tall section height so sticky positioning works */
#acf6a3406face102:has(#world-overlay) .row-inner,
#acf6a3406face102:has(#world-overlay) .f-text,
.row.text-full-width:has(#world-overlay) .row-inner,
.row.text-full-width:has(#world-overlay) .f-text {
    min-height: inherit;
}

.et_pb_section:has(#world-overlay),
.et_pb_row:has(#world-overlay),
.et_pb_column:has(#world-overlay),
.content:has(#world-overlay),
.row:has(#world-overlay) {
    overflow: visible !important;
}

/* Pin the content card in view while the user scrolls through the tall section */
#acf6a3406face102:has(#world-overlay) #world-overlay,
.row.text-full-width:has(#world-overlay) #world-overlay {
    position: sticky;
    top: max(10vh, 140px);
    margin: 10vh auto 0;
    max-width: min(1100px, calc(100% - 48px));
    will-change: transform, opacity;
}

#acf6a3406face102:has(#world-overlay) #world-logo,
#acf6a3406face102:has(#world-overlay) #world-content-header,
#acf6a3406face102:has(#world-overlay) #world-content p,
.row.text-full-width:has(#world-overlay) #world-logo,
.row.text-full-width:has(#world-overlay) #world-content-header,
.row.text-full-width:has(#world-overlay) #world-content p {
    will-change: transform, opacity;
}

/* Hide logo and card until JS has initialised */
.rwm-world-parallax:not(.rwm-world-ready):not(.rwm-world-reduced) #world-logo,
.rwm-world-parallax:not(.rwm-world-ready):not(.rwm-world-reduced) #world-overlay {
    opacity: 0;
}

/* Header and body stay fully hidden until scroll hits a certain point */
.rwm-world-parallax:not(.rwm-world-ready):not(.rwm-world-reduced) #world-content-header,
.rwm-world-parallax:not(.rwm-world-ready):not(.rwm-world-reduced) #world-content,
.rwm-world-parallax:not(.rwm-world-ready):not(.rwm-world-reduced) #world-content p {
    opacity: 0;
    visibility: hidden;
}

/* Users that want reduced motion see everything immediately */
.rwm-world-reduced #world-logo,
.rwm-world-reduced #world-content-header,
.rwm-world-reduced #world-content,
.rwm-world-reduced #world-content p,
.rwm-world-reduced #world-overlay {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}


/* Smaller spacing on tablets; keep sticky scroll track */
@media (max-width: 900px) {
    #acf6a3406face102:has(#world-overlay),
    .row.text-full-width:has(#world-overlay) {
        min-height: 155vh;
        min-height: 155svh;
    }

    #acf6a3406face102:has(#world-overlay) #world-overlay,
    .row.text-full-width:has(#world-overlay) #world-overlay {
        top: max(8vh, 56px);
        margin-top: 8vh;
        max-width: calc(100% - 24px);
        padding: 32px 20px;
    }

    #acf6a3406face102:has(#world-overlay) #world-content,
    .row.text-full-width:has(#world-overlay) #world-content {
        padding: 0 12px;
        font-size: 18px;
        line-height: 1.55;
        word-break: normal;
        overflow-wrap: normal;
        hyphens: none;
        -webkit-hyphens: none;
    }

    #acf6a3406face102:has(#world-overlay) #world-content p,
    .row.text-full-width:has(#world-overlay) #world-content p {
        word-break: normal;
        overflow-wrap: normal;
        hyphens: none;
        }

    #acf6a3406face102:has(#world-overlay) #world-logo,
    .row.text-full-width:has(#world-overlay) #world-logo {
        padding: 28px 0;
    }
}

/* Phone: no sticky tall track — scroll flows straight into the next section */
@media (max-width: 768px) {
    #acf6a3406face102:has(#world-overlay),
    .row.text-full-width:has(#world-overlay) {
        min-height: 0;
        padding-bottom: 48px;
    }

    #acf6a3406face102:has(#world-overlay) .row-inner,
    #acf6a3406face102:has(#world-overlay) .f-text,
    .row.text-full-width:has(#world-overlay) .row-inner,
    .row.text-full-width:has(#world-overlay) .f-text {
        min-height: 0;
    }

    #acf6a3406face102:has(#world-overlay) #world-overlay,
    .row.text-full-width:has(#world-overlay) #world-overlay {
        position: relative;
        top: auto;
        margin: 32px auto 0;
        max-width: calc(100% - 16px);
        padding: 24px 16px;
    }

    #acf6a3406face102:has(#world-overlay) #world-content,
    .row.text-full-width:has(#world-overlay) #world-content {
        padding: 0 4px;
        font-size: 17px;
        text-align: center;
    }

    #acf6a3406face102:has(#world-overlay) #world-logo,
    .row.text-full-width:has(#world-overlay) #world-logo {
        padding: 20px 0 12px;
    }

    #acf6a3406face102:has(#world-overlay) #world-content-header,
    .row.text-full-width:has(#world-overlay) #world-content-header {
        padding-top: 8px;
        padding-bottom: 12px;
    }
}