:root {
    --primary-blue: #1a3a8f;
    --secondary-blue: #2a5bd9;
    --light-blue: #f0f5ff;
    --accent-gray: #f8f9fa;
    --primary-color: #2d4a46;
    --primary-rgb: 45, 74, 70;
    --secondary-color: #3a6c65;
    --light-color: #f0f7f6;
    --gold: #d4af37;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: #333;
    padding-top: 0;
    background-color: #f8f9fa;
}

.hero-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 4rem 0;
    margin-bottom: 2rem;
    border-radius: 0 0 20px 20px;
}

.hero-title {
    font-weight: 800;
    font-size: 2.8rem;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
}

.section-title {
    color: var(--primary-color);
    font-weight: 700;
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
    border-bottom: 3px solid var(--light-blue);
    position: relative;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: var(--secondary-blue);
}

.highlight-box {
    background-color: var(--light-blue);
    border-left: 5px solid var(--secondary-blue);
    padding: 1.5rem;
    border-radius: 0 8px 8px 0;
    margin: 1.5rem 0;
}

.stat-card {
    background: linear-gradient(145deg, #ffffff, #f0f2f5);
    border: none;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    height: 100%;
    border-top: 5px solid var(--primary-color);
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    font-size: 1.2rem;
    color: #495057;
    margin-top: 0.5rem;
}

.photo-card {
    height: 100%;
    min-height: 250px;
    background-color: #e9ecef;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-weight: 500;
    border: 2px dashed #ced4da;
    transition: all 0.3s ease;
    padding: 1rem;
    text-align: center;
}

.photo-card:hover {
    background-color: #dee2e6;
    border-color: var(--secondary-blue);
    color: var(--primary-blue);
}

.icon-box {
    width: 60px;
    height: 60px;
    background-color: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--primary-blue);
    font-size: 1.8rem;
}

.feature-item {
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.05);
}

.footer-custom {
    background-color: var(--accent-gray);
    color: #6c757d;
    padding: 2.5rem 0;
    margin-top: 3rem;
    border-top: 1px solid #dee2e6;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .stat-number {
        font-size: 2.8rem;
    }
}

.list-custom {
    list-style: none;
    padding-left: 0;
}

.list-custom li {
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    position: relative;
}

.list-custom li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-blue);
    font-weight: bold;
}

