:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --accent-color: #dc3545;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.navbar {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.hero {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    color: white;
    padding: 100px 0;
}

.hero h1 {
    font-size: 3rem;
    font-weight: bold;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.95;
}

.btn-modern {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-modern:hover::before {
    width: 300px;
    height: 300px;
}

.btn-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(13, 110, 253, 0.4);
}

.service-card {
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    border-radius: 15px;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 320px;
    height: 100%;
    position: relative;
}

.service-card h4 {
    margin-bottom: 15px;
    text-align: center;
}

.service-card p {
    margin: 0;
    text-align: center;
}

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

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.05) 0%, rgba(10, 88, 202, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 15px;
}

.service-card:hover::after {
    opacity: 1;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2.5rem;
}

.features {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
}

.bg-white {
    background: white;
}

.bg-light {
    background: #f8f9fa;
}

.feature-item {
    text-align: center;
    padding: 30px;
    transition: all 0.3s ease;
    border-radius: 15px;
}

.feature-item:hover {
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: #0d6efd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-form h2 {
    color: #0d6efd;
    margin-bottom: 30px;
}

.contact-info {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    color: white;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGNpcmNsZSBjeD0iMTUiIGN5PSIxNSIgcj0iMiIgZmlsbD0icmdiYSgyNTUsIDI1NSwgMjU1LCAwLjEpLz48Y2lyY2xlIGN4PSI0NSIgY3k9IjQ1IiByPSIyIiBmaWxsPSJyZ2JhKDI1NSwgMjU1LCAyNTUsIDAuMSkvPjxjaXJjbGUgY3g9IjQ1IiBjeT0iMTUiIHI9IjIiIGZpbGw9InJnYmEoMjU1LCAyNTUsIDI1NSwgMC4xKS8+PC9zdmc+');
    opacity: 0.3;
}

.contact-info-item {
    margin-bottom: 30px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 20px;
}

.contact-value {
    color: #333;
    padding: 5px;
    border-radius: 10px;
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid white;
    width: 100%;
}

.contact-info-item:hover {
    transform: scale(1.05);
}

.contact-info-item i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
    transition: all 0.3s ease;
    color: white;
}

.contact-info-item:hover i {
    transform: scale(1.2) rotate(10deg);
}

.contact-info-item h5 {
    margin-bottom: 10px;
    color: white;
}

.contact-info-item:hover i {
    transform: scale(1.2) rotate(10deg);
}

.contact-info-item h5 {
    margin-bottom: 10px;
    color: white;
}


.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #0d6efd, #dc3545);
}

.btn-primary {
    background: #0d6efd;
    border: none;
    border-radius: 8px;
    padding: 12px 30px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    background: #0a58ca;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.4);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    color: #0d6efd;
    font-weight: bold;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #0d6efd, #dc3545);
    border-radius: 2px;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .service-card {
        min-height: 280px;
    }
}

.brand-item {
    background: white;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 2px solid #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 140px;
    padding: 20px;
}

.brand-item:hover {
    border-color: #0d6efd;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(13, 110, 253, 0.1);
}

.brand-item img {
    max-height: 80px;
    max-width: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
}

.brand-item:hover img {
    transform: scale(1.1);
}

/* Footer Styles */
.footer {
    background: #000000;           /* чёрный фон */
    color: #ffffff;                /* белый текст */
    padding: 40px 0;
    text-align: center;            /* выравнивание по центру */
}

.footer a {
    color: #0d6efd;
    text-decoration: none;
}

.footer a:hover {
    color: #dc3545;
}

.footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer p {
    margin: 5px 0;
    color: #ffffff;
}

.footer h5 {
    color: #ffffff;
    margin-bottom: 15px;
}

.footer .social-links {
    margin: 20px 0;
}

.footer .social-links a {
    margin: 0 10px;
    font-size: 1.5rem;
    color: #ffffff;
    transition: all 0.3s ease;
}

.footer .social-links a:hover {
    color: #0d6efd;
    transform: translateY(-3px);
}

/* Honeypot field - must be hidden but accessible */
.d-none {
    display: none !important;
}

/* Modal styles */
.modal-content {
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.modal-header .btn-close {
    opacity: 1;
    filter: brightness(0) invert(1);
}

.modal-title {
    color: #0d6efd;
    font-weight: 600;
}

/* Cookie Consent Styles */
.cookie-consent {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 800px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #ffffff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    z-index: 9999;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.cookie-consent.hidden {
    display: none;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-text h6 {
    color: #0d6efd;
    margin: 0 0 10px 0;
    font-size: 16px;
}

.cookie-text p {
    color: #cccccc;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.cookie-link {
    color: #0d6efd;
    text-decoration: none;
    font-size: 14px;
    margin-top: 5px;
    display: inline-block;
}

.cookie-link:hover {
    text-decoration: underline;
}

.cookie-btn {
    background: #0d6efd;
    border: none;
    border-radius: 8px;
    padding: 10px 25px;
    color: #ffffff;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cookie-btn:hover {
    background: #0a58ca;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.4);
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cookie-btn {
        width: 100%;
        margin-top: 15px;
    }
}

