/* Modern Dark Theme Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "OnePlusOne 2015 Regular";
}

body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
}

html {
    overflow-x: hidden !important;
    max-width: 100vw !important;
}

/* Hero Text Animation */
.hero-text {
    animation: fadeInUp 1s ease-out;
    background: linear-gradient(135deg, #fff 0%, #e5e7eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient {
    background: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 50%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        background: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 50%, #06b6d4 100%);
        -webkit-background-clip: text;
        background-clip: text;
    }

    50% {
        background: linear-gradient(135deg, #06b6d4 0%, #8b5cf6 50%, #3b82f6 100%);
        -webkit-background-clip: text;
        background-clip: text;
    }
}

/* Floating Shapes Animation */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.floating-shapes::before,
.floating-shapes::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(59, 130, 246, 0.1));
    animation: float 6s ease-in-out infinite;
}

.floating-shapes::before {
    width: 300px;
    height: 300px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-shapes::after {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 10%;
    animation-delay: 3s;
}

/* Animated Bubbles for Header */
.floating-bubbles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.bubble {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(28, 196, 191, 0.15), rgba(143, 227, 225, 0.1));
    backdrop-filter: blur(2px);
    border: 1px solid rgba(28, 196, 191, 0.2);
    animation: floatBubble 12s ease-in-out infinite;
}

.bubble-1 {
    width: 120px;
    height: 120px;
    top: 15%;
    left: 8%;
    animation-delay: 0s;
    animation-duration: 10s;
}

.bubble-2 {
    width: 80px;
    height: 80px;
    top: 25%;
    right: 12%;
    animation-delay: 2s;
    animation-duration: 14s;
}

.bubble-3 {
    width: 150px;
    height: 150px;
    top: 60%;
    left: 15%;
    animation-delay: 4s;
    animation-duration: 16s;
}

.bubble-4 {
    width: 60px;
    height: 60px;
    top: 10%;
    left: 50%;
    animation-delay: 1s;
    animation-duration: 12s;
}

.bubble-5 {
    width: 100px;
    height: 100px;
    top: 70%;
    right: 20%;
    animation-delay: 3s;
    animation-duration: 18s;
}

.bubble-6 {
    width: 40px;
    height: 40px;
    top: 40%;
    right: 5%;
    animation-delay: 5s;
    animation-duration: 8s;
}

@keyframes floatBubble {
    0%, 100% {
        transform: translateY(0px) translateX(0px) scale(1);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-20px) translateX(10px) scale(1.1);
        opacity: 0.5;
    }
    50% {
        transform: translateY(-40px) translateX(-5px) scale(0.9);
        opacity: 0.7;
    }
    75% {
        transform: translateY(-30px) translateX(15px) scale(1.05);
        opacity: 0.4;
    }
}

/* Blob Amoeba Effect for Benefits Section */
.blob-container-benefits {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.blob-group-benefits {
    position: relative;
    width: 100%;
    height: 100%;
    filter: blur(25px) contrast(1.8);
    transition: all 0.3s ease;
}

.blob-benefits {
    position: absolute;
    border-radius: 50%;
    background-color: #1CC4BF;
    opacity: 0.4;
    mix-blend-mode: normal;
    transition: all 0.8s ease;
}

.blob-group-benefits:hover .blob-benefits {
    opacity: 0.15;
}

.blob-benefits-1 {
    width: 180px;
    height: 180px;
    top: 20%;
    left: 10%;
    animation: blobMergeBenefits1 14s ease-in-out infinite;
}

.blob-benefits-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 20%;
    animation: blobMergeBenefits2 16s ease-in-out infinite;
}

.blob-benefits-3 {
    width: 200px;
    height: 200px;
    top: 40%;
    right: 8%;
    animation: blobMergeBenefits3 18s ease-in-out infinite;
}

.blob-benefits-4 {
    width: 160px;
    height: 160px;
    top: 15%;
    left: 50%;
    animation: blobMergeBenefits4 15s ease-in-out infinite;
}

.blob-benefits-5 {
    width: 190px;
    height: 190px;
    top: 70%;
    left: 25%;
    animation: blobMergeBenefits5 19s ease-in-out infinite;
}

/* Blob Movement Animations for Benefits */
@keyframes blobMergeBenefits1 {
    0%, 100% { 
        transform: translate(0px, 0px) scale(1);
        border-radius: 50% 40% 60% 30%;
    }
    50% { 
        transform: translate(30px, -25px) scale(1.15);
        border-radius: 30% 70% 40% 60%;
    }
}

@keyframes blobMergeBenefits2 {
    0%, 100% { 
        transform: translate(0px, 0px) scale(1);
        border-radius: 60% 40% 30% 70%;
    }
    50% { 
        transform: translate(-25px, 35px) scale(1.1);
        border-radius: 40% 60% 70% 30%;
    }
}