.hero-header {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
            color: white;
            padding: 5rem 0;
            margin-bottom: 2rem;
            border-radius: 0 0 20px 20px;
            position: relative;
            overflow: hidden;
        }
        
        .hero-header:before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" width="100" height="100" opacity="0.1"><path d="M20,20 L80,80 M20,80 L80,20" stroke="white" stroke-width="2"/><circle cx="50" cy="50" r="30" stroke="white" stroke-width="2" fill="none"/></svg>');
        }
        
        .hero-title {
            font-weight: 800;
            font-size: 3.2rem;
            margin-bottom: 1rem;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
            position: relative;
        }
        
        .hero-subtitle {
            font-size: 1.5rem;
            opacity: 0.95;
            max-width: 800px;
            margin: 0 auto;
            position: relative;
        }
        
        .section-title {
            color: var(--primary-color);
            font-weight: 700;
            padding-bottom: 0.75rem;
            margin-bottom: 1.5rem;
            border-bottom: 3px solid var(--light-color);
            position: relative;
        }
        
        .section-title:after {
            content: '';
            position: absolute;
            bottom: -3px;
            left: 0;
            width: 80px;
            height: 3px;
            background-color: var(--secondary-color);
        }
        
        .highlight-box {
            background-color: var(--light-color);
            border-left: 5px solid var(--secondary-color);
            padding: 1.5rem;
            border-radius: 0 8px 8px 0;
            margin: 1.5rem 0;
            position: relative;
        }
        
        .highlight-box:before {
            content: "★";
            position: absolute;
            top: -10px;
            left: -10px;
            background: var(--gold);
            color: var(--primary-color);
            width: 30px;
            height: 30px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
        }
        
        .photo-card {
            height: 100%;
            min-height: 250px;
            background-color: #e9ecef;
            border-radius: 10px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            color: #6c757d;
            font-weight: 500;
            border: 2px dashed #ced4da;
            transition: all 0.3s ease;
            padding: 1rem;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        
        .photo-card:hover {
            background-color: #dee2e6;
            border-color: var(--secondary-color);
            color: var(--primary-color);
        }
        
      /*   .photo-card:before {
          content: "🖼️";
          font-size: 2.5rem;
          margin-bottom: 1rem;
          opacity: 0.5;
      } */
        
        .icon-box {
            width: 60px;
            height: 60px;
            background-color: var(--light-color);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1rem;
            color: var(--primary-color);
            font-size: 1.8rem;
        }
        
        .quality-card {
            padding: 1.5rem 1rem;
            background: white;
            border-radius: 10px;
            height: 100%;
            box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.03);
            border: 1px solid rgba(var(--primary-rgb), 0.05);
            transition: transform 0.3s ease;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
        }
        
        .quality-card:hover {
            transform: translateY(-3px);
        }
        
        .quality-card .icon-box {
            margin-bottom: 1rem;
        }
        
        .quality-card h5 {
            color: var(--primary-color);
            font-size: 1.1rem;
            font-weight: 700;
            margin-bottom: 0.75rem;
            min-height: 2.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
        }
        
        .quality-card p {
            font-size: 0.9rem;
            line-height: 1.4;
            margin-bottom: 0;
            flex-grow: 1;
            display: flex;
            align-items: center;
        }
        
        .footer-custom {
            background-color: var(--accent-gray);
            color: #6c757d;
            padding: 2.5rem 0;
            margin-top: 3rem;
            border-top: 1px solid #dee2e6;
        }
        
        @media (max-width: 768px) {
            .hero-title {
                font-size: 2.5rem;
            }
            
            .hero-subtitle {
                font-size: 1.2rem;
            }
            
            .quality-card {
                padding: 1.25rem 0.75rem;
            }
            
            .quality-card h5 {
                font-size: 1rem;
                min-height: 2rem;
            }
            
            .quality-card p {
                font-size: 0.85rem;
            }
        }
        
        .list-custom {
            list-style: none;
            padding-left: 0;
        }
        
        .list-custom li {
            padding-left: 1.5rem;
            margin-bottom: 0.5rem;
            position: relative;
        }
        
        .list-custom li:before {
            content: "✓";
            position: absolute;
            left: 0;
            color: var(--secondary-color);
            font-weight: bold;
        }
        
        .celebration-card {
            background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
            border: 2px solid var(--gold);
            border-radius: 15px;
            padding: 2.5rem;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        
        .celebration-card:before, .celebration-card:after {
            content: "🎉";
            position: absolute;
            font-size: 2rem;
            opacity: 0.3;
        }
        
        .celebration-card:before {
            top: 20px;
            left: 20px;
        }
        
        .celebration-card:after {
            bottom: 20px;
            right: 20px;
        }
        
        .badge-celebration {
            background: linear-gradient(135deg, var(--gold) 0%, #b8941f 100%);
            color: #000;
            font-weight: bold;
            padding: 0.5rem 1rem;
            border-radius: 50px;
        }
        
        .quote-card {
            border-left: 4px solid var(--gold);
            padding-left: 1.5rem;
            font-style: italic;
            margin: 2rem 0;
            color: #555;
        }
        
        .author {
            font-weight: bold;
            color: var(--primary-color);
            margin-top: 0.5rem;
        }
        
        .pulse-animation {
            animation: pulse 2s infinite;
        }
        
        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.05); }
            100% { transform: scale(1); }
        }
        
        .text-primary-custom {
            color: var(--primary-color) !important;
        }
        
        .bg-primary-custom {
            background-color: var(--primary-color) !important;
        }
        
        .border-primary-custom {
            border-color: var(--primary-color) !important;
        }
        
    :root {
    --primary-color: #2d4a46;
    --primary-rgb: 45, 74, 70;
    --secondary-color: #3a6c65;
    --light-color: #f0f7f6;
    --accent-gray: #f8f9fa;
    --gold: #d4af37;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: #333;
    padding-top: 0;
    background-color: #f8f9fa;
}

.hero-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 4rem 0;
    margin-bottom: 2rem;
    border-radius: 0 0 20px 20px;
    position: relative;
    overflow: hidden;
}

.hero-title {
    font-weight: 800;
    font-size: 2.8rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
}

