/* Header */
.header {
  padding: 13px 30px;
  display: flex;
  justify-content: end;
  align-items: center;
  border-bottom: 1px solid #eee;
  background: white;
  margin-top: -90px;
}
.custom-breadcrumb {
  left: -115px;
  position: relative;
}
.social-icons {
  display: flex;
  gap: 15px;
}

.social-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
}

/* Hero section */
.hero-content {
  position: relative;
}

.hero-content img {
  width: 100%;
}
.hero-overlay {
  position: absolute;
  bottom: 50px;
  left: 8%; 
  z-index: 10;
}
.hero-buttons a:hover{
  text-decoration: none;
}
.hero-buttons {
  display: flex;
  gap: 15px;
}
.hero-buttons .btn-bn{
  width: 165px;
}
.btn-bn {
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-bn.btn-white {
  background: white;
  color: #757575;
  border: none;
  text-align: center;
}

.btn-bn.btn-outline {
  background: transparent;
  border: 2px solid white;
  color: white;
  text-align: center;
}

.btn-bn.btn-white:hover {
  background: #f1f1f1;
}

.btn-bn.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Info section */
.info-section, .container-full-w {
  background: #fff;
}

.info-heading {
  padding: 68px 0 128px 0;
  margin: 0 auto;
}
.info-heading img{
  width: 100%;
}
.info-text {
  font-size: 24px;
  color: #000;
  line-height: 1.4;
  text-align: justify;
  max-width: 1024px;
  margin:0 auto;
  padding-bottom: 60px;
}
.info-text strong{
  font-size: 36px;
  background: linear-gradient(90deg, #D74130, #F9A14E);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

/* Tabs */

.tabs-container {
  margin-left: calc(-50vw + 50%); 
  overflow-x: auto;   
  scrollbar-width: none; 
  -ms-overflow-style: none; 
  background: linear-gradient(90deg, #F9A14E, #D74130); 
  text-align: center;
  padding: 10px 0; 
}
.tabs {
  display: inline-flex;  
  white-space: nowrap;  
  min-width: min-content;
  margin: 0 auto; 
  margin-left: 20px;
}
.tabs-container::-webkit-scrollbar {
  display: none; 
}
.tab {
  padding: 9px 25px;
  color: white;
  text-decoration: none;
  font-size: 15px;
  transition: background-color 0.3s;
  border: 1px solid #fff;
  margin-right: 10px;
  border-radius: 10px;
  background: #ffffff00;
}
button, button:active, button:focus, select {
  outline: none;
}
.tab.active{
  background-color: #fff;
  color: #666;

}
.tab:hover {
  background-color: #fff;
  color: #666;
}
/* Museum complex */
.museum-complex {
  display: block;
  padding: 80px 0px;
  gap: 50px;
}

.museum-image {
  width: 450px;
  border-radius: 15px;
  overflow: hidden;
  flex-shrink: 0;
}

.museum-image img {
  width: 100%;
  object-fit: cover;
}

.museum-content h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #666;
  line-height: 1.2;
}

.museum-content p {
  margin-bottom: 20px;
  color: #000;
  text-align: justify;
}


/*********************************************************/

.centers-container{
  max-width: 1250px;
  margin: 0 auto;
}


/* Верхний блок с описанием */

.top-section {
  display: flex;
  gap: 30px;
  margin-bottom: 50px;
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
}

.image-column {
  flex: 0 0 35%;
}

.image-column img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content-column {
  flex: 0 0 65%;
  padding: 30px 0;
}

.content-column h1 {
  margin-bottom: 15px;
  font-size: 24px;
  color: #444;
}

.content-column p {
  margin-bottom: 20px;
  line-height: 1.6;
  font-size: 14px;
  color: #555;
}

.more-link {
  display: inline-block;
  text-decoration: none;
  color: #444;
  padding: 8px 18px;
  border: 1px solid #666;
  border-radius: 10px;
  font-size: 15px;
  margin-top: 10px;
  cursor: pointer;
  transition: background-color 0.3s;
  float: right;
}

.more-link:hover {
  background-color: #f0f0f0;
  text-decoration: none;
}


.details-container {
  background-color: #fff;
  border-radius: 15px;
  padding: 30px;
  border: 1px solid #666;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.8s ease-in-out, opacity 0.6s ease-in-out, padding 0.4s ease-in-out, margin-bottom 0.4s ease-in-out;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
}


.details-container.active {
  max-height: 2000px; 
  opacity: 1;
  padding: 50px 90px;
  margin-bottom: 30px;
}

.details-container h2 {
  color: #666;
  font-size: 24px;
  margin-bottom: 20px;
  font-weight: 500;
}

.details-container ul {
  list-style-type: none;
  margin-bottom: 30px;
}

.details-container li {
  position: relative;
  padding-left: 15px;
  color: #000;
  font-size: 20px;
}

.details-container li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: #444;
}

.events-container.all-events{
  margin-bottom: 0;
  padding-top: 50px;
}
.events-container {
  display: grid;
  margin-bottom: 30px;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.event-card-item {
  flex: 1;
  border: 1px solid #DC4E35;
  border-radius: 20px;
  overflow: hidden;
}

.tag-container {
  padding: 0px 0px 10px 0;
}

.tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 15px;
  font-size: 12px;
  color: white;
  background-color: #F9A14E;
  margin-bottom: 5px;
}

.tag.secondary {
  background-color: transparent;
  color: #666;
  border: 1px solid #F9A14E;
}

.date-text {
  font-size: 20px;
  color: #757575;
}

.event-icon {
  width: 30px;
  height: 30px;
}


.center-contact-info {
  margin-top: 20px;
  color: #000;
}

.center-contact-info p {
  margin-bottom: 10px;
  font-size: 20px;
}

@media (max-width: 768px) {
  .top-section {
    flex-direction: column;
    padding-right: 0;
  }

  .image-column {
    flex: 0 0 100%;
    max-height: 300px;
  }

  .content-column {
    flex: 0 0 100%;
    padding: 20px;
  }

  .events-container {
    flex-direction: column;
  }
}




/*********************************************************/
/* News */
.news-section {
  padding: 80px 0 30px 0;
  background-color: #D9D9D9;
}

.news-heading {
  font-size: 40px;
  color: #fff;
  max-width: 1250px;
  margin: 0 auto;
  font-weight: bold;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 20px;
  margin: 30px 0;
}
.news-card {
  background-color: white;
  border-radius: 20px;
  overflow: hidden;
}
.news-card a:hover {
 text-decoration: none;
}
.news-card:hover{
  box-shadow: 0px 2px 9px 3px rgba(0, 0, 0, 0.1);
}
.news-image {
  height: 230px;
  width: 100%;
  overflow: hidden;
  border-radius: 20px;
}

.news-image img {
  object-fit: cover;
  height: 100%;
}

.news-content {
  padding: 15px;
}

.news-title {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: #000;
}
#news-slide {
  position: relative;
}
.custom-owl-prev,
.custom-owl-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  z-index: 10;
  transition: transform 0.3s ease;
  text-indent: initial;
}

