/*
Theme Name: New Steps Foundation
Theme URI: https://newstepsbg.org
Description: New Steps Foundation WP Theme
Author: vFortissimo
Author URI: https://vfortissimo.com
Template: Divi
Version: 3.2.0
*/


/* Абзаци и малък текст */
p {
  line-height: 1.6;
  font-size: 16px !important;
}
small {
  font-size: 15px;
  opacity: 0.85;
}
ul, ol, li {
  font-size: 16px !important;
  line-height: 1.6;
}

/* На мобилен винаги снимка отгоре */
@media (max-width: 782px) {
    .wp-block-columns.reverse-mobile {
        flex-direction: column-reverse;
    }
}

@media (max-width: 768px) {  
  .et_animated {
    opacity: 1 !important;
    transform: none !important;
  }
}

.neuro-program-page-ul li {
    margin-bottom: 20px !important;
    font-size: inherit;
    line-height: 1.5;
}

.neuro-program-page-ul strong {
    font-size: 1.2em;
}

#left-area ul.activities-page-ul {
    padding-left: 40px !important;
}


/* ========================================
  -2. HEADER BASE STYLES
======================================== */
.ns-topbar {
  background: #007794;
  color: #f3fbfc;
  font-size: 14px;
  padding: 6px 0;
}

.ns-topbar .et_pb_text_inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.ns-topbar i {
  color: #c2eef2;
  margin-right: 6px;
  font-size: 15px;
}

.ns-topbar a {
  color: #f3fbfc !important;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.ns-topbar a:hover {
  opacity: 0.8;
}

.ns-header-menu .et_pb_menu__wrap {
  align-items: center !important;
}

.ns-header-menu .et_pb_menu__menu > nav > ul > li > a {
  font-weight: 600;
  color: #1b1b1b !important;
  transition: color 0.2s ease;
}


.ns-header-menu .et_pb_menu__menu > nav > ul > li > a:hover {
  color: #007794 !important;
}

.ns-header-menu {
  display: flex !important;
  align-items: center !important;
  margin: 0 auto;
  min-width: 100% !important;
  padding: 10px 0px;
}

.et_pb_column_1_4 span {
  align-self: center !important;
}

.et_pb_section_1_tb_header .et_pb_column:nth-child(1) { width: 15% !important; } /* Logo */
.et_pb_section_1_tb_header .et_pb_column:nth-child(2) { width: 66% !important; } /* Menu */
.et_pb_section_1_tb_header .et_pb_column:nth-child(3) { width: 5% !important; } /* Flags */
.et_pb_section_1_tb_header .et_pb_column:nth-child(4) { width: 17% !important; } /* Button */

.header-donate-btn {
  display: flex !important;
  align-self: center !important;
}
.et_pb_row--with-menu {
  display: inherit;
}

/* DROPDOWN MENU */
@media (max-width: 980px) {

  div.et_pb_section.et_pb_1_tb_header.ns-header-menu.et_section_regulare.et_pb_section--with-menu {
    border-bottom: #000 2px solid;
  }

  #mobile_menu3 {
    position: fixed !important;
    top: 0;
    left: 0;

    width: 100vw !important;
    max-width: 100vw !important;

    background: #fff;
    z-index: 9999;

    padding: 20px 24px;

    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  }
  .et_pb_menu__logo {
    display: block !important;
  }
  .ns-topbar {
    display: flex;
    flex-direction: row !important;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: nowrap;
  }
} 
@media (min-width: 981px) {
  .et_pb_menu__logo {
    display: inherit !important;
  }
}

/* MOBILE */
@media (max-width: 980px) {
  .et_pb_menu__wrap .mobile_menu_bar {
    transform: none !important;
  }
}

@media (max-width: 767px) {
  .et_mobile_menu {
    top: 120px !important; /* височината на хедъра */
  }
}

/* TABLET */
@media (min-width: 768px) and (max-width: 980px) {
  .et_mobile_menu {
    top: 210px !important; /* хедър + лента */
  }
}

/* Когато менюто е отворено - блокирай body scroll */
body:has(.mobile-menu.opened) {
    overflow: hidden !important;
    position: fixed !important;
    /*width: 100% !important;*/
}

/* Менюто да може да се скролва */
.mobile-menu.opened {
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch; /* smooth на iOS */
    height: 100vh !important;
}

.mobile-menu-image {
    width: 100% !important;
}
/* ========================================
  -1. FOOTER BASE STYLES
======================================== */

/* === Основен контейнер === */
.ns-footer {
  background-color: #002b36 !important;
  background: #002b36 !important;
  color: #e8f4f5;
  padding: 60px 0 20px;
  font-size: 15px;
  line-height: 1.6;
}

/* === Заглавия === */
.ns-footer h3 {
  color: #ffffff !important;
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: 600;
}

/* === Основни линкове === */
.ns-footer a {
  color: #00a6cc;
  text-decoration: none;
  transition: color 0.25s ease, transform 0.25s ease;
  position: relative;
  display: inline-block;
}
.ns-footer a:hover {
  color: #4dd0e1;
  transform: translateY(-1px);
}

/* === Анимирана underline линия === */
.ns-footer a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 1px;
  background-color: #4dd0e1;
  transition: width 0.25s ease;
}
.ns-footer a:hover::after {
  width: 100%;
}

/* === Меню === */
.ns-footer-menu {
  padding: 0;
  margin: 0;
}
.ns-footer-menu li {
  list-style: none;
  margin-bottom: 6px;
}

/* === Контакти === */
.ns-footer-contacts p {
  margin: 6px 0;
  display: flex;
  align-items: center;
}
.ns-footer-contacts i {
  color: #9ac3ff;
  margin-right: 8px;
  font-size: 15px;
}

/* === Социални икони === */
.ns-footer-socials {
  display: flex;
  gap: 14px;
  margin-top: 10px;
}
.ns-footer-socials a {
  transition: transform 0.3s ease, color 0.3s ease, text-shadow 0.3s ease;
}
.ns-footer-socials a:hover {
  color: #ffffff;
  transform: translateY(-2px);
  text-shadow: 0 0 6px rgba(154, 195, 255, 0.6);
}
.ns-footer-socials i {
  font-size: 18px;
}

/* === Долен ред (копирайт и линкове) === */
.ns-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 15px;
  margin-top: 30px;
  font-size: 14px;
  flex-wrap: wrap;
}
.ns-footer-bottom a {
  color: #00a6cc;
}
.ns-footer-bottom a:hover {
  color: #4dd0e1;
}

/* === Лява и дясна част на долния ред === */
.ns-footer-left,
.ns-footer-right {
  margin: 5px 10px;
}

/* === Мобилен изглед === */
@media (max-width: 768px) {
  .ns-footer {
    text-align: center;
  }
  .ns-footer-bottom {
    flex-direction: column;
    gap: 10px;
  }
  .ns-footer-socials {
    justify-content: center;
  }
  .ns-footer .et_pb_column:hover {
    background: transparent; /* махаме hover-а на мобилни */
  }
}



