/* ===== gauto-header-top-area (нова версия) ===== */

.gauto-header-top-area {
  background: #020202 none repeat scroll 0 0;
  color: #eee;
}

/* --- лява част (същата като старата) --- */
.header-top-left {
  position: relative;
  z-index: 1;
  padding: 10px 0;
}
.header-top-left:before {
  position: absolute;
  background: #1a92d1 none repeat scroll 0 0;
  content: "";
  top: 0;
  right: 37%;
  width: 2030px;
  height: 100%;
  -webkit-transform: skewX(45deg);
  transform: skewX(45deg);
  z-index: -1;
}

/* --- дясна част: менюто --- */
.header-top-right {
  text-align: right;
  padding: 10px 0;
}

/* Bootstrap navbar изчистване, за да не внася собствени отстояния/фон */
.header-top-right .navbar {
  padding: 0;
  min-height: auto;
  background: transparent !important;
}
.header-top-right .navbar-nav {
  justify-content: flex-end;
}
.header-top-right .navbar-nav .nav-item {
  display: inline-block;
}

/* връзките от първо ниво — като старите <a> в header-top-right */
.header-top-right .nav-link,
.header-top-right .navbar-nav li a {
  display: inline-block;
  color: #eee!important;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  padding: 0;
  margin-right: 10px;
  background: transparent;
  border: medium none;
  cursor: pointer;
  -webkit-transition: all 0.4s ease 0s;
  transition: all 0.4s ease 0s;
}
.header-top-right .nav-link:hover,
.header-top-right .nav-link:focus {
  color: #1a92d1;
  background: transparent;
}

/* иконата на акаунта */
.header-top-right .account-icon {
  color: #1a92d1;
  font-size: 16px;
  line-height: 1;
}

/* стрелкичката на dropdown-a */
.header-top-right .dropdown-toggle::after {
  vertical-align: middle;
  margin-left: 6px;
}

/* --- падащо меню на акаунта — като стария .dropdown-menu --- */
.header-top-right .dropdown-menu {
  border-radius: 0;
  border: medium none;
  background: #020202 none repeat scroll 0 0;
  color: #fff;
  margin: 0;
  left: auto !important;
  right: 0;
  padding: 0;
  min-width: 130px;
  box-shadow: none !important;
  -webkit-transition: all 0.4s ease 0s;
  transition: all 0.4s ease 0s;
}

.header-top-right .dropdown-menu li {
  padding: 0;
  border-bottom: 1px solid #444;
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
}
.header-top-right .dropdown-menu li:last-child {
  border-bottom: none;
}

.header-top-right .dropdown-menu .dropdown-item {
  display: block;
  width: 100%;
  padding: 5px 10px;
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  text-transform: none;
  background: transparent;
  white-space: nowrap;
}
.header-top-right .dropdown-menu .dropdown-item i {
  color: #1a92d1;
  margin-right: 5px;
}
.header-top-right .dropdown-menu .dropdown-item:hover,
.header-top-right .dropdown-menu .dropdown-item:focus {
  background: #2e2e2e none repeat scroll 0 0;
  color: #fff;
}
/*================================================
08 - MAIN HEADER CSS
==================================================*/
.gauto-main-header-area {
  padding: 15px 0;
}
.header-promo {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: end;
  -ms-flex-line-pack: center;
  align-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.single-header-promo {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
}
.header-promo-icon {
  font-size: 45px;
  margin-right: 10px;
}
.header-promo-info {
  color: #555;
}
.header-promo-info h3 {
  font-size: 20px;
  line-height: 30px;
  color: #001238;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
}
.header-action {
  text-align: right;
}
.header-action a {
  display: inline-block;
  text-align: center;
  padding: 10px 25px 10px 0px;
  background: #1a92d1 none repeat scroll 0 0;
  color: #fff;
  text-transform: uppercase;
  font-weight: 500;
  position: relative;
  z-index: 1;
}
.header-action a:before {
  position: absolute;
  background: #1a92d1 none repeat scroll 0 0;
  content: "";
  top: 0;
  left: -25px;
  width: 35%;
  height: 100%;
  -webkit-transform: skewX(45deg);
  transform: skewX(45deg);
  z-index: -1;
}
.header-action a i {
  margin-right: 2px
}
.gauto-mainmenu-area {
  background: #ffffff none repeat scroll 0 0;
}
.mainmenu .border-bottom {
    background: #020202;
}
.mainmenu ul {
  text-align: left!important;
}
.mainmenu ul li {
  display: inline-block!important;
  position: relative!important;
}
.mainmenu ul li a {
  color: #eee!important;
  display: block!important;
  padding: 20px 12px!important;
  text-transform: uppercase!important;
  font-size: 14px!important;
  font-weight: 500!important;
  background-color: transparent !important;
}
.mainmenu ul li:hover > a, .mainmenu ul li.active > a {
  color: #1a92d1!important
}
.mainmenu ul li ul {
  width: 300px!important;
  background: #fff none repeat scroll 0 0!important;
  z-index: 99!important;
  visibility: hidden!important;
  opacity: 0!important;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"!important;
  -webkit-transition: all 0.3s ease 0s!important;
  transition: all 0.3s ease 0s!important;
}
.mainmenu ul li:hover ul {
  visibility: visible!important;
  opacity: 1!important;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"!important;
}
.mainmenu ul li ul li {
  display: block!important;
  border-bottom: 1px solid #eee!important;
}
.mainmenu ul li ul li:last-child {
  border-bottom: 0px solid #eee!important;
}
.mainmenu ul li ul li a {
  color: #001238!important;
  padding: 10px 15px!important;
  display: block!important;
  font-size: 14px!important;
}
.mainmenu ul li ul li a:hover {
  padding-left: 20px!important;
}
/* --- бутон "Меню" за мобилна версия --- */
.menu-toggle-btn {
    color: #fff;
    border: 1px solid #fff;
    border-radius: 0;
    background: transparent;
    padding: 8px 25px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    -webkit-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}
.menu-toggle-btn:hover,
.menu-toggle-btn:focus {
    color: #fff;
    background: #1a92d1;
    border-color: #1a92d1;
    box-shadow: none;
}
/* докато менюто е отворено, бутонът да стои "натиснат" */
.menu-toggle-btn[aria-expanded="true"] {
    color: #fff;
    background: #1a92d1;
    border-color: #1a92d1;
}
@media (min-width: 992px) {
    /* показва подменюто при посочване с мишката */
    #secondMenu .nav-item.dropdown:hover > .dropdown-menu {
        display: block;
    }

    /* без отстояние между връзката и менюто,
       за да не се "губи" hover-ът по пътя */
    #secondMenu .nav-item.dropdown > .dropdown-menu {
        margin-top: 0;
    }
}
#map {
    height: 450px;
    width: 100%;
    position: relative;
    z-index: 1;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.contact-page {
    padding: 70px 0;
}

