.dropdown-menu {
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 0;
    position: absolute;
    background: linear-gradient(to bottom, #eef2f7, #ffffff);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 0.5rem;
    width: 100vw;
    left: 50%;
    z-index: 1000;
    pointer-events: auto;
}

.dropdown-item {
    padding: 0.75rem 1rem;
    color: #333;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e5e7eb;
}

.dropdown-item:hover {
    background-color: #f3f4f6;
    color: #1d4ed8;
}

.dropdown-item i {
    margin-right: 0.5rem;
}

:root {
    --stripe-blue: #377cec;
    --stripe-dark-blue: #2a5fc4;
    --stripe-text: #32325d;
    --stripe-background: #ffffff;
    --stripe-light-gray: #f3f3f3;
}

body {
    font-family: "Inter", sans-serif;
    background: var(--stripe-background);
    color: var(--stripe-text);
    position: relative;
    overflow-x: hidden;
}

.gradient-text {
    background: linear-gradient(
            90deg,
            var(--stripe-blue),
            var(--stripe-dark-blue)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 20px rgba(55, 124, 236, 0.2);
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.spin-icon {
    transition: transform 0.5s ease, scale 0.5s ease;
}

.spin-icon:hover {
    transform: rotate(360deg) scale(1.2);
}

.portfolio-img,
.client-logo {
    transition: transform 0.5s ease;
}

.portfolio-img:hover,
.client-logo:hover {
    transform: scale(1.1);
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

#particles-js,
#particles-reviews,
#particles-metrics {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    z-index: -1;
}

.hero-section,
.reviews-section,
.metrics-section {
    position: relative;
    overflow: hidden;
}

.svg-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

#lottie-animation,
#lottie-cta {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    z-index: -1;
}

.error {
    border-color: #e53e3e !important;
}

.team-img {
    object-fit: cover;
    border-radius: 50%;
}

.process-step {
    margin-bottom: 16px;
    transition: transform 0.3s ease;
}

.process-step:hover {
    transform: scale(1.05);
}

.advantages_counter {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--stripe-blue);
    transition: all 0.3s ease;
}

.card-hover:hover .advantages_counter {
    color: var(--stripe-dark-blue);
}

.dropdown-item {
    padding: 0.5rem 1rem;
    color: var(--stripe-text);
}

.dropdown-item:hover {
    background-color: var(--stripe-light-gray);
    color: var(--stripe-blue);
}

.tab-content {
    transition: opacity 0.3s ease-in-out;
}

.tab-content.fade-in {
    opacity: 1;
}

.tab-button.active {
    background-color: #377cec;
    color: white;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.hyphens-on {
    hyphens: auto;
}


#mobile-submenu .hidden {
    display: none;
}

#desktop-submenu {
        width: 100vw !important;
        left: 0 !important;
        right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        transform: none !important;
        position: fixed !important;
}

.header-mobile-number {
    @media (max-width: 1200px) {
        display: none;
    }
}

.common-button {
    cursor: pointer;
    --tw-gradient-from: #2563eb;
    --tw-gradient-to: #1d4ed8;
    background: linear-gradient(to right, var(--tw-gradient-from), var(--tw-gradient-to));
}

.common-button:hover {
    --tw-gradient-from: #1e40af;
    --tw-gradient-to: #1e3a8a;
    background: linear-gradient(to right, var(--tw-gradient-from), var(--tw-gradient-to));
    transition-property: transform, background;
    transition-duration: 100ms;
    transition-timing-function: ease;
}

.common-button-success {
    cursor: auto;
    --tw-gradient-from: #16a34a;
    --tw-gradient-to: #15803d;
    background: linear-gradient(to right, var(--tw-gradient-from), var(--tw-gradient-to));
}

.common-button-success:hover {
    --tw-gradient-from: #166534;
    --tw-gradient-to: #14532d;
    background: linear-gradient(to right, var(--tw-gradient-from), var(--tw-gradient-to));
    transition-property: transform, background;
    transition-duration: 100ms;
    transition-timing-function: ease;
}

.common-button-fail {
    cursor: pointer;
    --tw-gradient-from: #dc2626;
    --tw-gradient-to: #b91c1c;
    background: linear-gradient(to right, var(--tw-gradient-from), var(--tw-gradient-to));
}

.common-button-fail:hover {
    --tw-gradient-from: #991b1b;
    --tw-gradient-to: #7f1d1d;
    background: linear-gradient(to right, var(--tw-gradient-from), var(--tw-gradient-to));
    transition-property: transform, background;
    transition-duration: 100ms;
    transition-timing-function: ease;
}

.common-button:hover {
    transform: scale(1.05);
}

.common-link {
    cursor: pointer;
    color: #377cec;
    /*transition: background 0.3s ease;*/
}

.common-link:hover {
    color: #1e40af; /* darker blue on hover */
    text-decoration: underline;
}

.menu-item:hover {
    color: #377cec;
}

.simple-button:hover {
    animation: pulse 2s infinite;
    transition: background 0.3s ease;
    background: #1e40af; /* darker blue on hover */
}

.our-projects-tab > * {
    @media (max-width: 500px) {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

.card-hover-home {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 300px;
}

.card-hover-home a {
    margin-top: auto;
}

/*Portfolio*/
#portfolio {
    background: #f9fafb;
}

.gradient-text {
    background: linear-gradient(90deg, #377cec, #6b46c1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.filter-button {
    transition: all 0.3s ease;
}

.filter-button.active,
.filter-button:hover {
    background: #377cec;
    color: white;
}

.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.project-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 10px;
    border-radius: 9999px;
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
    z-index: 10;
}

.portfolio-img {
    transition: transform 0.3s ease;
}

.card-hover:hover .portfolio-img {
    transform: scale(1.05);
}

.fade-in {
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/*FormHandler*/