.navbar {
--bs-navbar-active-color: #FFAF01;
}
.btn-warning {
	
}
.dropdown-item.active, .dropdown-item:active {
	--bs-dropdown-link-active-color: #FFAF01;
}
a {
    color: #000;
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Merriweather', serif;
    font-weight: 700;
}

body {
	   font-family: 'Merriweather', serif;
    font-weight: 400;
	background:#F3F3F9;
}
.navbar {
	transition: background 0.3s, padding 0.3s;
	background: transparent;
	padding: 10px 0;
	position: fixed;
	width: 100%;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.navbar.scrolled {
    background: white;
    padding: 0px 0;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.6); /* Тень снизу */
}

.navbar .nav-link {
	color: white;
	font-size: 1.2rem;
	transition: color 0.3s;
}
.navbar.scrolled .nav-link {
	color: black;
}
.navbar-brand img {
	height: 100px;
	transition: opacity 0.3s, height 0.3s;
}
.navbar.scrolled .navbar-brand img {
	height: 80px;
}
.navbar-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
}
.language-menu {
	display: flex;
	gap: 10px;
	align-items: center;
	
}
.language-menu a {
	color: white;
	text-decoration: none;
	font-size: 1rem;
	transition: color 0.3s;
	margin-top:3px;
}
.navbar.scrolled .language-menu a {
	color: black;
}
.dropdown-menu {
	background-color: white;
	border: none;
}
.dropdown-item:hover {
	background-color: #f8f9fa;
}
.menu-toggle {
	cursor: pointer;
	font-size: 2rem;
	color: white;
}
.navbar.scrolled .menu-toggle {
	color: black;
}

.offcanvas-header {
    position: relative;
}

.offcanvas-header .btn-close {
    position: absolute;
    top: 30px;
    right: 30px;
}

.hero-slider {
	position: relative;
	width: 100%;
	height: 100vh;
	overflow: hidden;
}
.hero-slider .item {
	position: relative;
}
.hero-slider .item img {
	width: 100%;
	height: 100vh;
	object-fit: cover;
}
.hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	color: white;
	text-align: center;
	background: rgba(0, 0, 0, 0.5);
	opacity: 0;
	transform: translateX(500px);
	transition: opacity 1s, transform 1s;
}
.active .hero-overlay {
	opacity: 1;
	transform: translateY(0);
}


.logo {
	display:block;
    width: 188px;
    height: 120px;
	content: "";
    background-color: #fff;
    -webkit-mask-image: url("../img/logo.svg");
    mask-image: url("../img/logo.svg");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    transition: background-color 0.3s ease;
}

.head-nav .logo {
	background-color: #fff;
}

.offcanvas-header .logo, .head-nav .logo.blue {
	background-color: #003F73;
}

/*********************/
.blog-grid {
  margin-top: 15px;
  margin-bottom: 15px;
}
.blog-grid .blog-img {
  position: relative;
  border-radius: 5px;
  overflow: hidden;
  height: 250px; /* Фиксированная высота блока */
}

.blog-grid .blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Обрезает лишнее и сохраняет пропорции */
    object-position: center;
    transition: transform 0.3s ease;
}

.blog-grid .blog-img .date {
  position: absolute;
  background: #3a3973;
  color: #ffffff;
  padding: 8px 15px;
  left: 0;
  top: 10px;
  font-size: 14px;
}
.blog-grid .blog-info {
  box-shadow: 0 0 30px rgba(31, 45, 61, 0.125);
  border-radius: 5px;
  background: #ffffff;
  padding: 20px;
  margin: -30px 20px 0;
  position: relative;
}
.blog-grid .blog-info h5 {
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 10px;
  height:80px;
  overflow:hidden;
}
.blog-grid .blog-info h5 a {
  color: #3a3973;
}
.blog-grid .blog-info h5 a:hover {
  color: #FFAF01;
}
.blog-grid .blog-info p {
  margin: 0;
}
.blog-grid .blog-info .btn-bar {
  margin-top: 20px;
}

.px-btn-arrow {
    padding: 0 50px 0 0;
    line-height: 20px;
    position: relative;
    display: inline-block;
    color: #FFAF01;
    -moz-transition: ease all 0.3s;
    -o-transition: ease all 0.3s;
    -webkit-transition: ease all 0.3s;
    transition: ease all 0.3s;
}


.px-btn-arrow .arrow {
    width: 13px;
    height: 2px;
    background: currentColor;
    display: inline-block;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    right: 25px;
    -moz-transition: ease right 0.3s;
    -o-transition: ease right 0.3s;
    -webkit-transition: ease right 0.3s;
    transition: ease right 0.3s;
}

