* {
  font-family: 'Lora', serif;
}

section {
  max-width: 100vw;
  overflow-x: hidden;
}
section .container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (max-width: 768px) {
  section .container {
    padding: 20px;
  }
}
.section-header {
  text-align: center;
  font-size: 2.9em;
}
.navbar-nav .nav-link {
  color: #8b0000;
  font-weight: bold;
  font-size: 18px;
}
.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
}
.logo {
  width: 100%;
  max-height: 60px;
}
@media (max-width: 768px) {
  .navbar-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
}
#home {
  background-color: #000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}
#home .container {
  text-align: center;
}
#home #heroimg {
  /* width: 411px; */
  /* height: 144px; */
  max-height: 25vh;
  max-width: 100%;
  align-self: center;
}
#home #arrow-top {
  animation-name: shine;
  animation-duration: 3s;
  animation-iteration-count: infinite;
}
#home #arrow-bottom {
  animation-name: shine;
  animation-duration: 3s;
  animation-iteration-count: infinite;
  animation-delay: 1s;
}
#home a {
  /* УБИРАЕМ: position, bottom, left, transform */
  background: transparent;
  color: #fff;
  font-size: 21px;
  border: 3px solid #fff;
  font-weight: 500;
}
@keyframes fadeOutBottom {
  0% {
    transform: translate(0, 0);
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  100% {
    transform: translate(0, 25px);
    opacity: 0;
  }
}
@keyframes shine {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
#services {
  background-color: #000;
}
#services .section-header {
  color: #fff;
  min-height: 25vh;
  display: flex;
  justify-content: center;
  align-items: center;
}
#services .ft-row {
  min-height: 50vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 5;
}
#services .ft-card {
  text-align: center;
  color: #fff;
}
#services .ft-title {
  font-size: 2.5em;
  color: #fff;
  text-align: center;
}
#services .ft-text {
  display: inline-block;
  width: 87%;
  font-size: 1.35em;
  margin-top: 20px;
}
@media (max-width: 768px) {
  #services .section-header {
    min-height: 100%;
    margin-bottom: 20px;
  }
  #services .ft-row {
    min-height: 100%;
  }
  #services .ft-card {
    margin-bottom: 20px;
  }
  #services .col-12:last-child .ft-card {
    margin-bottom: 0;
  }
  #services .ft-text {
    margin-top: 10px;
    width: 100%;
  }
}
/*Area*/
#area {
  background-color: #000;
  border-top: 3px solid #fff;
}
#area .section-header {
  color: #fff;
  min-height: 25vh;
  display: flex;
  justify-content: center;
  align-items: center;
}
#area .ft-row {
  min-height: 50vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 5;
}
#area .ft-card {
  text-align: center;
  color: #fff;
}
#area .ft-title {
  font-size: 2.5em;
  color: #fff;
  text-align: center;
}
#area .ft-text {
  display: inline-block;
  width: 87%;
  font-size: 1.35em;
  margin-top: 20px;
}
@media (max-width: 768px) {
  #area .section-header {
    min-height: 100%;
    margin-bottom: 20px;
  }
  #area .ft-row {
    min-height: 100%;
  }
  #area .ft-card {
    margin-bottom: 20px;
  }
  #area .col-12:last-child .ft-card {
    margin-bottom: 0;
  }
  #area .ft-text {
    margin-top: 10px;
    width: 100%;
  }
}
#results {
  background-color: #fff;
}
#results .section-header {
  color: #000;
  min-height: 25vh;
  display: flex;
  justify-content: center;
  align-items: center;
}
#results .rs-row {
  min-height: 50vh;
  display: flex;
  justify-content: center;
  align-items: center;
}
#results .rs-card {
  text-align: center;
  color: #000;
  width: 100%;
  height: 170px;
  border: 3px solid #000;
  border-radius: 43px;
  display: flex;
  justify-content: center;
  align-items: center;
}
#results .rs-title {
  font-size: 2.2em;
  color: #000;
  text-align: center;
}
#results .rs-text {
  display: inline-block;
  width: 70%;
  font-size: 1.35em;
  margin-top: 20px;
}
@media (max-width: 768px) {
  #results .section-header {
    min-height: 100%;
    margin-bottom: 20px;
  }
  #results .rs-row {
    min-height: 100%;
  }
  #results .rs-card {
    margin-bottom: 20px;
  }
  #results .col-12:last-child .rs-card {
    margin-bottom: 0;
  }
}

.corner-img {
  display: block;
  position: absolute;
  width: 150px;
  height: 150px;
  z-index: 999;
}
@media (max-width: 768px) {
  .corner-img {
    display: none;
  }
}

