/* Floating Icons Animation */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.floating-icon {
    position: absolute;
    animation: float 6s ease-in-out infinite;
    z-index: 10;
    /* Increased z-index */
    max-width: 60px;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
    /* Added shadow for visibility */
}

.floating-icon:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.floating-icon:nth-child(2) {
    top: 20%;
    right: 10%;
    animation-delay: 1s;
}

.floating-icon:nth-child(3) {
    bottom: 20%;
    left: 15%;
    animation-delay: 2s;
}

.floating-icon:nth-child(4) {
    bottom: 30%;
    right: 15%;
    animation-delay: 3s;
}

/* Feature Borders */
.feature-border-end {
    border-right: 1px solid #e0e0e0;
}

[data-bs-theme="dark"] .feature-border-end {
    border-right: 1px solid #333;
}

@media (max-width: 991px) {
    .feature-border-end {
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
        padding-bottom: 2rem;
        margin-bottom: 2rem;
    }

    [data-bs-theme="dark"] .feature-border-end {
        border-bottom: 1px solid #333;
    }
}

/* Clients/Crypto Slider (One Wallet Section) */
.clients-slider {
    background: transparent;
    padding: 20px 0;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.clients-track {
    display: flex;
    width: calc(100px * 18);
    /* Adjust based on slide width * count */
    animation: scroll 20s linear infinite;
}

.track-2 {
    animation-direction: reverse;
    /* Send second row in opposite direction */
}

.clients-slide {
    width: 100px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
}

.clients-slide img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    transition: transform 0.3s;
}

.clients-slide img:hover {
    transform: scale(1.1);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-100px * 9));
    }

    /* Scroll half the width */
}

/* Security Section Background update */
.security-features {
    background: linear-gradient(180deg, #f9fafc 0%, #eef2f3 100%);
}

[data-bs-theme="dark"] .security-features {
    background: linear-gradient(180deg, #0b1e24 0%, #172a33 100%);
    color: #ffffff;
}

/* Phone Input Fixes */
.iti {
    width: 100%;
    display: block !important;
}

.iti__flag {
    background-image: url("https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.19/img/flags.png");
}

@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
    .iti__flag {
        background-image: url("https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.19/img/flags@2x.png");
    }
}

/* Ensure input has height and padding */
#phone {
    height: 50px;
    padding-left: 90px !important;
    border-radius: 6px;
    border: 1px solid #dee2e6;
}

/* Ensure dropdown is visible */
.iti__country-list {
    z-index: 100 !important;
    color: #000;
}