/* ========================================
   0. RESET / GLOBAL OVERRIDES
======================================== */

body {
  font-weight: 400;
}

.et_pb_section,
.et_pb_row,
.et_pb_column {
  overflow: visible !important;
}

/* ========================================
      TOPBAR
======================================== */
.ns-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 14%;
    background-color: #007794; /* или твоето синьо */
    color: #fff;
    font-size: 15px;
}

/* Ляв и десен елемент */
.ns-topbar-left,
.ns-topbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Иконки */
.ns-topbar i {
    font-size: 16px;
    color: #fff;
}

/* Линкове */
.ns-topbar a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.ns-topbar a:hover {
    opacity: 0.8;
}

/* Mobile: център */
@media (max-width: 768px) {
    .ns-topbar {
        flex-direction: column;
        gap: 4px;
        padding: 8px 20px;
        text-align: center;
    }
}


/* CTA под описанието на събитието */
.ns-event-cta {
    margin-top: 2rem;
}

.ns-event-cta--form {
    max-width: 520px;
}

.ns-event-cta-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}


/* Глобален бутон в стила на сайта (можеш да напаснеш цветовете) */
.ns-btn {
    display: inline-block;
    padding: 0.9rem 1.9rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.ns-btn--primary {
    background: #007794;      /* твоето синьо */
    color: #fff;
    box-shadow: 0 10px 25px rgba(0, 116, 184, 0.25);
}

.ns-btn--primary:hover {
    background: #005f78;
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(0, 116, 184, 0.35);
}

/* === PRICE BOX === */
.event-meta-box.event-price-box {
    background: #f0fafa;
    border: 1px solid rgba(0, 121, 148, 0.08);
    border-radius: 12px;
    padding: 22px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.event-meta-box.event-price-box:hover {
    background: #e2f4f4;
    box-shadow: 0 3px 8px rgba(0, 121, 148, 0.15);
}

.event-meta-heading {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.event-meta-heading i {
    color: #007794;
    font-size: 20px;
}

.ns-price-label {
    display: inline-block;
    /*background: #e6f5f7;*/
    color: #007794;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
}


/* ========================================
   1. TYPOGRAPHY SYSTEM (Montserrat)
======================================== */

body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
}

.et_menu_nav {
  font-family: 'Montserrat', sans-serif !important;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 0.6em;
}


/* Йерархия на размерите */
h1 {
  font-size: clamp(32px, 40px, 56px) !important;
}
h2 {
  font-size: 28px;
}
h3 {
  font-size: 24px;
}
h4 {
  font-size: 20px;
}
h5 {
  font-size: 18px;
}
h6 {
  font-size: 16px;
}


/* Responsive типография */
@media (max-width: 768px) {
  body { font-size: 16px; }
  h1 { font-size: 32px !important; }
}

/* ========================================
2. HEADER / MENU / TOPBAR
======================================== */
.ns-header-row {
  display:flex !important;
  align-items: center !important;
  vertical-align: center !important;

}

/* === DONATE BUTTON === */
.ns-header-donate-btn {
    display: inline-flex;
    background-color: #e53935; /* ярко червено */
    color: #fff !important;
    padding: 10px 24px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none !important;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    align-self: center !important;
}

.ns-header-donate-btn:hover {
    background-color: #d32f2f;
    transform: translateY(-1px);
}

/* Скрива CTA бутона под 980px (Divi breakpoint) */
@media (max-width: 980px) {
    .ns-header-donate-btn {
        display: none !important;
    }
}


/* === MENU === */
.top_main_menu nav ul li a:hover {
  opacity: 1;
}
.et-menu .menu-item-has-children>a:first-child:after {
  right: -6px;
}
.top_main_menu ul.sub-menu {
  border-radius: 6px;
}
.top_main_menu ul.sub-menu li {
  padding-left: 10px;
  padding-right: 10px;
}
.et_pb_menu.top_main_menu nav ul.nav li ul.sub-menu li a:hover,
.et_pb_menu.top_main_menu nav ul.nav li ul.sub-menu li.current-menu-item a {
  background-color: #007794 !important;
  color: #ffffff !important;
  border-radius: 3px;
}

/* === TOP BAR === */
@media all and (min-width: 1650px) {
  .topbar { width: 72% !important; }
}
.topmail .et_pb_blurb_container,
.topphone .et_pb_blurb_container {
  padding-left: 8px;
} 
/* ========================================
3. FORMS (Contact / Volunteer / etc.)
======================================== */

.form-row {
  display: flex;
}
.form-row label {
  display: grid;
}
.form_title {
  margin-top: 40px;
  margin-bottom: 24px;
}
.form_title.first-title {
  margin-top: 0px !important;
}
.form-row input,
.form-row textarea {
  width: 99%;
  background-color: #fff;
  border: 0px;
  padding: 12px 15px;
  border-radius: 3px;
}
.form_halfwidth {
  width: 50%;
  float: left;
  margin-bottom: 16px;
}
.form_halfwidth input {
  width: 98%;
}
.form_fullwidth {
  width: 100%;
  display: block;
  margin-bottom: 16px;
}
.volunteer input,
.volunteer textarea {
  border: 1px solid #E6ECF2;
}
.form-row.checkdate label {
  display: flex;
}
.checkdate span.wpcf7-list-item.first {
  margin-left: 0px;
}
.submitbtn .wpcf7-submit {
  background-color: #00715D;
  color: #fff;
  padding: 16px 40px;
  cursor: pointer;
  text-transform: uppercase;
  width: fit-content;
}
.submitbtn .wpcf7-submit:hover {
  background-color: #FDD65B;
  color: #000;
}

/* Responsive forms */
@media all and (max-width: 767px) {
  .form-row {
    display: flex;
    flex-direction: column;
  }
  .form_halfwidth {
    width: 100%;
  }
  .form_title {
    margin-top: 20px;
    margin-bottom: 10px;
  }
}

/* ========================================
4. BLOG / POSTS
======================================== */

/* Blog Page */
.post_cpt .df-cpt-outer-wrap.df-hover-trigger {
  background-color: #fff !important;
}

/* Blog Single Post */
.single_post_tag .et_pb_text_inner {
  margin-left: 40px;
}
.single_post_tag a {
  border: 1px solid #E6ECF2;
  padding: 9px 16px;
  border-radius: 3px;
}
.single_post_comment input#author,
.single_post_comment input#email,
.single_post_comment input#url,
.single_post_comment textarea#comment {
  width: 100% !important;
  border-radius: 3px;
}
.single_post_comment form#commentform {
  background-color: #e6ecf2;
  padding: 40px;
  border-radius: 6px;
}

/* ========================================
5. GLOBAL COMPONENTS
(Event Cards, Buttons, Map Overlays)
======================================== */

/* ==== PAST EVENT BADGE AND HEADING ==== */
.df-event-badge-ended {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0,0,0,0.75);
  color: #fff;
  padding: 4px 10px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 4px;
  z-index: 10;
  backdrop-filter: blur(2px);
}