.custom-owl-prev:hover,
.custom-owl-next:hover {
  transform: translateY(-50%) scale(1.1);
}

.custom-owl-prev {
  left: -120px;
}

.custom-owl-next {
  right: -120px;
}

.custom-owl-prev svg,
.custom-owl-next svg {
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.2));
  border-radius: 50%;
}

/* Accordion */
.accordion-section {
  padding: 90px 0px 15px;
  background: #fff;
}

.accordion-item {
 margin-bottom: 35px;
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-header {
  padding: 20px 28px;
  cursor: pointer;
  font-size: 24px;
  font-weight: 400;
  color: #666;
  transition: background-color 0.3s;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 10px;
  border: 1px solid #666;
}

.accordion-header:hover {
  background-color: #f0f0f0;
}

.accordion-header::after {
  content: '\f078';
  font-family: 'Font Awesome\ 5 Free';
  font-size: 18px;
  transition: transform 0.3s;
  color: #666;
  font-weight: 600;
}

.accordion-item.active .accordion-header::after {
  content: '\f077';
}

.accordion-content {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.accordion-content p {
  margin: 0;
  color: #555;
  line-height: 1.5;
}

/*************************************************************/

.container-rules {
  background: linear-gradient(to right, #F9A14E, #D74130);
  color: white;
  padding: 40px;
  border-radius: 15px;
  margin: 0 auto;
  margin-top: 30px;
  line-height: normal;
  text-align: justify;
  position: relative;
}
.container-rules::after, .form-impres-suggess::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 71%;
  height: 100%;
  background-image: url(../assets/img/rules-map.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: top right;
  opacity: 1;
  pointer-events: none;
  z-index: 1;
}
.form-impres-suggess::after{
  width: 64%;
}
.content-padding-head {
  padding: 20px 0 20px 20px;
}
.content-padding {
  padding: 15px 0px 20px 0px;
}
.title-rules {
  font-size: 80px;
  font-weight: bold;
}
.subtitle-rules {
  font-size: 24px;
}
.intro-text-rules {
  margin-bottom: 30px;
  background: rgba(255, 255, 255, 0.15);
  padding: 30px 50px 30px 74px;
  box-sizing: border-box;
  font-size: 24px;
  margin-right: -50px;
  margin-left: -50px;
  width: calc(100% + 100px);
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
}
.rules-container {
  display: flex;
  gap: 20px;
}
.section-title-rules {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.left-column-rules {
  width: 19%;
  text-align: left;
}
.right-column-rules {
  width: 81%;
}
.rule-content {
  line-height: 1.3;
  margin-bottom: 20px;
}

/****************************************************************************/

.leadership-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 20px;
  margin: 40px 5px;
}

.leader-card {
  display: flex;
  align-items: center;
  gap: 20px;
}

.leader-photo {
  border-radius: 5px;
  overflow: hidden;
  flex-shrink: 0;
}

.leader-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.leader-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.leader-name {
  font-size: 24px;
  font-weight: bold;
  color: #000;
  text-transform: uppercase;
}

.leader-position {
  font-size: 20px;
  color: #000;
  line-height: 1.2;
}

@media (max-width: 768px) {
  .leadership-grid {
    grid-template-columns: 1fr;
  }
}

/*************************************/
.faq-container {
  margin: 20px 0;
}
.faq-card {
  background-color: white;
  border-radius: 15px;
  border: 1px solid #666;
  padding: 20px 25px;
  margin-bottom: 15px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.faq-question {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 30px 0;
  color: #000;
  text-transform: uppercase;
}

.faq-answer {
  font-size: 24px;
  line-height: 1.3;
  color: #000;
  margin: 0;
}

/************************************/

.form-impres-suggess {
  background: linear-gradient(90deg, #F9A14E, #D74130);
  margin: 33px 0px 33px 0px;
  padding: 10px 50px 30px 50px;
  position: relative;
  color: #fff;
  border-radius: 15px;
}
.title-impres-suggess{
  width: 345px;
}
.form-impres-suggess h2{
  text-align: left;
  font-size: 40px;
  color: #fff;
  padding: 40px 0;
  margin: 0 auto;
  line-height: 1.2;
  text-transform: uppercase;
}

.intro-text-impres-suggess {
  margin-bottom: 30px;
  background: rgba(255, 255, 255, 0.15);
  padding: 30px 50px 30px 50px;
  box-sizing: border-box;
  font-size: 24px;
  margin-right: -50px;
  margin-left: -50px;
  width: calc(100% + 100px);
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
}
#afd_wrap_offer231 {
  padding: 7px 0 !important;
  -webkit-box-shadow: none !important;
  -moz-box-shadow: none !important;
  box-shadow: none !important;
  border-radius: 15px !important;
  margin-bottom: 70px !important;
}
.afd-theme-simple.afd-color-yellow1 .afd-button {
  color: #fff !important;
  background: #c95440 !important;
}

.afd-theme-simple .afd-type-text, .afd-theme-simple .afd-type-select, .afd-theme-simple .afd-type-textarea {
  border: 2px solid #e79556;
}
.afd-theme-simple .afd-label{
  color: #fff !important;
  font-size: 24px !important;
  padding-bottom: 10px !important;
  line-height: 1.2 !important;
}
#offer231_field_info1, 
#offer231_field_info2, 
#offer231_field_info3, 
#offer231_field_info4,
#offer231_field_info5,
#offer231_field_info6{
  font-size: 16px;
  line-height: 1.2;
}
label[for="offer231_field_field4_250"],
label[for="offer231_field_field4_249"],
label[for="offer231_field_field3_248"],
label[for="offer231_field_field3_247"]{
  background: #fff;
  padding: 10px 14px;
  border-radius: 15px;
  font-size: 24px;
  color: #000;
  margin-bottom: 7px;
}
#offer231_field_field4_250,
#offer231_field_field4_249,
#offer231_field_field3_248,
#offer231_field_field3_247{
  transform: scale(1.5);
}
.afd-theme-simple .afd-row {
  margin-top: 60px;
}
.afd-controls button{
  float: right !important;
  width: 160px !important;
}
.afd-controls button span{
  text-transform: capitalize !important;
  color: #DC4E35 !important;
}
.afd-theme-simple .afd-type-text, 
.afd-theme-simple .afd-type-select, 
.afd-theme-simple .afd-type-textarea{
  border-radius: 10px;
}

.afd-theme-simple .afd-type-text:active, 
.afd-theme-simple .afd-type-select:active, 
.afd-theme-simple .afd-type-textarea:active,
.afd-theme-simple .afd-type-text:focus, 
.afd-theme-simple .afd-type-select:focus, 
.afd-theme-simple .afd-type-textarea:focus {
  outline: none;
}
/************************************************/

.contact-container {
  width: 100%;
  padding: 50px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: white;
}
.contact-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 24px;
}
.contact-info a:hover{
  text-decoration: none;
}
.contact-info p {
  margin: 0;
  font-size: 24px;
  line-height: 1.3;
  color: #000;
}
.contact-social-icons {
  display: flex;
  gap: 10px;
}
.contact-social-icon {
  display: flex;
  justify-content: center;
  align-items: center;
}
.contact-social-icons .icon-vk img {
  width: 57px;
}
.contact-social-icons .icon-telegram img {
  width: 57px;
}
.contact-social-icons .icon-star img {
  width: 57px;
}

/**************************************************/

.campus-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 50px 30px;
}
.campus-links a {
  color: #DC4E35;
  text-decoration: underline;
  font-size: 24px;
  font-weight: normal;
  font-style: italic;
}
.campus-links a:hover {
  text-decoration: underline;
}

