.lsc-footer-right {
    visibility: hidden;
}

.pe-button-random {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 20px !important;
    flex-direction: row !important;
}

.pe--button {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    flex-direction: column;
}

.custom-nav-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
}

.custom-nav-list ul li {
    display: inline-block;
}

.contact-sub-title {
    width: 33rem;
}

.custom-nav-list ul li a {
    text-decoration: none;
    padding: 10px 15px;
}

.form--field a {
    padding: 18px 28px;
    background-color: black;
    border-radius: 50px;
    color: white;
}

.pe--button--wrapper a {
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    display: inline-block;
}

.elementor-element-d205096 {
    margin-top: -6rem;
}

@media screen and (max-width: 768px) {
    .asciuhsd-121 {
        right: 0rem !important;
    }
}

/* Mobile fixes for sections visibility and animations */
@media screen and (max-width: 767px) {
    .contact-sub-title {
        width: 26rem;
    }

    .elementor-element-d205096 {
        margin-top: 2rem !important;
    }

    .pin-spacer-c043fcb {
        height: auto !important;
        padding: 0 !important;
    }

    .convert--layered {
        transform: none !important;
        perspective: none !important;
        overflow: visible !important;
        position: relative !important;
        min-height: auto !important;
        height: auto !important;
        padding-bottom: 0 !important;
    }

    /* Reset animations and ensure visibility for all child sections */
    .convert--layered > .e-con-full,
    .convert--layered > .e-child {
        animation: none !important;
        transition: opacity 0.6s ease-out, transform 0.6s ease-out !important;
        transform: translateY(0) !important;
        opacity: 1 !important;
        position: relative !important;
        visibility: visible !important;
        pointer-events: auto !important;
        will-change: auto !important;
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 1rem 0 !important;
        padding: 20px !important;
        box-sizing: border-box !important;
    }

    /* Specific section styles for accordion visibility */
    .elementor-element-b56d623,
    .elementor-element-c644e14,
    .elementor-element-2040659 {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
        position: relative !important;
        display: block !important;
        margin-bottom: 1rem !important;
        transition: none !important;
        z-index: 1 !important;
        border-radius: 10px !important;
        box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
        /* Fix for excessive empty space */
        min-height: unset !important;
        height: auto !important;
    }
    
    /* Remove excessive empty space */
    .elementor-element-48b5036,
    .elementor-element-7498f7f,
    .elementor-element-9c21248 {
        display: none !important;
    }
    
    /* Fix for accordion title spacing */
    .pe-accordion-item {
        margin-bottom: 5px !important;
    }
    
    /* Fix for accordion toggle + icon - complete replacement */
    .accordion-toggle.toggle--plus {
        width: 20px !important;
        height: 20px !important;
        align-self: center !important;
        position: relative !important;
    }
    
    /* Create proper + icon by forcing correct positioning */
    .accordion-toggle.toggle--plus span:first-child {
        width: 12px !important;
        height: 2px !important;
        background-color: #fff !important;
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
    }

    .accordion-toggle.toggle--plus span:last-child {
        width: 2px !important;
        height: 12px !important;
        background-color: #fff !important;
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        transition: height 0.3s ease !important;
    }

    /* When accordion is active (open), hide the vertical line to make it a minus */
    .pe-accordion-item.active .accordion-toggle.toggle--plus span:last-child,
    .pe-accordion-item-title[aria-expanded="true"] .accordion-toggle.toggle--plus span:last-child {
        height: 0px !important;
        opacity: 0 !important;
    }

    /* Global rules to ensure consistent behavior across all screen sizes */
    .pe--accordion .pe-accordion-item-title .accordion-toggle.toggle--plus span:first-child {
        width: 12px !important;
        height: 2px !important;
        background-color: #fff !important;
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
    }

    .pe--accordion .pe-accordion-item-title .accordion-toggle.toggle--plus span:last-child {
        width: 2px !important;
        height: 12px !important;
        background-color: #fff !important;
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        transition: all 0.3s ease !important;
    }

    /* Target all possible active state selectors */
    .pe--accordion .pe-accordion-item.active .accordion-toggle.toggle--plus span:last-child,
    .pe--accordion .pe-accordion-item-title[aria-expanded="true"] .accordion-toggle.toggle--plus span:last-child,
    .pe--accordion .pe-accordion-item.show .accordion-toggle.toggle--plus span:last-child {
        height: 0 !important;
        opacity: 0 !important;
    }

    /* Improve accordion title layout */
    .pe-accordion-item-title {
        padding: 12px 5px !important;
        font-size: 15px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }
    
    /* Fix accordion order number spacing */
    .pe-accordion-item-title .ac-order {
        margin-right: 8px !important;
        font-size: 14px !important;
    }
    
    /* Improve card headings on mobile */
    .text-h1 {
        font-size: 2rem !important;
        line-height: 1.2 !important;
        padding: 0 5px !important;
        margin-bottom: 10px !important;
    }
    
    /* Adjust accordion content space */
    .pe-accordion-item-content p {
        padding: 0 5px 15px 5px !important;
        font-size: 15px !important;
        line-height: 1.5 !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
    
    /* Improve card spacing and reduce empty areas */
    .e-con-full.bg--color {
        padding: 20px 15px !important;
        height: auto !important;
        min-height: unset !important;
    }
    
    /* Reduce space between sections */
    .e-con-child {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
    
    /* Animation classes for scroll */
    .elementor-element-b56d623.fade-in,
    .elementor-element-c644e14.fade-in,
    .elementor-element-2040659.fade-in {
        transform: translateY(0) !important;
        opacity: 1 !important;
    }

    .elementor-element-b56d623.fade-out,
    .elementor-element-c644e14.fade-out,
    .elementor-element-2040659.fade-out {
        transform: translateY(50px) !important;
        opacity: 0 !important;
    }

    /* Ensure content inside sections is visible */
    .e-con-full .elementor-widget-container,
    .pe--accordion .elementor-widget-container {
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Remove fixed positioning and layering */
    .e-con-full,
    .e-child {
        position: relative !important;
        z-index: auto !important;
        top: auto !important;
        left: auto !important;
    }

    /* Ensure proper spacing */
    #c043fcb > .e-con-full {
        margin-bottom: 15px !important;
    }

    .elementor-193 .elementor-element.elementor-element-c168812 .portfolio--grid div.portfolio--projects--wrapper {
        grid-template-columns: repeat(1, minmax(100px, 1fr)) !important;
    }

    .elementor-element-09c0649 {
        position: absolute !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        top: 44rem !important;
    }

    .elementor-element-5f88b43 {
        display: none;
    }
    
    /* Style text content within the cards */
    .text-p.p-large {
        font-size: 15px !important;
        line-height: 1.5 !important;
        padding: 0 5px !important;
        margin-bottom: 10px !important;
    }

    /* Fix for circular text wrap */
    .circular-text-wrap,
    .pe-circular-text {
        max-width: 100% !important;
        overflow: visible !important;
    }

    /* Move "Experience our creation" link to the left on mobile */
    .elementor-element-6321826 .pe--button--wrapper {
        text-align: left !important;
        justify-content: flex-start !important;
        margin-left: 0 !important;
    }

    .elementor-element-6321826 .pe--button {
        justify-content: flex-start !important;
    }

    /* Fix animation for sequential card appearance */
    .convert--layered > .e-con-full.fade-in {
        opacity: 1;
        transform: translateY(0);
    }

    /* Fix for drag text coming over circular text */
    .pe-circular-text .circular-text-content {
        z-index: 1 !important;
    }

    /* Additional responsive fixes */
    .elementor-element-b56d623,
    .elementor-element-c644e14,
    .elementor-element-2040659 {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .footer-contact-elements {
        display: flex;
        align-items: flex-start;
    }

    /* Add a small script to force the correct icon state */
    body::after {
        content: "" !important;
        display: none !important;
    }
    
    /* Force any open accordion to show minus icon */
    .pe-accordion-item[class*="active"] .accordion-toggle.toggle--plus span:last-child,
    .pe-accordion-item-title[aria-expanded="true"] .accordion-toggle.toggle--plus span:last-child,
    .pe-accordion-item.show .accordion-toggle.toggle--plus span:last-child {
        height: 0 !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }
}

/* Additional fixes for tablets */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .circular-text-wrap {
        max-width: 100% !important;
        overflow: hidden !important;
    }

    .convert--layered > .e-con-full {
        margin-bottom: 30px !important;
    }
    
    /* Tablet-specific card styling */
    .elementor-element-b56d623,
    .elementor-element-c644e14,
    .elementor-element-2040659 {
        border-radius: 10px !important;
        box-shadow: 0 4px 12px rgba(0,0,0,0.05) !important;
        margin-bottom: 2rem !important;
        padding: 25px !important;
    }
    
    .text-h1 {
        font-size: 2.5rem !important;
        line-height: 1.2 !important;
    }
    
    .pe-accordion-item-title {
        padding: 15px 10px !important;
    }
}

/* Contact Us Button Styling */
.contact-us-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    background-color: #222;
    color: #fff !important;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    border-radius: 30px;
    min-width: 140px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    z-index: 2;
}

.contact-us-btn:hover {
    background-color: #000;
}

.contact-us-btn .pb__icon {
    margin-left: 8px;
}

/* Container alignment fixes */
.elementor-element-df44907 .elementor-widget-container {
    display: flex;
    justify-content: flex-start !important;
}

.elementor-element-df44907 .pe--button {
    width: auto !important;
    justify-content: flex-start !important;
}

.elementor-element-df44907 .pe--button--wrapper {
    text-align: left !important;
    margin-left: 0 !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
}

/* Special fix for footer area to ensure left alignment */
.elementor-element-30bc0c0,
.elementor-element-df44907 {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    width: 100% !important;
    text-align: left !important;
}

@media (max-width: 767px) {
    .elementor-element-df44907 .pe--button--wrapper {
        width: 100%;
        display: flex;
        justify-content: flex-start !important;
        margin-left: 0 !important;
    }

    .contact-btn-wrapper {
        margin-left: 0 !important;
    }

    .elementor-element-df44907 {
        margin-bottom: 20px !important;
    }
}

.pe--accordion--wrapper{
    color: #f4f4f4 !important;
}

.custom-color-5523{
    color: #cecece !important;
}

.custom-color-5524{
    color: #f4f4f4 !important;
}

.custom-color-5521{
    color: #f4f4f4;
}

.pe-accordion-item-title span{
    color: #f4f4f4 !important;
}

/* Sticky Section Implementation */
@media (min-width: 768px) {
    /* 1. Ensure the parent container uses flexbox and allows height to grow */
    .elementor-element-e964d5f.e-con {
        display: flex !important;
        align-items: flex-start !important;
        overflow: visible !important;
    }

    /* 2. Make the Left Column (Who We Are) Sticky */
    .elementor-element-bfdf7f7 {
        position: sticky !important;
        top: 100px; /* Adjust this value based on your header height */
        align-self: flex-start;
        z-index: 10;
    }

    /* 3. Ensure the Right Column (Crafting immersive experiences) scrolls naturally */
    .elementor-element-6321826 {
        flex: 1;
    }
}

/* Optional: Mobile adjustment to prevent stickiness on small screens */
@media (max-width: 767px) {
    .elementor-element-bfdf7f7 {
        position: relative !important;
        top: 0 !important;
    }
}

/* --- WHO WE ARE STICKY FIX --- */
@media (min-width: 1025px) {
    /* 1. Target the main parent section container */
    /* We must force overflow visible and ensure it's a flex container */
    .elementor-element-e964d5f.e-con {
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-start !important; /* Crucial: allows child to slide */
        overflow: visible !important;       /* Crucial: sticky fails if parent is hidden/clip */
    }

    /* 2. Target the Left Column (WHO WE ARE) */
    .elementor-element-bfdf7f7 {
        position: -webkit-sticky !important;
        position: sticky !important;
        top: 15% !important; /* Adjust this to position it vertically on screen */
        height: auto !important;
        align-self: flex-start !important;
        z-index: 100;
        /* Ensure the column doesn't have a height of 100% */
    }

    /* 3. Target the Right Column (Crafting immersive experiences) */
    /* Ensure this side is allowed to grow and define the total scroll height */
    .elementor-element-6321826 {
        flex: 1 !important;
        display: block !important;
        position: relative !important;
    }
}

/* Ensure no parent containers up the DOM tree are breaking the sticky flow */
.elementor-section-wrap, 
.elementor-location-header + div {
    overflow: visible !important;
}