:root {
    --primary-color: #FF5F49;
    --dark-color: #3D3D3D;
    --white-color: #FFFFFF;
    --light-bg: #F4F4F5;
    --gradient-start: #FF5F49;
    --gradient-end: #FF8A7A;
}

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

html {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--dark-color);
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
}

/* Предотвращение горизонтального скролла */
.container {
    max-width: 1320px;
    padding-left: 20px;
    padding-right: 20px;
    margin-left: auto;
    margin-right: auto;
}

.container-fluid {
    max-width: 100%;
    overflow-x: hidden;
}

.row {
    max-width: 100%;
    overflow-x: hidden;
    margin-left: -15px;
    margin-right: -15px;
}

section {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

img, svg {
    max-width: 100%;
    height: auto;
}

/* Дополнительные отступы для больших экранов */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
        padding-left: 40px;
        padding-right: 40px;
    }
}

@media (min-width: 1600px) {
    .container {
        max-width: 1500px;
        padding-left: 60px;
        padding-right: 60px;
    }
}

@media (min-width: 1920px) {
    .container {
        max-width: 1600px;
        padding-left: 80px;
        padding-right: 80px;
    }
}

@media (max-width: 767px) {
    .row {
        margin-left: -12px;
        margin-right: -12px;
    }
    
    .row > * {
        padding-left: 12px;
        padding-right: 12px;
    }
}

/* Navigation */
#mainNav {
    background: white;
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    width: 100%;
    z-index: 1030;
}

#mainNav .navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 1px;
    text-decoration: none;
}

#mainNav .navbar-toggler {
    border-color: var(--dark-color);
}

#mainNav .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(61, 61, 61, 0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.logo-icon {
    margin-right: 12px;
    transition: all 0.3s ease;
}

.navbar-brand:hover .logo-icon {
    transform: rotate(360deg);
}

.logo-text-wrapper {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text-brand {
    color: #FF5F49;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 1px;
    font-family: 'Rajdhani', 'Segoe UI', sans-serif;
    text-transform: uppercase;
}

.logo-slogan {
    color: rgba(61, 61, 61, 0.6);
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-top: -2px;
}

.logo-img {
    height: 100px;
    width: auto;
    transition: all 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.logo-text {
    background: linear-gradient(135deg, var(--primary-color), #00D4FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

#mainNav .navbar-nav {
    flex-wrap: nowrap;
    white-space: nowrap;
}

#mainNav .nav-link {
    color: var(--dark-color);
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    font-size: 0.95rem;
    white-space: nowrap;
    transition: all 0.3s ease;
}

#mainNav .nav-link i {
    font-size: 1rem;
    opacity: 0.8;
    transition: all 0.3s ease;
}

#mainNav .navbar-nav .social-icon {
    width: auto;
    height: auto;
    margin: 0 0.15rem;
}

#mainNav .navbar-nav .social-icon-img {
    width: 28px;
    height: 28px;
}

#mainNav .navbar-nav .btn-primary {
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
    margin-left: 0.5rem !important;
}

#mainNav .nav-link:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

#mainNav .nav-link:hover i {
    opacity: 1;
    transform: scale(1.1);
}

#mainNav .dropdown-menu {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    margin-top: 0.5rem;
}

#mainNav .dropdown-item {
    color: var(--dark-color);
    transition: all 0.3s ease;
    padding: 0.75rem 1.25rem;
}

#mainNav .dropdown-item i {
    color: var(--primary-color);
    font-size: 1rem;
    transition: all 0.3s ease;
}

#mainNav .dropdown-item:hover {
    background: var(--primary-color);
    color: white;
}

#mainNav .dropdown-item:hover i {
    color: white;
    transform: translateX(3px);
}

/* Social Icons в navbar */
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    margin: 0 0.25rem;
    transition: all 0.3s ease;
    background: none;
    border: none;
    padding: 0;
}

.social-icon:hover {
    transform: translateY(-3px) scale(1.1);
}

/* SVG иконки для социальных сетей */
.social-icon-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.social-icon:hover .social-icon-img {
    transform: scale(1.1);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 80vh;
    background: url('../hero.jpg') center/cover no-repeat;
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: none;
}