.ns-event-section-heading h1 {
  margin: 0 0 0 0 !important;
  padding: 0 0 0 0 !important;
}
/* ==== PAST EVENT BADGE AND HEADING ==== */

/* ==== UPCOMING/PAST EVENTS BUTTON ==== */
.ns-events-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #e6f5f7;
    color: #007794;
    border: 2px solid #007794;
    border-radius: 50px;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.ns-events-btn:hover {
    background: #007794;
    color: #fff;
    transform: translateY(-2px);
}
.ns-event-back-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 15px 38px;
    border: 2px solid #007794;
    color: #007794;
    background: #e6f5f7;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.ns-event-back-btn:hover {
    background: #007794;
    color: #fff;
    transform: translateY(-2px);
}

.ns-event-cta a + .ns-event-back-btn {
    margin-left: 12px;
}
@media (max-width: 600px) {
    .ns-event-cta a + .ns-event-back-btn {
        margin-left: 0;
        margin-top: 12px;
        display: block;
    }
}
/* ==== UPCOMING/PAST EVENTS BUTTON ==== */

/* ==== GLOBAL EVENT CARD STYLES (shared) ==== */
.df-events-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
@media (max-width: 980px) {
  .df-events-grid {
    grid-template-columns: 1fr;
  }
}
.df-event-card {
  border: 1px solid #e0e0e0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.25s ease;
}
.df-event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

/* ==== СНИМКА ==== */
.df-event-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
}
.event-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 1000px !important;
  height: 100%;
  object-fit: cover !important;
  display: block;
}
.df-event-image img {
  width: 100%;
  height: 100%;
  max-width: 1000px !important;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
  border-radius: 8px 8px 0 0;
}
.df-event-card:hover .df-event-image img {
  transform: scale(1.03);
}

/* ==== ИНФО СЕКЦИЯ ==== */
.df-event-info {
  padding: 25px 30px;
}
.df-event-date-time {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 10px;
  font-weight: 600;
  color: #007794;
  font-size: 15px;
}
.df-event-date-time i {
  color: #007794;
  margin-right: 6px;
}
.df-event-title a {
  color: #1d1d1d;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}
.df-event-title a:hover {
  color: #00a6cc;
}

.df-event-location {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e6f5f7;
    color: #007794;
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    margin-bottom: 12px;
}

.df-event-location i {
    color: #007794;
    font-size: 15px;
}
/* ==== MAP OVERLAY ==== */
.event-map-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.0);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 10;
}
.event-map-overlay span {
  background: rgba(0, 0, 0, 0.65);
  padding: 10px 16px;
  border-radius: 5px;
  font-size: 15px;
  letter-spacing: 0.3px;
}
.event-map-wrapper:hover .event-map-overlay {
  opacity: 1;
  background: rgba(0, 0, 0, 0.15);
}

/* ==== WEBINAR LABEL ==== */
.df-event-webinar-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e6f5f7 !important;
    color: #007794 !important;
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    margin-bottom: 12px;
}

.df-event-webinar-label i {
    color: #007794;
    font-size: 15px;
}
/* ========================================
   6. HERO SECTION (Modern Layout)
======================================== */