@keyframes blobMergeBenefits3 {
    0%, 100% { 
        transform: translate(0px, 0px) scale(1);
        border-radius: 40% 60% 50% 30%;
    }
    50% { 
        transform: translate(-35px, -20px) scale(1.2);
        border-radius: 70% 30% 60% 40%;
    }
}

@keyframes blobMergeBenefits4 {
    0%, 100% { 
        transform: translate(0px, 0px) scale(1);
        border-radius: 50% 30% 70% 40%;
    }
    50% { 
        transform: translate(20px, 30px) scale(1.05);
        border-radius: 30% 70% 40% 60%;
    }
}

@keyframes blobMergeBenefits5 {
    0%, 100% { 
        transform: translate(0px, 0px) scale(1);
        border-radius: 60% 50% 30% 70%;
    }
    50% { 
        transform: translate(40px, -15px) scale(1.25);
        border-radius: 40% 30% 70% 50%;
    }
}

/* Responsive adjustments for Benefits blobs */
@media (max-width: 768px) {
    .blob-group-benefits {
        filter: blur(30px) contrast(2);
    }
    
    .blob-benefits-1, .blob-benefits-2, .blob-benefits-4, .blob-benefits-5 {
        width: 100px !important;
        height: 100px !important;
    }
    
    .blob-benefits-3 {
        width: 120px !important;
        height: 120px !important;
    }
}

/* Blob Amoeba Effect */
.blob-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.blob-group {
    position: relative;
    width: 100%;
    height: 100%;
    filter: blur(20px) contrast(1.5);
    transition: all 0.3s ease;
}

.blob {
    position: absolute;
    border-radius: 50%;
    background-color: #24E4D5;
    opacity: 0.95;
    mix-blend-mode: normal;
    transition: all 0.5s ease;
}

/* .blob-group:hover {
    filter: blur(60px) contrast(8);
} */

.blob {
    position: absolute;
    border-radius: 50%;
    background-color: #24E4D5;
    opacity: 0.8;
    mix-blend-mode: normal;
    transition: all 0.8s ease;
}

.blob-group:hover .blob {
    opacity: 0.2;
}

.blob-1 {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 5%;
    animation: blobMerge1 15s ease-in-out infinite;
}

.blob-2 {
    width: 180px;
    height: 180px;
    top: 20%;
    right: 10%;
    animation: blobMerge2 13s ease-in-out infinite;
}

.blob-3 {
    width: 220px;
    height: 220px;
    top: 45%;
    right: 5%;
    animation: blobMerge3 17s ease-in-out infinite;
}

.blob-4 {
    width: 160px;
    height: 160px;
    top: 75%;
    right: 15%;
    animation: blobMerge4 12s ease-in-out infinite;
}

/* Blob Movement Animations - Merging (Default) */
@keyframes blobMerge1 {
    0%, 100% { 
        transform: translate(0px, 0px) scale(1);
        border-radius: 50% 40% 60% 30%;
    }
    50% { 
        transform: translate(50px, -20px) scale(1.1);
        border-radius: 30% 70% 40% 60%;
    }
}

@keyframes blobMerge2 {
    0%, 100% { 
        transform: translate(0px, 0px) scale(1);
        border-radius: 60% 40% 30% 70%;
    }
    50% { 
        transform: translate(-30px, 40px) scale(1.2);
        border-radius: 40% 60% 70% 30%;
    }
}

@keyframes blobMerge3 {
    0%, 100% { 
        transform: translate(0px, 0px) scale(1);
        border-radius: 40% 60% 50% 30%;
    }
    50% { 
        transform: translate(-40px, -30px) scale(1.15);
        border-radius: 70% 30% 60% 40%;
    }
}

