/* Template Name: Devazo - Landing
   Author: Themesdesign
   Version: 1.0.0
   Created: Sep 2023
   File Description: Main Css file of the template
*/
/****************************************\

01.general
02.helper
03.components
04.menu
05.home
06.about
07.services
08.features
09.video
10.cta
11.download
12.sreenshort
13.counter
14.pricing
15.client
16.faq
17.contact
18.footer
19.responsive

*****************************************/
@import url("https://fonts.googleapis.com/css?family=Work+Sans:400,500,600");
body {
  font-family: "Montserrat", sans-serif;
  color: #000851 !important;
  font-size: 14px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
}

.btn,
.btn:focus,
button,
button:focus {
  outline: none !important;
}

a {
  text-decoration: none !important;
  outline: none;
}

p {
  line-height: 1.8;
}

.section {
  padding-top: 100px;
  padding-bottom: 100px;
  position: relative;
}

.vertical-content {
  display: -moz-flex;
  display: flex;
  align-items: center;
  -webkit-align-items: center;
  justify-content: center;
  -webkit-justify-content: center;
  flex-direction: row;
}

.bg-overlay {
  background-color: #323232;
  opacity: 0.7;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}

.f-12 {
  font-size: 12px;
}

.f-14 {
  font-size: 14px;
}

.f-15 {
  font-size: 15px;
}

.f-16 {
  font-size: 16px;
}

.f-18 {
  font-size: 18px;
}

.f-20 {
  font-size: 20px;
}

.line-height_1_4 {
  line-height: 1.4;
}

.line-height_1_6 {
  line-height: 1.6;
}

.line-height_1_8 {
  line-height: 1.8;
}

.title-desc {
  max-width: 700px;
  margin: 0 auto;
  font-size: 15px;
}

.title-heading {
  font-size: 34px;
}

.bg-custom {
  background-color: #5e02f5;
}

.bg-light {
  background-color: #fafaff !important;
}

.text-custom {
  color: #5e02f5;
}

.text-muted {
  color: #7f83a8 !important;
}

.btn {
  padding: 10px 20px;
  font-size: 14px;
  letter-spacing: 0.5px;
}
.btn:focus {
  box-shadow: none;
}

.btn-sm {
  padding: 7px 14px;
  font-size: 16px;
}

.btn-round {
  border-radius: 15px !important;
}

.btn-rounded {
  border-radius: 30px !important;
}

.btn-custom {
  color: #ffffff;
  border-radius: 0px;
  background-color: #ff5e92;
}

.btn-custom:hover,
.btn-custom:focus,
.btn-custom:active,
.btn-custom.active,
.btn-custom.focus,
.btn-custom:active,
.open > .dropdown-toggle .btn-custom {
  color: #ffffff !important;
  background-color: #ff5e92 !important;
  border-color: #ff5e92 !important;
}

.btn-white {
  color: #282828;
  background-color: #ffffff;
}

.btn-white:hover,
.btn-white:focus,
.btn-white:active,
.btn-white.active,
.btn-white.focus,
.btn-white:active,
.open > .dropdown-toggle .btn-white {
  color: #282828 !important;
  background-color: #ffffff !important;
}

.btn-outline {
  color: #ffffff;
  border: 1px solid #ffffff;
  border-radius: 0px;
}

.btn-outline:hover,
.btn-outline:focus,
.btn-outline:active,
.btn-outline.active,
.btn-outline.focus,
.btn-outline:active,
.btn-outline:focus,
.btn-outline:hover,
.open > .dropdown-toggle .btn-outline {
  outline: none !important;
  border: 1px solid #ffffff !important;
  background-color: #ffffff !important;
}

.navbar-custom {
  padding: 40px 0px;
  width: 100%;
  border-radius: 0px;
  z-index: 999;
  margin-bottom: 0px;
  transition: all 0.5s ease-in-out;
}
.navbar-custom .navbar-nav li a {
  line-height: 26px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
 
  transition: all 0.5s;
  background-color: transparent !important;
  padding: 6px 0;
  margin: 0 10px;
  font-weight: 500;
}

.navbar-toggler {
  font-size: 24px;
  margin-top: 5px;
  margin-bottom: 0px;
  color: #282828;
}

.logo .logo-light {
  display: inline-block;
}
.logo .logo-dark {
  display: none;
}

.nav-sticky .logo .logo-dark {
  display: inline-block;
}
.nav-sticky .logo .logo-light {
  display: none;
}