.px-btn-arrow .arrow:after {
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-top: 2px solid currentColor;
    content: "";
    position: absolute;
    top: -3px;
    right: 0;
    display: inline-block;
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}
.px-btn-arrow:hover .arrow {
    right: 15px; /* Двигаем стрелку вправо */
}


/*****************************/
.home-blog {
 /*  padding-top: 50px;
    padding-bottom: 30px;*/
}
@media (min-width: 992px) {
    .home-blog {
        padding-top: 50px;
        padding-bottom: 30px;
    }
}
.home-blog .section-title {
    padding-bottom: 15px;
}
.home-blog .media {
    margin-top: 50px;
	box-shadow: 0px 0px 7px 0px rgba(0,0,0,0.35);
-webkit-box-shadow: 0px 0px 7px 0px rgba(0,0,0,0.35);
-moz-box-shadow: 0px 0px 7px 0px rgba(0,0,0,0.35);
}
@media (min-width: 768px) {
    .home-blog .media {
        margin-top: 30px;
    }
}
.bg-sand {
    background-color: #f5f5f6;
}
.media.blog-media {
    margin-top: 30px;
    position: relative;
    display: block;
}
@media (min-width: 992px) {
    .media.blog-media {
        display: table;
    }
}
.media.blog-media .circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    white-space: nowrap;
    position: absolute;
    padding: 0;
    top: 20px;
    left: 20px;
    text-align: center;
    box-shadow: none;
    transform: translateX(0);
    color: #fff;
    transition: background-color 0.3s ease;
}
.media.blog-media .circle .day {
    color: #fff;
    transition: color 0.25s ease;
    font-weight: 500;
    font-size: 28px;
    line-height: 1;
    margin-top: 12px;
}
.media.blog-media .circle .month {
    text-transform: uppercase;
    font-size: 14px;
}
.media.blog-media > a {
    position: relative;
    display: block;
}
@media (min-width: 992px) {
    .media.blog-media > a {
        display: table-cell;
        vertical-align: top;
        min-width: 200px;
    }
}
@media (min-width: 1200px) {
    .media.blog-media > a {
        min-width: 230px;
    }
}
.media-body .date {
	margin-bottom:15px;
}
.media.blog-media > a:before {
    position: absolute;
    content: "";
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    opacity: 0;
    transform: scale(0);
    transition: transform 0.3s ease, opacity 0.3s;
    background: rgba(0, 0, 0, 0.5);
}
.media.blog-media > a img {
    width: 100%;
}
.media.blog-media:hover > a:before {
    opacity: 1;
    transform: scale(1);
}
.media.blog-media:hover .circle {
    background-color: rgba(255, 255, 255, 0.9);
}
.media.blog-media:hover .circle .day,
.media.blog-media:hover .circle .month {
    color: #222;
}
.media.blog-media:hover .media-body h5 {
    color: #FFAF01;
}
.media.blog-media:hover .media-body a.post-link {
    color: #FFAF01;
    text-decoration: none;
}
.media.blog-media .media-body {
    border: 1px solid #efeff3;
    padding: 30px 30px 10px;
    font-size: 14px;
    background: #fff;
    border-top: none;
}
@media (min-width: 992px) {
    .media.blog-media .media-body {
        padding: 15px 20px 10px;
        border-top: 1px solid #efeff3;
        border-left: none;
        display: table-cell;
        vertical-align: top;
    }
}
@media (min-width: 1200px) {
    .media.blog-media .media-body {
        padding: 30px 20px 10px;
    }
}
.media.blog-media .media-body h5 {
    transition: color 0.3s ease;
    margin-bottom: 15px;
}
@media (min-width: 992px) {
    .media.blog-media .media-body h5 {
        font-size: 15px;
    }
}
@media (min-width: 1200px) {
    .media.blog-media .media-body h5 {
        margin-bottom: 15px;
        font-size: 18px;
    }
}
.media.blog-media .media-body a.post-link {
    display: block;
    color: #222;
    font-size: 11px;
    padding: 23px 0;
    text-transform: uppercase;
    font-weight: 400;
}
@media (min-width: 992px) {
    .media.blog-media .media-body a.post-link {
        padding: 7px 0;
    }
}
@media (min-width: 1200px) {
    .media.blog-media .media-body a.post-link {
        padding: 23px 0;
    }
}
.media.blog-media .media-body ul {
    position: relative;
    padding: 10px 0 0;
}
.media.blog-media .media-body ul li {
    display: inline-block;
    width: 49%;
    position: relative;
}
.media.blog-media .media-body ul li:before {
    position: absolute;
    content: "";
    top: 5px;
    left: 0;
    width: 1px;
    height: 14px;
    background: #eeeef2;
}
.media.blog-media .media-body ul li:first-child:before {
    visibility: hidden;
}
.media.blog-media .media-body ul:before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: #eeeef2;
}


