@import url('https://fonts.googleapis.com/css2?family=Bitter:wght@500;700&family=Roboto:ital,wght@0,300;0,400;0,500;0,700;1,400&display=swap');
@import url('https://fonts.cdnfonts.com/css/qanelas');


html, body {
  background-color: #fff;
  margin: 0;
  padding: 0;
}

.header {
  background-color: #7E3F8E;
  color: #FFFFFF;
  width: 100%;
  z-index: 10;
}

.header-container {
  display: flex;
  justify-content: space-between;
  padding-left: 5%;
}

.main-container {
  display: flex;
  justify-content: space-between;
  flex-grow: 1;
  align-items: center;
}

.navigation nav ul {
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: space-between;
  list-style-type: none;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  line-height: 17px;
  text-transform: uppercase;
  width: 420px;
}

.navigation nav ul li a {
  text-decoration: none;
  color: #FFFFFF;
  display: block;
  padding: 10px 10px;
}

.navigation nav ul li a:hover {
  color: #F2F3F4;
}

.contacts {
  display: flex;
  align-items: center;
  margin: 0;
}

.contacts .telephone {
  font-family: 'Bitter';
  font-style: normal;
  font-weight: 500;
  font-size: 25px;
  line-height: 30px;
  margin-right: 26px;
}

.contacts .email {
  font-family: 'Bitter';
  font-style: normal;
  font-weight: 500;
  font-size: 20px;
  line-height: 25px;
  margin-right: 26px;
}

.contacts-link {
  text-decoration: none;
  color: #FFFFFF;
}

.contacts-link:hover {
  color: #F2F3F4;
}

.switch-lang {
    position: relative;
    flex-shrink: 0;
}

.switch-lang-btn,
.switch-lang-content a {
    text-decoration: none;
    text-transform: uppercase;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    line-height: 17px;
    font-weight: 500;
    display: block;
    color: #FFFFFF;
    background-color: rgb(153, 88, 171);
    width: 75px;
    text-align: center;
    padding: 12px 0;
}

.switch-lang-btn:hover,
.switch-lang-content a:hover {
    background-color: #FFFFFF;
    color: #7E3F8E;
    cursor: pointer;
}

.switch-lang-content {
    display: none;
    position: absolute;
    background-color: rgb(153, 88, 171);
    min-width: 75px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.switch-lang:hover .switch-lang-content {display: block;}

#intro {
  background-image: url("../images/intro-back.jpg");
  background-size: cover;
  box-sizing: border-box;
}

.intro-container {
  display: flex;
  border-top: 1px solid #7E3F8E;
}

.intro-label {
  position: absolute;
  width: 243px;
  height: 96px;
  background: #ED1C24;
  border-bottom-right-radius: 23px;
  z-index: 2;
}

.intro-label p {
  font-weight: 700;
  font-size: 22px;
  line-height: 27px;
  text-align: justify;
  padding-left: 85px;
}

.intro-label p span {
  font-size: 43px;
  line-height: 50px;
}

.intro-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 70px;
  flex-grow: 1;
  margin-left: 75px;
}

.intro-logo img {
    width: 362px;
}

h1 {
  font-family: 'Bitter';
  font-style: normal;
  font-weight: 700;
  font-size: 61px;
  line-height: 74px;
  margin-top: 60px;
  margin-bottom: 0;
  text-align: center;
  color: #FFFFFF;
  max-width: 1377px;
}

.intro-text {
  font-family: 'Roboto', sans-serif;
  font-style: normal;
  text-align: center;
  text-transform: uppercase;
  margin: 7px 0;
  color: #FFFFFF;
}

.big-text {
  font-weight: 700;
  font-size: 31px;
  line-height: 37px;
}

.mid-text {
  font-weight: 400;
  font-size: 24px;
  line-height: 28px;
}

.contact-button {
    padding: 10px 40px 12px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 35px;
    color: rgb(126, 63, 142);
    background-color: rgba(255, 255, 255, 0.76);
    cursor: pointer;
    margin: 58px 0 50px;
}

.contact-button:hover {
  background-color: #FFFFFF;
  color: rgb(126, 63, 142);
}

.intro-aside {
  background-color: rgba(126, 63, 142, 0.91);
  width: 75px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 35px;
  justify-content: center;
  flex-shrink: 0;
}

.intro-aside-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  margin: 0;
  padding: 0;
}

.intro-aside-links > li {
  list-style-type: none;
  opacity: 0.7;
}

.intro-aside-links > li:hover {
  opacity: 1;
}

.mid-header {
  background-color: rgb(126, 63, 142);;
  margin: 0;
  display: flex;
  justify-content: center;
}