#services,
#acordeon-third {
  background-color: #000;
}
.myrow {
  min-height: 100vh;
  display: flex;
  align-items: center;
}
@media (max-width: 768px) {
  .myrow {
    min-height: 100%;
  }
}
.reverse {
  flex-direction: row-reverse;
}

.mob-block {
  display: none;
}
@media (max-width: 768px) {
  .mob-block {
    display: flex;
    flex-grow: 1;
    justify-content: center;
    align-items: center;
    align-self: center;
  }
  .mob-block img {
    width: 20vw;
  }
}

#c_mail {
  display: flex !important;
  flex-direction: row !important;
}
.form_info {
  border-right: 1px solid #000;
}
#cform {
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding-left: 15%;
}
#cform input[type='text'],
#cform input[type='email'] {
  width: 100%;
  margin-bottom: 56px;
  border: none;
  border-bottom: 2px solid #000;
  outline: none;
  font-size: 20px;
  color: #000;
  transition: 0.2s ease-in;
}
#cform input[type='text']::placeholder,
#cform input[type='email']::placeholder {
  font-size: 20px;
  color: #000;
  transition: 0.2s ease-in;
  transform: translateY(0);
}
#cform input[type='text']:focus,
#cform input[type='email']:focus {
  border-bottom: 2px solid #a51a28;
}
#cform input[type='text']:focus::placeholder,
#cform input[type='email']:focus::placeholder {
  left: 20px;
  bottom: 10px;
  transform: translateY(-5px);
}
#cform .submit_container img {
  position: absolute;
  width: 18px;
  transform: translate(18px, 21px);
}
#cform .submit_container #submit {
  width: 57%;
  height: 59px;
  background-color: #000;
  color: #fff;
  font-size: 20px;
  border-radius: 11px;
  text-indent: 22px;
  transition: .3s ease-in-out;
}
#cform .submit_container #submit:hover {
  background-color: #8b0000;
}
.c_title {
  padding-top: 60px;
}
.c_title h3 {
  font-size: 48px;
  font-weight: 400;
}
.c_mail {
  font-size: 23px;
  margin-top: 18px;
}
.c_mail a {
  color: #552026;
}
.icon-container img {
  width: 500px;
  height: 500px;
}
.c_container {
  text-align: center;
}
@media (max-width: 768px) {
  .form_info {
    border-right: none;
  }
  .c_title {
    padding-top: 0;
    margin-bottom: 40px;
  }
  .c_mail {
    margin: 40px 0;
  }
  #cform {
    padding-left: 0;
    text-align: center;
  }
  #cform input[type='text'],
  #cform input[type='email'] {
    margin-bottom: 40px;
  }
  #cform .submit_container #submit {
    width: 75%;
  }
}

#mainNav {
  z-index: 9999;
}
#mainNav.hidden-nav {
  transform: translateY(-100%);
  transition: transform 0.3s ease-in-out;
}
#mainNav.show-nav {
  transform: translateY(0);
  transition: transform 0.3s ease-in-out;
}
#mainNav {
  z-index: 9999;
  padding: 0 15%;
  box-shadow: 0 1px 36px -16px #000;
}

@media (max-width: 768px) {
  #mainNav {
    padding: initial;
  }
}
/* Dropdown Button */
.dropbtn {
  background-color: #04AA6D;
  color: white;
  padding: 16px;
  font-size: 16px;
  border: none;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    left: -71px;
    border-radius: 20px;
}

/* Links inside the dropdown */
.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-family: 'Lora', serif;
  font-size: 17px;
  font-weight: 600;
  transition: 1s ease-in-out;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
  background-color: #8b0000;
  color: #fff;
  border-radius: 20px;
}
/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {display: block;}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {background-color: #3e8e41;}
#arrow-menu{
  width: 20px;
  position: absolute;
  top: 12px;
  right: -18px;
}
.thanks img {
  width: 42%;
  margin: 39px;
}
.thanks {
  width: 100%;
  text-align: center;
  display: none;
}
/*Cookies*/
#cookie-consent p {
  margin-bottom: 0;
  width: 67%;
  font-size: 19px;
}

#cookie-consent {
  position: fixed;
  bottom: -150px;
  left: 0;
  right: 0;
  background: #000000;
  color: #fff;
  padding: 10px;
  text-align: center;
  z-index: 1000;
  height: 14%;
  /* padding: 34px; */
  border-top: 2px solid #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: bottom 0.5s ease-in-out;
}
#cookie-consent.show {
  bottom: 0; /* Элемент поднимается наверх */
}
#cookie-consent img{
  max-width: 5vw;
}
#cookie-consent a {
    color: #ffffff;
    font-weight: 500;
    text-decoration: none;

}
#cookie-consent button {
  margin-left: 10px;
  padding: 12px 22px;
  background-color: #8b0000;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 14px;
  /* border: 1px solid white; */
}

/*Mobile cookies*/