.hero-section .container {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-section .row {
    width: 100%;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: none;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    opacity: 0;
    color: var(--dark-color);
    animation: heroTitleAppear 1s ease-out forwards;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--dark-color);
    opacity: 0;
    animation: heroSubtitleAppear 1s ease-out 0.3s forwards;
}

@keyframes heroTitleAppear {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes heroSubtitleAppear {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 0.9;
        transform: translateY(0);
    }
}

.hero-buttons-animated {
    opacity: 0;
    animation: heroButtonsAppear 0.8s ease-out 0.6s forwards;
}

@keyframes heroButtonsAppear {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    animation: heroScrollAppear 0.8s ease-out 1s forwards;
}

@keyframes heroScrollAppear {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.scroll-down {
    display: inline-block;
    color: var(--primary-color);
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--gradient-end));
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 95, 73, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(255, 95, 73, 0.4);
    background: linear-gradient(135deg, var(--gradient-end), var(--primary-color));
}

.btn-outline-light {
    border: 2px solid white;
    color: white;
    background: transparent;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: white;
    color: var(--dark-color);
    border-color: white;
    transform: translateY(-3px);
}

.btn-outline-dark {
    border: 2px solid var(--dark-color);
    color: var(--dark-color);
    background: transparent;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline-dark:hover {
    background: var(--dark-color);
    color: white;
    border-color: var(--dark-color);
    transform: translateY(-3px);
}

/* Stats Section */
.stats-section {
    background: white;
    padding: 4rem 0;
}

.stat-item {
    padding: 2rem;
}

.stat-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: block;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--dark-color);
    opacity: 0.8;
    font-weight: 500;
}

/* Section Headers */
.section-header {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--dark-color);
    opacity: 0.7;
    max-width: 700px;
    margin: 0 auto;
}

/* Products Section */
.products-section {
    padding: 6rem 0;
    background: var(--light-bg);
}

.product-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 2px solid transparent;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(255, 95, 73, 0.2);
}

.product-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--gradient-end));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
}

.product-card:hover .product-icon {
    transform: rotate(360deg) scale(1.1);
}

.product-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.product-description {
    color: var(--dark-color);
    opacity: 0.7;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.product-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.product-link:hover {
    transform: translateX(5px);
}

/* Solutions Section */
.solutions-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--dark-color) 0%, #2a3844 100%);
    position: relative;
    overflow: hidden;
}

.solutions-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23FF5F49" fill-opacity="0.05" d="M0,224L48,213.3C96,203,192,181,288,181.3C384,181,480,203,576,224C672,245,768,267,864,250.7C960,235,1056,181,1152,165.3C1248,149,1344,171,1392,181.3L1440,192L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z"></path></svg>') no-repeat top;
    background-size: cover;
}

.solution-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    transition: all 0.4s ease;
    height: 100%;
}

.solution-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
    transform: translateX(10px);
}

.solution-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--gradient-end));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    flex-shrink: 0;
}

.solution-content {
    flex: 1;
}

.solution-category {
    display: inline-block;
    background: rgba(255, 95, 73, 0.2);
    color: var(--primary-color);
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.solution-title {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.solution-description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.solution-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.solution-link:hover {
    transform: translateX(5px);
}

/* Services Section */
.services-section {
    padding: 6rem 0;
    background: white;
}

.service-card {
    background: var(--light-bg);
    border-radius: 15px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
}

.service-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 95, 73, 0.15);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.service-text {
    color: var(--dark-color);
    opacity: 0.7;
    line-height: 1.6;
}

/* Training & Support Section */
.training-section {
    padding: 6rem 0;
    background: white;
}

.training-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 20px;
    padding: 0;
    height: 100%;
    transition: all 0.4s ease;
    overflow: hidden;
}

.training-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 95, 73, 0.15);
}

.training-card-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--gradient-end));
    padding: 3rem 2rem;
    text-align: center;
}

.training-card-icon i {
    font-size: 4rem;
    color: white;
}

.training-card-content {
    padding: 2rem;
}