/* Text */
.ns-hero p,
.ns-hero h1 {
  color: #fff !important;
  text-shadow: 0 2px 4px rgba(0,0,0,0.25);
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  line-height: 1.45;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

/* ================================
   DESKTOP (≥ 981px)
   Текст долу вляво
================================ */
@media (min-width: 981px) {
  .ns-hero {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;   /* 🔥 Текст долу */
    align-items: flex-start;     /* 🔥 Текст вляво */
    padding: 0 8% 0vh 8%;       /* Ляво, дясно, долу (12vh регулира мястото) */
    text-align: left;
    background-position: center center;
    background-size: cover;
    min-height: 750px;           /* По-висок красив Hero */
  }

  .ns-hero h1,
  .ns-hero p {
    max-width: 540px;            /* Контрол върху пречупването си остава тук */
    margin: 0;
  }

  .ns-btn-group {
    justify-content: flex-start; /* Бутоните залепени вляво */
  }
}

/* ================================
   TABLET (768px – 980px)
================================ */
@media (max-width: 980px) and (min-width: 769px) {
  .ns-hero {
    min-height: 600px;
    padding: 8vh 6% 10vh 6%;
    text-align: left;
    align-items: flex-start;
  }

  .ns-hero h1,
  .ns-hero p {
    max-width: 520px;
  }
}

/* ================================
   MOBILE (≤ 768px)
================================ */
@media (max-width: 768px) {
  .ns-hero {
    min-height: auto;             /* 🔥 Без смачкване */
    padding: 10vh 6% 10vh 6%;
    text-align: left;
    align-items: flex-start;
  }

  .ns-hero p {
    font-size: 22px;
    max-width: 100%;
  }

  .ns-btn a {
    font-size: 16px;
  }

}

/* ================================
   VERY SMALL PHONES (≤ 480px)
================================ */
@media (max-width: 480px) {
  .ns-hero {
    padding: 12vh 6%;
  }
}
/* ========================================
   7. CTA BUTTONS
======================================== */

.ns-btn-group {
  gap: 16px;
  padding-left: clamp(20px, 10vw, 70px) !important;
}

.ns-btn {
  display: inline-block;
  padding: 15px 38px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.4px;
  border-radius: 50px;
  transition: all 0.3s ease;
  text-decoration: none;
}

/* Основен бутон (Дарете) */
.ns-btn-primary {
  background-color: #ff5451;
  color: #fff;
  border: none;
  box-shadow: 0 4px 12px rgba(255, 84, 81, 0.35);
}
.ns-btn-primary:hover {
  background-color: #e1423f;
  box-shadow: 0 6px 14px rgba(225, 66, 63, 0.45);
  transform: translateY(-2px);
}

/* Вторичен бутон (Научете повече) */
.ns-btn-secondary {
  background-color: transparent;
  color: #fff;
  border: 2px solid #fff;
}
.ns-btn-secondary:hover {
  background-color: #fff;
  color: #1E5F9C;
}

/* Responsive Buttons */
@media (max-width: 768px) {
  .ns-btn-group {
    display: none !important;
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* ========================================
   8. NEUROLOGICAL SECTION
======================================== */

.ns-neuro-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: clamp(32px, 4vw, 42px);
  color: #1E5F9C;
  margin-bottom: 18px;
}

.et_pb_section.ns-neuro {
  background-color: #F7FAFC;
  padding-block: clamp(80px, 12vh, 140px);
}

.ns-neuro .et_pb_row {
  display: flex;
  align-items: center;
  gap: 4vw;
}

.ns-neuro p {
  color: #2D3748;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.ns-neuro-btn {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 17px;
  line-height: 1.2;
  /*padding: 14px 36px;*/
  border-radius: 50px;
  border: 2px solid #1E5F9C;
  color: #1E5F9C;
  background-color: transparent;
  text-decoration: none;
  transition: all 0.3s ease;
}
.ns-neuro-btn:hover {
  background-color: #1E5F9C;
  color: #fff;
  transform: translateY(-2px);
}

.ns-neuro img {
  display: block;
  width: 100% !important;
  max-width: 500px;
  height: auto !important;
  border-radius: 12px !important;
  object-fit: contain !important;
  padding: 0;
  margin: 0 auto;
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.08);
}

/* == Responsive Image == */
@media (max-width: 768px) {
  .ns-neuro img {
    object-fit: contain !important;
    width: 100% !important;
    max-width: 400px !important;
    height: auto !important;
    border-radius: 12px;
    margin: 0 auto !important;
  }

  .ns-neuro p {
    font-size: 17px;
    line-height: 1.75;
  }
}

/* ========================================
   ACTIVITIES IMAGES (home)
======================================== */
.ns-activities .et_pb_image {
  max-width: 360px;
  margin: 0 auto;
}
.ns-activities .et_pb_image img {
  width: 100% !important;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  display: block;
}

/* Align titles/text/buttons under images on the same vertical axis */
.ns-activities .et_pb_column {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.ns-activities .et_pb_column .et_pb_text,
.ns-activities .et_pb_column .et_pb_button_module_wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ========================================
    CONTACT PAGE
======================================== */
.ns-contact-block p {
    margin: 0 0 12px;
    color: #2d3748;
    font-size: 16px;
    line-height: 1.5;
}

.ns-contact-map {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.forminator-ui#forminator-module-282054 {
    max-width: 500px;
    margin: 0 auto;
}

.forminator-ui input,
.forminator-ui textarea {
    border-radius: 8px !important;
    padding: 14px !important;
    border: 1px solid #d4d4d4 !important;
}

.forminator-ui input:focus {
    border-color: #007794 !important;
    box-shadow: 0 0 0 2px rgba(0,119,148,0.2) !important;
}

.forminator-button {
    background: #007794 !important;
    color: #fff !important;
    padding: 14px 24px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
}

.forminator-button:hover {
    background: #005a6c !important;
}

/* ========================================
   9. HOMEPAGE EVENTS PREVIEW
======================================== */

.ns-home-events-grid {
    display: grid !important;
    /* Увеличаваме максималния размер на кутията на 450px за по-добър десктоп изглед */
    grid-template-columns: repeat(auto-fit, minmax(300px, 750px)) !important;
    justify-content: center !important;
    gap: 40px !important; /* Малко повече разстояние между тях */
    width: 100%;
    max-width: 1200px; /* Ограничаваме общата широчина на целия грид */
    margin: 40px auto !important;
}

/* Корекция за мобилни устройства, за да не излизат от екрана */
@media (max-width: 480px) {
    .ns-home-events-grid {
        grid-template-columns: 1fr !important;
        padding: 0 20px;
    }
}

.ns-home-event-card {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  border: 1px solid #eee;
  transition: all 0.25s ease;
}
.ns-home-event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.ns-home-event-card .df-event-info {
  padding: 20px 24px;
}
.ns-home-event-card .df-event-title a {
  font-size: 16px;
  font-weight: 600;
}
.ns-home-event-card .df-event-btn {
  padding: 8px 16px;
  font-size: 14px;
  border-radius: 4px;
}

/* ======= Homepage "View All" Button ======= */
.ns-home-events-footer {
  text-align: center;
  margin-top: 40px;
}

.ns-home-events-footer .ns-home-btn-all {
  display: inline-block;
  padding: 14px 34px;
  border-radius: 50px;
  border: 2px solid #007794;
  color: #007794;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.3px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.ns-home-events-footer .ns-home-btn-all:hover {
  background: #007794;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 121, 148, 0.2);
}

@media (max-width: 768px) {
  .ns-home-events-footer .ns-home-btn-all {
    font-size: 16px;
    padding: 12px 28px;
  }
}

/* === ACTIVITIES INNER TEXT === */
.ns-activities-card {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  min-height: 100% !important;
}

.ns-activity-inner {
  text-align: center;
  padding: 20px 10px;
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
  height: 100% !important;
}

.ns-activity-inner h3 {
  font-size: 22px;
  font-weight: 700;
  color: #1E5F9C;
  margin-bottom: 12px;
}

.ns-activity-inner p {
  font-size: 17px;
  color: #444;
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.ns-activity-btn {
  display: inline-block;
  background: #1E5F9C;
  color: #fff;
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
  margin-top: auto !important;
}

.ns-activity-btn:hover {
  background: #174b7a;
}

/* Картичките с програмите – снимката да стои ЦЕНТРИРАНА в колоната */
.ns-activities-card .et_pb_image,
.ns-activities-card .et_pb_image img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
}

.ns-activities-card .et_pb_image {
  padding: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}


/* ===== CONSULTATION SECTION ===== */
.ns-consult-section {
  background-color: #E8F3F8;
  padding-block: clamp(80px, 10vh, 120px);
}

.ns-consult-inner {
  max-width: 600px;
  margin-inline: auto;
  text-align: center;
}

.ns-consult-title {
  font-size: clamp(28px, 4vw, 38px);
  color: #1E5F9C;
  margin-bottom: 16px;
  font-weight: 700;
}

.ns-consult-text {
  font-size: 18px;
  color: #333;
  margin-bottom: 26px;
  line-height: 1.6;
}

.ns-consult-btn {
  display: inline-block;
  padding: 14px 38px;
  background: #1E5F9C;
  color: #fff;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.ns-consult-btn:hover {
  background: #174b7a;
}

/* ===== REVIEWS SECTION ===== */
.ns-reviews-section {
  background-color: #F8FAFB;
  padding-block: clamp(80px, 12vh, 140px);
  text-align: center;
}

.ns-reviews-heading {
  margin-bottom: 40px;
  text-align: center;
}

.ns-reviews-title {
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 700;
  color: #1E5F9C;
  margin-bottom: 10px;
}

.ns-reviews-subtitle {
  font-size: 18px;
  color: #333;
  opacity: 0.85;
  max-width: 700px;
  margin-inline: auto;
  margin-bottom: 50px;
}

.ns-reviews-section {
  animation: fadeUp 0.8s ease-out forwards;
}

/* ===== FAQ SECTION ===== */

/* Прилагане на шрифта и box-sizing за предотвратяване на конфликти */
.ns-accordion-wrapper, .ns-accordion-wrapper * {
    box-sizing: border-box;
    line-height: 1.6; /* Осигурява добра четимост */
}

/* Base styles за wrapper */
.ns-accordion-wrapper {
    max-width: 800px;
    margin: 20px auto;
    padding: 0 15px;
}

/* Цветови променливи (Новата схема) */
:root {
    --ns-color-primary: #1e5f9c; /* Основен цвят (Title, Icon, Hover Text) */
    --ns-color-secondary-bg: #e8f3f8; /* Фон на секцията/Hover фон */
    --ns-color-text-dark: #333; /* Тъмен текст (Content, Default Header) */
    --ns-color-subtitle: #666; /* Цвят на подзаглавието */
    --ns-color-border: #d1d5db; /* Светъл бордюр */
}

/* Стилизиране на заглавията */
.ns-title {
    font-size: 1.875rem; /* ~30px */
    font-weight: 700;
    text-align: center;
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: var(--ns-color-primary); /* Нов цвят на заглавието: #1e5f9c */
}

.ns-subtitle {
    font-size: 1rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--ns-color-subtitle); /* Нов цвят на подзаглавието: #666 */
}

/* Стил за всеки елемент на акордеона */
.ns-accordion-item {
    border: 1px solid var(--ns-color-border);
    margin-bottom: 12px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    background-color: white; /* Фонът на всеки елемент остава бял */
}

/* Стил за заглавието/бутона */
.ns-accordion-header {
    background-color: white;
    color: var(--ns-color-text-dark); /* Основен цвят на текста: #333 */
    padding: 16px 20px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Hover състояние */
.ns-accordion-header:hover {
    background-color: var(--ns-color-secondary-bg); /* Светъл фон при Hover: #e8f3f8 */
    color: var(--ns-color-primary); /* Текст при Hover: #1e5f9c */
}

/* Разширено състояние */
.ns-accordion-header[aria-expanded="true"] {
    background-color: var(--ns-color-secondary-bg); /* Светъл фон при Open: #e8f3f8 */
    color: var(--ns-color-primary); /* Текст при Open: #1e5f9c */
    border-bottom: 1px solid var(--ns-color-border); /* Разделител, когато е отворен */
}

/* --- СТИЛОВЕ ЗА АНИМИРАНА ИКОНА '+' / '—' --- */

/* Икона за отваряне/затваряне (Контейнер) */
.ns-accordion-header .ns-icon {
    position: relative;
    width: 20px; 
    height: 20px;
    flex-shrink: 0;
    margin-left: 15px;
    font-size: 0; 
    line-height: 1;
}

/* Основен стил за двете линийки (чрез псевдо-елементи) */
.ns-accordion-header .ns-icon::before,
.ns-accordion-header .ns-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background-color: var(--ns-color-primary); /* Цветът на иконата е основният цвят */
    border-radius: 1px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
}

/* Хоризонтална линия (Основата на минуса) */
.ns-accordion-header .ns-icon::before {
    width: 100%; 
    height: 2px; 
    transform: translate(-50%, -50%); 
}

/* Вертикална линия (Ротира се, за да се скрие и да стане минус) */
.ns-accordion-header .ns-icon::after {
    width: 2px; 
    height: 100%; 
    transform: translate(-50%, -50%); 
}

/* Разширено състояние (От '+' към '—') */
.ns-accordion-header[aria-expanded="true"] .ns-icon::after {
    /* Ротация на 90 градуса - слива се с хоризонталната линия, формирайки '—' */
    transform: translate(-50%, -50%) rotate(90deg);
}
/* --- КРАЙ НА НОВИТЕ СТИЛОВЕ ЗА ИКОНАТА --- */


/* Съдържанието, което се показва/скрива */
.ns-accordion-content {
    background-color: #ffffff;
    padding: 0 20px;
    overflow: hidden;
    /* Ключовите свойства за плавна анимация */
    transition: max-height 0.4s cubic-bezier(0.86, 0, 0.07, 1), padding 0.4s cubic-bezier(0.86, 0, 0.07, 1);
    max-height: 0;
}

.ns-accordion-content.ns-open {
    padding-top: 15px;
    padding-bottom: 15px;
    /* max-height се задава от JS */
}

.ns-accordion-content p {
    margin: 0;
    line-height: inherit; /* наследява 1.6 от wrapper */
    color: var(--ns-color-text-dark); /* Текст в съдържанието: #333 */
}

/* Адаптивен дизайн за малки екрани */
@media (max-width: 640px) {
    .ns-accordion-header {
        font-size: 15px;
        padding: 14px 18px;
    }
    .ns-accordion-content {
        padding: 0 18px;
    }
    .ns-accordion-content.ns-open {
        padding-top: 12px;
        padding-bottom: 12px;
    }
    .ns-title {
        font-size: 1.5rem;
    }
}

/* ========================================
   10. SINGLE EVENT PAGE
======================================== */

/* ==== EVENT CTA BUTTON – MATCHES HOMEPAGE STYLE ==== */
.ns-event-cta-btn {
  display: inline-block;
  padding: 12px 26px;
  font-size: 17px;
  font-weight: 600;
  border: 2px solid #007794;
  color: #007794;
  background: #ffffff;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 3px 10px rgba(0, 121, 148, 0.15);
}

.ns-event-cta-btn:hover {
  background: #007794;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 121, 148, 0.25);
}

/* === PRICE / ACCESS BOX === */
.event-meta-box.event-access {
    background: #f0fafa;
    border: 1px solid rgba(0, 121, 148, 0.08);
    border-radius: 12px;
    padding: 22px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.event-meta-box.event-access:hover {
    background: #e2f4f4;
    box-shadow: 0 3px 8px rgba(0, 121, 148, 0.15);
}

/* Заглавие */
.event-access h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 10px;
}

.event-access h4 i {
    color: #007794;
    font-size: 20px;
}

/* Безплатно */
.ns-free-label {
    font-size: 15px;
    /*font-weight: 600;*/
    color: #007794;
    /*background: #e8f7f8;*/
    padding: 10px 14px;
    border-radius: 8px;
    display: inline-block;
}

/* Цена */
.ns-price-label {
    font-size: 15px;
    /*font-weight: 600;*/
    color: #333;
    /*background: #fff6e5;*/
    padding: 10px 14px;
    border-radius: 8px;
    display: inline-block;
}

/* === FEATURED IMAGE === */
.event-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 1000px !important;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 8px;
  background: #f6f6f6;
}
.event-image-wrapper::before {
  content: "";
  display: block;
  padding-top: calc(900 / 1600 * 100%); /* 16:9 Aspect Ratio */
}
.event-featured-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 1000px !important;
  height: 100%;
  object-fit: cover !important;
  display: block;
}

