/**
 * Custom CSS for SCS 2026 Theme
 * 
 * Reorganized by Breakpoints (Mobile First)
 */

/* ==========================================================================
   1. Base & Global Styles
   ========================================================================== */

html,
body {
    background-color: #000000;
    color: #ffffff;
    font-family: 'Manrope', sans-serif;
}

[x-cloak] {
    display: none !important;
}

.smooth-transition {
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}


/* ==========================================================================
   2. Mobile Styles (Base)
   ========================================================================== */

.home-canvas {
    position: relative;
    width: 100%;
    height: 4200px;
    background-color: #000;
}

/* Pill Illustrations */
.pill-illustration-container {
    height: clamp(340px, 40.88vw + 137.95px, 1000px);
    display: inline-flex;
    position: relative;
    align-items: center;
    justify-content: center;
}

.pill-illustration-img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

/* Illustration Blocks Positioning */
.content-1-illu-block,
.content-3-illu-block {
    position: absolute;
    z-index: 20;
    width: 100%;
    display: flex;
}

.content-1-illu-block {
    top: 100px;
    left: 0;
    justify-content: left;
}

.content-3-illu-block {
    top: 1500px;
    left: 0;
    justify-content: right;
}

/* Horizontal Fading Lines */
.content-1-horizontal-line,
.content-3-horizontal-line {
    width: clamp(240px, 48.98vw + 56.32px, 840px);
    height: 1px;
    position: absolute;
    top: 50%;
    z-index: -10;
    pointer-events: none;
}

.content-1-horizontal-line {
    right: 0;
    left: 26%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.4), transparent);
}

.content-3-horizontal-line {
    left: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 0.4), transparent);
}

/* Typography Blocks */

.content-1-text-block {
    position: absolute;
    top: 470px;
    right: 10%;
    max-width: 230px;
    text-align: right;
    z-index: 20;
}

.content-2-text-block {
    position: absolute;
    top: 870px;
    left: 0;
    max-width: 320px;
    z-index: 5;
}

.content-3-text-block-1 {
    position: absolute;
    top: 1200px;
    max-width: 220px;
}

.content-3-text-block-2 {
    position: absolute;
    top: 1800px;
    max-width: 180px;
    text-align: left;
}

.content-4-text-block {
    position: absolute;
    top: 2200px;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 0 24px;
}

.content-4-illu-block {
    position: absolute;
    top: 2400px;
    left: 50%;
    transform: translateX(-50%);
    width: 230px;
    z-index: 20;
}

.content-4-illu-block img {
    width: 100%;
    height: auto;
}

.content-5-text-block {
    position: absolute;
    top: 3150px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
    padding: 0 24px;
    max-width: 800px;
}

/* Content 6: Split Layout */
.content-6-wrapper {
    position: absolute;
    top: 3400px;
    width: 125%;
    left: 0;
    display: flex;
    justify-content: center;
    height: 860px;
}

.content-6-vertical-line {
    position: absolute;
    left: 46%;
    top: 0;
    width: 1px;
    height: 80%;
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, .5) 50%,
            rgba(255, 255, 255, 0) 100%);
    z-index: 10;
}

.content-6-left-col {
    position: absolute;
    right: 54%;
    top: 60%;
    transform: translateY(-50%);
    padding-right: 0;
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.content-6-text-item {
    position: relative;
    width: 100%;
}

.content-6-right-col {
    position: absolute;
    left: 46%;
    top: 60%;
    transform: translateY(-50%);
    z-index: 5;
}

.content-6-img {
    width: 280px;
    height: auto;
    display: block;
}

/* Decorative Elements */
.horizontal-separator-line {
    position: absolute;
    top: 1050px;
    right: -30px;
    height: 1px;
    width: 120%;
    background: linear-gradient(to left, rgba(255, 255, 255, 0.6), transparent);
}

.mobile-spot-gradient {
    position: absolute;
    top: 650px;
    right: -30px;
    width: 100vw;
    height: 400px;
    background: radial-gradient(circle at 80% 70%, hsl(0 0% 15% / 1) 0%, black 60%);
    z-index: 0;
}

.vertical-fading-line {
    position: absolute;
    right: 24px;
    top: 200px;
    width: 1px;
    height: 1500px;
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0) 0%,
            #FFFFFF 95.19%,
            rgba(255, 255, 255, 0) 100%);
    z-index: 10;
    pointer-events: none;
}


/* ==========================================================================
   3. Tablet Styles (min-width: 768px)
   ========================================================================== */