/*************************************************/
.btn-ok{
  margin: 20px 0 35px 0px;
}
.btn-ok:hover, .btn-prop-event:hover {
 box-shadow: 0px 2px 9px 3px rgba(0, 0, 0, 0.1);
 border-radius: 10px;
}
.btn-ok a {
  background: linear-gradient(90deg, #F9A14E, #D74130); 
  color: white; 
  display: block; 
  text-align: center;
  border: none;
  border-radius: 10px;
  padding: 20px;
  font-size: 24px;
}
.btn-ok a:hover, .btn-prop-event a:hover{
  text-decoration: none;
}
/* Stats */
.f-w{
  background: #fff;
}
.stats{
  width: 1320px;
  margin: 0 auto;
  padding-top: 100px;
  padding-bottom: 60px;
}

.f-w {
  position: relative; 
}

.f-w::before,
.f-w::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 0.2px;
  background-color: #DC4E35;
}

.f-w::before {
  top: 100px;
}

.f-w::after {
  top: calc(100px + 70px + 1px);
}

.header-title {
  padding: 15px 0;
  margin-bottom: 80px;
}

.header-title h1 {
  color: #DC4E35;
  font-size: 40px;
  margin: 0;
  font-weight: bold;
}

.stats-container {
  position: relative;
  max-width: 90%;
  margin: 0 auto;
}

