* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", serif;
  font-optical-sizing: auto;
  font-style: normal;
}

html,
body {
  margin: 0;
  padding: 0;
  background-color: #213448;
  /* ВАЖНО: фон всей страницы */
  color: white;
  font-family: sans-serif;
}

header {
  height: 100vh;
  background-color: #213448;
}

header nav {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 84px;
}
.logo-ct{
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo-ct img {
  margin-top: 3px;
  width: 238px;
  height: 50px;
}

.navbar ul {
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
}

.navbar ul li {
  font-size: 14px;
  margin: 0px 20px;
  list-style: none;
}

.navbar ul li a {
  color: #fff;
  text-decoration: none;
  padding: 10px 15px;
  transition: .2s;
}

ul .need-help-btn a {
  border: 2px solid #fff;
  border-radius: 40px;
  padding: 22px 40px;
  transition: .2s;
  font-size: 12px;
}

ul .need-help-btn:hover a {
  background-color: #fff;
  color: #343045;
}

ul .nav-item:hover a {
  color:  #000;
}
.langRU:hover{
  color: RED;
}
.consulting-area-title .gradient-text {
  color: #fff;
}

.consulting-area-title .consulting-button {
  /* background-color: #C0B7E8; */
  border: 2px solid #fff;
  background-color: transparent;
  padding: 10px 20px;
  border-radius: 40px;
  transition: .3s;
  color: #fff;
}



.consulting-area-title .consulting-button:hover {
  background-color: #fff;
  color: #000;
  
}



.info-part-inner {
  border-radius: 90px;
  padding: 40px 30px;
  background: radial-gradient(50% 2900.76% at 50% 53.89%, rgba(33, 52, 72, 0.95) 0%, #211E2E 100%) /* warning: gradient uses a rotation that is not supported by CSS and may not behave as expected */;
  border: 1px solid #21344854;
  box-shadow: 0px 4px 4px 0px #C0B7E803;

}

.info-part-inner .info-item {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
}

.info-part-inner .info-item p {
  margin: 0;
  font-size: 11px;
  font-weight: 300;
}

.info-part-inner .info-item i {
  font-size: 45px;
  margin-right: 40px;
  color: #C0B7E8;
}






.services .services-inner {
  background-image: url(./imgs/vawe.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: 1%;
}

.services .services-inner .services-group-items .services-item {
  width: 230px;
  height: 230px;
  border-radius: 230px;
  padding: 86px 23px;
  margin: 0px 15px;
  background: #294868;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.services .services-inner .services-group-items .services-item h5 {
  color: #fff;
  font-size: 20px;
  font-weight: 500;
}

.service-details {
  background-color: #213448;
  color: #fff;
}

.service-details .service-details-item {
  
  padding-top: 30px;
  border-bottom: 1px solid gray;
}
.service-details .service-details-item .service-details-item-inner{
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.service-details .service-details-item .service-details-item-title {
  cursor: pointer;
  user-select: none;
}

.service-details .service-details-item .dropDownArrow{
  width: 40px;
  transition: transform 0.3s ease;
}


.service-details-item.open .dropDownArrow {
  transform: rotate(135deg);
}

.service-details .service-details-item .service-details-item-description {
  max-height: 0;
  overflow: hidden;
  /* transition: max-height 0.4s ease, padding 0.4s ease; */
  transition: 0.3s;
  padding: 0 0;
  margin-top: 0;
}

.service-details-item.open .service-details-item-description {
  max-height: 500px;
  /* достаточно для большинства описаний */
  padding: 10px 0;
}


.atlassian-services {
  background-color: #213448;
  color: white;
  padding: 80px 20px;
  font-family: sans-serif;

}

.atlassian-services-inner{
 
}

.atlassian-services h2 {
  text-align: left;
  margin-bottom: 40px;
  font-size: 26px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 45px;
  max-width: 100%;
  padding: 40px 40px;
  border: 1px solid #FFFFFF;
  border-radius: 50px;
  
}

.service-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: #213448;
  padding: 20px;
  border-radius: 15px;
  position: relative;
  transition: transform 0.3s ease;
  gap: 10px;
}

.service-card:hover {
  transform: translateY(-3px);
}

.service-card .icon {
  margin-bottom: 10px;
}

.service-card .icon img{
  width: 50px;
}

.service-card h4 {
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 600;
}

.service-card .short-text {
  font-size: 14px;
  line-height: 1.5;
  position: relative;
  font-weight: 400;
}

.more-text {
  display: none;
  transition: all 0.3s ease;
}

.service-card.expanded .more-text {
  display: inline;
}

.read-more {
  text-align: left;
  font-weight: bold;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  margin-top: 10px;
  font-size: 14px;
  padding: 0;
}




.gera-slider-section {
  background-color: #213448;
  color: white;
  padding: 50px 20px;
  font-family: sans-serif;
  overflow: hidden;
}

.gera-slider-section h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 30px;
}

.slider-fade-container {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}

.slider-fade-container::before,
.slider-fade-container::after {
  content: '';
  position: absolute;
  top: 0;
  width: 60px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.slider-fade-container::before {
  left: 0;
  background: linear-gradient(to right, #213448 0%, transparent 100%);
}

.slider-fade-container::after {
  right: 0;
  background: linear-gradient(to left, #213448 0%, transparent 100%);
}

.slider-wrapper {
  overflow: hidden;
  cursor: grab;
  user-select: none;
  width: 100%;
}

.card-slider {
  display: flex;
  gap: 20px;
  padding-bottom: 10px;
  transition: transform 0.5s ease;
}

.slide-card {
  border: 1px solid #FFFFFF;
  background: #213448;
  border-radius: 15px;
  padding: 25px;
  max-width: 254px;
  height: 309px;
  flex: 0 0 auto;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.slide-card h4 {
  margin-bottom: 10px;
  font-size: 18px;
}

.slide-card p {
  font-size: 14px;
  line-height: 1.5;
}


/* Контейнер формы */
.contact-section {
  background-color: #213448;
  padding: 60px 20px;
  font-family: sans-serif;
  color: white;
}

.contact-container {
  background: radial-gradient(circle at top left, #213448, #213448);
  border-radius: 40px;
  padding: 40px;
  max-width: 900px;
  margin: 0 auto 40px auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Заголовок */
.contact-container h2 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 30px;
}

/* Сетка инпутов */
.contact-form .input-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

/* Контейнер для каждого поля */
.field {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;

}

/* Инпуты и textarea */
.contact-form input,
.contact-form textarea {
  background: transparent;
  border: 1px solid #fff;
  border-radius: 25px;
  padding: 12px 20px;
  color: white;
  font-size: 14px;
  outline: none;
  transition: border 0.3s;
  width: 100%;
  box-sizing: border-box;
}

.contact-form textarea {
  resize: vertical;
  
}

/* Фокус */
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #8a9eff;
}

/* Ошибка */
input.error,
textarea.error {
  border-color: #ff6b6b;
}

.error-msg {
  color: #ff6b6b;
  font-size: 12px;
  margin-top: 4px;
  display: none;
}

/* Кнопка отправки */
.button-wrapper {
  text-align: right;
  margin-top: 20px;
}

.contact-form button {
  background: #213448;
  border: 1px solid #fff;
  color: #fff;
  padding: 10px 24px;
  font-size: 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-form button:hover {
  background: #fff;
  color: #000;
}

/* Сообщение об успешной отправке */
.form-status {
  margin-top: 20px;
  text-align: center;
  font-weight: bold;
  color: #90ee90;
  display: none;
}





/* ===== КАРТА ===== */
.map-section {
  background-color: #213448;
  /* фон блока с картой */
  padding: 40px 20px;
}

.map-wrapper {
  position: relative;
  max-width: 1100px;
  height: 300px;
  margin: 0 auto;
  border-radius: 60px;
  overflow: hidden;
  background-color: #213448;
  /* фон за iframe */
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: brightness(0.7) contrast(1.1);
  /* затемнение */
}

/* ===== ФУТЕР ===== */
.site-footer {
  background-color: #213448;
  color: white;
  padding: 40px 20px 20px;
  font-family: sans-serif;
}

.footer-content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  height: 50px;
  width: auto;
}

.footer-name {
  font-size: 18px;
  font-weight: bold;
}

.footer-right {
  text-align: right;
}

.footer-title {
  display: block;
  font-size: 12px;
  letter-spacing: 1px;
  margin-bottom: 10px;
  font-weight: bold;
}

.footer-socials a {
  display: inline-block;
  background-color: #bfbfff;
  color: #213448;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  line-height: 32px;
  text-align: center;
  font-size: 14px;
  margin-left: 6px;
  transition: background 0.3s;
}

.footer-socials a:hover {
  background-color: #dcdcff;
}

/* Нижняя строка */
.footer-bottom {
  text-align: center;
  font-size: 12px;
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 15px;
}


@media (max-width: 991px) {
  header nav {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }

  .navbar ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 20px;
  } 

  .consulting-area-title {
    width: 100% !important;
    padding: 20px 15px;
  }

  .consulting-image {

    
  }

  .consulting-area .row,
  .about-page .row,
  .info-part .row {
    flex-direction: column;
    text-align: center;
  }

  .info-item {
    flex-direction: column;
    margin-bottom: 20px;
  }

    .services-group-items {
      display: flex !important;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 30px;
    }
  
    .services-group-items .services-item {
      margin: 0 auto;
    }
}

.burger-toggle {
  display: none;
  top: 35px;
  right: 25px;
  z-index: 2001;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  background: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.burger-toggle div {
  height: 3px;
  width: 100%;
  background-color: #fff;
  border-radius: 2px;
}

.burger-toggle.hidden {
  opacity: 0;
  pointer-events: none;
  z-index: 0;
}

.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  z-index: 2000;
}

.mobile-menu {
  background-color: #213448;
  width: 280px;
  height: 100%;
  padding: 30px 20px;
  position: fixed;
  right: 0;
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
  animation: slideIn 0.3s ease forwards;
  z-index: 2002;
}


.mobile-menu .need-help-btn{
  margin-top: 60px !important;
}
.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin-top: 50px;
  width: 100%;
}

.mobile-menu ul li {
  margin-bottom: 20px;
}

.mobile-menu ul li a {
  color: white;
  font-size: 16px;
  text-decoration: none;
}

.close-button {
  background: none;
  border: none;
  color: white;
  font-size: 28px;
  cursor: pointer;
  align-self: flex-end;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
  }

  to {
    transform: translateX(0);
  }
}
/* ==== АДАПТИВНЫЕ ФИКСЫ (iPad и Mobile) ==== */
@media (max-width: 1024px) {
  /* Навигация фиксированная */
  header nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #213448;
    z-index: 1000;
    padding: 12px 20px;
  }

  /* Убираем ul у десктопной навигации */
  header nav .navbar ul {
    display: none !important;
  }

  /* Показываем бургер */
  .burger-toggle {
    display: flex !important;
  }

  /* Фикс для бургер-меню */
  .mobile-menu {
    height: 100vh;
    max-width: 100%;
    border-radius: 0;
    z-index: 2002;
  }

  /* При открытии бургер-меню скрываем бургер-кнопку */
  .burger-toggle.hidden {
    display: none;
  }
}

/* ==== iPad MINI и меньше (768px) ==== */
@media (max-width: 768px) {
  /* Основной контейнер заголовка */
  .consulting-area-title {

    width: 100% !important;
    max-width: 100%;
    padding: 20px 20px;
    margin: 0 auto;
    text-align: center;
  }

  .consulting-button {
    width: 100%;
    text-align: center;
  }

  .consulting-image {
    padding-top: 30px;
  }

  /* Блок Info (иконки) */
  .info-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 30px;
  }

  /* Services (круги) */
  .services-group-items {
    flex-direction: column !important;
    align-items: center;
    justify-content: center;
    gap: 30px;
  }

  .services-group-items .services-item {
    margin: 0 auto;
  }

  /* Атлассиан карточки */
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }

  /* Footer */
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .footer-right {
    text-align: center;
  }

  .footer-socials a {
    margin-left: 10px;
  }
}