/* Общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #1a2a3a, #3a4753); /* Темный градиентный фон */
    color: #fff;
}

.container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    height: 100%;
    padding: 20px;
}

.card {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    background-color: rgba(24, 28, 36, 0.9);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
    width: 750px;
    position: relative;
}

.text-content {
    width: 60%;
    padding-right: 20px;
}

.photo-container {
    position: absolute;
    top: 40px;
    right: 60px;
}

.profile-image {
    width: 268px;
    height: 268px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

h1 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #00c8ff;
}

.job-title {
    font-size: 1.1rem;
    color: #aaa;
    margin-bottom: 20px;
}

.contact-info, .services, .articles {
    margin-top: 20px;
}

.contact-item, .service-item, .article-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-item p, .service-item p, .article-item p {
    font-size: 1rem;
    margin-left: 10px;
    color: #ccc;
    text-decoration: none;
}

.contact-item a:hover, .service-item a:hover, .article-item a:hover {
    color: #00c8ff;
}

/* Стили для иконок */
.icon {
    font-size: 28px;
    background-color: #2c3e50;
    border-radius: 50%;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
    margin-right: 15px;
    color: #fff;
}

.icon:hover {
    transform: scale(1.2);
}

h2 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    margin-top: 8px;
    color: #00c8ff;
    /* border-bottom: 2px solid #00c8ff; */
    display: inline-block;
    padding-bottom: 5px;
}

ul {
    list-style: none;
    padding: 0;
}

li {
    margin-bottom: 15px;
}

.article-item {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #ccc;
}

.article-item:hover {
    color: #00c8ff;
}

/* Адаптивность */
@media (max-width: 768px) {
    .card {
        flex-direction: column;
        width: 90%;
        padding: 20px;
    }

    .text-content {
        width: 100%;
        padding-right: 0;
    }

    .photo-container {
        width: 100%;
        margin-top: 20px;
        position: static;
        text-align: center;
    }
}