.mid-header h2 {
  margin: 0;
  font-family: 'Bitter';
  font-style: normal;
  font-weight: 700;
  font-size: 39px;
  line-height: 47px;
  color: #FFFFFF;
  text-transform: uppercase;
}

.about-us-main-container {
  max-width: 1300px;
  margin: 17px auto 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: center;
}

.link-block {
  display: flex;
  flex-direction: column;
  min-width: 427px;
  align-items: center;
  padding-top: 50px;
  padding-bottom: 10px;
  border: 1px solid rgba(181, 181, 181, 0.32);
}

.link-midtext {
  font-family: 'Qanelas';
  font-style: normal;
  font-weight: 700;
  font-size: 32px;
  line-height: 47px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #000000;
  margin: 0;
}

.link-smalltext {
  font-family: 'Qanelas';
font-style: normal;
font-weight: 700;
font-size: 19px;
line-height: 27px;
letter-spacing: 0.085em;
color: #000000;
margin: 0;
}

.link-midtext-long {
  font-size: 25px;
  line-height: 47px;
}

.link-block:hover svg .link-logo-svg {
  fill: #FFFFFF;
}

.link-block-1:hover {
  background-color: #2D6899;
}

.link-block-2:hover {
  background-color: #F9872D;
}

.link-block-3:hover {
  background-color: #7E3F8E;
}

.link-block-4:hover {
  background-color: #A31B4C;
}

.link-block-5:hover {
  background-color: #3A605F;
}

.link-block-6:hover {
  background-color: #EECC3B;
}

.services-main {
  width: 100%;
  margin: 0;
  box-sizing: border-box;
}

.services-main .services-back-1 {
  width: 100%;
  height: auto;
  display: block;
}

.services-back-2 {
  background-image: url("../images/service-back-2.jpg");
  background-size: cover;
  height: 987px;
}

.services-row-1,
.services-row-2 {
  max-width: 1760px;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
}

.services-row-1 {
  margin-top: -187px;
}

.services-row-1-block {
  max-width: 557px;
  min-height: 492px;
  box-sizing: border-box;
  box-shadow: 1.53109px 9.18654px 10.7176px -6.12436px rgba(0, 0, 0, 0.09);
}

.services-row-1-block-header {
  background-color: rgba(126, 63, 142, 0.91);
  padding: 50px 42px 0;
  height: 137px;
}

.services-row-1-block-header-text {
  margin: 0;
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  font-size: 48px;
  line-height: 57px;
  text-transform: uppercase;
  color: #FFFFFF;
}

.services-row-1-block-main {
  background-color: #FFFFFF;
  padding: 32px 42px;
  min-height: 257px;
}

.services-row-1-block-main p {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  font-size: 26px;
  line-height: 32px;
  color: #000000;
  margin: 0;
}

.services-back-3 {
  background-image: url("../images/service-back-3.jpg");
  background-position: bottom;
  background-size: 100% auto;
  height: 1256px;
}

.relative {
  position: relative;
  max-width: 1760px;
  margin: 0 auto;
}

.services-row-2 {
  position: absolute;
  width: 100%;
  top: -235px;
}

.services-row-2-block {
    max-width: 404px;
    min-height: 538px;
    box-sizing: border-box;
    box-shadow: 1.53109px 9.18654px 10.7176px -6.12436px rgba(0, 0, 0, 0.09);
}

.services-row-2-block-header {
  padding: 25px 30px 35px;
  background: rgba(126, 63, 142, 0.91);
  height: 175px;
}

.services-row-2-block-header-icon {
  margin-bottom: 25px;
}

.services-row-2-block-header-text {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  font-size: 38px;
  line-height: 45px;
  text-transform: uppercase;
  color: #FFFFFF;
  margin: 0;
}

.services-row-2-block-main {
  background-color: #FFFFFF;
  padding: 31px;
  min-height: 240px;
}

.services-row-2-block-main p {
  margin: 0;
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  font-size: 27px;
  line-height: 34px;
  color: #000000;
}


.ending-section {
  background-image: url("../images/contact-us-back.jpg");
  background-size: cover;
}

.contact-us {
  padding: 0 20px;
}

.contact-us-container {
  display: flex;
  justify-content: center;
  padding: 60px 0 50px;
}

