:root {
    --emerald-dark: #0b3b2e;
    --emerald-medium: #117864;
    --emerald-light: #1abc9c;
    --emerald-gradient: linear-gradient(135deg, var(--emerald-dark), var(--emerald-medium), var(--emerald-light));
    --gold-accent: #c49c68;
    --dark: #1a1a1a;
    --light: #f8f9fa;
    --text-light: #ffffff;
    --text-dark: #1a1a1a;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

html {
    scroll-behavior: smooth;
}


/* Основные стили */
body {
    font-family: 'Raleway', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    background: var(--emerald-gradient);
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.1), transparent);
    pointer-events: none;
    z-index: 1;
    filter: blur(10px); /* сглаживание */
}

/*section {*/
/*    background: rgba(143, 237, 218, 0.15);*/
/*    backdrop-filter: blur(6px);*/
/*    -webkit-backdrop-filter: blur(6px);*/
/*    border-top: 1px solid rgba(143, 237, 218, 0.3);*/
/*    border-bottom: 1px solid rgba(143, 237, 218, 0.3);*/
/*}*/

/*section {*/
/*    background: var(--emerald-gradient);*/
/*}*/

h1, h2, h3, h4, h5, h6, .display-font {
    font-family: 'Prata', serif;
    font-weight: 800;
    line-height: 1.4;
}

/* Навигация */
.navbar {
    background: rgba(11, 59, 46, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 12px 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(26, 188, 156, 0.3);
}

.navbar.sticky-top {
    padding: 8px 0;
    background: rgba(11, 59, 46, 0.98);
}

.navbar-brand {
    padding: 0;
    margin-right: 1rem;
}


.nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    font-size: 16px;
    padding: 10px 15px !important;
    margin: 0 3px;
    position: relative;
    transition: all 0.3s ease;
    border-radius: 0; /* не нужен скруглённый фон */
}

.nav-link::before {
    display: none;
}

.nav-link-inner {
    position: relative;
    z-index: 1;
}

.search-form {
    max-width: 220px;
}

.search-input {
    height: 34px;
    font-size: 14px;
}

.logo-img {
    transition: all 0.3s ease;
    filter: brightness(1.1) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.logo-img:hover {
    transform: scale(1.03);
    filter: brightness(1.2) drop-shadow(0 3px 6px rgba(0, 0, 0, 0.15));
}


.nav-link::after {
    content: '';
    position: absolute;
    left: 20%;
    bottom: 4px;
    width: 60%;
    height: 2px;
    background-color: white;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
    border-radius: 1px;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.nav-link:hover,
.nav-link.active {
    color: white !important;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

.nav-link.active {
    color: white !important;
    font-weight: 600;
    text-shadow: none;
}

.nav-link:hover {
    background: transparent !important;
    text-shadow: none !important;
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.3);
}

.navbar-toggler-icon {
    width: 1.5em;
    height: 1.5em;
    transition: all 0.3s ease;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-width='2.5' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.navbar-toggler:hover .navbar-toggler-icon {
    opacity: 0.8;
    transform: scale(1.05);
}

.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--text-light);
    overflow: hidden;
    padding: 30px 0;
}

/* Видео как фон */
#hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}


/* Сохраняем стиль hero-content */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(6px);
    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}


/* О нас - исправление белого фона */
#about {
    /*background: var(--emerald-dark);*/
    /*color: white;*/
}

#about p {
    color: whitesmoke;
}

/* Карточки "О нас" - одинаковый размер */
.stats-box {
    text-align: center;
    padding: 40px 20px;
    background: var(--emerald-dark);
    border-radius: 10px;
    margin-bottom: 10px;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);

}

.stats-box:hover {
    background: #0b3b2e;
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(26, 188, 156, 0.25),
    0 0 0 1px rgba(250, 250, 250, 0.5),
    inset 0 0 20px rgb(243, 234, 195);
    transform: translateY(-5px);
}

.stats-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--gold-accent);
    margin-bottom: 15px;
}

.stats-box p {
    color: rgba(255, 255, 255, 0.85) !important;
}