.navbar-custom .navbar-nav li.active a,
.navbar-custom .navbar-nav li a:hover,
.navbar-custom .navbar-nav li a:active {
  color: #ffffff !important;
}

.navbar-toggle {
  font-size: 24px;
  margin-top: 5px;
  margin-bottom: 0px;
  color: #ffffff;
}

.nav .open > a,
.nav .open > a:focus,
.nav .open > a:hover {
  background-color: transparent;
  border-color: #337ab7;
}

.navbar-custom .navbar-toggles {
  padding: 0.25rem 0.75rem;
  font-size: 18px;
  background: 0 0;
  border: 1px solid transparent;
  color: #ffffff;
  outline: 0;
}
.navbar-custom .navbar-toggles-icon {
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  vertical-align: middle;
}

.menu-toggle {
  padding: 4.5px 10px !important;
}

.menu-toggle span {
  line-height: 27px;
}

.navbar-button {
 
}

/*---NAVBAR STICKY--*/
.nav-sticky.navbar-custom {
  margin-top: 0px;
  padding: 15px 0px;
  background-color: #ffffff;
  box-shadow: 0 10px 33px rgba(140, 140, 140, 0.1);
}
.nav-sticky.navbar-custom.sticky-dark {
  background-color: #ffffff;
}
.nav-sticky .logo {
  color: #282828 !important;
}
.nav-sticky .navbar-nav li a {
  color: #282828 !important;
}

.nav-sticky.navbar-custom .navbar-nav li.active a,
.nav-sticky.navbar-custom .navbar-nav li a:hover,
.nav-sticky.navbar-custom .navbar-nav li a:active {
  color: #ff5e92 !important;
}

.nav-sticky.navbar-custom .navbar-toggles {
  padding: 0.25rem 0.75rem;
  border: 1px solid transparent;
  outline: 0;
}

.nav-sticky .navbar-nav {
  margin-top: 0px;
}