.training-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.training-card-text {
    color: var(--dark-color);
    opacity: 0.7;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.training-list {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.training-list li {
    color: var(--dark-color);
    padding: 0.5rem 0;
    font-size: 0.95rem;
}

.training-list i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.training-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.training-link:hover {
    transform: translateX(5px);
    color: var(--gradient-end);
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
    background: var(--light-bg);
}

.contact-info {
    font-size: 1.1rem;
}

.contact-info i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.contact-form {
    background: var(--light-bg);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.contact-form .form-control {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(1, 176, 234, 0.15);
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 2rem 0 1rem;
}

.footer-logo {
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), #00D4FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-logo-img {
    height: 120px;
    width: auto;
    display: block;
}

.footer-title {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--primary-color);
}

.footer-social {
    display: flex;
    gap: 0.5rem;
}

.footer-social .social-icon {
    width: auto;
    height: auto;
}

.footer-social .social-icon-img {
    width: 32px;
    height: 32px;
}

/* Floating Messengers */
.floating-messengers {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.float-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    background: none;
    border: none;
    padding: 0;
    transition: all 0.3s ease;
    animation: pulse-float 2s infinite;
}

.float-icon:hover {
    transform: scale(1.1);
}

/* SVG иконки для floating мессенджеров */
.float-icon-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.float-icon:hover .float-icon-img {
    transform: scale(1.1);
}

@keyframes pulse-float {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@media (max-width: 767px) {
    .floating-messengers {
        bottom: 20px;
        right: 20px;
        gap: 12px;
    }
    
    .float-icon {
        width: auto;
        height: auto;
    }
    
    .float-icon-img {
        width: 32px;
        height: 32px;
    }
}

/* Portfolio & About Pages */
.portfolio-hero {
    background: url('../hero.jpg') center/cover no-repeat;
    padding: 8rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.solution-hero {
    background: url('../solution-hero.png') center/cover no-repeat !important;
    min-height: 91vh;
    display: flex;
    align-items: center;
}

.portfolio-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: none;
}


.min-vh-50 {
    min-height: 50vh;
}

.project-section {
    position: relative;
}

.project-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--gradient-end));
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
}

.project-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark-color);
    opacity: 0.8;
}

.project-list {
    list-style: none;
    padding: 0;
}

.project-list li {
    padding: 0.5rem 0;
    color: var(--dark-color);
}

.project-list i {
    color: var(--primary-color);
}

.project-features {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-5px);
}

.feature-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.feature-item:hover i {
    color: white;
}

.feature-item span {
    font-size: 0.9rem;
    font-weight: 600;
}

/* About Page */
.about-intro {
    background: white;
}

.philosophy-section {
    position: relative;
}

.philosophy-values {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.value-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

.value-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.value-item i {
    font-size: 3rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.value-item h5 {
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.value-item p {
    margin: 0;
    color: var(--dark-color);
    opacity: 0.7;
}

.about-stats {
    background: linear-gradient(135deg, var(--dark-color) 0%, #2a3844 100%);
    color: white;
}

.about-stats .section-title {
    color: white;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-10px);
}

.stat-card .stat-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.stat-card .stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
}

.stat-card .stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

/* Team Section */
.team-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    height: 100%;
}

.team-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(1, 176, 234, 0.2);
}

.team-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--gradient-end));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
}

.team-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.team-position {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.team-position-en {
    color: var(--dark-color);
    opacity: 0.6;
    font-size: 0.9rem;
    margin: 0;
}

/* Sub Solutions Cards */
.sub-solutions-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
}

.sub-solutions-section .section-title {
    text-align: left;
    font-size: 1.5rem;
    font-weight: 700;
    color: #3D3D3D;
    margin-bottom: 2rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.sub-solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.sub-solution-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid transparent;
    position: relative;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sub-solution-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.sub-solution-title {
    font-size: 1rem;
    font-weight: 700;
    color: #3D3D3D;
    margin-bottom: 0;
    line-height: 1.4;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.sub-solution-badge {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: #f5f5f5;
    color: #3D3D3D;
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    border: 1px solid #d0d0d0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.cta-section {
    background: var(--light-bg);
}

/* Scroll Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Animation delays */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }

/* Responsive */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .solution-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    /* Логотип меньше на планшетах */
    .logo-icon svg {
        width: 35px;
        height: 35px;
    }
    
    .logo-text-brand {
        font-size: 1.3rem;
    }
    
    .logo-slogan {
        font-size: 0.65rem;
    }
}