.section-title {
    color: var(--primary-color);
    font-weight: 700;
    padding-bottom: 0.75rem;
    margin-bottom: 2rem;
    border-bottom: 3px solid var(--light-color);
    position: relative;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}

.photo-card {
    height: 100%;
    min-height: 200px;
    background-color: #e9ecef;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-weight: 500;
    border: 2px dashed #ced4da;
    transition: all 0.3s ease;
    padding: 1rem;
    text-align: center;
}

.photo-card:hover {
    background-color: #dee2e6;
    border-color: var(--secondary-color);
    color: var(--primary-color);
}

.footer-custom {
    background-color: var(--accent-gray);
    color: #6c757d;
    padding: 2.5rem 0;
    margin-top: 3rem;
    border-top: 1px solid #dee2e6;
}

.text-primary-custom {
    color: var(--primary-color) !important;
}

.bg-primary-custom {
    background-color: var(--primary-color) !important;
}

.border-primary-custom {
    border-color: var(--primary-color) !important;
}

.badge-celebration {
    background: linear-gradient(135deg, var(--gold) 0%, #b8941f 100%);
    color: #000;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 50px;
}

.highlight-box {
    background-color: var(--light-color);
    border-left: 5px solid var(--secondary-color);
    padding: 1.5rem;
    border-radius: 0 8px 8px 0;
    margin: 1.5rem 0;
}

/* Стили для карточек сотрудников */
.employee-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    border: 1px solid rgba(var(--primary-rgb), 0.1);
}

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

.employee-photo-placeholder {
    height: 350px;
    background-color: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 1rem;
    border-bottom: 3px solid var(--secondary-color);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.employee-photo-placeholder:hover {
    opacity: 0.9;
}

.employee-photo-placeholder:before {
    content: "📸 Фото сотрудника";
    font-size: 1rem;
    opacity: 0.6;
}

/* Для реальных фото используем этот класс */
.employee-photo {
    height: 350px;
    background-size: cover;
    background-position: top;
    border-bottom: 3px solid var(--secondary-color);
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.employee-photo:hover {
    opacity: 0.9;
}

.employee-info {
    padding: 1.5rem;
}

.employee-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.employee-position {
    font-size: 0.95rem;
    color: #6c757d;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px dashed #dee2e6;
}

.employee-merit {
    font-size: 0.95rem;
    margin-bottom: 0;
    position: relative;
    padding-left: 1.5rem;
}

.employee-merit:before {
    content: "★";
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: bold;
}

/* Пагинация */
.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin: 2rem 0 1rem;
}

.carousel-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.carousel-indicators-custom {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin: 1.5rem 0 0.5rem;
}

.indicator-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ced4da;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.indicator-dot.active {
    background: var(--primary-color);
    transform: scale(1.3);
}

.counter-text {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 500;
}

.page-grid {
    display: none;
}

.page-grid.active-page {
    display: block;
}

/* Модальное окно для фото */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
    animation: zoomIn 0.3s ease;
}

.modal-content img {
    max-width: 90vh;
    height: auto;
    max-height: 90vh;
    align-self: center;
    border-radius: 8px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
}

.modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: white;
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.modal-close:hover {
    transform: rotate(90deg);
    background: var(--primary-color);
    color: white;
}

@keyframes zoomIn {
    from {
        transform: scale(0.5);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 1.1rem;
    }
}