@media (min-width: 768px) {

    .home-canvas {
        height: 5000px;
    }

    /* Illustration Blocks */
    .content-1-illu-block,
    .content-3-illu-block {
        top: 200px;
        left: 10%;
        right: 10%;
        width: auto;
        display: block;
    }

    .content-3-illu-block {
        top: 1650px;
        text-align: right;
    }

    .content-3-illu-block .pill-illustration-container {
        float: right;
    }

    /* Typography */
    h2.content-1-h2 {
        font-size: 36px !important;
        font-weight: 400 !important;
        line-height: 1.2 !important;
    }

    .content-1-text-block {
        top: 840px;
        right: 20%;
        max-width: 420px;
    }

    .content-2-text-block {
        top: 1200px;
        left: 10%;
        max-width: 380px;
    }

    .content-3-text-block-1 {
        top: 1740px;
        left: 10%;
        max-width: 280px;
    }

    .content-3-text-block-2 {
        top: 2020px;
        left: 10%;
        max-width: 280px;
    }

    .content-4-text-block {
        top: 2400px;
        left: 10%;
        width: auto;
        max-width: 450px;
        text-align: left;
        padding: 0;
    }

    .content-4-illu-block {
        top: 2500px;
        width: 400px;
    }

    .content-5-text-block {
        top: 3700px;
        max-width: none;
    }

    .content-6-wrapper {
        top: 4000px;
        height: 1000px;
        width: 100%;
    }

    .content-6-left-col,
    .content-6-right-col {
        top: 430px;
    }

    .content-6-left-col {
        right: 50%;
    }

    .content-6-right-col {
        left: 50%;
    }

    .content-6-vertical-line {
        left: 50%;
        height: 100%;
    }

    .content-6-text-item {
        padding-right: 6rem;
        font-size: 16px !important;
        line-height: 1.5 !important;
    }

    /* Element Hiding / Adjusting */
    .horizontal-separator-line {
        display: none;
    }

    .mobile-spot-gradient {
        display: none;
    }

    .vertical-fading-line {
        right: 10%;
        top: 300px;
        height: 1800px;
    }
}


/* ==========================================================================
   4. Desktop L Styles (min-width: 1024px)
   ========================================================================== */

@media (min-width: 1024px) {

    .home-canvas {
        height: 5200px;
    }

    .content-1-text-block {
        top: 640px;
        right: 15%;
        max-width: 420px;
    }

    .content-2-text-block {
        top: 1200px;
        left: 10%;
        max-width: 550px;
    }

    .content-3-text-block-1 {
        top: 1830px;
        left: 10%;
        max-width: 340px;
    }

    .content-3-text-block-2 {
        top: 2100px;
        left: 10%;
        max-width: 280px;
    }

    .content-4-text-block {
        top: 2500px;
        left: 10%;
        max-width: 650px;
    }

    .content-4-illu-block {
        top: 2550px;
    }

    .content-5-text-block {
        top: 3800px;
    }

    .content-6-wrapper {
        top: 4100px;
        height: 1100px;
    }

    .vertical-fading-line {
        right: 10%;
        top: 300px;
        height: 1800px;
    }

    .content-6-left-col,
    .content-6-right-col {
        top: 550px;
    }
}


/* ==========================================================================
   5. Desktop XL Styles (min-width: 1280px)
   ========================================================================== */

@media (min-width: 1280px) {

    .home-canvas {
        height: 6000px;
    }

    .content-1-text-block {
        top: 740px;
        right: 15%;
        max-width: 420px;
    }

    .content-2-text-block {
        top: 1450px;
        left: 10%;
        max-width: 750px;
    }

    .content-3-illu-block {
        top: 1850px;
        text-align: right;
    }

    .content-3-text-block-1 {
        top: 2100px;
        left: 10%;
        max-width: 470px;
    }

    .content-3-text-block-2 {
        top: 2370px;
        left: 10%;
        max-width: 380px;
    }

    .content-4-text-block {
        top: 2850px;
        left: 10%;
        max-width: auto;
    }

    .content-4-illu-block {
        top: 2850px;
        width: 566px
    }

    .content-5-text-block {
        top: 4600px;
    }

    .content-6-wrapper {
        top: 4800px;
        height: 1200px;
    }
}


/* ==========================================================================
   6. Desktop XXL Styles (min-width: 1536px)
   ========================================================================== */

@media (min-width: 1536px) {

    .home-canvas {
        height: 6400px;
    }

    .content-1-text-block {
        top: 860px;
        right: 15%;
        max-width: 420px;
    }

    .content-2-text-block {
        top: 1500px;
        left: 10%;
        max-width: 750px;
    }

    .content-3-text-block-1 {
        top: 2200px;
        left: 10%;
        max-width: 600px;
    }

    .content-3-text-block-2 {
        top: 2450px;
        left: 10%;
        max-width: 380px;
    }

    .content-4-text-block {
        top: 3000px;
        left: 10%;
        max-width: auto;
    }

    .content-4-illu-block {
        top: 3100px;
    }

    .content-5-text-block {
        top: 4900px;
    }

    .content-6-wrapper {
        top: 5200px;
    }
}