@media (max-width: 767px) {
    /* Portfolio & About pages mobile */
    .portfolio-hero {
        padding: 6rem 0 3rem;
    }
    
    .project-title {
        font-size: 1.5rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .team-avatar {
        width: 100px;
        height: 100px;
        font-size: 3rem;
    }
    
    .value-item {
        flex-direction: column;
        text-align: center;
    }
    
    /* Social Icons на мобильных */
    .nav-item .social-icon {
        width: 44px;
        height: 44px;
        font-size: 1.5rem;
        margin: 0.5rem 0.5rem;
    }
    
    .nav-item.d-flex {
        justify-content: center;
        padding: 1rem 0;
        border-top: 1px solid rgba(255,255,255,0.1);
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    /* Hero секция */
    .hero-title {
        font-size: 1.75rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .hero-buttons .btn-lg {
        width: 100%;
        margin: 0 !important;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
    
    /* Навигация */
    .logo-icon svg {
        width: 32px;
        height: 32px;
    }
    
    .logo-text-brand {
        font-size: 1.1rem;
    }
    
    .logo-slogan {
        font-size: 0.6rem;
    }
    
    #mainNav {
        padding: 0.75rem 0;
    }
    
    #mainNav .nav-link {
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }
    
    #mainNav .nav-link i {
        font-size: 1.2rem;
    }
    
    /* Секции */
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    /* Статистика */
    .stat-icon {
        font-size: 2.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
    
    /* Карточки */
    .product-card,
    .service-card,
    .training-card {
        margin-bottom: 1.5rem;
    }
    
    .product-icon,
    .service-icon {
        font-size: 2.5rem;
    }
    
    /* Решения */
    .solution-card {
        padding: 2rem 1.5rem;
    }
    
    .solution-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .solution-title {
        font-size: 1.25rem;
    }
    
    /* Обучение */
    .training-card-icon {
        padding: 2rem 1.5rem;
    }
    
    .training-card-icon i {
        font-size: 3rem;
    }
    
    .training-card-content {
        padding: 1.5rem;
    }
    
    .training-card-title {
        font-size: 1.25rem;
    }
    
    /* Форма контактов */
    .contact-form {
        padding: 2rem 1.5rem;
    }
    
    .contact-info {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    /* Footer */
    .footer-logo-img {
        height: 100px;
    }
    
    .footer-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    /* Очень маленькие экраны */
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .btn-primary {
        font-size: 0.85rem;
        padding: 0.75rem 1rem;
        min-height: 48px; /* Минимальная высота для удобства тача */
    }
    
    /* Контейнеры с меньшими отступами */
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    section {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
    
    /* Увеличенные области нажатия для ссылок */
    .nav-link,
    .dropdown-item {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    /* Формы - увеличенные поля ввода */
    .form-control {
        min-height: 48px;
        font-size: 16px; /* Предотвращает зум на iOS */
    }
    
    .form-control:focus {
        font-size: 16px;
    }
    
    /* Логотип меньше */
    .logo-icon svg {
        width: 28px;
        height: 28px;
    }
    
    .logo-text-brand {
        font-size: 1rem;
    }
    
    .logo-slogan {
        font-size: 0.55rem;
    }
}

/* Start Project Modal */
.start-project-modal {
    border-radius: 20px;
    border: none;
    overflow: hidden;
    max-width: 900px;
}

.start-project-header {
    border-bottom: 1px solid #e0e0e0;
    padding: 2rem 2.5rem 1.5rem;
    position: relative;
    background: white;
}

.start-project-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #3D3D3D;
    margin: 0;
    display: inline-block;
    position: relative;
}

.start-project-title-underline {
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100px;
    height: 3px;
    background: #FF5F49;
}

.start-project-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #FF5F49;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    opacity: 1;
}

.start-project-close:hover {
    transform: rotate(90deg);
    opacity: 1;
}

.start-project-body {
    background: #f5f5f5;
}

.start-project-content {
    display: flex;
    min-height: 500px;
}

.start-project-form-section {
    flex: 1;
    padding: 2.5rem;
    background: #f5f5f5;
}

.start-project-form-field {
    margin-bottom: 1.5rem;
}

.start-project-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.start-project-form-label {
    display: block;
    font-size: 0.95rem;
    color: #3D3D3D;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.start-project-form-input {
    width: 100%;
    border: none;
    border-bottom: 2px solid rgba(255, 95, 73, 0.3);
    padding: 0.75rem 0;
    font-size: 1rem;
    color: #3D3D3D;
    background: transparent;
    transition: border-color 0.3s ease;
}

.start-project-form-input:focus {
    outline: none;
    border-bottom-color: #FF5F49;
}

.start-project-form-textarea {
    min-height: 80px;
    resize: vertical;
}

.start-project-checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}

.start-project-checkbox {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    flex-shrink: 0;
    cursor: pointer;
}

.start-project-checkbox-text {
    font-size: 0.85rem;
    color: #3D3D3D;
    line-height: 1.5;
}

.start-project-checkbox-text a {
    color: #3D3D3D;
    text-decoration: none;
}

.start-project-checkbox-text .text-link {
    color: #FF5F49;
    text-decoration: underline;
}

.start-project-checkbox-text .text-link:hover {
    text-decoration: none;
}

.start-project-submit-btn {
    width: 100%;
    background: #FF5F49;
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.start-project-submit-btn:hover {
    background: #e54d38;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 95, 73, 0.3);
}

.start-project-submit-btn i {
    font-size: 1.1rem;
}

.start-project-info-section {
    flex: 0 0 350px;
    background: white;
    padding: 2.5rem;
    color: #3D3D3D;
    display: flex;
    flex-direction: column;
}

.start-project-info-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #3D3D3D;
}

.start-project-contact-item {
    margin-bottom: 2rem;
}

.start-project-contact-phone {
    font-size: 1.25rem;
    font-weight: 600;
    color: #FF5F49;
    display: block;
    margin-bottom: 0.25rem;
    text-decoration: none;
}

.start-project-contact-label {
    font-size: 0.85rem;
    color: rgba(61, 61, 61, 0.6);
}

.start-project-contact-email {
    font-size: 1.1rem;
    font-weight: 600;
    color: #FF5F49;
    text-decoration: none;
    display: block;
    margin-bottom: 0.25rem;
}

.start-project-logo {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.start-project-logo-icon {
    width: 40px;
    height: 40px;
    background: #FF5F49;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
}

.start-project-logo-text {
    display: flex;
    flex-direction: column;
}

.start-project-logo-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #3D3D3D;
    display: inline-block;
    width: fit-content;
}

.start-project-logo-subtitle {
    font-size: 0.75rem;
    color: rgba(61, 61, 61, 0.5);
    margin-top: 0.25rem;
}

.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.6);
}

@media (max-width: 991px) {
    .start-project-content {
        flex-direction: column;
    }
    
    .start-project-info-section {
        flex: 1;
    }
    
    .start-project-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* Landscape ориентация на мобильных */
@media (max-width: 896px) and (orientation: landscape) {
    .hero-section {
        min-height: auto;
        padding: 4rem 0;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem !important;
    }
    
    .hero-buttons {
        flex-direction: row !important;
        gap: 1rem;
    }
    
    .hero-buttons .btn-lg {
        width: auto !important;
    }
    
    .hero-scroll {
        display: none;
    }
    
    section {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Увеличенные области нажатия для touch */
    a, button {
        min-height: 44px;
        min-width: 44px;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
    }
    
    /* Убираем hover эффекты на touch устройствах */
    .product-card:hover,
    .service-card:hover,
    .training-card:hover,
    .solution-card:hover {
        transform: none;
    }
    
    /* Активное состояние вместо hover */
    .product-card:active,
    .service-card:active,
    .training-card:active {
        transform: translateY(-5px);
        transition: transform 0.1s ease;
    }
}

