.navbar-brand {
  font-family: "Arial", sans-serif;
  text-decoration: none;
}

.navbar-brand:hover {
  text-decoration: none;
}

.hero-area-bg {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.head-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #fff;
}

.contents p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

.services-item {
  transition: all 0.3s ease;
  border-radius: 10px;
  overflow: hidden;
}

.services-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #2c3e50;
}

.box-item {
  padding: 20px;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.box-item:hover {
  background: rgba(231, 76, 60, 0.1);
  transform: translateX(5px);
}

.show-box {
  text-align: center;
  padding: 40px 20px;
}

.show-box img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.15));
}

#features {
  background: #fff;
}

#features .section-header {
  margin-bottom: 60px;
}

#features .section-title {
  color: #2c3e50;
  font-size: 2.5rem;
  font-weight: 700;
}

#features .shape {
  background: #e74c3c;
  height: 4px;
  width: 60px;
  margin: 0 auto;
  border-radius: 2px;
}

.content-left,
.content-right {
  padding-top: 20px;
}

.contact-form {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.contact-form .form-control {
  border: 2px solid #e9ecef;
  border-radius: 8px;
  padding: 12px 15px;
  transition: all 0.3s ease;
}

.contact-form .form-control:focus {
  border-color: #e74c3c;
  box-shadow: 0 0 0 0.2rem rgba(231, 76, 60, 0.25);
}

.footer-logo {
  margin-bottom: 20px;
}

.navbar-brand span,
.footer-logo span {
  color: #f63854;
  font-weight: bold;
  font-size: 24px;
  font-family: "Poppins", sans-serif;
}

.footer-titel {
  color: #e74c3c;
  font-weight: 600;
  margin-bottom: 20px;
  margin-top: 30px;
}

.address li {
  margin-bottom: 5px;
}

.address li a {
  color: #bdc3c7;
  transition: color 0.3s ease;
}

.address li a:hover {
  color: #e74c3c;
}

/* Footer address list vertical alignment */
.address {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.address li {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .head-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .box-item {
    padding: 20px;
  }

  #features .section-title {
    font-size: 2rem;
  }

  .navbar-brand span,
  .footer-logo span {
    font-size: 12px !important;
  }

  #contact {
    font-size: 12px !important;
  }

  .logo-image {
    width: 35px;
    height: 35px;
  }

  /* Мобильные стили для иконок в box-item */
  #features .box-item .icon {
    text-align: left;
    margin: 12px 0;
  }

  #features .box-item .text {
    text-align: left;
  }
}

.wow {
  visibility: hidden;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #e74c3c;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #c0392b;
}

/* Logo as background image to prevent iOS rotation issues */
.logo-image {
  width: 40px;
  height: 40px;
  background-image: url("../img/logo_cloud.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;
  flex-shrink: 0;
}

/* iOS Safari specific fixes for logo */
@supports (-webkit-touch-callout: none) {
  .logo-image {
    transform: none !important;
    -webkit-transform: none !important;
    -moz-transform: none !important;
    -ms-transform: none !important;
    -o-transform: none !important;
    transform-origin: center center !important;
    -webkit-transform-origin: center center !important;
    -moz-transform-origin: center center !important;
    -ms-transform-origin: center center !important;
    -o-transform-origin: center center !important;
    transition: none !important;
    -webkit-transition: none !important;
    -moz-transition: none !important;
    -ms-transition: none !important;
    -o-transition: none !important;
  }
}

/* Navbar Contact Info Styles */
.navbar-brand-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.navbar-contact-info {
  display: flex;
  flex-direction: row;
  margin-top: 5px;
  gap: 15px;
}

.contact-link {
  font-size: 12px;
  color: #abacae !important;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline;
}

/* Mobile responsive for navbar contacts */
@media (max-width: 768px) {
  .navbar-contact-info {
    margin: 0 auto;
  }
}

/* Scrolling navbar styles for contacts */
.top-nav-collapse .navbar-brand-section {
  padding: 0 !important;
  margin: 0 !important;
}

.top-nav-collapse .navbar-contact-info {
}

.top-nav-collapse .contact-link {
  color: #abacae !important;
}

#contact {
  color: #f63854;
  font-weight: bold;
  font-size: 24px;
  font-family: "Poppins", sans-serif;
}

/* Footer contact info styles */
.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 15px;
}

.footer-contact-info .contact-link {
  font-size: 14px;
  color: #333 !important;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.5;
}

.footer-contact-info .contact-link:hover {
  color: #f63854 !important;
}

.footer-contact-info .contact-link i {
  font-size: 16px;
  width: 20px;
  text-align: center;
  color: #666666;
}

/* Mobile responsive for footer contacts */
@media (max-width: 768px) {
  .footer-contact-info {
    gap: 6px;
  }

  .footer-contact-info .contact-link {
    font-size: 13px;
  }
}

/* Mobile styles for services to match workflow layout */
@media (max-width: 767px) {
  .services-item {
    text-align: left;
    padding: 15px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
  }

  .services-item .icon {
    margin: 0;
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .services-item .icon i {
    line-height: 1;
    font-size: 24px;
  }

  .services-item .services-content {
    flex: 1;
    text-align: left;
  }

  .services-item .services-content h3 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 16px;
  }

  .services-item .services-content p {
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.5;
  }
}