@keyframes blobMerge4 {
    0%, 100% { 
        transform: translate(0px, 0px) scale(1);
        border-radius: 50% 30% 70% 40%;
    }
    50% { 
        transform: translate(-20px, -40px) scale(1.3);
        border-radius: 30% 70% 40% 60%;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

/* Fade In Up Animation */
.fade-in-up {
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


#service-section {
    z-index: 99;
}

.service-icon {
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    transform: scale(1.1);
    width: 80%;
    height: 80%;
}

/* New Service Cards with Cyan Border */
.service-card-new {
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid #1CC4BF;
    border-radius: 1.5rem;
    padding: 2.5rem;
    min-height: 280px;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* .service-card-new:hover {
    box-shadow: 0 20px 40px rgba(105, 181, 236, 0.2);
} */

.service-card-new h3 {
    color: #ffffff;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: auto;
    position: relative;
    z-index: 99;
}

.service-arrow {
    width: 60px;
    height: 60px;
    border: 2px solid #1CC4BF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #69B5EC;
    transition: all 0.3s ease;
}



.service-arrow svg {
    width: 28px;
    height: 28px;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}


/* Button Hover Effects */
button {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

button:hover::before {
    left: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-text {
        font-size: 3rem;
        line-height: 1.1;
    }

    .floating-shapes::before,
    .floating-shapes::after {
        width: 150px;
        height: 150px;
    }
    
    /* Adjust blobs for mobile */
    .blob-group {
        filter: blur(35px) contrast(1.8);
    }
    
    .blob-1, .blob-2, .blob-3, .blob-4 {
        width: 120px !important;
        height: 120px !important;
    }
    
    .blob-3 {
        width: 150px !important;
        height: 150px !important;
    }
}

/* Loading Animation */
@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Intersection Observer Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease-out;
}

.animate-on-scroll.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #4a5568;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #718096;
}

/*
 Service Icon */
.service-icon-image {
    position: absolute;
    right: 0;
    opacity: 0;
    bottom: 0;
    height: 70%;
    z-index: 0;
    transition: all 0.1s ease;
}

.service-card-new:hover .service-icon-image {
    opacity: 1;
}

/* Order Button - Hidden by default */
.order-button {
    display: none;
}

/* Update hover effects */
.service-card-new:hover {
    border-color: #5AA3D9;
    box-shadow: 0 20px 40px rgba(105, 181, 236, 0.2);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(240, 240, 240, 0.95) 100%);
}

.service-card-new:hover h3 {
    color: #1f2937;
}

/* Transform arrow into order button on hover */
.service-card-new:hover .service-arrow {
    width: 180px;
    height: 60px;
    border-radius: 30px;
    color: #1f2937;
    border: 2px solid #1CC4BF;
    bottom: 2rem;
    right: 2rem;
    font-weight: 600;
    font-size: 16px;
    padding: 0 5px 0 10px;
    justify-content: space-between;
    align-items: center;
    display: flex;
}

.service-card-new:hover .service-arrow::before {
    content: 'Заказать';
    color: #1f2937;
    flex: 1;
    text-align: left;
}

.service-card-new:hover .service-arrow svg {
    width: 50px;
    height: 50px;
    background: #69B5EC;
    border-radius: 50%;
    padding: 8px;
    color: white;
    stroke: white;
    box-sizing: border-box;
}

.about-section {
    /* background-image: url('../assets/images/help-bg.png'); */
    background-position: top;
    background-size: cover;
    height: 85vh;
    border-radius: 100px;
    z-index: 9999 !important;
}

.benefit-item {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.6s ease;
}

.benefit-item.animate {
    opacity: 1;
    transform: translateX(0);
}

.benefit-item:hover {
    transform: translateX(-5px);
}

.benefit-item img {
    filter: drop-shadow(0 0 6px rgba(28, 196, 191, 0.4));
    transition: all 0.3s ease;
    opacity: 0.9;
}

.benefit-item:hover img {
    filter: drop-shadow(0 0 10px rgba(28, 196, 191, 0.7));
    transform: scale(1.1) rotate(5deg);
    opacity: 1;
}

.benefit-item h3 {
    transition: color 0.3s ease;
}

.benefit-item:hover h3 {
    color: #1CC4BF;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .benefits-section .grid {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .benefits-list {
        margin-top: 2rem;
    }
}

/* Fix visibility on black background */

.benefits-section {
    background: #000 !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
}

.benefit-item h3 {
    color: #ffffff !important;
    font-weight: 600;
}

.benefit-item p {
    color: #9ca3af !important;
}

.benefit-item:hover h3 {
    color: #1CC4BF !important;
}

.benefit-item:hover p {
    color: #d1d5db !important;
}

/*
 Diagonal positioning for benefit items */
.benefits-list {
    height: 400px;
    position: relative;
}

.benefit-item-1 {
    top: 240px;
    right: 0;
    max-width: 350px;
}

.benefit-item-2 {
    top: 120px;
    right: 80px;
    max-width: 300px;
}

.benefit-item-3 {
    top: 0px;
    right: 0;
    max-width: 350px;
}

