/* Основные переменные и настройки */
:root {
    /* Основные цвета */
    --primary-color: #1A3C40;           /* глубокий сине-зелёный — главный брендовый */
    --secondary-color: #00BFA6;         /* мятный акцент, ассоциируется с ростом и балансом */
    --accent-color: #FFC857;            /* тёплый золотистый — для кнопок и деталей */

    /* Фоны и тексты */
    --light-bg: #F7FAFC;                /* светлый фон страниц */
    --dark-bg: #122B33;                 /* тёмный фон футера/навигации */
    --text-color: #2D3436;              /* основной цвет текста */
    --light-text: #FFFFFF;              /* для контраста на тёмных элементах */

    /* Эффекты и стили */
    --box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease-in-out;
    --border-radius: 12px;

    /* Градиенты */
    --gradient-primary: linear-gradient(135deg, #1A3C40 0%, #00BFA6 100%);
    --gradient-secondary: linear-gradient(135deg, #FFC857 0%, #FF9F1C 100%);
}


/* Сброс стилей */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Основные стили */
body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

/* Служебные классы */
.section-padding {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

.mb-5 {
    margin-bottom: 3rem;
}

/* Навигация */
.navbar {
    background-color: transparent;
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background-color: rgba(44, 62, 80, 0.95);
    padding: 15px 0;
    box-shadow: var(--box-shadow);
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--light-text);
}

.navbar-brand img.logo {
    height: 40px;
    transition: var(--transition);
}

.navbar.scrolled .navbar-brand img.logo {
    height: 35px;
}

.nav-link {
    color: var(--light-text) !important;
    font-weight: 500;
    padding: 8px 15px !important;
    margin: 0 5px;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

/* Главный экран */
.hero-section {
    background: var(--gradient-primary);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../img/hero_back.webp') center/cover no-repeat;
    opacity: 0.1;
    animation: backgroundMove 20s linear infinite;
}

@keyframes backgroundMove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 100% 100%;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--light-text);
}

.hero-section h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    opacity: 1;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards;
}

.hero-section .lead {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 1;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 0.3s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-primary {
    background-color: var(--secondary-color);
    border: none;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transform: skewX(-30deg);
    transition: var(--transition);
}

.btn-primary:hover::before {
    left: 100%;
}

/* О нас секция */
.about-section {
    position: relative;
}

.achievement-box {
    background-color: var(--light-bg);
    border-radius: var(--border-radius);
    padding: 30px;
    margin-top: 2rem;
}

.achievement-item {
    text-align: center;
    padding: 20px;
    transition: var(--transition);
}

.achievement-item:hover {
    transform: translateY(-5px);
}

.achievement-item i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.achievement-item h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.about-image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    position: relative;
}

.grid-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.grid-item img {
    transition: var(--transition);
}

.grid-item:hover img {
    transform: scale(1.1);
}

.grid-item2 {
    position: relative;
    margin-top: 45%;
    margin-right: 15%;
    width: 160%;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.grid-item2 img {
    transition: var(--transition);
}

.grid-item2:hover img {
    transform: scale(1.1);
}

/* Методология */
.methodology-timeline {
    position: relative;
    padding: 40px 0;
}

.methodology-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background-color: var(--secondary-color);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    width: 50%;
    padding: 0 40px;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-icon {
    position: absolute;
    top: 0;
    width: 40px;
    height: 40px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-text);
    transition: var(--transition);
}

.timeline-item:nth-child(odd) .timeline-icon {
    right: -60px;
}

.timeline-item:nth-child(even) .timeline-icon {
    left: -60px;
}

.timeline-content {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateY(-5px);
}

/* Услуги */
.service-card {
    background-color: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-secondary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service-icon i {
    font-size: 2rem;
    color: var(--secondary-color);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--secondary-color);
}

.service-card:hover .service-icon i {
    color: var(--light-text);
}

