/*
Theme Name: Kostov
Theme URI: https://kostov.io/
Description: Custom child theme for Astra
Author: M3
Author URI: https://kostov.io/
Template: astra
Version: 1.0.0
*/

/* Add custom styles below */

body,
button,
input,
select,
textarea,
.ast-button,
.ast-custom-button {
    font-family: 'Open Sans', sans-serif !important;
}

#ast-hf-menu-1 {
	border-bottom: 1px solid #fff;
}

#ast-hf-menu-1 .menu-item.current-menu-item:not(.lang-item) {
    border-bottom: 2px solid #fff;
}

/* Base style for all language switcher items */
#ast-hf-menu-1 .menu-item.lang-item {
	margin-left: 10px;
}

#ast-hf-menu-1 .menu-item.lang-item > a {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 50%;
    background-color: #002c60;
    color: #fff;
    text-align: center;
    min-width: 40px;
    height: 40px;
    line-height: 24px;
    font-weight: bold;
    transition: 0.3s ease;
	maargin-left: 10px;
}

/* Active language */
#ast-hf-menu-1 .menu-item.lang-item.current-lang > a {
    background-color: #fff;
    color: #002c60;
}


/* Social Icons */
.floating-social {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px 0;
  z-index: 9999;
}

.icon.phone::before {
  content: "";
  display: inline-block;
  width: 70px;
  height: 57px;
  background-image: url('https://www.kostov.io/wp-content/uploads/2025/06/phone.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-right: 6px;
}
.icon.email::before {
  content: "";
  display: inline-block;
  width: 70px;
  height: 57px;
  background-image: url('https://www.kostov.io/wp-content/uploads/2025/06/email_07.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-right: 6px;
}
.icon.location::before {
  content: "";
  display: inline-block;
  width: 70px;
  height: 57px;
  background-image: url('https://www.kostov.io/wp-content/uploads/2025/06/location_07.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-right: 6px;
}

.icon.linkedin::before {
  content: "";
  display: inline-block;
  width: 70px;
  height: 57px;
  background-image: url('https://www.kostov.io/wp-content/uploads/2025/06/linkedin_07.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-right: 6px; /* space before text */
}

.custom-carousel .item {
  background: #fff;
  border-radius: 16px;
  padding: 30px 20px;
  /*box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); */
  text-align: center;
  height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: transform 0.3s ease;
  border: 1px solid #ebebeb;
}

.custom-carousel .item:hover {
  transform: translateY(-5px);
}
.custom-carousel img {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
}
.custom-carousel h3 a {
  font-size: 18px;
  margin-bottom: 10px;
  color: #1a1a1a;
  text-decoration: none !important;
}
.custom-carousel p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  max-width: 260px;
  margin: 0 auto;
}
.owl-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  margin-top: -20px;
  display: flex;
  justify-content: space-between;
}
.owl-nav button {
  background: none;
  border: none;
  font-size: 30px;
  color: #888;
  cursor: pointer;
}
.owl-dots {
  margin-top: 20px;
}
.owl-dot span {
  background: #ccc;
}
.owl-dot.active span {
  background: #333;
}

.custom-carousel .item img {
	max-width: 80px;
	margin: 20px auto;
	padding-bottom: 40px;
	border-bottom: 1px solid #ebebeb;
}

.owl-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none; 
}

.custom-carousel {
  position: relative;
}

.owl-nav button.owl-prev {
  transform: translateX(-120px);
  width: 62px; height: 119px;
}

.owl-nav button.owl-next {
  transform: translateX(120px);
  width: 62px; height: 119px;
}

.owl-nav button {
  background: none !important;
  border: none !important;
 
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  pointer-events: auto !important;
  transition: all 0.3s ease;
  box-shadow: none;
}

.title_border {
  position: relative; 
  padding-bottom: 5px; 
  display: inline-block;
}

.title_border::after {
  content: ""; 
  display: block; 
  width: 125px;
  height: 1px; 
  background-color: #f26522; 
  margin: 30px auto;
}

#hp_bg_transform .elementor-button:hover {
	transform: translateY(-5px);
}

.site-footer {
	margin-top: -200px;
}

.ast-footer-copyright, .ast-footer-copyright a {
	font-size: 14px !important; 
	font-weight: 300 !important;
	color: #000 !important;
}

body:not(.home) .site-header {
    background: url(https://www.kostov.io/wp-content/uploads/2025/06/bg_inner_page-1.jpg) top center no-repeat;
	background-size: cover;
	padding-bottom: 30px;
}

body:not(.home) .ast-primary-header {
	background-color: transparent !important;
	border: 0px !important;
}


.circle-label {
  position: relative;
  width: 150px;
  height: 150px;
  background-color: #153c7a;
  color: white;
  font-weight: bold;
  text-align: center;
  line-height: 150px;
  border-radius: 50%;
  font-family: sans-serif;
  font-size: 18px;
  margin: 50px auto;
}

.circle-label::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 20px solid #153c7a;
}