.credit-card {
    background: var(--emerald-dark);
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(11, 59, 46, 0.2),
    0 6px 36px rgba(26, 188, 156, 0.15),
    inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.credit-card h4 {
    color: var(--gold-accent);
}

.credit-card h2 {
    color: var(--gold-accent);
}

.credit-card a {
    background-color: var(--gold-accent);
}

.credit-card a:hover {
    /*background-color: whitesmoke;*/
}

.credit-card p {
    color: whitesmoke;
}

.credit-card {
    transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.service-card {
    transition: box-shadow 0.5s ease, transform 0.5s ease;
}

.credit-card:hover {
    box-shadow: 0 12px 40px rgba(26, 188, 156, 0.25),
    0 0 0 1px rgba(250, 250, 250, 0.5),
    inset 0 0 20px rgb(243, 234, 195);
    transform: translateY(-5px);
}

.btn-view-more {
    background: var(--gold-accent);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: black;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.btn-view-more:hover {
    background: rgb(20, 120, 112);
    color: white;
    transform: translateY(-2px);
}


/* FAQ - улучшенный стиль */
.accordion-item {
    border: none;
    margin-bottom: 15px;
    border-radius: 10px !important;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: white;
}

.accordion-button {
    background: var(--emerald-dark);
    font-weight: 600;
    color: whitesmoke;
    padding: 20px;
}

.accordion-button:not(.collapsed) {
    background: var(--emerald-medium);
    color: white;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-body {
    padding: 20px;
    color: rgba(0, 0, 0, 0.8);
}

/* Футер */
footer {
    background: var(--emerald-dark);
    color: var(--text-light);
    padding: 80px 0 30px;
    position: relative;
}

footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: var(--gold-accent);
}

.navbar::after {
    content: '';
    position: absolute;
    bottom: 0; /* ✅ теперь под navbar */
    left: 0;
    width: 100%;
    height: 2px; /* например, потоньше */
    background: var(--gold-accent); /* твой золотистый */
    z-index: 5;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.footer-logo span {
    color: var(--gold-accent);
}

.footer-links h5 {
    color: var(--gold-accent);
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--gold-accent);
    padding-left: 5px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    margin-right: 10px;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--gold-accent);
    color: var(--dark);
    transform: translateY(-3px);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 40px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* Кнопки */
.btn {
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: none;
}

.section-title h2 {
    color: var(--gold-accent);
}

.section-title {
    color: var(--gold-accent);
}


.btn-primary {
    background: var(--emerald-medium);
    color: white;
}

.btn-primary:hover {
    background: var(--emerald-dark);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(26, 188, 156, 0.3);
}

.btn-outline-primary {
    border: 2px solid var(--emerald-medium);
    color: var(--emerald-medium);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--emerald-medium);
    color: white;
    transform: translateY(-3px);
}

.btn-accent {
    background: var(--gold-accent);
    color: var(--dark);
}

.btn-accent:hover {
    background: #c9a227;
    color: var(--dark);
    transform: translateY(-3px);
}

.btn-custom {
    border-radius: 20px;
    background: var(--gold-accent);
    margin-top: 10px;
}

.btn-custom:hover {
    background: rgb(20, 120, 112);
    color: white;
}


.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}


.back-to-top:hover {
    background-color: var(--primary);
    color: white;
}


.flag-icon {
    vertical-align: middle;
    margin-right: 5px;
}

.dropdown-item .flag-icon {
    margin-right: 8px;
}

/* Адаптивность */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: var(--emerald-dark);
        padding: 20px;
        margin-top: 15px;
        border-radius: 10px;
    }

    .navbar-nav {
        align-items: flex-end; /* выравниваем по правому краю */
        text-align: right; /* текст тоже к правому краю */
    }

    .hero h1 {
        font-size: 2.5rem;
        color: var(--emerald-gradient);
    }

    section {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 70vh;
        background-attachment: scroll;
    }

    .hero-content {
        padding: 30px 20px;
        margin: 0 15px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }
}

@media (max-width: 767.98px) {
    .hero {
        min-height: 70vh;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
}

@media (max-width: 575.98px) {
    .hero {
        min-height: 60vh;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