/* === SIDEBAR === */
.event-sidebar {
  position: -webkit-sticky;
  position: sticky;
  top: 100px;
  align-self: flex-start;
  height: fit-content;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* === META BOXES === */
.event-meta-box {
  padding: 22px;
  border-radius: 12px;
  border: 1px solid rgba(0, 121, 148, 0.08);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.event-datetime {
  background: #e8f7f8;
  transition: all 0.3s ease;
}
.event-datetime:hover {
  background: #e0f2f3;
  box-shadow: 0 3px 8px rgba(0, 121, 148, 0.15);
}

.event-location {
  background: #f0fafa;
  transition: all 0.3s ease;
}
.event-location:hover {
  background: #e2f4f4;
  box-shadow: 0 3px 8px rgba(0, 121, 148, 0.15);
}

/* === HEADERS === */
.event-meta-box h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  margin: 0 0 10px;
  font-size: 18px;
  color: #333;
}
.event-meta-box h4 i {
  color: #007794;
  font-size: 20px;
}

/* === TEXT LINES === */
.event-meta-box p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0;
  color: #444;
  line-height: 1.5;
  font-size: 15px;
}
.event-meta-box p i {
  color: #007794;
  font-size: 16px;
}

/* === MAP SECTION === */
.map-wrapper {
  position: relative;
  display: block;
  margin-top: 12px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.map-wrapper iframe {
  width: 100%;
  height: 220px;
  border: 0;
  border-radius: 10px;
}

/* === OVERLAY TEXT (appears on hover) === */
.map-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.0);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 10;
}
.map-overlay span,
.map-overlay {
  background: rgba(0, 0, 0, 0.65);
  padding: 10px 16px;
  border-radius: 5px;
  font-size: 15px;
  letter-spacing: 0.3px;
}
.map-wrapper:hover .map-overlay {
  opacity: 1;
  background: rgba(0, 0, 0, 0.15);
}