.contact-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .07);
    overflow: hidden;
}

.contact-card-header {
    padding: 25px 30px;
    border-bottom: 1px solid #e9ecef;
    background: #fff;
}

.contact-card-header h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    color: #212529;
}

.contact-card-body {
    padding: 30px;
}

.contact-form .form-label {
    font-weight: 500;
    color: #343a40;
    margin-bottom: 8px;
}

.contact-form .form-control {
    min-height: 48px;
    border-radius: 8px;
    border: 1px solid #ced4da;
    padding: 10px 14px;
    box-shadow: none;
    transition: all .2s ease;
}

.contact-form .form-control:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 .2rem rgba(13, 110, 253, .15);
}

.contact-form textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.contact-field {
    position: relative;
}

.contact-field-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    pointer-events: none;
}

.contact-field textarea+.contact-field-icon {
    top: 18px;
    transform: none;
}

.contact-submit {
    min-height: 48px;
    border: 0;
    border-radius: 8px;
    padding: 10px 28px;
    font-weight: 600;
    color: #fff;
    background: #0d6efd;
    transition: all .2s ease;
}

.contact-submit:hover {
    background: #0b5ed7;
    color: #fff;
    transform: translateY(-1px);
}

.contact-submit:disabled {
    opacity: .7;
    transform: none;
}

.contact-info {
    height: 100%;
    color: #fff;
    background: #212529;
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .07);
}

.contact-info h3 {
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-info-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    color: #fff;
    font-size: 17px;
}

.contact-info-content h4 {
    margin: 0 0 6px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
}

.contact-info-content p {
    margin: 0;
    color: rgba(255, 255, 255, .8);
    line-height: 1.6;
}

.contact-info-content a {
    color: rgba(255, 255, 255, .9);
    text-decoration: none;
    transition: color .2s ease;
}

.contact-info-content a:hover {
    color: #fff;
    text-decoration: underline;
}

.social-links-contact {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.social-links-contact h4 {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 15px;
}

.social-links-contact ul {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    gap: 10px;
}

.social-links-contact ul li a {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    color: #fff;
    text-decoration: none;
    transition: all .2s ease;
}

.social-links-contact ul li a:hover {
    background: #0d6efd;
    color: #fff;
    transform: translateY(-2px);
}

#contact_form_result {
    display: none;
    margin-top: 20px;
    border-radius: 8px;
}

#mail-status {
    min-height: 1px;
}
.bg-primary {
    background-color: rgb(26 146 209) !important;
}
/*================================================
   МОБИЛНА ВЕРСИЯ на #secondMenu (под 992px)
==================================================*/
@media (max-width: 991.98px) {

    /* --- главните връзки едно под друго --- */
    #secondMenu .nav {
        flex-direction: column !important;
        align-items: stretch;
    }

    #secondMenu .nav-item {
        display: block !important;
        width: 100% !important;
        position: static !important;
        text-align: center;
    }

    #secondMenu .nav-link {
        display: block !important;
        width: 100% !important;
        text-align: center;
    }

    /* --- подменюто: в потока на страницата, надолу --- */
    #secondMenu .dropdown-menu {
        position: static !important;
        inset: auto !important;
        transform: none !important;
        margin: 0 !important;
        float: none !important;
        width: 100% !important;
        min-width: 0 !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        text-align: center;
        background: transparent !important;

        /* неутрализираме старите hover-правила на .mainmenu:
           показване само чрез Bootstrap-ския .show (display) */
        visibility: visible !important;
        opacity: 1 !important;
    }

    /* --- подменютата също едно под друго --- */
    #secondMenu .dropdown-menu li {
        display: block !important;
        width: 100% !important;
        text-align: center;
        border-bottom: 1px solid #333 !important;
    }
    #secondMenu .dropdown-menu li:last-child {
        border-bottom: none !important;
    }

    #secondMenu .dropdown-item {
        display: block !important;
        width: 100% !important;
        color: #fff !important;
        background: transparent !important;
        text-align: center;
        padding: 10px 15px !important;
        font-size: 14px !important;
        text-transform: none !important;
    }
    #secondMenu .dropdown-item:hover,
    #secondMenu .dropdown-item:focus {
        color: #1a92d1 !important;
        background: #1c1c1c !important;
        padding-left: 20px !important;
    }
    .contact-page {
        padding: 50px 0;
    }

    .contact-info {
        margin-top: 30px;
    }
}