/* ==========================================================================
   7. Contact Section
   ========================================================================== */

.title-contact {
    width: 50vw;
    max-width: 480px;
}

@media (min-width: 768px) {
    .title-contact {
        width: 100%;
    }
}

.title-contact svg {
    width: 100%;
    height: auto;
    display: block;
}

.title-contact svg path,
.title-contact svg rect,
.title-contact svg polygon {
    fill: #ffffff;
}

.contact-form-wrapper {
    width: 100%;
}

/* ==========================================================================
   8. WPForms Global Styles (SCS Theme)
   ========================================================================== */

/* Container & Layout */
.wpforms-container.scs-contactForm {
    margin: 0 !important;
    padding: 0 !important;
}

.wpforms-container.scs-contactForm .wpforms-field-container {
    display: flex !important;
    flex-wrap: wrap !important;
    margin: 0 -5px !important;
    width: calc(100% + 10px) !important;
}

.wpforms-container.scs-contactForm .wpforms-field {
    padding: 0 5px 10px 5px !important;
    clear: none !important;
    box-sizing: border-box !important;
    flex: 0 0 auto !important;
}

/* Column Widths */
.wpforms-container.scs-contactForm .scsMed {
    width: 50% !important;
}

.wpforms-container.scs-contactForm .scsFull {
    width: 100% !important;
}

/* Common Field Styling */
.wpforms-container.scs-contactForm .wpforms-field input,
.wpforms-container.scs-contactForm .wpforms-field textarea {
    background-color: #000000 !important;
    border: 1px solid #606060 !important;
    border-radius: 20px !important;
    color: #ffffff !important;
    font-family: 'Manrope', sans-serif !important;
    font-weight: 200 !important;
    font-size: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    box-sizing: border-box !important;
    outline: none !important;
    transition: border-color 0.3s ease, box-shadow 0.3s ease !important;
}

/* Hide placeholder on focus */
.wpforms-container.scs-contactForm .wpforms-field input:focus::placeholder,
.wpforms-container.scs-contactForm .wpforms-field textarea:focus::placeholder {
    color: transparent !important;
}

/* Input specific: Centered vertically */
.wpforms-container.scs-contactForm .wpforms-field input {
    height: 50px !important;
    padding: 0 20px !important;
}

/* Textarea specific: Placeholder pushed to bottom when empty, normal on focus/content */
.wpforms-container.scs-contactForm .wpforms-field textarea {
    min-height: 120px;
    padding: 80px 20px 15px 20px !important;
}

.wpforms-container.scs-contactForm .wpforms-field textarea:focus,
.wpforms-container.scs-contactForm .wpforms-field textarea:not(:placeholder-shown) {
    padding-top: 20px !important;
}

/* Placeholder Styling */
.wpforms-container.scs-contactForm .wpforms-field input::placeholder,
.wpforms-container.scs-contactForm .wpforms-field textarea::placeholder {
    color: rgba(255, 255, 255, 0.7) !important;
    font-family: 'Manrope', sans-serif !important;
    font-weight: 200 !important;
    font-size: 16px !important;
    line-height: 15px !important;
    text-transform: none !important;
    letter-spacing: 0em;
}

/* Interaction */
.wpforms-container.scs-contactForm .wpforms-field input:focus,
.wpforms-container.scs-contactForm .wpforms-field textarea:focus {
    border-color: rgba(255, 255, 255, 0.8) !important;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2) !important;
}

/* Autocomplete (Autofill) Styling */
.wpforms-container.scs-contactForm .wpforms-field input:-webkit-autofill,
.wpforms-container.scs-contactForm .wpforms-field input:-webkit-autofill:hover,
.wpforms-container.scs-contactForm .wpforms-field input:-webkit-autofill:focus,
.wpforms-container.scs-contactForm .wpforms-field input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 100px #1a1a1a inset !important;
    -webkit-text-fill-color: #ffffff !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* Submit Button */
.wpforms-container.scs-contactForm .wpforms-submit-container {
    padding-top: 0 !important;
    width: 100% !important;
    padding-left: 0 !important;
    text-align: center;
}