/* === MOBILE BEHAVIOR === */
@media (max-width: 981px) {
  .event-sidebar {
    position: static;
    top: auto;
  }
}

/* === COLUMN FIXES === */
.et_pb_column_1_4 {
  align-items: flex-start !important;
}

/* === Animation Reuse === */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 980px) {
    .df-event-card {
        position: relative;
    }

    .df-event-card a.full-click-area {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 10;
        text-indent: -9999px;
        overflow: hidden;
    }
}

/* ========================================
   11. WOOCOMMERCE CHECKOUT FORM STYLES
======================================== */
.woocommerce-breadcrumb {
  display: none;
}

.ns-product-description > footer {
    display: none !important;
}

.ns-product-description .et-1 {
    display: none !important;
}

.single-product .single_add_to_cart_button {
    display: inline-block !important;
    padding: 0.9rem 1.9rem !important;
    border-radius: 999px !important;
    font-weight: 600 !important;
    /*font-size: 0.95rem !important;*/
    font-size: 1.25rem !important;
    text-decoration: none !important;
    border: 2px solid transparent !important;
    transition: all 0.2s ease !important;
    background: #007794 !important;      /* твоето синьо */
    color: #fff !important;
    box-shadow: 0 10px 25px rgba(0, 116, 184, 0.25) !important;
}

.single_add_to_cart_button:hover {
    background: #005f78 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 14px 30px rgba(0, 116, 184, 0.35) !important;
}

.single-product .single_add_to_cart_button::after {
    display: none !important;
}

.single-product .woocommerce-Price-amount,
.single-product .woocommerce-Price-amount * {
    color: #007794 !important;
}

.ns-product-description {
  padding-top: 20px !important;
  padding-bottom: 75px !important;
}

.woocommerce-product-gallery__image {
    border-radius: 12px;
    overflow: hidden;
}

.woocommerce-product-gallery__image img {
    display: block;
    width: 100%;
    height: auto;
}

/* ==========================================================
   PROGRESS INDICATOR
========================================================== */
.ns-checkout-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto 50px;
    padding: 30px 0;
}

.ns-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
}

.ns-progress-step .step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e5e5e5;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
}

.ns-progress-step.active .step-number {
    background: #007794;
    color: #fff;
    box-shadow: 0 0 0 4px rgba(0, 119, 148, 0.2);
}

.ns-progress-step .step-label {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.ns-progress-step.active .step-label {
    color: #007794;
    font-weight: 600;
}

.ns-progress-line {
    width: 80px;
    height: 2px;
    background: #e5e5e5;
    margin: 0 10px;
    margin-bottom: 30px;
}

/* ==========================================================
   MAIN CHECKOUT LAYOUT
========================================================== */
.ns-checkout-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
}

/* ==========================================================
   LEFT COLUMN - SECTIONS
========================================================== */
.ns-checkout-section {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 25px;
    transition: box-shadow 0.3s ease;
}

.ns-checkout-section:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.ns-section-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.ns-section-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #007794;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.ns-section-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
}

.ns-fields-group {
    display: grid;
    gap: 20px;
}

/* Two columns for first/last name */
.ns-fields-group .form-row-first,
.ns-fields-group .form-row-last {
    width: 100%;
}

@media (min-width: 768px) {
    .ns-fields-group {
        grid-template-columns: 1fr 1fr;
    }
    
    .ns-fields-group .form-row-wide {
        grid-column: 1 / -1;
    }
}

/* ==========================================================
   FORM FIELDS
========================================================== */
.woocommerce-billing-fields label,
.woocommerce form .form-row label {
    font-weight: 600 !important;
    margin-bottom: 8px !important;
    color: #1a1a1a !important;
    display: block;
    font-size: 14px;
}

.woocommerce input.input-text,
.woocommerce textarea,
.woocommerce select {
    background: #f9f9f9 !important;
    border: 2px solid #e5e5e5 !important;
    padding: 14px 16px !important;
    border-radius: 8px !important;
    font-size: 15px !important;
    color: #333 !important;
    transition: all 0.25s ease !important;
    width: 100%;
}

.woocommerce input.input-text:focus,
.woocommerce textarea:focus,
.woocommerce select:focus {
    background: #fff !important;
    border-color: #007794 !important;
    box-shadow: 0 0 0 3px rgba(0, 119, 148, 0.1) !important;
    outline: none;
}

.woocommerce form .form-row textarea {
    min-height: 100px !important;
    resize: vertical !important;
}

/* ------------------------------------------------- */
#billing_first_name_field, #billing_last_name_field {
    width: 100% !important;
}
.woocommerce-input-wrapper {
    padding-left: 10px !important;
}
/* Мобилен */
@media (max-width: 768px) {
    .ns-fields-group {
        grid-template-columns: 1fr !important;
    }
}
/* ------------------------------------------------- */

/* ==========================================================
   PAYMENT METHODS
========================================================== */
.ns-payment-methods #payment {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

.wc_payment_methods {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: grid;
    gap: 12px;
}

.wc_payment_methods li.wc_payment_method {
    background: #f9f9f9;
    border: 2px solid #e5e5e5;
    border-radius: 10px;
    padding: 18px;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
}

.wc_payment_methods li.wc_payment_method:has(input:checked) {
    background: #e6f7f9;
    border-color: #007794;
    box-shadow: 0 0 0 3px rgba(0, 119, 148, 0.1);
}

.wc_payment_methods label {
    font-weight: 600 !important;
    font-size: 16px !important;
    color: #1a1a1a !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}

.payment_box {
    background: transparent !important;
    border: none !important;
    padding: 15px 0 0 35px !important;
    margin-top: 15px !important;
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

/* ==========================================================
   CHECKOUT FOOTER
========================================================== */
.ns-checkout-footer {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 25px;
    margin-top: 30px;
}

.ns-privacy-notice {
    font-size: 13px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
}

.woocommerce-terms-and-conditions-wrapper {
    background: transparent !important;
    padding: 0 !important;
    margin: 20px 0 !important;
}

.woocommerce-form__label-for-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.woocommerce-form__label-for-checkbox input[type="checkbox"] {
    margin-top: 3px;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.place-order {
    margin-top: 25px;
}

#place_order {
    width: 100% !important;
    background: #007794 !important;
    color: #fff !important;
    padding: 18px 40px !important;
    font-size: 17px !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
    border: none !important;
    cursor: pointer;
    transition: all 0.25s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0, 119, 148, 0.3);
}

#place_order:hover {
    background: #005f75 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 119, 148, 0.4);
}