@media screen and (orientation: portrait) {
    .col-6 {
        width: 100%;
    }
}

        :root {
            --primary-color: #2d4a46;
            --primary-rgb: 45, 74, 70;
            --secondary-color: #3a6c65;
            --light-color: #f0f7f6;
            --accent-gray: #f8f9fa;
            --gold: #d4af37;
        }
        
        body {
            font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
            line-height: 1.6;
            color: #333;
            padding-top: 0;
            background-color: #f8f9fa;
        }
        
        .hero-header {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
            color: white;
            padding: 4rem 0;
            margin-bottom: 2rem;
            border-radius: 0 0 20px 20px;
            position: relative;
            overflow: hidden;
        }
        
        .hero-title {
            font-weight: 800;
            font-size: 2.5rem;
            margin-bottom: 1rem;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
        }
        
        .hero-subtitle {
            font-size: 1.3rem;
            opacity: 0.9;
            max-width: 800px;
            margin: 0 auto;
        }
        
        .section-title {
            color: var(--primary-color);
            font-weight: 700;
            padding-bottom: 0.75rem;
            margin-bottom: 2rem;
            border-bottom: 3px solid var(--light-color);
            position: relative;
        }
        
        .section-title:after {
            content: '';
            position: absolute;
            bottom: -3px;
            left: 0;
            width: 80px;
            height: 3px;
            background-color: var(--secondary-color);
        }
        
        .photo-card {
            height: 100%;
            min-height: 250px;
            background-color: #e9ecef;
            border-radius: 10px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            color: #6c757d;
            font-weight: 500;
            border: 2px dashed #ced4da;
            transition: all 0.3s ease;
            padding: 1rem;
            text-align: center;
        }
        
        .photo-card:hover {
            background-color: #dee2e6;
            border-color: var(--secondary-color);
            color: var(--primary-color);
        }
        
        .footer-custom {
            background-color: var(--accent-gray);
            color: #6c757d;
            padding: 2.5rem 0;
            margin-top: 3rem;
            border-top: 1px solid #dee2e6;
        }
        
        .text-primary-custom {
            color: var(--primary-color) !important;
        }
        
        .bg-primary-custom {
            background-color: var(--primary-color) !important;
        }
        
        .border-primary-custom {
            border-color: var(--primary-color) !important;
        }
        
        .badge-custom {
            background: var(--light-color);
            color: var(--primary-color);
            font-weight: 600;
            padding: 0.5rem 1rem;
            border-radius: 50px;
            border: 1px solid var(--primary-color);
        }
        
        .highlight-box {
            background-color: var(--light-color);
            border-left: 5px solid var(--secondary-color);
            padding: 1.5rem;
            border-radius: 0 8px 8px 0;
            margin: 1.5rem 0;
        }
        
        .stats-mini {
            display: flex;
            gap: 1.5rem;
            justify-content: center;
            margin: 2rem 0;
            flex-wrap: wrap;
        }
        
        .stat-mini-item {
            text-align: center;
            background: white;
            padding: 1rem 2rem;
            border-radius: 50px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            border: 1px solid rgba(var(--primary-rgb), 0.2);
        }
        
        .stat-mini-number {
            font-size: 2rem;
            font-weight: 800;
            color: var(--primary-color);
            line-height: 1;
        }
        
        .stat-mini-label {
            font-size: 0.9rem;
            color: #6c757d;
        }
        
        .quote-block {
            background: linear-gradient(135deg, var(--light-color) 0%, #e9f3f1 100%);
            padding: 2rem;
            border-radius: 15px;
            margin: 2rem 0;
            position: relative;
            border: 1px solid var(--primary-color);
        }
        
        .quote-block:before {
            content: '"';
            position: absolute;
            top: -20px;
            left: 20px;
            font-size: 5rem;
            color: var(--primary-color);
            opacity: 0.2;
            font-family: serif;
        }
        
        .topic-list {
            list-style: none;
            padding: 0;
        }
        
        .topic-list li {
            padding: 0.75rem 0;
            padding-left: 2rem;
            position: relative;
            border-bottom: 1px dashed #e9ecef;
        }
        
        .topic-list li:last-child {
            border-bottom: none;
        }
        
        .topic-list li:before {
            content: "•";
            position: absolute;
            left: 0;
            color: var(--primary-color);
            font-weight: bold;
            font-size: 1.5rem;
            top: 4px;
        }
        
        .interview-link {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
            color: white;
            padding: 2rem;
            border-radius: 12px;
            text-align: center;
            transition: all 0.3s ease;
        }
        
        .interview-link:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 30px rgba(var(--primary-rgb), 0.3);
        }
        
        .interview-link a {
            color: white;
            text-decoration: none;
            font-size: 1.2rem;
            font-weight: 600;
            display: inline-block;
            padding: 0.75rem 2rem;
            background: rgba(255,255,255,0.2);
            border-radius: 50px;
            transition: all 0.3s ease;
        }
        
        .interview-link a:hover {
            background: rgba(255,255,255,0.3);
            transform: scale(1.05);
        }
        
        @media (max-width: 768px) {
            .hero-title {
                font-size: 1.8rem;
            }
            .hero-subtitle {
                font-size: 1rem;
            }
        }