:root {
    --bg-gradient-light: linear-gradient(135deg,
        #0f2027 0%,
        #203a43 25%,
        #1e2b4d 60%,
        #151a27 75%,
        #0f111a 100%
    );
    --bg-gradient-dark: linear-gradient(135deg, #0a0a1a 0%, #0d1117 50%, #0a0a1a 100%);
}

body {
    background-color: #f0f0f0;

}

.bg-light {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-gradient-dark);
    background-size: 200% 200%;
    transition: background-position 2.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: -1;
    pointer-events: none;
}

.bg-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-gradient-light);
    background-size: 200% 200%;
    opacity: 1;
    transition: all 0.666s ease;
}

body.dark-theme .bg-light {
    background-position: 100% 100%;
}

body.dark-theme .bg-light::before {
    opacity: 0;
    background-position: 100% 100%;
}

.bg-dark {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-gradient-dark);
    z-index: -2;
    pointer-events: none;
}

body.dark-theme .bg-light {
    background: var(--bg-gradient-dark);
    background-blend-mode: multiply;
}

body.dark-theme .bg-dark {
    opacity: 1;
}

/* Бордеры элементов */
.hero-text,
.carousel .card,
.work-with-us-block,
.service-block {
    border: 1px solid #666;
    transition: border-color 0.666s ease;
}

.service-block, .team-member, .customer-block, .work-with-us-block {
    background-color: transparent;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}