/* ==========================================================
   RIGHT COLUMN - ORDER SUMMARY (STICKY)
========================================================== */
.ns-checkout-right {
    position: sticky;
    top: 30px;
    align-self: start;
}

.ns-order-summary {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.ns-summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.ns-summary-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
}

.ns-secure-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #16a34a;
    font-weight: 600;
}

.ns-secure-badge svg {
    color: #16a34a;
}

/* ORDER ITEMS */
.ns-order-items {
    margin-bottom: 25px;
}

.ns-order-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.ns-order-item:last-child {
    border-bottom: none;
}

.ns-item-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f9f9f9;
}

.ns-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ns-item-details {
    flex: 1;
}

.ns-item-name {
    font-weight: 600;
    font-size: 15px;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.ns-item-meta {
    font-size: 13px;
    color: #666;
}

.ns-item-price {
    font-weight: 700;
    font-size: 16px;
    color: #1a1a1a;
    white-space: nowrap;
}

/* TOTALS */
.ns-order-totals {
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
}

.ns-total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 15px;
}

.ns-subtotal {
    color: #666;
}

.ns-grand-total {
    font-size: 20px;
    font-weight: 700;
    color: #007794;
    padding-top: 15px;
    border-top: 2px solid #f0f0f0;
    margin-top: 15px;
}

/* TRUST BADGES */
.ns-trust-badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #f0f0f0;
}

.ns-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #666;
}

.ns-badge svg {
    color: #16a34a;
    flex-shrink: 0;
}

/* ==========================================================
   RESPONSIVE
========================================================== */
@media (max-width: 1200px) {
    .ns-checkout-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .ns-checkout-right {
        position: static;
        order: -1;
    }
}

@media (max-width: 768px) {
    .ns-checkout-progress {
        padding: 20px 0;
    }
    
    .ns-progress-step .step-label {
        display: none;
    }
    
    .ns-progress-line {
        width: 40px;
        margin-bottom: 0;
    }
    
    .ns-checkout-section {
        padding: 20px;
    }
    
    .ns-trust-badges {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================
   STEP NAVIGATION BUTTONS
========================================================== */
.ns-step-actions {
    display: flex;
    gap: 15px;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #e5e5e5;
}

.ns-btn-next,
.ns-btn-prev {
    padding: 14px 30px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    border: none;
}

.ns-btn-next {
    background: #007794;
    color: #fff;
    flex: 1;
    justify-content: center;
    box-shadow: 0 3px 8px rgba(0, 119, 148, 0.25);
}

.ns-btn-next:hover {
    background: #005f75;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 119, 148, 0.35);
}

.ns-btn-prev {
    background: #f0f0f0;
    color: #333;
}

.ns-btn-prev:hover {
    background: #e0e0e0;
}

/* Progress step click cursor */
.ns-progress-step {
    cursor: pointer;
    transition: opacity 0.25s ease;
}

.ns-progress-step:not(.active):hover {
    opacity: 0.7;
}

/* Validation error styling */
.woocommerce-invalid {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1) !important;
}

/* ==========================================================
   COMPACT ORDER SUMMARY BAR (sticky top for payment step)
========================================================== */
/* ==========================================================
   COMPACT ORDER SUMMARY BAR (sticky - full info)
========================================================== */
/* ==========================================================
   COMPACT ORDER SUMMARY BAR (static - full info)
========================================================== */
.ns-compact-summary {
    z-index: 100;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    transform: translateY(-10px);
}

.ns-compact-summary[style*="opacity: 1"] {
    transform: translateY(0);
}

.ns-compact-summary-inner {
    padding: 20px 25px;
}

.ns-compact-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.ns-compact-header h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
}

.ns-secure-badge-small {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #16a34a;
    font-weight: 600;
    background: #f0fdf4;
    padding: 6px 12px;
    border-radius: 6px;
}

.ns-secure-badge-small svg {
    color: #16a34a;
}

/* Compact table */
.ns-compact-table {
    width: 100%;
    border-collapse: collapse;
}

.ns-compact-table thead th {
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    color: #666;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e5e5;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ns-compact-table tbody tr {
    border-bottom: 1px solid #f0f0f0;
}

.ns-compact-table tbody td {
    padding: 12px 0;
}

.ns-compact-product-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ns-compact-img {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f9f9f9;
}

.ns-compact-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ns-compact-details {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.ns-product-name {
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    line-height: 1.3;
}

.ns-product-qty {
    font-size: 12px;
    color: #666;
}

.ns-text-right {
    text-align: right;
}

/* Footer rows */
.ns-compact-table tfoot td {
    padding: 12px 0;
    font-size: 14px !important;
}

.ns-subtotal-row td {
    color: #666;
    border-top: 1px solid #e5e5e5;
    padding-top: 15px;
}

.ns-total-row td {
    font-size: 16px !important;
    font-weight: 700;
    color: #007794;
    padding-top: 10px;
    border-top: 2px solid #007794;
}

.ns-total-amount {
    font-size: 20px;
}

/* Responsive compact summary */
@media (max-width: 768px) {
    .ns-compact-summary {
        top: 10px;
        border-radius: 8px;
    }
    
    .ns-compact-summary-inner {
        padding: 15px;
    }
    
    .ns-compact-header h4 {
        font-size: 16px;
    }
    
    .ns-compact-img {
        width: 35px;
        height: 35px;
    }
    
    .ns-product-name {
        font-size: 13px;
    }
    
    .ns-compact-table thead th {
        font-size: 11px;
    }
    
    .ns-total-amount {
        font-size: 18px;
    }
}

/* Mobile - stack product info vertically if needed */
@media (max-width: 480px) {
    .ns-compact-table {
        font-size: 13px;
    }
    
    .ns-compact-product-info {
        gap: 8px;
    }
}

/**========================================
   12. MISCELLANEOUS FIXES
=========================================**/
/* Remove unwanted margins/paddings from single post sidebar */
div#block-7, div#block-8, div#block-9, div#block-10 > p {
  margin: 0 !important;
  padding: 0 !important;
}

/* Remove margins from the stats section in the donate page */
.ns-stats p, .ns-stats h1 {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.ns-stats h1 {
  padding-bottom: 0 !important;
}

/**========================================
   13. DONATE PAGE
=========================================**/
@media (max-width: 768px) {
  .givewp-donation-form__steps-header-title.givewp-donation-form__steps-header-title-text h3 {
    display: none !important;
  }
}

/* Add proper spacing after donation cards */
.donation-grid {
    margin-bottom: 80px !important;
    padding-bottom: 40px;
    clear: both;
}

/* Ensure next section doesn't overlap */
.donation-grid + .et_pb_section,
#monthly-donations + .et_pb_section {
    margin-top: 0;
    clear: both;
}