.stat-box {
  text-align: center;
  width: 85%;
  padding: 0px;
  box-sizing: border-box;
  margin-bottom: 20px;
}
.stats .owl-carousel .owl-item img{
  width: 35%;
}

.icon-s {
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.icon-s img {
  width: 100px;
}

.number {
  font-size: 72px;
  font-weight: bold;
  color: #D74130;
  line-height: 1;
  margin-bottom: 5px;
  text-align: left;
}

.plus {
  color: #D74130;
}

.description {
  color: #333;
  font-size: 15px;
  line-height: 1.3;
  text-align: left;
}

.thousand {
  font-size: 36px;
  color: #D74130;
  font-weight: bold;
}

/* Animation styles */
.animate-number {
  display: inline-block;
  animation: countUp 2s ease-out forwards;
  opacity: 0;
}

.stat-box:nth-child(1) .animate-number {
  animation-delay: 0.2s;
}

.stat-box:nth-child(2) .animate-number {
  animation-delay: 0.4s;
}

.stat-box:nth-child(3) .animate-number {
  animation-delay: 0.6s;
}

.stat-box:nth-child(4) .animate-number {
  animation-delay: 0.8s;
}

@keyframes countUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.icon-s img {
  opacity: 0;
  animation: fadeIn 1.5s ease forwards;
}

.stat-box:nth-child(1) .icon-s img {
  animation-delay: 0s;
}

.stat-box:nth-child(2) .icon-s img {
  animation-delay: 0.2s;
}

.stat-box:nth-child(3) .icon-s img {
  animation-delay: 0.4s;
}

.stat-box:nth-child(4) .icon-s img {
  animation-delay: 0.6s;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.stats-custom-owl-prev,
.stats-custom-owl-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  z-index: 10;
  transition: transform 0.3s ease;
  text-indent: initial;
}

.stats-custom-owl-prev:hover,
.stats-custom-owl-next:hover {
  transform: translateY(-50%) scale(1.1);
}

.stats-custom-owl-prev {
  left: -110px;
}

.stats-custom-owl-next {
  right: -20px;
}

.stats-custom-owl-prev svg,
.stats-custom-owl-next svg {
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.2));
  border-radius: 50%;
}