.all-show {
    font-size: 1.2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
	margin-bottom:30px;
}

.all-show:hover {
    background-color: #ffcc00;
    transform: scale(1.05);
}

.afisha-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    height: 400px; /* Фиксированная высота блока */
	
}

.afisha-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Обрезает лишнее и сохраняет пропорции */
    object-position: center;
    transition: transform 0.3s ease;
}


.afisha-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.afisha-content {
    color: white;
    transform: translateY(20px);
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.afisha-item:hover .afisha-overlay {
    opacity: 1;
}

.afisha-item:hover .afisha-content {
    transform: translateY(0);
    opacity: 1;
}

.afisha-title {
    font-size: 1.2rem;
    font-weight: bold;
}

.afisha-name {
    font-size: 1.4rem;
    font-weight: bold;
}

.afisha-actions {
    margin-top: 10px;
}

.afisha-actions .btn {
    margin: 5px;
}



.owl-nav {
    display: flex !important;
    justify-content: space-between;
    position: absolute;
    top: 50%;
    width: 110%; 
    left: -5%; 
    transform: translateY(-50%);
    pointer-events: none;
}

/* Стрелки */
.owl-nav button {
    
    color: black !important;
    font-size: 24px !important;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, transform 0.3s ease;
    pointer-events: auto; 
}

.owl-nav button.owl-prev {
    position: absolute;
    left: -15px; 
}


.owl-nav button.owl-next {
    position: absolute;
    right: -15px; 
}

/* Анимация при наведении */
.owl-nav button:hover {
    color: #FFAF01 !important;
    transform: scale(1.1);
}



.white {
	background:white !important;
}

.bg-blue {
	background-color:#003F73;
}









.our-team{
    text-align: center;
}
.our-team .team_img{
    position: relative;
    overflow: hidden;
}
.our-team .team_img:after{
    content: "";
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,0.2);
    position: absolute;
    bottom: -100%;
    left: 0;
    transition: all 0.3s ease 0s;
}
.our-team:hover .team_img:after{
    bottom: 0;
}
.our-team img{
    width: 100%;
    height: auto;
}
.our-team .social{
    padding: 0 0 18px 0;
    margin: 0;
    list-style: none;
    position: absolute;
    top: -100%;
    right: 10px;
    background: #FFAF01;
    border-radius: 0 0 20px 20px;
    z-index: 1;
    transition: all 0.3s ease 0s;
}
.our-team:hover .social{
    top: 0;
}
.our-team .social li a{
    display: block;
    padding: 15px;
    font-size: 15px;
    color: #fff;
}
.our-team:hover .social li a:hover{
    color: #2a4284;
}
.our-team .team-content{
    padding: 20px 0;
    background: #fff;
}
.our-team .title{
    font-size: 18px;
    font-weight: bold;
    color: #2a4284;
    text-transform: capitalize;
    margin: 0 0 20px;
    position: relative;
}
.our-team .title:before{
    content: "";
    width: 25px;
    height: 1px;
    background: #FFAF01;
    position: absolute;
    bottom: -10px;
    right: 50%;
    margin-right: 9px;
    transition-duration: 0.25s;
}
.our-team .title:after{
    content: "";
    width: 25px;
    height: 1px;
    background: #FFAF01;
    position: absolute;
    bottom: -10px;
    left: 50%;
    margin-left: 9px;
    transition-duration: 0.25s;
}
.our-team:hover .title:before,
.our-team:hover .title:after{
    width: 50px;
}
.our-team .post{
    display: inline-block;
    font-size: 15px;
    color:  #f76c5e;
    text-transform: capitalize;
}
.our-team .post:before{
    content: "";
    display: block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #FFAF01;
    margin: 0 auto;
    position: relative;
    top: -13px;
}
@media only screen and (max-width: 990px){
    .our-team{ margin-bottom: 30px; }
}












.team-member {
    text-align: center;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
}

.team-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-member:hover .team-image img {
    transform: scale(1.1);
}

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.team-member:hover .team-overlay {
    opacity: 1;
    transform: translateY(0);
}

