@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:100,100italic,300,300italic,regular,italic,500,500italic,700,700italic,900,900italic');

* {
    font-family: Rubik, sans-serif;
}

.re {
    background-color: black;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

.hero {
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 150px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
}

.feature {
    padding: 100px 0;
    background-color: #000;
}

.feature img {
    max-width: 80%;
    height: auto;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    color: #fff;
}

.features-row {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.features-row .feature-item {
    text-align: center;
    max-width: 300px;
    margin-bottom: 30px;
    color: #fff;
}

.features-row .feature-item i {
    font-size: 3rem;
    margin-bottom: 10px;
    color: #496AB0;
}

.call-to-action {
    background-color: #496AB0;
    color: #fff;
    padding: 100px 0;
    text-align: center;
}

.call-to-action h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

.call-to-action p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
}

.call-to-action .btn-primary {
    background-color: #fff;
    color: #496AB0;
    border: none;
    font-size: 1.25rem;
    padding: 10px 30px;
}

.why-us {
    padding: 100px 0;
    background-color: #000;
    color: #fff;
}

.why-us h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
}

.why-us .advantage-item {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 30px;
    font-size: 1.125rem;
}

.why-us .advantage-item i {
    font-size: 3rem;
    margin-bottom: 10px;
    color: #496AB0;
}

model-viewer {
    width: 100%;
    height: 500px;
}

.model-viewer-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
}

/*Анимация*/
.css-selector {
    background: linear-gradient(182deg, #000000, #24314d, #000000);
    background-size: 600% 600%;

    -webkit-animation: AnimationName 14s ease infinite;
    -moz-animation: AnimationName 14s ease infinite;
    animation: AnimationName 14s ease infinite;
}

@-webkit-keyframes AnimationName {
    0% {
        background-position: 50% 0%
    }
    50% {
        background-position: 51% 100%
    }
    100% {
        background-position: 50% 0%
    }
}

@-moz-keyframes AnimationName {
    0% {
        background-position: 50% 0%
    }
    50% {
        background-position: 51% 100%
    }
    100% {
        background-position: 50% 0%
    }
}

@keyframes AnimationName {
    0% {
        background-position: 50% 0%
    }
    50% {
        background-position: 51% 100%
    }
    100% {
        background-position: 50% 0%
    }
}

.nav-tabs {
    display: flex;
    justify-content: center;
    border-bottom: 1px solid transparent;
    margin-bottom: 20px;
}

.nav-tabs .nav-link {
    border: 2px solid transparent;
    border-radius: 15px;
    padding: 12px 20px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
    text-transform: uppercase;
    color: #4f60a5;
}

.nav-tabs .nav-link:hover,
.nav-tabs .nav-link:focus {
    background-color: rgba(79, 96, 165, 0.1);
    border-color: #4f60a5;
    color: #4f60a5;
}

.nav-tabs .nav-link.active {
    color: #fff;
    background-color: #4f60a5;
    border-color: #4f60a5;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.tab-content {
    border-top: 1px solid transparent;
}

.tab-content .tab-pane {
    padding-top: 20px;
}

@media (max-width: 768px) {
    .nav-tabs {
        display: block;
        text-align: center;
    }
    .nav-tabs .nav-link {
        display: block;
        margin-bottom: 10px;
    }
    .tab-pane {
        display: none;
    }
    .tab-pane.show {
        display: block;
    }
    .tab-content {
        padding-top: 20px;
    }
}

.btn-outline-primary {
    border-color: #496AB0;
    color: #496AB0;
}

.btn-outline-primary:hover {
    background-color: #496AB0;
    border-color: #496AB0;
}