/****************** events *******************/

.events-title{
  margin-top: 86px;
}
.events-title h1{
  font-size: 36px;
  color:#3B4999;

}


/*****/
.btn-prop-event{
  background: #D9D9D9;
  display: block;
  text-align: center;
  border: none;
  border-radius: 10px;
  padding: 20px;
  font-size: 24px;
  margin-bottom: 50px;
  color: #51529F;
}

.accordion-header.btn-prop-event:after{
  display: none;
}

/**************************************/

.container-events {
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 55px 0 100px 0;
}
.event-card {
  background-color: white;
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid #DC4E35;
  height: 100%;
}
.event-title {
  font-size: 16px;
  font-weight: 600;
  color: #757575;
  margin-bottom: 60px;
  line-height: 1.3;
}
.event-subtitle {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
}
.event-date-time {
  margin-top: auto;
  display: flex;
  align-items: center;
}
.event-date {
  font-size: 20px;
  color: #757575;
  font-weight: 500;
  margin-right: 10px;
}
.event-time {
  font-size: 20px;
  color: #757575;
  font-weight: 500;
}
.arrow-event {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  font-size: 20px;
  color: #757575;
}
.icon-ev {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 900px) {
  .container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .container {
    grid-template-columns: 1fr;
  }
}
.event-card:hover{
  box-shadow: 0px 2px 9px 3px rgba(0, 0, 0, 0.1);
}

.container-events a:hover, 
.events-container a:hover{
  text-decoration: none;
}

/*****************************/
#filter-struct-unit {
  width: 240px;
}
.events-filter button,
#filter-struct-unit,
#filter-forma-event {
  padding: 9px 25px;
  color: white;
  text-decoration: none;
  font-size: 18px;
  transition: background-color 0.3s;
  border: 1px solid #fff;
  margin-right: 10px;
  border-radius: 10px;
  background: #ffffff00;
}

.events-filter button.active
 {
  padding: 9px 25px;
  color: #666;
  text-decoration: none;
  font-size: 18px;
  transition: background-color 0.3s;
  border: 1px solid #fff;
  margin-right: 10px;
  border-radius: 10px;
  background: #fff;
}
#filter-struct-unit option,
#filter-forma-event option{
  color: #666;
  font-size: 18px;
}

.no-events {
  margin: 0 auto;
  text-align: center;
  font-size: 25px;
  padding: 40px 0px;
}

