.content{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 0;
    padding: 0;
    min-height: auto;
}
.img-wrapper{
    width: 1400px;
    height: 800px;
    position: relative;
    overflow: hidden;
}
.banner-with-text{
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
    background-color: #f5eedf;
    padding-bottom: 25px;
    overflow: hidden;
}
.img-block{
    position: absolute;
    top: 25%;
    right: 45px;
    height: 50%;
    width: 40%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
h1.modern{
    margin-bottom: 36px;
}
select.modern,
textarea.modern,
input.modern{
    width: 500px !important;
}
.form{
    border-radius: 25px;
}
.form-name{
    margin-bottom: 15px;
}
.empty{
    height: 700px;
}
.full{
    width: 1050px;
}
.banner-btn-place{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.banner-btn-place>a.orange-btn{
    width: 300px;
    height: 75px;
    font-size: 24px;
}
.card-header{
    font-size: 24px;
    font-weight: 600;
}
.card-text{
    font-size: 20px;
    font-weight: 200;
    line-height: 32px;
    margin-top: 15px;
}
.cards-area{
    position: relative;
    overflow: hidden;
    width: 100%;
}
.cards-row {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
    width: 100%;
}
.cards {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 25px;
    padding: 10px;
}
.card {
    flex: 0 0 300px;
    background-color: #f5eedf;
    padding: 25px;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}
.card:nth-child(even){
    border-top-left-radius: 18px;
    border-bottom-right-radius: 18px;
}
.card:nth-child(odd){
    border-top-right-radius: 18px;
    border-bottom-left-radius: 18px;
}
/* Навигационные кнопки */
.carousel-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    gap: 20px;
}

.nav-btn {
    background-color: #f5eedf;
    color: #624129;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.nav-btn:hover {
    background-color: #624129ac;
    color: #f5eedf;
}

/* Индикаторные точки */
.carousel-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #f5eedf;
    cursor: pointer;
}

.dot.active {
    background-color: #624129;
}
.card-desc{
    width: 100%;
    padding: 24px;
    background-color: #f5eedf;
    border-radius: 15px;
}
.about-area{
    display: flex;
    gap: 65px;
    width: 100%;
    padding: 24px;
}
.avatar-area{
    position: relative;
    width: 300px;
    height: 300px;
    overflow: hidden;
    border-radius: 50%;
}
.avatar-area>img{
    position: relative;
    width: 100%;
    scale: 2.1;
}
.about-text {
    width: calc(100% - 365px);
    padding: 24px;
    background-color: #f5eedf;
    border-radius: 15px;
}
.about-text>p {
    white-space: initial;
    font-size: 20px;
    font-weight: 200;
    line-height: 32px;
}
.portfolio{
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
}
.portfolio>.portfolio-img-wrapper>img{
    filter: brightness(0.65);
}
.portfolio-btn-place{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.portfolio-img-wrapper{
    width: 1400px;
    height: 800px;
}
.portfolio-btn-place>a.orange-btn{
    height: 75px;
    font-size: 24px;
}

.marquee-container {
    width: 100%;
    max-width: 1400px;
    height: 150px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.marquee-track {
    display: flex;
    align-items: center;
    height: 100%;
    position: absolute;
    white-space: nowrap;
    will-change: transform;
}
.marquee-item {
    display: flex;
    align-items: center;
    padding: 40px;
    height: 100%;
    font-size: 48px;
    font-weight: 300;
    letter-spacing: 0.5px;
    color: #624129;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.marquee-item:hover {
    opacity: 1;
    transform: scale(1.05);
}
.active_card{
    background-color: #2d2218 !important;
}
.active_card>.card-header{
    color: #fff !important;
}

.marquee-star {
    color: #624129;
    font-size: 1.8rem;
    margin: 0 25px;
    opacity: 0.9;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

/* Эффект градиента по краям */
.marquee-container::before,
.marquee-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.marquee-container::before {
    left: 0;
    background: linear-gradient(to right, #fffdf4, rgba(255, 255, 255, 0));
}

.marquee-container::after {
    right: 0;
    background: linear-gradient(to left, #fffdf4, rgba(255, 255, 255, 0));
}
@media (max-width: 768px) {
    .card {
        flex: 0 0 280px;
    }
    
    h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .card {
        flex: 0 0 260px;
        padding: 20px;
    }
    
    .card-header {
        font-size: 1.3rem;
    }
    
    .nav-btn {
        width: 45px;
        height: 45px;
    }
}