/* Remove Autofill Background Colors */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
textarea:-webkit-autofill:active,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus,
select:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
    box-shadow: 0 0 0 1000px transparent inset !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* Autofill text color for white text inputs (newsletter email) */
input.text-base-white:-webkit-autofill,
input.text-base-white:-webkit-autofill:hover,
input.text-base-white:-webkit-autofill:focus,
input.text-base-white:-webkit-autofill:active,
#newsletter_email:-webkit-autofill,
#newsletter_email:-webkit-autofill:hover,
#newsletter_email:-webkit-autofill:focus,
#newsletter_email:-webkit-autofill:active {
    -webkit-text-fill-color: #ffffff !important;
    color: #ffffff !important;
    caret-color: #ffffff !important;
}

/* Autofill text color for black text inputs (contact form) */
input.text-base-black:-webkit-autofill,
input.text-base-black:-webkit-autofill:hover,
input.text-base-black:-webkit-autofill:focus,
input.text-base-black:-webkit-autofill:active,
textarea.text-base-black:-webkit-autofill,
textarea.text-base-black:-webkit-autofill:hover,
textarea.text-base-black:-webkit-autofill:focus,
textarea.text-base-black:-webkit-autofill:active {
    -webkit-text-fill-color: #121212 !important;
    color: #121212 !important;
    caret-color: #121212 !important;
}

/* Copy Link Button Styles */
.copy-link-wrapper {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

button[data-copy-link] {
    transition: all 0.3s ease;
}

button[data-copy-link].copy-success {
    opacity: 0.8;
}

button[data-copy-link].copy-success img {
    filter: brightness(1.1);
}

/* Copy Link Feedback Tag */
.copy-link-feedback {
    position: absolute;
    top: 100%;
    margin-top: 8px;
    padding: 4px 8px;
    background-color: rgba(0, 0, 0, 0.85);
    color: #ffffff;
    font-size: 11px;
    font-weight: 500;
    font-family: 'Unbounded', sans-serif;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    z-index: 10;
}

.copy-link-feedback.show {
    opacity: 1;
    transform: translateY(0);
}

/* Arrow pointing up to button */
.copy-link-feedback::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid rgba(0, 0, 0, 0.85);
}






/* Container for the slider - add overflow hidden to parent */
.partners-slider-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
}

/* Track that holds all items */
.partners-slider-track {
    display: flex;
    gap: 2rem; /* Adjust spacing between logos */
    width: fit-content;
    animation: scroll 30s linear infinite;
}

/* Individual logo items */
.partners-slider-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 150px; /* Adjust based on your logo sizes */
}

/* Smooth infinite scroll animation */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-25%); /* Move by exactly 1/4 since we duplicate 4 times */
    }
}

/* Pause animation on hover (optional) */
.partners-slider-track:hover {
    animation-play-state: paused;
}

/* Ensure images maintain aspect ratio */
.partners-slider-item img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Optional: Add fade effect on edges */
.partners-slider-container::before,
.partners-slider-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.partners-slider-container::before {
    left: 0;
    background: linear-gradient(to right, white, transparent);
}

.partners-slider-container::after {
    right: 0;
    background: linear-gradient(to left, white, transparent);
}






/* Hero Slider Styles */
.hero-swiper .swiper-slide {
    height: 100%;
}

.hero-swiper-pagination {
    display: flex !important;
    flex-direction: row !important;
    gap: 16px !important;
    align-items: start !important;
    justify-content: start !important;
    margin-top: 24px !important;
}

.hero-swiper-pagination .swiper-pagination-bullet {
    background-color: #F2F4FF !important;
    width: 8px !important;
    height: 8px !important;
    opacity: 1 !important;
    margin: 0 !important;
    border-radius: 9999px !important;
    display: inline-block !important;
    cursor: pointer !important;
}

.hero-swiper-pagination .swiper-pagination-bullet-active {
    background-color: #9147dc !important;
    opacity: 1 !important;
}


.liquid-glass {
    /* Frosted glass background */
    backdrop-filter: blur(10px) saturate(90%);
    /* Subtle border for definition */
    border: 0.5px solid rgba(255, 255, 255, 0);
    /* Smooth shadow for depth */
    box-shadow:
        0 8px 32px 0 rgba(0, 0, 0, 0.15),
        inset 0.5px 0.5px 0 0 rgba(255, 255, 255, 0.85),
        inset -0.5px -0.5px 0 0 rgba(255, 255, 255, 0.85);
}

/* Reflection effect pseudo-element */
.liquid-glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.1) 0%,
            rgba(255, 255, 255, -0.5) 25%,
            rgba(255, 255, 255, -0.5) 75%,
            rgba(255, 255, 255, 0.1) 100%);
    pointer-events: none;
    /* Mask to hide border on corners with reflection */
    -webkit-mask: linear-gradient(135deg,
            rgba(0, 0, 0, 1) 0%,
            rgba(0, 0, 0, 0.2) 15%,
            rgba(0, 0, 0, 0.2) 85%,
            rgba(0, 0, 0, 1) 100%);
    mask: linear-gradient(135deg,
            rgba(0, 0, 0, 1) 0%,
            rgba(0, 0, 0, 0.2) 15%,
            rgba(0, 0, 0, 0.2) 85%,
            rgba(0, 0, 0, 1) 100%);
}