.team-overlay h4 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.team-overlay p {
    font-size: 1rem;
    margin-bottom: 10px;
}

.social-links a {
    color: white;
    font-size: 1.2rem;
    margin: 0 10px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    color: #FFAF01;
    transform: scale(1.2);
}


.more-link {
    color: #000;
    font-size: 1rem;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
}

.more-link .arrow {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

/* При наведении стрелка двигается вправо */
.more-link:hover .arrow {
    transform: translateX(5px);
}

/* При наведении меняем цвет */
.more-link:hover {
    color: #FFAF01; /* Можно заменить на любой цвет */
}



/* Контейнер логотипов */
.partner-item {
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px; /* Фиксированная высота блока */
    padding: 5px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Логотипы адаптируются под размер блока */
.partner-item img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
     /*filter: grayscale(100%);
    transition: filter 0.3s ease;*/
}

/* Анимация при наведении */
.partner-item:hover img {
    /*filter: grayscale(0%);*/
}

.partners-slider .owl-nav {
	display:none !important;
}


.footer a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #FFAF01;
}

.footer i {
    font-size: 1.5rem;
    margin-right: 10px;
    transition: transform 0.3s ease;
}

.footer i:hover {
    transform: scale(1.2);
}


.all-show {
    background: linear-gradient(45deg, #FFD700, #FFAA00, #FFD700);
    background-size: 200% 200%;
   color: #382100;
    border: none;
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    padding: 15px 40px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(255, 223, 0, 0.4);
    transition: all 0.4s ease-in-out;
    position: relative;
    overflow: hidden;
}

/* Анимация градиента */
.all-show:hover {
    background-position: right center;
    transform: scale(1.05);
	color:#261500;
}

/* Эффект блеска */
.all-show::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -100%;
    width: 150%;
    height: 200%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transform: rotate(25deg);
    transition: all 0.7s ease-in-out;
}

.all-show:hover::before {
    left: 100%;
}
/*
.floating-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(45deg, #FFD700, #FFAA00, #FFD700);
	background-size: 200% 200%;
    color: #382100;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    font-size: 1rem;
    z-index: 1000;
    animation: pulse 2s infinite alternate ease-in-out;
    transition: all 0.3s ease-in-out;
}


@keyframes pulse {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.floating-banner:hover {
    transform: scale(1.15);
	background-position: right center;
	color:#261500;
    
}
*/

.floating-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #fff; /* Белый фон */
    color: #333; /* Тёмно-серый текст */
    
    font-weight: 400;
    font-size: 14px; /* Уменьшаем размер текста */
    padding: 8px 15px; /* Меньший внутренний отступ */
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Мягкая тень */
    transition: all 0.3s ease-in-out;
    z-index: 1000;
}

/* Эффект при наведении */
.floating-banner:hover {
    background: #f5f5f5; /* Светло-серый фон */
    color: #000; /* Чёрный текст */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); /* Усиливаем тень */
    transform: scale(1.05);
}



.slider-text {
	text-align:justify;
}

.slider__content {
    max-width: 600px;
    
    float: right;
    
}

@media (max-width: 575.98px) {
    .slider__content h2 {
        font-size: 18px;
    }
	.slider-text {
		font-size:14px;
	}
}

/* Основной стиль кнопки */
.btn-custom {
    display: inline-block;
    position: relative;
    padding: 7px 10px;
    font-size: 15px;
    font-weight: bold;
    
    text-decoration: none;
    color: #fff;
    border-bottom: 2px solid #ececec;
    border-radius: 0;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
	margin-right:10px;
}

/* Линия (изначально скрыта) */
.btn-custom::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    background: #ececec;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    transition: width 0.4s ease-in-out;
}

/* Эффект при наведении */
.btn-custom:hover {
    color: #ececec; /* Золотистый цвет текста при наведении */
    border-color: #ececec;
}

/* Линия анимируется */
.btn-custom:hover::after {
    width: 100%;
}

.btn-custom.btn-dark {
	color:#000;
	 border-bottom: 2px solid #000000;
}

.btn-custom.btn-dark:hover {
	color:#1e1e1e;
	border-color: #1e1e1e;
}

.btn-custom.btn-dark::after {
	background:#1e1e1e;
}

.subheader {
	border-bottom: 1px solid #b8b8b8;
}
.header__afisha .more-link {
	margin-left:15px;
	margin-top:-3px;
}
.header__afisha h4 {
	font-size:1rem;
}

.h4, h4 {
	font-size:1.4rem;
}