@media (max-width: 768px) {
#cookie-consent {
  position: fixed;
  bottom: -500px;
  height: 45%;
 flex-direction: column;
 gap: 20px;
}
#cookie-consent img {
  max-width: 9vw;
}
footer{
  display: none !important;
}
}
/*Fix*/
.navbar>.container, .navbar>.container-fluid, .navbar>.container-lg, .navbar>.container-md, .navbar>.container-sm, .navbar>.container-xl, .navbar>.container-xxl {

  flex-direction: row;
  flex-wrap: nowrap;
}
/*New site fixes*/
/* Карточки пакетов */
.ft-card {
  background-color: #111;
  border: none;
  border-radius: 20px;
  padding: 30px 25px;
  margin: 15px 0;
  color: #fff;
  height: 100%;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease-in-out;
}

.ft-card:hover {
  transform: translateY(-5px);
}

/* Заголовок с подчёркиванием */
.ft-card .ft-title {
  font-size: 1.8em;
  font-weight: bold;
  border-bottom: 2px solid #8b0000;
  padding-bottom: 12px;
  margin-bottom: 20px;
  text-align: center;
}

/* Текст */
.ft-card .ft-text {
  font-size: 1.1em;
  line-height: 1.6;
  text-align: center;
  flex-grow: 1;
}

@media (max-width: 768px) {
  .ft-card {
    padding: 20px;
  }

  .ft-card .ft-title {
    font-size: 1.5em;
  }

  .ft-card .ft-text {
    font-size: 1em;
  }
}
#services .ft-text
 {
    display: inline-block;
    width: 100%;
    font-size: 1.35em;
    margin-top: 20px;
    padding: 10%;
}
.ft-card{
  min-height: 500px;
}
/*Projects*/
#real-projects {
  background-color: #000;
  padding: 60px 0;
}

.section-header {
  color: white;
  font-size: 42px;
  text-align: center;
      margin-bottom: 68px;
    margin-top: 7%;
}

.project-card {
  margin-bottom: 180px;
  text-align: center;
}

.project-title {
  color: white;
  font-size: 26px;
  font-weight: bold;
  border-bottom: 3px solid #8b0000;
  display: inline-block;
  padding-bottom: 10px;
  line-height: 1.5;
}

.home_title,
.home_subtitle {
  margin-bottom: 7vh !important;
}
.swiper {
  width: 100%;
  height: 300px;
}
section{
  min-height: 100vh;
}
#services {
    padding-bottom: 15vh;
}
/* Slider */

.review-underline {
  border-bottom: 3px solid #8b0000;
  width: 250px;
  margin: 10px auto 0; /* выравнивание по центру и небольшой отступ сверху */
  margin-bottom: 20px;
}
img.rewiew-image {
    width: 100px;
}

/*Footer*/
.custom-footer {
  background-color: #000000;
  color: #ffffff;
  height: 250px; /* фиксированная высота футера */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.custom-footer a {
  color: #ffffff;
  text-decoration: none;
    font-size: 1.15rem;

}


.custom-footer a:hover {
  text-decoration: underline;
  color: #8b0000 !important;
}

.custom-footer h5 {
  font-size: 1.24rem;
  margin-bottom: 15px;
}

.custom-footer p,
.custom-footer li {
  font-size: 1.24rem;
  line-height: 1.6;
}

.custom-footer ul {
  padding-left: 0;
  list-style: none;
  margin-bottom: 0;
}

.custom-footer .footer-logo {
  width: 230px; /* увеличенный логотип */
}

.custom-footer .mt-4 {
  margin-top: 20px;
}
#home .logo {
    max-height: 118px !important;
}
.contact_subtitle{
  margin-top: 50px;
  margin-bottom: 50px;
}
/* Добавь в custom.css */
@keyframes pulseFade {
  0% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  100% {
    opacity: 0.5;
    transform: scale(1);
  }
}

.pulse-fade {
  animation: pulseFade 1.5s infinite;
}
.navbar-nav .nav-link {
    margin-right: 5px;
}
#home
 {
    border-bottom: 3px solid #fff;
}
@media screen and (max-width: 768px) {
  section {
    padding-top: 19%; 
  }
  h1.section-header.text-white.mb-3.home_title.aos-init.aos-animate {
    font-size: 36px;
    font-weight: 400;
}
#home a {
    background: transparent;
    color: #fff;
    font-size: 18px;
    border: 3px solid #fff;
    font-weight: 500;
    width: 138%;
    position: relative;
    right: 18%;
}
#results .rs-title {
    font-size: 1.9em;
    color: #000;
    text-align: center;
}
section#contact {
    padding-bottom: 300px;
}
#cform .submit_container #submit {
        width: 100% !important;
    }
}
    #results .rs-title {
    font-size: 1.8em !important;
  }