.service-features {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.service-features li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

/* Отзывы */
.testimonial-card {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
    margin-bottom: 30px;
}

.testimonial-image {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    position: relative;
}

.testimonial-image img {
    border-radius: 50%;
    border: 3px solid var(--secondary-color);
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-position {
    color: var(--secondary-color);
    font-weight: 500;
}

/* Контакты */
.contact-info {
    background-color: var(--light-bg);
    padding: 40px;
    border-radius: var(--border-radius);
    height: 100%;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-right: 15px;
    margin-top: 5px;
}

.contact-details h4 {
    margin-bottom: 5px;
}

.contact-form {
    background-color: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.form-control {
    border: 1px solid #ddd;
    padding: 12px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: none;
}

/* Footer */
.footer {
    background-color: var(--dark-bg);
    color: var(--light-text);
    padding: 60px 0 30px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--light-text);
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

/* Анимации */
@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

/* Медиа запросы */
@media (max-width: 1200px) {
    .hero-section h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 992px) {
    .navbar-nav {
        background-color: var(--dark-bg);
        padding: 20px;
        border-radius: var(--border-radius);
    }

    .hero-section h1 {
        font-size: 3rem;
    }

    .methodology-timeline::before {
        left: 0;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 0;
    }

    .timeline-item:nth-child(odd) {
        text-align: left;
    }

    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-item:nth-child(odd) .timeline-icon {
        right: auto;
        left: -20px;
    }

    .timeline-item:nth-child(even) .timeline-icon {
        left: -20px;
    }
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .section-padding {
        padding: 60px 0;
    }

    .achievement-item {
        margin-bottom: 30px;
    }

    .grid-item {
        margin-bottom: 20px;
    }

    .contact-info {
        margin-bottom: 30px;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section .lead {
        font-size: 1.2rem;
    }

    .btn-primary {
        padding: 10px 20px;
    }
}

/* Дополнительные интерактивные эффекты */
.hover-float {
    transition: var(--transition);
}

.hover-float:hover {
    transform: translateY(-5px);
}

/* Эффект волны для кнопок */
.btn-wave {
    position: relative;
    overflow: hidden;
}

.btn-wave::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.5s;
}

.btn-wave:active::after {
    transform: translate(-50%, -50%) scale(1);
}

/* Карточки с тенью при наведении */
.shadow-hover {
    transition: var(--transition);
}

.shadow-hover:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Анимация загрузки для форм */
.loading {
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Пульсирующая анимация */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Эффект параллакса для фона */
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Кастомный скроллбар */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Анимация появления элементов */
.fade-in {
    opacity: 1;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Стили для модальных окон */
.modal-custom {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: hidden;
    transition: var(--transition);
}

.modal-custom.active {
    opacity: 1;
    visibility: visible;
}

.modal-content-custom {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 90%;
    transform: translateY(-50px);
    transition: var(--transition);
}

.modal-custom.active .modal-content-custom {
    transform: translateY(0);
}

/* Анимированные иконки */
.icon-animate {
    transition: var(--transition);
}

.icon-animate:hover {
    transform: rotate(360deg);
}

/* Эффект подчеркивания для ссылок */
.underline-hover {
    position: relative;
}

.underline-hover::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.underline-hover:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Стили для тегов */
.tag {
    display: inline-block;
    padding: 5px 15px;
    background-color: var(--light-bg);
    border-radius: 20px;
    margin: 5px;
    transition: var(--transition);
}

.tag:hover {
    background-color: var(--secondary-color);
    color: white;
}

/* Эффект свечения */
.glow {
    position: relative;
}

.glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 70%);
    opacity: 1;
    transition: var(--transition);
}

.glow:hover::before {
    opacity: 1;
}

/* Анимация для подсказок */
.tooltip-custom {
    position: relative;
}

.tooltip-custom::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 10px;
    background-color: var(--dark-bg);
    color: white;
    border-radius: var(--border-radius);
    font-size: 0.8rem;
    opacity: 1;
    visibility: hidden;
    transition: var(--transition);
}

.tooltip-custom:hover::before {
    opacity: 1;
    visibility: visible;
}

/* Стили для прогресс-бара */
.progress-custom {
    height: 5px;
    background-color: var(--light-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.progress-bar-custom {
    height: 100%;
    background: var(--gradient-secondary);
    width: 0;
    transition: width 1s ease;
}

/* Анимация загрузки */
@keyframes loading {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.loading-spinner {
    width: 30px;
    height: 30px;
    border: 3px solid var(--light-bg);
    border-top-color: var(--secondary-color);
    border-radius: 50%;
    animation: loading 1s infinite linear;
}

/* Эффект размытия для модальных окон */
.blur-background {
    filter: blur(5px);
    transition: var(--transition);
}

/* Кастомные стили для чекбоксов */
.custom-checkbox {
    position: relative;
    padding-left: 30px;
    cursor: pointer;
}

.custom-checkbox input {
    position: absolute;
    opacity: 1;
    cursor: pointer;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: var(--light-bg);
    border-radius: 3px;
    transition: var(--transition);
}

.custom-checkbox:hover input ~ .checkmark {
    background-color: #ccc;
}

.custom-checkbox input:checked ~ .checkmark {
    background-color: var(--secondary-color);
}

.checkmark:after {
    content: '';
    position: absolute;
    display: none;
}

.custom-checkbox input:checked ~ .checkmark:after {
    display: block;
}

.custom-checkbox .checkmark:after {
    left: 7px;
    top: 3px;
    width: 6px;
    height: 11px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Анимация для счетчиков */
.counter {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

@keyframes countUp {
    from {
        opacity: 1;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.counter.animated {
    animation: countUp 1s forwards;
}

/* Общие стили для новых секций */
.bg-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, #34495e 100%);
    color: var(--light-text);
}

/* Стили для секции "Путь к успеху" */
.path-cards {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    perspective: 1000px;
    padding: 40px 0;
}

.path-card {
    width: 300px;
    height: 400px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s ease-in-out;
}

.path-card:hover {
    transform: rotateY(180deg);
}

.path-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.8s;
}

.path-card-front,
.path-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    padding: 30px;
    background: white;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.path-card-back {
    transform: rotateY(180deg);
    background: var(--gradient-primary);
    color: white;
}

.path-step-number {
    font-size: 4rem;
    font-weight: 700;
    color: var(--secondary-color);
    opacity: 0.3;
    position: absolute;
    top: 20px;
    left: 20px;
}

.path-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin: 20px 0;
}

.path-features {
    list-style: none;
    padding: 0;
    text-align: center;
}

.path-features li {
    margin: 10px 0;
    position: relative;
    padding-left: 20px;
}

.path-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

.path-connector {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg,
    var(--secondary-color) 0%,
    var(--accent-color) 100%);
    position: relative;
    align-self: center;
}

.path-connector::before,
.path-connector::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--secondary-color);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.path-connector::before {
    left: -6px;
}

.path-connector::after {
    right: -6px;
}

/* Стили для секции "Принципы работы" */
.honeycomb {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    justify-content: center;
    transform: translateY(35px);
}

.honeycomb-cell {
    width: 200px;
    height: 230px;
    margin: -30px 10px;
    position: relative;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    transition: transform 0.3s ease-in-out;
}

.honeycomb-cell:hover {
    transform: translateY(-10px);
}

.honeycomb-content {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.honeycomb-content:hover {
    background: rgba(255, 255, 255, 0.2);
}

.honeycomb-content i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.honeycomb-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.honeycomb-content p {
    font-size: 0.9rem;
    line-height: 1.4;
}

.honeycomb-placeholder {
    display: none;
    background: transparent;
}

/* Медиа запросы для адаптивности */
@media (max-width: 1200px) {
    .path-cards {
        flex-direction: column;
    }

    .path-connector {
        width: 4px;
        height: 50px;
    }
}

@media (max-width: 768px) {
    .honeycomb-cell {
        width: 150px;
        height: 180px;
        margin: -20px 8px;
    }

    .honeycomb-content i {
        font-size: 2rem;
    }

    .honeycomb-content h3 {
        font-size: 1rem;
    }

    .honeycomb-content p {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .path-card {
        width: 260px;
        height: 350px;
    }

    .honeycomb-cell {
        width: 130px;
        height: 150px;
    }
}

/* Дополнительные анимации */
@keyframes pulse-border {
    0% {
        box-shadow: 0 0 0 0 rgba(230, 126, 34, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(230, 126, 34, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(230, 126, 34, 0);
    }
}

.path-card-front:hover {
    animation: pulse-border 2s infinite;
}

@keyframes float-honeycomb {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

.honeycomb-cell:hover .honeycomb-content {
    animation: float-honeycomb 2s infinite ease-in-out;
}

/* Основной градиентный фон */
.bg-gradients {
    background: linear-gradient(135deg, #2C3E50 0%, #3498DB 100%);
    position: relative;
    overflow: hidden;
    color: #ffffff;
}

/* Дополнительный слой с эффектом размытия */
.bg-gradients::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
            circle,
            rgba(255, 255, 255, 0.1) 0%,
            rgba(255, 255, 255, 0.05) 25%,
            transparent 50%
    );
    animation: rotate 30s linear infinite;
}

/* Секция контактов */
.contact-section {
    background-color: #f8f9fa;
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

/* Карточка с информацией */
.contact-info-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-5px);
}

.contact-info-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--light-bg);
}

.contact-info-header h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

/* Элементы контактной информации */
.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    padding: 15px;
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

.contact-item:hover {
    background-color: var(--light-bg);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    transition: transform 0.3s ease;
}

.contact-item:hover .contact-icon {
    transform: rotate(360deg);
}

.contact-icon i {
    color: white;
    font-size: 1.5rem;
}

.contact-text {
    flex: 1;
}

.contact-text h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.contact-text p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

/* Форма обратной связи */
.contact-form-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-header {
    margin-bottom: 30px;
    text-align: center;
}

.form-header h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.form-floating {
    margin-bottom: 20px;
}

.form-control {
    border: 2px solid var(--light-bg);
    border-radius: 10px;
    padding: 15px;
    height: auto;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(230, 126, 34, 0.25);
}

.form-floating label {
    padding: 15px;
}

/* Google Maps секция */
.map-section {
    position: relative;
    height: 450px;
}

.map-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    padding: 20px;
}

.map-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    max-width: 300px;
    margin-left: 50px;
}

.map-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.map-card p {
    margin-bottom: 20px;
    color: #666;
}

.map-card i {
    color: var(--secondary-color);
    margin-right: 10px;
}

/* Медиа запросы */
@media (max-width: 992px) {
    .contact-info-card {
        margin-bottom: 30px;
    }

    .map-overlay {
        justify-content: center;
    }

    .map-card {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .contact-form-card,
    .contact-info-card {
        padding: 20px;
    }

    .contact-icon {
        width: 40px;
        height: 40px;
    }

    .contact-icon i {
        font-size: 1.2rem;
    }
}

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 1s ease forwards;
}

/* Hover эффекты для кнопок */
.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    transition: opacity 0.3s ease;
    opacity: 0;
    z-index: -1;
}

.btn-primary:hover::before {
    opacity: 1;
}

.cookie-disclaimer {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background: rgba(33, 37, 41, 0.95);
    backdrop-filter: blur(10px);
    color: white;
    padding: 1rem 0;
    z-index: 1000;
    transition: bottom 0.5s ease-in-out;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.2);
}

.cookie-disclaimer.show {
    bottom: 0;
}

.cookie-disclaimer p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.cookie-disclaimer .btn-accept {
    background: #fff;
    color: #212529;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.cookie-disclaimer .btn-accept:hover {
    background: #f8f9fa;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

@media (max-width: 767px) {
    .cookie-disclaimer {
        text-align: center;
    }
    .cookie-disclaimer .btn-accept {
        margin-top: 1rem;
    }
}