:root {
    --dark-bg: #1a1a1a;
    --dark-grey: #2d2d2d;
    --light-grey: #4a4a4a;
    --text-white: #ffffff;
    --text-light: #e0e0e0;
    --accent-silver: #c0c0c0;
    --border-color: #4a4a4a;
    --bs-breadcrumb-item-active-color: #6c757d!important;
    --bs-breadcrumb-divider: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236c757d' class='bi bi-arrow-right' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1 8a.5.5 0 0 1 .5-.5h11.793l-3.147-3.146a.5.5 0 0 1 .708-.708l4 4a.5.5 0 0 1 0 .708l-4 4a.5.5 0 0 1-.708-.708L13.293 8.5H1.5A.5.5 0 0 1 1 8'/%3E%3C/svg%3E");
}

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

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-white);
    line-height: 1.6;
}

/* Links styling */
a {
    color: var(--text-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-silver);
}

/* Header Styles */
.header {
    background-color: var(--dark-bg);
    padding: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}

.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-white);
}

.logo-wrapper {
    display: flex;
    max-width: 240px;
    min-width: 180px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    color: var(--accent-silver);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 2px;
}

.navbar-nav .nav-link {
    color: var(--text-white);
    font-weight: 600;
    padding: 0.5rem 1rem!important;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link.dropdown-toggle::after {
    display: none;
    border: none;
}

.navbar-nav .nav-link:hover {
    color: var(--accent-silver);
}
.navbar-nav .nav-link.active, .navbar-nav .nav-link.active:hover {
    color: var(--accent-silver);
}
.dropdown-menu {
    background-color: var(--dark-grey);
    border: 1px solid var(--border-color);
}

.dropdown-item {
    color: var(--text-light);
    padding: 0.75rem 1.5rem;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-decoration: none;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: var(--light-grey);
    color: var(--text-white);
}

.dropdown-item:visited {
    color: var(--text-light);
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 5px;
}

.lang-btn {
    color: var(--text-light);
    padding: 5px 10px;
    font-size: 0.9rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-btn.active {
    color: var(--text-white);
    background-color: var(--light-grey);
}

.lang-btn:hover {
    color: var(--text-white);
}

/* Offcanvas Menu */
.offcanvas {
    background-color: var(--dark-grey);
    color: var(--text-white);
}

.mobile-submenu {
    list-style: none;
    padding-left: 20px;
    margin-top: 10px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-submenu.active {
    max-height: 500px;
}

.mobile-submenu li {
    margin: 5px 0;
}

.mobile-menu-toggle {
    cursor: pointer;
    user-select: none;
}

.mobile-menu-toggle i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.mobile-menu-toggle.active i,
.mobile-submenu.active ~ .mobile-menu-toggle i {
    transform: rotate(180deg);
}

.mobile-submenu a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    display: block;
    padding: 8px 0 8px 10px;
    border-left: 2px solid transparent;
}

.mobile-submenu a:hover {
    color: var(--text-white);
    border-left-color: var(--accent-silver);
    padding-left: 15px;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

@media (max-width: 768px) {
    .hero-section {
        background-attachment: scroll;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    color: var(--text-light);
}

.btn-hero {
    background-color: var(--light-grey);
    color: var(--text-white);
    border: 2px solid var(--border-color);
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-hero:hover {
    background-color: var(--text-white);
    color: var(--dark-bg);
    border-color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

/* About Section */
.about-section {
    padding: 100px 0;
    background-color: var(--dark-grey);
    background-image: 
        radial-gradient(circle, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
}

.logo-large {
    margin-bottom: 2rem;
	max-width: 230px;
	min-width: 180px;
}

.logo-icon-large {
    width: 200px;
    height: 200px;
    color: var(--accent-silver);
}

.section-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: left;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.stats-wrapper {
    margin-bottom: 2rem;
}

.stat-box {
    background-color: var(--dark-bg);
    padding: 1.5rem;
    border-radius: 5px;
    display: flex;
    flex: 1;
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--text-white);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-about {
    background-color: var(--dark-grey);
    color: var(--text-white);
    border: 2px solid var(--border-color);
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-about:hover {
    background-color: var(--light-grey);
    color: var(--text-white);
    border-color: var(--light-grey);
    transform: translateY(-2px);
}

.list-dash {
  --dash-color: currentColor; 
  --dash-size: 1.25em;
}

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

.list-dash li::before {
  content: "";
  position: absolute;
  left: 0;
  top: calc((1.5em - 1rem) / 2); /* (line-height - icon-height) / 2 */
  width: 1rem;  /* 16px */
  height: 1rem; /* 16px */
  background-color: var(--dash-color);
  
  /* Применяем маску из SVG */
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M4 8a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 4 8'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M4 8a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 4 8'/%3E%3C/svg%3E");
  
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

/* Competencies Section */
.competencies-section {
    padding: 100px 0;
    background-color: var(--dark-bg);
    background-image: url('images/bg-competencies.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;   
}

.section-subtitle {
    font-size: 1rem;
    color: var(--light-grey);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.section-title-white {
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-white);
    text-align: left;
    line-height: 1.3;
}

.competency-card {
    background-color: var(--dark-grey);
    border: 1px solid var(--border-color);
    border-radius: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: row;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    min-height: 200px;
	width: 100%;
}

.competency-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
    border-color: var(--accent-silver);
}

.competency-image-wrapper {
    flex: 0 0 42%;
    min-width: 160px;
    max-width: 220px;
    overflow: hidden;
    background-color: var(--dark-bg);
    position: relative;
}

.competency-image-wrapper img {
    width: 100%;
    height: 100%;
    min-height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.competency-card:hover .competency-image-wrapper img {
    transform: scale(1.05);
}

.competency-content-wrapper {
    flex: 1;
    padding: 1.75rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.competency-title {
    font-size: 1.05rem;
    font-weight: bold;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    line-height: 1.3;
    color: var(--text-white);
}

.competency-title i {
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-top: 3px;
    font-size: 1.2rem;
    color: var(--accent-silver);
}

.competency-card:hover .competency-title i {
    transform: translateX(5px);
    color: var(--text-white);
}

.competency-description {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background-color: var(--dark-grey);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    width: 300px;
    height: 300px;
    opacity: 0.3;
    z-index: 0;
    
    /* Настройки фона */
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain; /* Или cover, если нужно заполнить всё */
    
    /* SVG (Черный цвет fill='black') */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cg transform='translate(1.4 1.4) scale(2.81)'%3E%3Cpath d='M 83.252 64.522 h -8.626 c -0.553 0 -1 -0.447 -1 -1 c 0 -0.553 0.447 -1 1 -1 h 8.626 c 2.618 0 4.747 -2.129 4.747 -4.747 V 19.153 c 0 -2.618 -2.129 -4.747 -4.747 -4.747 H 25.776 c -0.552 0 -1 -0.448 -1 -1 s 0.448 -1 1 -1 h 57.476 c 3.721 0 6.748 3.027 6.748 6.748 v 38.621 C 90 61.495 86.973 64.522 83.252 64.522 z' fill='black'/%3E%3Cpath d='M 63.165 38.464 L 80.51 22.551 c 0.407 -0.374 0.435 -1.006 0.062 -1.413 c -0.374 -0.408 -1.009 -0.434 -1.413 -0.061 L 54.514 43.685 l -21.89 -20.081 c -0.407 -0.374 -1.039 -0.346 -1.413 0.061 c -0.374 0.407 -0.346 1.04 0.061 1.413 l 14.591 13.386 l -8.271 7.587 c -0.407 0.374 -0.434 1.007 -0.061 1.413 c 0.197 0.215 0.467 0.324 0.737 0.324 c 0.241 0 0.484 -0.087 0.676 -0.263 l 8.397 -7.705 l 6.496 5.959 c 0.191 0.175 0.434 0.263 0.676 0.263 c 0.242 0 0.484 -0.088 0.676 -0.263 l 6.496 -5.959 L 79.158 55.85 c 0.191 0.176 0.434 0.263 0.676 0.263 c 0.271 0 0.54 -0.109 0.737 -0.324 c 0.373 -0.406 0.346 -1.039 -0.062 -1.413 L 63.165 38.464 z' fill='black'/%3E%3Cpath d='M 51.109 77.594 c -9.933 0 -22.907 -8.348 -32.834 -18.275 C 5.056 46.101 -5.362 27.479 3 17.832 c 0.4 -0.461 0.921 -0.82 1.55 -1.067 c 1.112 -0.436 3.182 -1.31 5.988 -2.527 v 0 c 1.273 -0.552 2.492 -1.086 3.428 -1.498 c 1.473 -0.647 3.201 -0.089 4.022 1.295 l 7.917 13.342 c 0.568 0.956 0.593 2.158 0.067 3.137 l -4.909 9.145 c -0.25 0.466 -0.167 1.03 0.207 1.404 l 15.261 15.261 c 0.374 0.375 0.94 0.456 1.404 0.207 l 9.145 -4.908 c 0.979 -0.526 2.179 -0.5 3.136 0.066 l 13.344 7.918 c 1.384 0.821 1.94 2.55 1.294 4.022 c -0.412 0.936 -0.945 2.155 -1.497 3.427 v 0.001 c -1.241 2.862 -2.092 4.876 -2.528 5.988 c -0.244 0.626 -0.603 1.148 -1.065 1.549 C 57.363 76.676 54.403 77.594 51.109 77.594 z M 11.256 16.106 C 8.43 17.332 6.42 18.18 5.281 18.627 c -0.324 0.127 -0.583 0.3 -0.769 0.515 C -3.012 27.822 7.105 45.32 19.69 57.905 C 32.275 70.49 49.774 80.606 58.454 73.083 c 0.215 -0.187 0.388 -0.444 0.514 -0.768 c 0.136 -0.346 0.311 -0.777 0.523 -1.289 l -0.063 0.063 l 2.105 -4.849 c 0.551 -1.269 1.082 -2.483 1.493 -3.416 c 0.24 -0.547 0.032 -1.191 -0.484 -1.496 L 49.197 53.41 c -0.357 -0.212 -0.803 -0.222 -1.17 -0.025 l -9.144 4.908 c -1.251 0.67 -2.764 0.448 -3.766 -0.555 l -15.261 -15.26 c -1.003 -1.003 -1.226 -2.516 -0.555 -3.766 l 4.909 -9.145 c 0.196 -0.365 0.186 -0.813 -0.025 -1.17 l -7.917 -13.342 c -0.306 -0.516 -0.95 -0.726 -1.497 -0.484 C 13.813 14.992 12.561 15.541 11.256 16.106 L 11.256 16.106 z M 62.373 66.597 l -0.642 -0.642 L 62.373 66.597 z' fill='black'/%3E%3C/g%3E%3C/svg%3E");
}

.contact-section .container {
    position: relative;
    z-index: 1;
}

.contact-form .form-control {
    background-color: var(--dark-bg);
    border: 1px solid var(--border-color);
    color: var(--text-white);
    padding: 12px 15px;
    border-radius: 5px;
}

.contact-form .form-control:focus {
    background-color: var(--dark-bg);
    border-color: var(--accent-silver);
    color: var(--text-white);
    box-shadow: 0 0 0 0.2rem rgba(192, 192, 192, 0.25);
}

.contact-form .form-control::placeholder {
    color: var(--text-light);
}

.btn-contact {
    background-color: var(--light-grey);
    color: var(--text-white);
    border: 2px solid var(--border-color);
    padding: 12px 40px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-contact:hover {
    background-color: var(--text-white);
    color: var(--dark-bg);
    border-color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

.form-help-text {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background-color: var(--dark-bg);
    padding: 30px 0;
    border-top: 1px solid var(--border-color);
}

.footer-text {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 42px;
    height: 42px;
    background-color: var(--light-grey);
    color: var(--text-white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(0px);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top.show:hover {
    background-color: var(--text-white);
    color: var(--dark-bg);
    transform: translateY(-5px);
    box-shadow: 0 6px 10px rgba(255, 255, 255, 0.3);
}

.scroll-to-top i {
    font-size: 1.5rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-title-white {
        font-size: 1.8rem;
    }
    
    .logo-icon-large {
        width: 150px;
        height: 150px;
    }
    
    .competency-card {
        min-height: 170px;
    }
    
    .competency-image-wrapper {
        flex: 0 0 38%;
        min-width: 140px;
        max-width: 180px;
    }
    
    .competency-content-wrapper {
        padding: 1.5rem;
    }
    
    .competency-title {
        font-size: 0.95rem;
        margin-bottom: 0.6rem;
    }
    
    .competency-description {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-title-white {
        font-size: 1.5rem;
    }
    
    .btn-hero {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .stats-wrapper {
        flex-direction: column;
        gap: 2rem !important;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .competency-card {
        margin-bottom: 1rem;
        flex-direction: column;
        min-height: auto;
    }
    
    .competency-image-wrapper {
        flex: 0 0 auto;
        width: 100%;
        height: 200px;
        min-width: 100%;
    }
    
    .competency-content-wrapper {
        padding: 1.25rem;
    }
    
    .competency-title {
        font-size: 0.95rem;
    }
    
    .competency-description {
        font-size: 0.85rem;
    }
    
    .contact-section::before {
        display: none;
    }
    
    .form-help-text {
        margin-top: 1rem;
    }
    
    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
    
    .section-title-white {
        font-size: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .about-section,
    .competencies-section,
    .contact-section {
        padding: 60px 0;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .logo-icon {
        width: 30px;
        height: 30px;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Section Spacing */
section {
    scroll-margin-top: 80px;
}
