:root {
    --primary-color: #3498db;
    --secondary-color: #2c3e50;
    --light-color: #ecf0f1;
    --dark-color: #34495e;
    --accent-color: #e74c3c;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

.navbar {
    background-color: var(--secondary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    color: white;
}

.nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

.nav-link:hover, .nav-link.active {
    color: white;
}

.hero-section {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
    padding: 5rem 0;
    margin-bottom: 3rem;
    border-radius: 0 0 20px 20px;
}

.section-title {
    position: relative;
    margin-bottom: 2rem;
    color: var(--secondary-color);
    font-weight: 700;
}

.section-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 50px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 1.5rem;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.card-header {
    background-color: white;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-weight: 600;
    border-radius: 10px 10px 0 0 !important;
}

.badge {
    font-weight: 500;
    padding: 0.5em 0.75em;
    margin-right: 0.5em;
    margin-bottom: 0.5em;
}

.progress {
    height: 10px;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.progress-bar {
    background-color: var(--primary-color);
}

.skill-item {
    margin-bottom: 1.5rem;
}

.contact-info {
    list-style: none;
    padding-left: 0;
}

.contact-info li {
    margin-bottom: 1rem;
}

.contact-info i {
    width: 30px;
    color: var(--primary-color);
}

footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 2rem 0;
    margin-top: 3rem;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    margin: 0 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: #00a8ff !important; /* Ярко-синий цвет */
    transform: translateY(-3px);
    text-decoration: none;
}

/* Для кибер-стиля */
.cyber-footer .social-link:hover {
    color: #00a8ff !important; /* Ярко-синий вместо красного */
    text-shadow: 0 0 10px rgba(0, 168, 255, 0.7);
}

.timeline-badge {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: -15px;
    top: 0;
    z-index: 1;
}

.education-badge {
    background-color: #3498db;
}

.certification-badge {
    background-color: #2ecc71;
}

.ctf-badge {
    background-color: #e74c3c;
}

.competitions-badge {
    background-color: #9b59b6;
}

.publications-badge {
    background-color: #f39c12;
}

.work-badge {
    background-color: #1abc9c;
}

.achievement-highlight {
    background-color: rgba(52, 152, 219, 0.1);
    border-left: 4px solid var(--primary-color);
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 0 4px 4px 0;
}

.rounded-circle {
    object-fit: cover;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 0;
    }
    
    .hero-section .row {
        flex-direction: column-reverse;
    }
    
    .hero-section img {
        margin-bottom: 1.5rem;
    }
}

/* Обновленные стили для footer */
footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 20px 0;
    width: 100%;
    margin-top: 3rem;
}

.social-links {
    font-size: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-link {
    color: var(--primary-color);
    transition: all 0.3s ease;
    display: inline-block;
}

.social-link:hover {
    color: #ff0000;
    transform: translateY(-3px);
    text-decoration: none;
}

.social-link i {
    color: inherit;
    transition: inherit;
}

/* Обновим существующие переменные, если нужно */
:root {
    --primary-color: #3498db;
    --secondary-color: #2c3e50;
    --light-color: #ecf0f1;
    --dark-color: #34495e;
    --accent-color: #e74c3c;
    --text-color: #333;
    --white: #ffffff;
}