.bg-home-1 {
  background: linear-gradient(to right, #5e02f5, #3e0b91);
  background-size: cover;
  background-position: center center;
  position: relative;
  padding: 190px 0px;
}

.home-center {
  display: table;
  width: 100%;
  height: 100%;
}

.home-desc-center {
  display: table-cell;
  vertical-align: middle;
}

.home-content {
  position: relative;
  z-index: 9;
}

.home-img {
  position: relative;
  z-index: 9;
}

.home-title {
  color: #ffffff;
  font-size: 36px;
  max-width: 400px;
}

.home-desc {
  font-size: 16px;
  max-width: 370px;
}

.home-bg-overlay {
  background: url(../images/overlay.png);
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
}

.home-shape {
  display: block;
  position: absolute;
  width: 100%;
  height: auto;
  bottom: 0;
  left: 0;
}

.home-shape img {
  width: 100%;
  height: auto;
}

.bg-home-2 {
  background: linear-gradient(to right, #5e02f5, #3e0b91);
  background-size: cover;
  padding-top: 100px;
  position: relative;
}

.home-title-2 {
  color: #ffffff;
  font-size: 36px;
}

.home-desc-2 {
  font-size: 16px;
  max-width: 600px;
}

.home-img-2 img {
  position: relative;
  top: 80px;
  z-index: 1;
  box-shadow: 0px 7px 3px 0px rgba(239, 239, 239, 0.3);
}

.home-button span {
  position: relative;
  top: 8px;
  color: #ffffff;
}

.bg-home-3 {
  background: linear-gradient(to right, #5e02f5, #3e0b91);
  background-size: cover;
  background-position: center center;
  position: relative;
  padding: 170px 0px 140px 0px;
}

.home-icon-3 i {
  font-size: 30px;
  color: #ffffff;
}

.home-title-3 {
  font-size: 32px;
  color: #ffffff;
}

.home-desc-3 {
  font-size: 16px;
}

.start-form input {
  padding: 13px 28px;
  width: 100%;
  font-size: 14px;
  border: none;
  border-radius: 30px;
  padding-right: 180px;
}
.start-form button {
  position: absolute;
  top: 0px;
  right: 0px;
  padding: 12px 24px;
}
.start-form form {
  position: relative;
  max-width: 450px;
}

.bg-home-4 {
  background: linear-gradient(to right, #5e02f5, #3e0b91);
  background-size: cover;
  background-position: center center;
  position: relative;
  padding: 170px 0;
}

.home-4 {
  position: relative;
  z-index: 9;
}

.home-title-4 {
  font-size: 42px;
  color: #ffffff;
}
.home-title-4 span {
  font-weight: 600;
}

.home-desc-4 {
  font-size: 18px;
}

.about-icon img {
  height: 30px;
}

.services-box {
  box-shadow: 0px 7px 3px 0px rgba(239, 239, 239, 0.3);
}

.services-title {
  font-size: 24px;
}

.services-icon img {
  width: 45px;
}

.features-icon i {
  font-size: 40px;
  color: #ff5e92;
}

.read-more {
  color: #282828;
  font-weight: 600;
  border-bottom: 2px solid #282828;
  padding: 2px 0px;
}
.read-more:hover {
  color: #ff5e92;
  border-bottom: 2px solid #ff5e92;
  padding: 2px 0px;
  transition: all 0.3s;
}
.read-more i {
  font-size: 16px;
  position: relative;
  top: 2px;
}

.features-icon-2 i {
  font-size: 40px;
  color: #ff5e92;
}

.features-title {
  font-size: 40px;
}

.features-icon-3 {
  width: 44px;
  height: 44px;
  background-color: #ff5e92;
  border-radius: 4px;
  text-align: center;
  line-height: 44px;
}
.features-icon-3 i {
  font-size: 25px;
  color: #ffffff;
}

.features-content-3 {
  overflow: hidden;
}

.video {
  background-color: #5e02f5;
}

.video-title {
  font-size: 30px;
  color: #ffffff;
}

.play-icon-circle {
  height: 80px;
  width: 80px;
  background-color: #ffffff;
  line-height: 80px;
  text-align: center;
  border-radius: 50%;
  display: inline-block;
  font-size: 26px;
  color: #ff5e92;
  font-size: 40px;
}

.cta-title {
  font-size: 30px;
  color: #ffffff;
  max-width: 700px;
  margin: 0 auto;
}

.download {
  background-color: #5e02f5;
}

.screenshot-overlay a {
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
}

.screenshot-img img {
  border-radius: 4px;
}

.swiper-button-next {
  background-image: none;
  width: 40px;
  height: 40px;
  line-height: 40px;
  background-color: #282828;
  text-align: center;
  font-size: 30px;
  color: #ffffff;
  border-radius: 3px;
}

.swiper-button-prev {
  background-image: none;
  width: 40px;
  height: 40px;
  line-height: 40px;
  background-color: #282828;
  text-align: center;
  font-size: 30px;
  color: #ffffff;
  border-radius: 3px;
}

.swiper-slide img {
  box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.15);
}

.counter {
  background: linear-gradient(to right, #5e02f5, #3e0b91);
}

.counter-icon i {
  color: #ff5e92;
  font-size: 40px;
}

.counter-count {
  font-size: 40px;
  color: #ffffff;
}

.pricing-box {
  border: 1px solid #eeeef4;
  border-radius: 10px;
}

.pricing-box-active {
  box-shadow: 0px 7px 3px 0px rgba(239, 239, 239, 0.3);
}

.pricing-plan {
  color: #282828;
  font-size: 15px;
  font-weight: 600;
}

.pricing-price {
  font-size: 32px;
}

.pricing-month {
  color: #ff5e92;
}

.bg-client {
  background-image: url(../images/bg-2.jpg);
  background-size: cover;
  position: relative;
  background-position: center center;
}

.client-desc {
  max-width: 450px;
  margin: 0 auto;
}

.owl-theme .owl-controls {
  margin-top: 70px;
}
.owl-theme .owl-controls .owl-page span {
  display: block;
  width: 30px;
  height: 7px;
  background-color: #ff5e92;
}

.clinet-img img {
  width: 120px;
  box-shadow: 0px 0px 20px 0px rgba(239, 239, 239, 0.6);
  padding: 12px;
  background: #ffffff;
}

.client-logo {
  background-color: #fafaff;
}

.faq-icon {
  font-size: 26px;
  color: #ff5e92;
}

.faq-content {
  overflow: hidden;
}

.contact-box {
  box-shadow: 0 2px 2px rgba(10, 16, 20, 0.16), 0 0 2px rgba(10, 16, 20, 0.01);
  transition: all 0.4s ease 0s;
}

textarea.form-control {
  height: auto !important;
}

.error {
  margin: 8px 0px;
  display: none;
  color: #ea553d;
}

#ajaxsuccess {
  font-size: 16px;
  width: 100%;
  display: none;
  clear: both;
  margin: 8px 0px;
}

.error_message {
  padding: 10px;
  margin-bottom: 20px;
  text-align: center;
  color: #ea553d;
  border: 2px solid #ea553d;
}

.contact-loader {
  display: none;
}

#success_page {
  text-align: center;
  margin-bottom: 50px;
}

.custom-form .form-control {
  height: 44px;
  border: 1px solid rgba(40, 40, 40, 0.15);
  font-size: 14px;
  background-color: #ffffff;
  padding-left: 20px;
}
.custom-form .form-control:focus {
  outline: 0;
  box-shadow: none;
}

.subscribe-heading {
  position: relative;
  z-index: 9;
}

.subcribe-form {
  position: relative;
  z-index: 9;
}
.subcribe-form input {
  padding: 22px 30px;
  width: 100%;
  font-size: 14px;
  border: none;
  border-radius: 5px;
  padding-right: 180px;
  outline: none !important;
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.13);
}
.subcribe-form button {
  position: absolute;
  top: 11px;
  right: 12px;
}
.subcribe-form form {
  position: relative;
  max-width: 700px;
  margin: 0px auto;
}
.subcribe-form input::-webkit-input-placeholder {
  color: rgba(255, 255, 255, 0.4);
  font-weight: normal;
}
.subcribe-form input:-moz-placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.subcribe-form input::-moz-placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.subcribe-form input:-ms-input-placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.footer {
  background: linear-gradient(to right, #5e02f5, #3e0b91);
  background-size: cover;
  background-position: center center;
  position: relative;
  padding-bottom: 50px;
  padding-top: 70px;
}

.footer-bg-overlay {
  background: url(../images/overlay.png);
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
}

.footer-heading {
  letter-spacing: 2px;
}

.footer-link a {
  line-height: 40px;
  transition: all 0.5s;
  color: rgba(255, 255, 255, 0.5);
}
.footer-link a:hover {
  color: #ffffff;
}

.footer-content {
  position: relative;
  z-index: 9;
}




/* --- Мобильная версия (ширина до 768px) --- */
@media (min-width: 200px) and (max-width: 768px) {
  .navbar-custom {
    margin-top: 0px;
    padding: 15px 0px !important;
    background-color: #ffffff !important;
    box-shadow: 0 10px 33px rgba(0, 0, 0, 0.1);
    color: #ffffff !important;
  }
  .navbar-custom .navbar-nav {
    margin-top: 0px;
  }
  .navbar-custom .navbar-nav li.active {
    border-color: transparent;
  }
  .navbar-custom .navbar-nav li a {
    transition: all 0.4s;
    color: #282828 !important; /* Тёмный цвет для мобильной навигации */
    margin: 0px;
  }
  .navbar-custom > .container {
    width: 90%;
  }
  .navbar-custom .navbar-nav li.active a,
  .navbar-custom .navbar-nav li a:hover,
  .navbar-custom .navbar-nav li a:active {
    color: #ff5e92 !important; /* Фирменный цвет при наведении/активе */
  }
  .navbar-toggler {
    font-size: 24px;
    margin-top: 0px;
    margin-bottom: 0px;
    color: #282828;
  }
  .logo .logo-light {
    display: none !important; 
  }
  .logo .logo-dark { 
    display: inline-block !important; 
  }
  /* Для мобильного меню — dropdown-menu без рамки, дочерние пункты */
  .navbar .dropdown-menu {
    border: none !important;
    padding-left: 0;
    padding-right: 0;
    background: #fff;
    box-shadow: none !important;
  }
 .navbar-custom .dropdown-menu {
    display: none !important;         /* полностью убираем из потока */
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.35s cubic-bezier(.4,0,.2,1), opacity 0.25s, visibility 0s 0.35s;
}
  .navbar-custom .dropdown-menu .dropdown-item:hover,
  .navbar-custom .dropdown-menu .dropdown-item:focus,
  .navbar-custom .dropdown-menu .dropdown-item:active {
    color: #ff5e92 !important; /* Фирменный цвет при наведении */
    background: #f2f4fa !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
  }
  .navbar-custom .navbar-nav > li {
    border-bottom: 1px solid #CCC;
    padding-top: 7px;
    padding-bottom: 7px;
  }
  .navbar-custom .navbar-nav > li:last-child {
    border-bottom: none;
  }

  .navbar-custom:not(.nav-sticky) .nav-item.dropdown.show > .nav-link, 
  .navbar-custom:not(.nav-sticky) .nav-item.dropdown:focus > .nav-link {
    color: #000 !important;
    background: transparent !important;
  }

  /* --- Плавное появление dropdown-меню с анимацией max-height и прозрачности --- */
  .navbar-custom .dropdown-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(.4,0,.2,1), opacity 0.25s;
    opacity: 0;
    visibility: hidden;
    display: block !important; /* Важно для бутстрапа */
  }
.navbar-custom .dropdown.show > .dropdown-menu {
    display: block !important;        /* показываем */
    max-height: 600px;
    opacity: 1;
    visibility: visible;
    transition: max-height 0.5s cubic-bezier(.4,0,.2,1), opacity 0.2s, visibility 0s;
}
  
  
  .navbar-custom:not(.nav-sticky) .nav-item.dropdown.show > .nav-link, .navbar-custom:not(.nav-sticky) .nav-item.dropdown:focus > .nav-link {
    color: #000 !important;
    background: transparent !important;
}


}


@media (  (min-width: 768px) {

/* --- Десктопная версия (от 769px и выше) --- */

/* Базовые стили для навигации */
.navbar-custom .nav-link {
    color: #fff !important;           /* По умолчанию белые (DARK/верх) */
    transition: color 0.3s;
}
.navbar-custom .logo-light { display: inline; }
.navbar-custom .logo-dark  { display: none; }

/* Sticky (скролл вниз, светлый фон) */
.navbar-custom.nav-sticky {
    background: #fff !important;
    box-shadow: 0 6px 24px rgba(40,40,80,0.06);
}
.navbar-custom.nav-sticky .nav-link {
    color: #1E293B !important;        /* Тёмные ссылки на светлом фоне */
}
.navbar-custom.nav-sticky .logo-light { display: none; }
.navbar-custom.nav-sticky .logo-dark  { display: inline; }

/* --- Родительские пункты (DESKTOP) --- */
 
/* При скролле, sticky: hover/active фирменный */
.navbar-custom.nav-sticky .nav-link.active,
.navbar-custom.nav-sticky .nav-link.show,
.navbar-custom.nav-sticky .nav-link:hover,
.navbar-custom.nav-sticky .nav-link:focus {
    color: #ff5e92 !important;
    background: transparent !important;
}

/* --- Выпадающие меню (DESKTOP) --- */
.navbar-custom .dropdown-menu {
    background: #fff;
    border-radius: 10px;
    min-width: 200px;
    border: none;
    box-shadow: 0 8px 32px rgba(80,80,140,0.10);
    padding: 8px 0;
}
.navbar-custom .dropdown-menu .dropdown-item { 
    color: #1E293B !important;           /* Всегда тёмный цвет */
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    padding: 10px 24px;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
}
.navbar-custom .dropdown-menu .dropdown-item:hover,
.navbar-custom .dropdown-menu .dropdown-item:focus,
.navbar-custom .dropdown-menu .dropdown-item:active {
    color: #5e02f5 !important;           /* Фирменный цвет при наведении */
    
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Снимаем выделение/рамки при табе/клике для accessibility (но если нужна accessibility — закомментируй этот блок!) */
.navbar-custom .dropdown-menu .dropdown-item:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

 
.navbar-custom.nav-sticky .nav-item.dropdown.show > .nav-link,
.navbar-custom.nav-sticky .nav-item.dropdown:focus > .nav-link {
    color: #ff5e92 !important;
}

/* Для промежуточных устройств (планшеты) */
@media (min-width: 769px) and (max-width: 991.98px) {
    .navbar-custom .nav-link {
        color: #1E293B !important;
    }
    .navbar-custom .logo-light { display: none !important; }
    .navbar-custom .logo-dark  { display: inline !important; }
	
	
	
	
  

}
 
 
 
 
 
  .navbar-custom .dropdown-menu {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s cubic-bezier(.4,0,.2,1);
    display: block;      /* не ломает бутстрап, т.к. сам бутстрап меняет display только на мобильных */
    pointer-events: none; /* чтобы нельзя было кликнуть по скрытому меню */
  }
  .navbar-custom .dropdown.show .dropdown-menu,
  .navbar-custom .dropdown:hover .dropdown-menu {
    opacity: 0.9;
    visibility: visible;
    pointer-events: auto;
    /* появляется плавно */
  }