.wpforms-container.scs-contactForm button.wpforms-submit {
    background-color: transparent !important;
    color: #ffffff !important;
    border: none !important;
    padding: 0 40px !important;
    font-family: 'Manrope', sans-serif !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    text-transform: none !important;
    text-decoration: underline !important;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.wpforms-container.scs-contactForm button.wpforms-submit:hover {
    opacity: 0.8 !important;
}

/* Confirmation & Error Styling */
.wpforms-confirmation-container-full {
    background-color: #1a1a1a !important;
    border: 1px solid #606060 !important;
    border-radius: 12px !important;
    padding: 32px !important;
    color: #ffffff !important;
    font-family: 'Manrope', sans-serif !important;
    text-align: center;
    margin-top: 20px;
}

.wpforms-confirmation-container-full p {
    margin: 0 !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    font-size: 18px;
    line-height: 1.4;
}

.wpforms-confirmation-container-full p:first-child::before {
    content: "✅ ";
    margin-right: 8px;
}

.wpforms-error-container {
    background-color: #1a1a1a !important;
    border: 1px solid #ff4b4b !important;
    border-radius: 12px !important;
    padding: 16px 20px !important;
    color: #ffffff !important;
    font-family: 'Manrope', sans-serif !important;
    margin-bottom: 24px !important;
    font-size: 14px;
}

.wpforms-error-container::before {
    content: "⚠️ ";
    margin-right: 8px;
}

label.wpforms-error {
    color: #ff4b4b !important;
    font-size: 11px !important;
    font-weight: 400 !important;
    margin-top: 4px !important;
    padding-left: 10px !important;
}

/* Custom Form Note Styling */
.form-custom-note {
    flex: 0 1 100% !important;
    width: 100% !important;
}

.form-custom-note * {
    color: #FFFFFF !important;
    font-weight: 200 !important;
    font-size: 0.75rem !important;
}

.form-custom-note fieldset {
    min-width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
}

.form-custom-note legend {
    display: block !important;
    width: 100% !important;
    white-space: normal !important;
    padding: 0 !important;
    float: none !important;
}

.form-custom-note ul {
    display: none !important;
}

/* Active Menu Item Color */
.current-menu-item a,
.current-page-item a,
.current_page_item a {
    color: #ffffff !important;
    opacity: 1 !important;
}

/* ==========================================================================
   9. Approach Page
   ========================================================================== */

.approach-hero-content {
    position: absolute;
    z-index: 10;
    top: 40%;
    left: 24px;
    right: 24px;
}

@media (min-width: 768px) {
    .approach-hero-content {
        top: 45%;
        left: 48px;
        right: 48px;
    }
}

@media (min-width: 1024px) {
    .approach-hero-content {
        top: 55%;
        right: 10%;
    }
}

@media (min-width: 1280px) {
    .approach-hero-content {
        top: 58%;
        right: 13%;
    }
}

@media (min-width: 1536px) {
    .approach-hero-content {
        top: 62%;
        right: 18%;
    }
}

/* Approach Content Sections */
.approach-cols-wrapper {
    position: relative;
    gap: 0;
}

@media (min-width: 768px) {
    .approach-cols-wrapper {
        gap: 4rem;
    }
}

.approach-content-col {
    width: 100%;
    margin-bottom: 3rem;
    /* Use margin instead of gap for better compatibility on mobile */
}

.approach-content-col:last-child {
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .approach-content-col {
        width: calc((100% - (2 * 4rem)) / 3);
        margin-bottom: 0;
    }
}



.approach-horizontal-line {
    display: none;
    height: 1px;
    border-top: 1px solid;
    border-image-source: linear-gradient(270deg, #000000 1.53%, #FFFFFF 86.27%);
    border-image-slice: 1;
    position: absolute;
    top: 115px;
    left: 0;
    right: 0;
}

@media (min-width: 768px) {
    .approach-horizontal-line {
        display: block;
    }

    .approach-content-col {
        width: calc((100% - (2 * 4rem)) / 3);
    }
}

@media (min-width: 1280px) {
    .approach-cols-wrapper {
        gap: 0;
    }

    .approach-horizontal-line {
        right: 0;
    }

    .approach-content-col {
        width: 33.333%;
        padding-right: 6rem;
    }
}

/* Content 4 manual positioning */

.approach-content-4-wrapper {
    position: relative;
    width: 100%;
    min-height: 100px;
    /* Base height to contain absolute content */
}

.approach-content-4-text-block {
    right: 24px;
}

@media (min-width: 768px) {
    .approach-content-4-text-block {
        right: 48px;
    }
}

@media (min-width: 1024px) {
    .approach-content-4-text-block {
        right: 10%;
    }
}

@media (min-width: 1280px) {

    .approach-content-4-text-block {
        right: 13%;
    }
}

@media (min-width: 1536px) {

    .approach-content-4-text-block {
        right: 18%;
    }
}