* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Popins", sans-serif;
}

body {
    min-height: 100vh;
    background: url('/static/img/layer1.jpg') fixed; /* Добавлено fixed */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Фиксируем фон */
    padding-top: 70px; /* Для компенсации навбара */
    padding-bottom: 2rem;
}

.wrapper {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(8, 2, 22, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(118, 205, 255, 0.5);
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(118, 205, 255, 0.3);
    min-height: auto; /* Убрано фиксированное min-height */
}

/* Остальные стили остаются без изменений */
.about-container {
    position: relative;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 1rem;
    color: white;
    width: 100%;
}

.about-content {
    max-width: 1000px;
    width: 100%;
    background: rgba(41, 3, 102, 0.85);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.about-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #76cdff;
    text-align: center;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.about-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(118, 205, 255, 0.1);
    border-radius: 10px;
    border-left: 4px solid #76cdff;
}

.about-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #76cdff;
    display: flex;
    align-items: center;
}

.about-section h2 i {
    margin-right: 10px;
}

/* Team Members Section */
.team-members {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.team-member {
    text-align: center;
    flex: 1;
    min-width: 200px;
}

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 10px;
    object-fit: cover;
    border: 3px solid #76cdff;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.team-avatar:hover {
    transform: scale(1.05);
}

.team-member h3 {
    color: #76cdff;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.team-member p {
    font-size: 1rem;
    color: #ffffff;
    margin-bottom: 0;
}

/* Tabs Styles */
.tabs {
    display: flex;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(118, 205, 255, 0.3);
}

.tab-btn {
    padding: 0.8rem 1.5rem;
    background: transparent;
    border: none;
    color: #76cdff;
    font-size: 1.1rem;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 3px;
    background: #76cdff;
    transition: width 0.3s ease;
}

.tab-btn:hover {
    color: #ffffff;
}

.tab-btn:hover::after {
    width: 100%;
}

.tab-btn.active {
    color: #ffffff;
    font-weight: bold;
}

.tab-btn.active::after {
    width: 100%;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Blog Post Styles */
.blog-post {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(118, 205, 255, 0.2);
}

.blog-post:last-child {
    border-bottom: none;
}

.blog-post h2 {
    color: #76cdff;
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.post-date {
    color: #aaa;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.post-content {
    line-height: 1.6;
    font-size: 1.1rem;
    margin-top: 1rem;
}

.post-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.post-divider {
    margin: 2rem 0;
    border: 0;
    height: 1px;
    background-color: rgba(118, 205, 255, 0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .wrapper {
        padding: 1rem;
        margin-top: 60px;
    }
    
    .about-content {
        padding: 1.5rem;
    }
    
    .team-members {
        flex-direction: column;
        align-items: center;
    }
    
    .team-member {
        margin-bottom: 1.5rem;
    }
}