.circle-label.vision {
	background-color: #143565;
}

.vision.circle-label::after {
	border-top: 20px solid #143565;
}

#digital-transformation h2::before {
	background-image: url('https://www.kostov.io/wp-content/uploads/2025/06/digital_transformation.png');
}
#process-automation h2::before {
	background-image: url('https://www.kostov.io/wp-content/uploads/2025/06/process_automation.png');
}
#product-development h2::before {
	background-image: url('https://www.kostov.io/wp-content/uploads/2025/06/product_development.png');
}		
#industrial-iot h2::before {
	background-image: url('https://www.kostov.io/wp-content/uploads/2025/06/industrial.png');
}	
#security-critical-systems h2::before {
	background-image: url('https://www.kostov.io/wp-content/uploads/2025/06/security.png');
}
#workshops h2::before {
	background-image: url('https://www.kostov.io/wp-content/uploads/2025/06/education.png');
}	
	
#digital-transformation h2::before, #process-automation h2::before, #product-development h2::before,
#industrial-iot h2::before, #security-critical-systems h2::before, #workshops h2::before {
  content: "";
  display: inline-block;
  width: 30px;
  height: 30px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-right: 6px;
  vertical-align: middle;
}

#address_icon::before {
  content: "";
  display: inline-block;
  width: 30px;
  height: 50px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-right: 6px;
  vertical-align: middle;
}

#contact-form .form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0px 20px;
  margin-bottom: 0px;
}

#contact-form .two-columns .form-col {
  flex: 1 1 48%;
}

#contact-form .form-col label,
#contact-form .form-row label {
  display: block;
  font-size: 14px;
  margin-bottom: 5px;
}

#contact-form input[type="text"],
#contact-form input[type="email"],
#contact-form input[type="tel"],
#contact-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

#contact-form-kostov textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  min-height: 120px;
}

#contact-form input[type="submit"] {
  background-color: #0a2c61;
  color: #fff;
  font-weight: bold;
  padding: 12px 40px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

#contact-form input[type="submit"]:hover {
  background-color: #001e4d;
}

#contact-form .form-row:last-child {
  display: flex;
  justify-content: center;
}

.make_inquiry .elementor-button:hover {
  transform: translateY(-5px);
}

.mobile-contact-icons ul {
  display: flex;
  gap: 15px;
  justify-content: center;
  padding: 10px 0;
  margin-left: 0px !important;
  padding-left: 20px;
}
.mobile-contact-icons ul li {
   list-style: none;
}

.mobile-contact-icons li a {
  font-size: 18px;
  color: #fff;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch; /* Плавен скрол на iOS */
}

.table-responsive table {
  width: 100%;
  border-collapse: collapse;
}

.table-responsive th,
.table-responsive td {
  white-space: nowrap; /* Не чупи текста на колони */
  padding: 8px; /* По-добра четимост */
  text-align: left; /* За подравняване */
  border: 1px solid #ddd; /* Ако искаш рамки */
}

.table-responsive thead {
  background: #f9f9f9; /* Лек контраст за заглавията */
}

@media screen and (max-width: 1399px) {
  .owl-nav {
    display: none !important;
  }
}

@media screen and (max-width: 1999px) {
	/*#hp_bg_transform {
		background-position: calc(50% - 150px) top;
	}*/
}

@media screen and (min-width: 1200px) {
  .ast-footer-copyright {
	display: block;
	width: 100%;
	text-align: center;
	position: absolute;
	bottom: 10%;
	left: 0;
	z-index: 1;

  }

	.site-footer {
		position: relative;
	}
	
	.ceo_image img {
		margin-right: 0 !important;
	}

}

@media screen and (min-width:1200px) and (max-width: 1270px){
    .site-branding.ast-site-identity {
		margin-left: 0px;
	}
	
	.main-header-menu > .menu-item > .menu-link, #astra-footer-menu > .menu-item > .menu-link {
		font-size: 14px;
	}
}

@media screen and (max-width: 1199px) {
  .owl-nav {
    display: none !important;
  }
  
 /*  .space_hp_1 {
	  display: none !important;
  } */
	
  #ast-desktop-header {
	display: none;
  }	
}

@media screen and (max-width: 1024px) {
 #hp_bg_transform {
	background-position: top right;
  }

}

@media (max-width: 768px) {
  #ast-hf-mobile-menu .lang-item {
    display: inline-block;
  }

  #ast-hf-mobile-menu .lang-item:first-of-type {
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin-top: 10px;
  }
 
  .ast-header-break-point .main-navigation .stack-on-mobile .lang-item {
    width: auto !important;
    display: inline-block;
    margin-right: 10px;
  }

  .ast-header-break-point .main-navigation .stack-on-mobile .lang-item:first-of-type {
    display: flex;
    flex-direction: row;
    gap: 10px;
  }
}