/* Responsive adjustments for diagonal layout */
@media (max-width: 1024px) {
    .benefits-list {
        height: 350px;
    }

    .benefit-item-1 {
        right: 20px;
        max-width: 300px;
    }

    .benefit-item-2 {
        top: 100px;
        right: 60px;
        max-width: 280px;
    }

    .benefit-item-3 {
        top: 200px;
        right: 20px;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .benefits-list {
        position: static;
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .benefit-item-1,
    .benefit-item-2,
    .benefit-item-3 {
        position: static;
        max-width: none;
        margin-bottom: 2rem;
    }
}

/* Upda
te benefits list positioning */
.benefits-list {
    margin-top: 100px !important;
    height: 500px !important;
}

.benefit-item-1 {
    top: 80px !important;
}

.benefit-item-2 {
    top: 200px !important;
}

.benefit-item-3 {
    top: 320px !important;
}

/*
 Staircase layout for benefits */
.benefits-list {
    margin-top: 150px !important;
    height: 600px !important;
}

.benefit-item-1 {
    top: 120px !important;
    right: 200px !important;
}

.benefit-item-2 {
    top: 240px !important;
    right: 100px !important;
}

.benefit-item-3 {
    top: 360px !important;
    right: 0px !important;
}

/* Mobile adjustments for staircase */
@media (max-width: 768px) {
    .benefits-list {
        margin-top: 3rem !important;
        height: auto !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 2rem !important;
    }

    .benefit-item-1,
    .benefit-item-2,
    .benefit-item-3 {
        position: static !important;
        right: auto !important;
        top: auto !important;
    }
}

/* ==============================
   Benefits Section — Redesign
   Matches the provided screenshot
   ============================== */
.benefits-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
}


@media (min-width: 1024px) {
    .benefits-list {
        height: 440px !important;
        /* room for three items in staircase */
        margin-top: 0 !important;
    }

    /* Staircase positions to mirror screenshot */
    .benefit-item-1 {
        top: 40px !important;
        right: 140px !important;
    }

    .benefit-item-2 {
        top: 190px !important;
        right: 70px !important;
    }

    .benefit-item-3 {
        top: 330px !important;
        right: 0 !important;
    }

    .benefit-item h3 {
        font-size: 20px !important;
    }

    .benefit-item p {
        font-size: 18px !important;
    }

    .benefit-item img {
        width: 28px !important;
        height: 28px !important;
        margin-top: 6px !important;
        /* subtle cool-blue tint and clean look */
        filter: saturate(1.1) brightness(1.05);
        opacity: 0.95;
    }
}

/* 
Partners Section Styles */

.partners-section {
    position: relative;
    overflow: hidden;
    max-width: 100vw !important;
}


.partners-grid {
    position: relative;
    z-index: 20;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    /* background: #000; */
    /* min-height: 100px; */
    position: relative;
    /* z-index: 20; */
    overflow: hidden;
}

.partner-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: #000; */
    z-index: 23;
    mix-blend-mode: normal;
}

.partner-logo img {
    /* max-width: 70%; */
    /* max-height: 70%; */
    opacity: 0.8;
    position: relative;
    z-index: 24;
    transition: opacity 0.3s ease, filter 0.3s ease, transform 0.3s ease;
    /* mix-blend-mode: screen; */
}

.partner-logo:hover img {
    transform: scale(1.2);
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .partner-logo {
        padding: 1rem;
        min-height: 80px;
    }
}

@media (max-width: 480px) {
    .partners-grid {
        grid-template-columns: 1fr;
    }
}

/* Contact Form Section Styles */
.contact-form-section {
    position: relative;
    /* background: #000; */
}

.contact-form-section .max-w-7xl {
    border: 2px solid #1CC4BF;
    border-radius: 1.5rem;
    padding: 3rem;
    /* background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px); */
}

.contact-form-container {
    background: transparent;
    padding: 0;
    border-radius: 0;
    border: none;
    backdrop-filter: none;
    transition: all 0.3s ease;
}

.contact-form-container input {
    background: transparent;
    border: none;
    border-bottom: 2px solid #374151;
    padding: 1rem 0;
    color: #ffffff;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    width: 100%;
}

.contact-form-container input::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

.contact-form-container input:focus {
    outline: none;
    border-bottom-color: #1CC4BF;
    box-shadow: 0 2px 0 0 rgba(28, 196, 191, 0.3);
}

.contact-form-container input:focus::placeholder {
    color: #d1d5db;
}

.contact-form-container button {
    background: linear-gradient(135deg, #1CC4BF 0%, #16a8a3 100%);
    border: none;
    padding: 1rem 3rem;
    border-radius: 2rem;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-form-container button:hover {
    background: linear-gradient(135deg, #16a8a3 0%, #1CC4BF 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(28, 196, 191, 0.3);
}

.contact-form-container button:active {
    transform: translateY(0);
}

/* Responsive adjustments for contact form */
@media (max-width: 1024px) {
    .contact-form-section .grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .contact-form-section .max-w-7xl {
        padding: 2rem;
    }
    
    .contact-form-container {
        margin: 0 auto;
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .contact-form-section {
        padding: 3rem 1.5rem;
    }
    
    .contact-form-section .max-w-7xl {
        padding: 1.5rem;
    }
    
    .contact-form-container input {
        font-size: 1rem;
        padding: 0.8rem 0;
    }
    
    .contact-form-container button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
}