/* Safari-specific additional spacing */
@supports (-webkit-touch-callout: none) {
    .donation-grid {
        margin-bottom: 100px !important;
    }
}

/* Mobile-specific */
@media (max-width: 768px) {
    .donation-grid {
        margin-bottom: 60px !important;
        padding-bottom: 30px;
    }
    
    .don-card:last-child {
        margin-bottom: 30px;
    }
}

.donation-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin: 40px 0;
}

@media (max-width: 992px) {
    .donation-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* Card */
.don-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 24px 28px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.08);
    transition: all .3s ease;
    text-align: center;
}

/* Hover */
.don-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 16px 32px rgba(0,0,0,0.15);
}

/* Image */
.don-card-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 14px;
    transition: .3s;
}

.don-card:hover img {
    transform: scale(1.05);
}

/* Title */
.don-card h3 {
    margin-top: 20px;
    font-size: 24px;
    font-weight: 700;
}

/* Price */
.don-card-price {
  margin: 10px 0 15px;
  color: #004466;
  font-weight: 600;
  font-size: 20px;
}

.don-card-price-subscript {
  margin: 10px 0 15px;
  color: #004466;
  font-weight: 600;
  font-size: 15px;
}



/* Features */
.don-card-list {
    list-style: none;
    padding: 0;
    margin-bottom: 24px;
}

.don-card-list li {
    margin: 6px 0;
}

.don-card-buttons-wrapper {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* Button */
.don-card-btn {
    display: inline-block;
    padding: 12px 28px;
    background: #007794;
    color: white !important;
    border-radius: 32px;
    transition: 0.25s;
}

.don-card-btn:hover {
    background: #005f72;
}



/* FORCE MONTSERRAT EVERYWHERE */
/* DO NOT REMOVE FROM THE BOTTOM */
* {
    font-family: 'Montserrat', sans-serif !important;
}

body,
body *,
html,
#page-container,
#et-main-area,
.et_pb_section,
.et_pb_row,
.et_pb_column,
.et_pb_text,
.et_pb_text_inner,
.et_pb_module,
h1, h2, h3, h4, h5, h6,
p, span, div, a, li, td, th,
input, textarea, select, button {
    font-family: 'Montserrat', sans-serif !important;
}

/* FORCE Font Awesome fonts with highest priority */
.fab, .fa-brands,
.fas, .fa-solid,
.far, .fa-regular,
.fal, .fa-light,
.fat, .fa-thin,
.fa {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.fab, .fa-brands {
  font-family: "Font Awesome 6 Brands" !important;
  font-weight: 400 !important;
}

.far, .fa-regular {
  font-weight: 400 !important;
}

/* Ensure icons display correctly */
/*[class^="fa-"]:before,
[class*=" fa-"]:before {
  font-family: "Font Awesome 6 Free" !important;
}*/

/* ========================================
   CHECKOUT PAGE STYLING
   ======================================== */
/* Step 2 на цял ред */
.ns-step-payment {
    grid-column: 1 / -1 !important; /* ако е grid */
    width: 100% !important;
    max-width: 100% !important;
    flex-basis: 100% !important; /* ако е flex */
}


/* Inline links в текст */
h4.lector-hyperlink a {
    color: #007794; /* или каквото е primary color-а на сайта */
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: border-bottom 0.3s ease;
}

h4.lector-hyperlink a:hover {
    border-bottom: 2px solid #1E5F9C;
}


.specialists-photos img {
  max-width: 300px !important;
}

/* Лагери страница - снимки center aligned с разумен размер */
.camp-page-photos {
    max-width: 600px;
}

.camp-page-photos img {
    width: 100%;
    max-width: 750px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

/* Caption под снимка */
.camp-page-photos_caption {
    max-width: 750px;
    margin: 40px auto 0;
    font-size: 15px;
    line-height: 1.6;
    color: #666;
    text-align: center;
    font-style: italic;
}

.camp-page-columns {
  padding-top: 30px;
}

.neuro-prg-photo img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  max-width: 85%;
}

/* Responsive - на мобилен малко по-малък margin */
@media (max-width: 768px) {
    .camp-page-photos {
        margin: 30px auto;
    }
}


.neuro-appr-image, .koi-sme-nie-page-image {
  max-width: 500px;
  margin: 0 auto 30px;
  display: block;
  border-radius: 12px !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.neuro-appr-image img {
  width: 100%;
  height: auto;
  border-radius: 12px !important;
}

.koi-sme-nie-page-image {
  max-width: 500px;
  margin: 0 auto 30px;
  display: block;
  border-radius: 12px !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.koi-sme-nie-page-image img {
  width: 100%;
  height: auto;
  border-radius: 12px !important;
}

.vizia-i-misia-page-image {
  max-width: 400px;
  margin: 0 auto 30px;
  display: block;
  border-radius: 12px !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.vizia-i-misia-page-image img {
  width: 100%;
  height: auto;
  border-radius: 12px !important;
}

.ns-homepage-consultation img {
  display: block;
  width: 100% !important;
  max-width: 500px;
  height: auto !important;
  border-radius: 12px;
  object-fit: contain !important;
  padding: 0;
  margin: 0 auto;
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.08);
}

/* Pagination styles (https://newstepsbg.org/minali-sabitia */
.df-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.df-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #007794;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    transition: opacity 0.2s ease;
}

.df-pagination .page-numbers:hover {
    opacity: 0.8;
}

.df-pagination .page-numbers.current {
    opacity: 1;
    outline: 3px solid #005570;
}

.df-pagination .page-numbers.dots {
    background: transparent;
    color: #007794;
}


#forminator-module-282054 {
  margin-left: 0 !important;
  min-width: 100% !important;
}

/* WooCommerce error notices */
.woocommerce-error {
  background: #007794 !important;
  border-top-color: #005f75 !important;
  color: #fff !important;
  border-radius: 6px !important;
}

.woocommerce-error::before {
  color: #fff !important;
}

.woocommerce-error a {
  color: #fff !important;
  text-decoration: underline;
}

/* WooCommerce info notices */
.woocommerce-info {
  background: #007794 !important;
  border-top-color: #005f75 !important;
  color: #fff !important;
  border-radius: 6px !important;
}

.woocommerce-info::before {
  color: #fff !important;
}

.woocommerce-info a {
  color: #fff !important;
  text-decoration: underline;
}


/* WooCommerce message notices */
.woocommerce-message {
  background: #007794 !important;
  border-top-color: #005f75 !important;
  color: #fff !important;
  border-radius: 6px !important;
}

.woocommerce-message::before {
  color: #fff !important;
}

.woocommerce-message a {
  color: #fff !important;
  text-decoration: underline;
}