.contact-form {
  width: 660px;
  background: rgba(126, 63, 142, 0.91);
  opacity: 0.9;
  border-radius: 26px;
  padding: 65px 40px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.contact-form-header {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  font-size: 35px;
  line-height: 41px;
  font-variant: small-caps;
  color: #FFFFFF;
  max-width: 490px;
  margin: 0;
}

.contact-form input {
  background: #FFFFFF;
  border: none;
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  font-size: 14px;
  line-height: 17px;
  text-transform: uppercase;
  color: rgb(0, 0, 0);
  height: 48px;
  margin-bottom: 13px;
  padding-left: 10px;
}

.contact-form .row {
  display: flex;
  justify-content: space-between;
}

.contact-form .row input {
  min-width: 310px;
}

.contact-form-button {
  width: 207px;
  height: 49px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.19);
  border: 1px solid #FFFFFF;
  border-radius: 10px;
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 17px;
  text-align: center;
  font-variant: small-caps;
  color: #FFFFFF;
  text-transform: uppercase;
}

.contact-form-button:hover {
  color: #7E3F8E;
  background: rgba(255, 255, 255, 0.73);
  cursor: pointer;
}

.contact-form-header + input {
  margin-top: 20px;
}

.contact-form-success {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(126, 63, 142);
    border-radius: 26px;
}

.contact-form-success-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

#close-btn {
    width: 207px;
    height: 49px;
    box-sizing: border-box;
    padding: 15px 0;
}

.hidden {
    display: none;
  }

.footer {
  background-color: rgba(126, 63, 142, 0.9);
}

.footer-container {
  max-width: 1760px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin: 35px auto 0;
  padding-bottom: 15px;
}

.left-aside {
  padding-top: 15px;
}

.right-aside {
  display: flex;
  gap: 32px;
  padding-bottom: 5px;
  padding-right: 15px;
}

.right-aside .column {
  max-width: 272px;
}

.right-aside .column p,
.right-aside .column a {
  margin: 0;
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-size: 27px;
  line-height: 43px;
  color: #FFFFFF;
  text-decoration: none;
}

.right-aside .column a img {
  margin-right: 15px;
}

.news {
  background-image: url("../images/news-back.jpg");
  background-size: cover;
}

.news-main-container {
  max-width: 1200px;
  margin: 75px auto 0px;
  padding-bottom: 75px;
}

.news-main {
  width: 100%;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.news-main .news-block {
  position: relative;
  display: inline-block;
  background-color: none;
  margin: 0;
  border: none;
  box-shadow: none;
  overflow: hidden;
}

.news-main .news-block h3{
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  font-size: 23px;
  line-height: 27px;
  color: #FFFFFF;
  margin: 25px 45px 45px;
}

.news-main .news-block p{
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  font-size: 16px;
  line-height: 19px;
  color: #FFFFFF;
  margin: 25px 45px 45px;
}

/* Выезжающий блок с текстом для панели снизу вверх */
.news-main .news-block > div.effect-to-top {
  width: 100%;
  height: 100%;
  position: absolute;
  display: flex;
  flex-direction: column;
  top: 15%;
}
.news-main .news-block:hover > div.effect-to-top {
  position: absolute;
  overflow: hidden;
  top: 10%;
  left: 0;
}
.news-main .news-block div.effect-to-top {
  opacity: 1;
  background-color: rgb(126, 63, 142);; /* Фон блока при наведении */
  transition: all 0.4s ease-in-out;
  color: #fff;
  transform: translate(0px, 250px) rotate(0deg); /* Направление выезжающей панели */
}
.news-main .news-block:hover div.effect-to-top {
  opacity: 1;
  transform: translate(0px, 0px) rotate(0deg);
}

.appreciations {
  padding: 0 20px;
}

.appreciations-container {
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.fields {
  background-image: url("../images/fields-back.jpg");
  background-size: cover;
}

.fields-main {
    margin: 0 auto;
    width: 1860px;
}

.fields-slider-arrow-container {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
}

.fields-slider-container {
  width: 1760px;
  padding-bottom: 53px;
  overflow: hidden;
  margin: 79px auto 0;
}

.fields-slider-element {
  width: 405px;
  height: 330px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 40px;
  background: rgba(229, 235, 237, 0.52);
  box-shadow: 1px 6px 7px -4px rgba(0, 0, 0, 0.09);
}

.fields-slider-element:hover {
  background: rgba(229, 235, 237, 1);
}

.fields-slider-element .element-icon {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.fields-slider-element .element-text {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 600;
  font-size: 38px;
  line-height: 47px;
  text-align: center;
  color: #000000;
  opacity: 0.8;
  text-transform: uppercase;
}

.fields-slider-element .first-element-text {
  margin-bottom: 0;
}

.fields-slider-element .second-element-text {
  margin-top: 0;
}

.swiper-button-prev,
.swiper-button-next {
  color: rgba(126, 63, 142, 0.8);
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  color: rgb(126, 63, 142);
}

.why-us-header {
    display: none;
}

.font-variant-normal {
    font-variant: normal;
}
