/* ========== ОБЩИЕ СТИЛИ ========== */
:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --dark-color: #212529;
    --light-color: #f8f9fa;

    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --border-radius: 10px;
    --box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ========== НАВИГАЦИЯ ========== */
.navbar {
    background: linear-gradient(135deg, var(--dark-color) 0%, #1a1e24 100%);
    box-shadow: var(--box-shadow);
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-brand i {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-menu a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: white;
    background-color: var(--primary-color);
}

/* ========== ГЛАВНАЯ СТРАНИЦА ========== */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #764ba2 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    margin: 5px;
}

.btn-primary {
    background-color: white;
    color: var(--primary-color);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

/* ========== НОВОСТИ ========== */
.news-section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #764ba2 100%);
    border-radius: 2px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.news-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.news-content {
    padding: 20px;
}

.news-date {
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.news-title a {
    color: var(--dark-color);
    text-decoration: none;
}

.news-title a:hover {
    color: var(--primary-color);
}

/* ========== КАРТОЧКИ УСЛУГ ========== */
.services-section {
    background-color: var(--light-color);
    padding: 60px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.service-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
}

.service-card p {
    color: var(--secondary-color);
}

/* ========== СОТРУДНИКИ ========== */
.employees-section {
    padding: 60px 0;
}

.employees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.employee-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    text-align: center;
    transition: var(--transition);
}

.employee-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.employee-info {
    padding: 20px;
}

.employee-name {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.employee-position {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

/* ========== ФУТЕР ========== */
footer {
    background: linear-gradient(135deg, var(--dark-color) 0%, #1a1e24 100%);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* ========== АДАПТИВНОСТЬ ========== */
@media (max-width: 768px) {
    .navbar .container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

    .navbar-brand {
        margin-bottom: 0;
}

    .nav-menu {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        margin: 0 auto;
}
}

<style>
.social-link {
    text-decoration: none;
    color: #333;
    transition: transform 0.3s ease;
    display: inline-block;
}

.social-link:hover {
    transform: translateY(-5px);
}

.social-icon-wrapper {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
    margin: 0 auto;
}

.vk-bg {
    background: linear-gradient(135deg, #4C75A3, #2B5876);
    box-shadow: 0 10px 20px rgba(76, 117, 163, 0.3);
}

.vk-bg:hover {
    background: linear-gradient(135deg, #5B8AC0, #3A6A8F);
    box-shadow: 0 15px 30px rgba(76, 117, 163, 0.4);
}

.telegram-bg {
    background: linear-gradient(135deg, #0088cc, #005e9c);
    box-shadow: 0 10px 20px rgba(0, 136, 204, 0.3);
}

.telegram-bg:hover {
    background: linear-gradient(135deg, #0099dd, #006bb3);
    box-shadow: 0 15px 30px rgba(0, 136, 204, 0.4);
}

.social-link span {
    color: #666;
    font-weight: 500;
    transition: color 0.3s ease;
}

.social-link:hover span {
    color: #333;
}

.gap-4 {
    gap: 2rem !important;
}
</style>