
/* Общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Jost', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f9f7ff;
    overflow-x: hidden;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Вертикальные волны по бокам */
.wave-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.wave-side {
    position: absolute;
    width: 300px;
    height: 200%;
    background-repeat: repeat-y;
    opacity: 0.15;
}

.wave-left {
    left: 0;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 800" preserveAspectRatio="none"><path d="M0,0C20,40 30,80 0,120C-30,160 10,200 0,240C-10,280 30,320 0,360C-30,400 10,440 0,480C-10,520 30,560 0,600C-30,640 10,680 0,720C-10,760 30,800 0,800" fill="%236a0dad"/></svg>');
    animation: waveVertical 60s linear infinite;
}

.wave-right {
    right: 0;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 800" preserveAspectRatio="none"><path d="M100,0C80,40 70,80 100,120C130,160 90,200 100,240C110,280 70,320 100,360C130,400 90,440 100,480C110,520 70,560 100,600C130,640 90,680 100,720C110,760 70,800 100,800" fill="%238a2be2"/></svg>');
    animation: waveVertical 50s linear infinite reverse;
}

@keyframes waveVertical {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

/* Стили контента */
.about-content {
    padding: 80px 0;
    position: relative;
    z-index: 2;
}

.about-header {
    text-align: center;
    margin-bottom: 60px;
}

.about-title {
    font-size: 3rem;
    font-weight: 600;
    color: #6a0dad;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(106, 13, 173, 0.1);
}

.about-subtitle {
    font-size: 1.2rem;
    color: #555;
    max-width: 700px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    
}

.about-text {
    background: rgba(255, 255, 255, 0.9);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(106, 13, 173, 0.1);
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* Исправленные стили карусели */
.carousel-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(106, 13, 173, 0.2);
}

.carousel {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
    height: 350px;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    margin: 10px auto;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.7);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    color: #6a0dad;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
}

.carousel-btn:hover {
    background: white;
}

.carousel-btn.prev {
    left: 15px;
}

.carousel-btn.next {
    right: 15px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d0bfff;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: #6a0dad;
    transform: scale(1.2);
}

/* Блок создателя */
.creator-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(106, 13, 173, 0.1);
    text-align: center;
}

.creator-photo {
    width: 260px;
    height: 260px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #8a2be2;
    margin: 0 auto 20px;
    display: block;
    box-shadow: 0 5px 15px rgba(138, 43, 226, 0.3);
}

.creator-name {
    font-size: 1.5rem;
    color: #6a0dad;
    margin-bottom: 10px;
}

.creator-role {
    color: #777;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* Адаптивность */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-title {
        font-size: 2.2rem;
    }
    
    .carousel {
        height: 250px;
    }
    
    .wave-side {
        width: 150px;
        opacity: 0.1;
    }
}

.tomain{
    position: absolute;
    top: 20px;
    left: 20px;
    color: #333;
    text-decoration: none;
    z-index: 999;
}

.confidence-parent {
  display: flex;
  justify-content: center;
  margin: 40px 0px;
}

.confidence {
  color:#777;
}

/* Анимации */
@keyframes slideInFromBottom1 {
  0% {
    opacity: 0;
    transform: translateY(100px);
  }
  100% {
    opacity: 1;
    transform: translateY(0); /* Move to its original position */
  }
}
@keyframes slideInFromBottom2 {
    0% {
        opacity: 0;
        transform: translateY(100px);
    }
    50% {
        opacity: 0;
        transform: translateY(100px);
    }
    100% {
        opacity: 1;
        transform: translateY(0); /* Move to its original position */
    }
}
@keyframes slideInFromBottom3 {
    0% {
        opacity: 0;
        transform: translateY(100px);
    }
    75% {
        opacity: 0;
        transform: translateY(100px);
    }
    100% {
        opacity: 1;
        transform: translateY(0); /* Move to its original position */
    }
}
@keyframes slideInFromBottom4 {
    0% {
        opacity: 0;
        transform: translateY(100px);
    }
    85% {
        opacity: 0;
        transform: translateY(100px);
    }
    100% {
        opacity: 1;
        transform: translateY(0); /* Move to its original position */
    }
}
@keyframes slideInFromBottom5 {
    0% {
        opacity: 0;
        transform: translateY(100px);
    }
    96% {
        opacity: 0;
        transform: translateY(100px);
    }
    100% {
        opacity: 1;
        transform: translateY(0); /* Move to its original position */
    }
}
@keyframes slideInFromBottom6 {
    0% {
        opacity: 0;
        transform: translateY(100px);
    }
    95% {
        opacity: 0;
        transform: translateY(100px);
    }
    100% {
        opacity: 1;
        transform: translateY(0); /* Move to its original position */
    }
}

.anim-one{
    animation: slideInFromBottom1 0.8s;
}
.anim-two{
    animation: slideInFromBottom2 1.6s;
}
.anim-three{
    animation: slideInFromBottom3 2.4s;
}
.anim-four{
    animation: slideInFromBottom4 3.0s;
}
.anim-five{
    animation: slideInFromBottom3 3.8s;
}
.anim-six{
    animation: slideInFromBottom4 4.4s;
}
