/*---------------------------------------------------
  CSS RESET & BASELINE
-----------------------------------------------------*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
/* HTML5 display-role reset */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #F6F8FB;
  color: #22344D;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #1A428A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #FFB200;
  outline: none;
}
button, .cta {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
}
ul, ol {
  margin-left: 22px;
}
strong {
  font-weight: 600;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #1A428A;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .01em;
}
h1 { font-size: 2.2rem; margin-bottom: 18px; }
h2 { font-size: 1.5rem; margin-bottom: 16px; }
h3 { font-size: 1.18rem; margin-bottom: 12px; }
@media (min-width: 768px) {
  h1 { font-size: 2.8rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.3rem; }
}
p, li, span, label, input, textarea {
  font-size: 1rem;
}

/*---------------------------------------------------
  LAYOUT CONTAINERS
-----------------------------------------------------*/
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(34, 52, 77, 0.07), 0 1.5px 3px rgba(26,66,138,0.03);
  padding: 24px;
  transition: box-shadow 0.22s;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.card:hover {
  box-shadow: 0 5px 32px 0 rgba(26,66,138,0.13),0 2px 12px rgba(34, 52, 77, 0.07);
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #EEF1F6;
  border-radius: 14px;
  margin-bottom: 20px;
  min-height: 88px;
  box-shadow: 0 2px 10px rgba(26,66,138,.05);
  flex-direction: column;
  justify-content: center;
  color: #22344D;
}
.testimonial-card p {
  color: #22344D;
  font-size: 1.12rem;
  font-style: italic;
  margin-bottom: 8px;
}
.testimonial-card span {
  color: #1A428A;
  font-weight: 600;
  font-size: 1rem;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/*---------------------------------------------------
  HEADER & NAVIGATION
-----------------------------------------------------*/
header {
  background: #fff;
  box-shadow: 0 1px 8px rgba(26,66,138,0.07);
  padding: 0;
  position: relative;
  z-index: 30;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 0;
}
header img {
  height: 46px;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
}
.main-nav a {
  color: #1A428A;
  font-weight: 500;
  opacity: 0.94;
  padding: 4px 2px;
  transition: color 0.16s, opacity 0.19s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  color: #FFB200;
  opacity: 1;
}
.cta.primary, .cta.secondary {
  display: inline-block;
  border-radius: 25px;
  padding: 11px 28px;
  font-size: 1.11rem;
  font-weight: 600;
  margin-left: 18px;
  transition: background 0.16s, color 0.16s, box-shadow 0.2s;
  box-shadow: 0 2px 7px rgba(26,66,138,0.07);
  letter-spacing: 0.01em;
}
.cta.primary {
  background: #1A428A;
  color: #fff;
  border: 2px solid #1A428A;
}
.cta.primary:hover, .cta.primary:focus {
  background: #FFB200;
  color: #22344D;
  border-color: #FFB200;
}
.cta.secondary {
  background: #EEF1F6;
  color: #1A428A;
  border: 2px solid #1A428A;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #1A428A;
  color: #fff;
  border-color: #1A428A;
}

.mobile-menu-toggle {
  background: none;
  color: #1A428A;
  font-size: 2rem;
  margin-left: 20px;
  border-radius: 6px;
  padding: 4px 7px;
  border: 2px solid #EEF1F6;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background 0.16s, color 0.16s;
  display: none;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #EEF1F6;
  color: #FFB200;
  border-color: #FFB200;
}

@media (max-width: 1030px) {
  .main-nav {
    gap: 18px;
    font-size: .99rem;
  }
  .cta.primary, .cta.secondary {
    font-size: 0.98rem;
    padding: 10px 20px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 10px;
    font-size: 0.96rem;
  }
  header img { height: 38px; }
}
@media (max-width: 768px) {
  header .container { padding: 14px 10px; }
  .main-nav, .cta.primary, .cta.secondary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/*---------------------------------------------------
  MOBILE MENU
-----------------------------------------------------*/
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34, 52, 77, 0.84);
  z-index: 1100;
  transform: translateX(-105%);
  transition: transform 0.36s cubic-bezier(.6, .12, .44, 1.08);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 38px;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  color: #fff;
  font-size: 2rem;
  padding: 7px 13px;
  border-radius: 6px;
  border: 2px solid #EEF1F6;
  margin-left: 20px;
  margin-bottom: 30px;
  align-self: flex-start;
  transition: background 0.14s, color 0.14s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #FFB200;
  color: #1A428A;
  border-color: #FFB200;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 22px 32px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.18rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 10px 6px;
  border-radius: 7px;
  transition: background 0.15s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FFB200;
  color: #22344D;
}
@media (min-width: 769px) {
  .mobile-menu, .mobile-menu-close { display: none !important; }
}

/*---------------------------------------------------
  HERO SECTIONS
-----------------------------------------------------*/
.hero, .hero-section-services, .hero-section-education, .hero-section-contact, .blog-hero, .thank-you-section {
  background: #fff;
  padding: 60px 0 40px 0;
  margin-bottom: 0px;
  box-shadow: 0 1px 8px rgba(26,66,138,0.06);
}
@media (max-width: 768px) {
  .hero, .hero-section-services, .hero-section-education, .hero-section-contact, .blog-hero, .thank-you-section {
    padding: 36px 0 28px 0;
  }
}
.hero .content-wrapper, .hero-section-services .content-wrapper,
.hero-section-education .content-wrapper, .blog-hero .content-wrapper {
  align-items: flex-start;
  gap: 20px;
}
.hero h1, .hero-section-services h1, .hero-section-education h1, .blog-hero h1, .thank-you-section h1 {
  color: #1A428A;
  font-size: 2.2rem;
}
.hero p, .hero-section-services p, .hero-section-education p, .blog-hero p {
  color: #22344D;
  font-size: 1.09rem;
  max-width: 600px;
}

/*---------------------------------------------------
  FEATURES, SERVICES, COURSES, BLOG CARDS
-----------------------------------------------------*/
.features, .features-education {
  background: #EEF1F6;
  border-radius: 16px;
  margin-bottom: 60px;
  padding: 40px 20px;
}
.features ul, .features-education ul {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  flex-direction: column;
  margin-bottom: 10px;
}
.features ul li, .features-education ul li {
  background: #fff;
  border-radius: 9px;
  padding: 16px 18px;
  color: #22344D;
  font-weight: 500;
  box-shadow: 0 1px 4px rgba(26,66,138,0.03);
  margin-bottom: 4px;
}
@media (min-width: 600px) {
  .features ul, .features-education ul {
    flex-direction: row;
    gap: 22px;
  }
  .features ul li, .features-education ul li {
    min-width: 220px;
    flex: 1 1 0;
  }
}

/*--- Home Services and CTA Section ---*/
.services-home, .cta-section {
  background: #fff;
  border-radius: 16px;
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: 0 1px 7px rgba(26,66,138,0.08);
}
.services-home ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 22px;
}
.services-home ul li {
  color: #22344D;
  padding: 12px 14px;
  background: #EEF1F6;
  border-radius: 9px;
  box-shadow: 0 1px 4px rgba(26,66,138,0.03);
  margin-bottom: 0px;
}

.services-list, .courses-section {
  background: #EEF1F6;
  border-radius: 16px;
  margin-bottom: 60px;
  padding: 40px 20px;
}
.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
  margin-bottom: 14px;
  justify-content: flex-start;
}
.service-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px 18px;
  box-shadow: 0 1px 10px rgba(34, 52, 77, 0.06);
  flex: 1 1 250px;
  min-width: 250px;
  max-width: 330px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-left: 5px solid #1A428A;
  transition: box-shadow 0.16s;
}
.service-card:hover {
  box-shadow: 0 5px 24px rgba(26,66,138,0.13),0 1px 10px rgba(34, 52, 77, 0.07);
  border-left-color: #FFB200;
}
.service-card h3 {
  color: #1A428A;
}
.service-card .service-price {
  color: #FFB200;
  font-weight: 700;
  font-size: 1.06rem;
  margin-top: 12px;
  letter-spacing: .01em;
}
/* courses-section for education */
.courses-section .course-card {
  background: #fff;
  padding: 24px 18px;
  border-radius: 12px;
  box-shadow: 0 1px 10px rgba(34, 52, 77, 0.06);
  margin-bottom: 20px;
  border-left: 5px solid #1A428A;
  transition: box-shadow 0.15s, border-color 0.16s;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.courses-section .course-card:hover {
  box-shadow: 0 5px 24px rgba(26,66,138,0.13),0 1px 10px rgba(34,52,77,0.07);
  border-left-color: #FFB200;
}
.course-card .course-price {
  color: #FFB200;
  font-size: 1rem;
  font-weight: 600;
  margin-top: 12px;
}

/*--- Blog cards ---*/
.blog-list .post-preview {
  background: #fff;
  padding: 20px 18px;
  border-radius: 10px;
  box-shadow: 0 1px 7px rgba(34,52,77,0.06);
  margin-bottom: 20px;
  transition: box-shadow 0.14s;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 210px;
}
.blog-list .post-preview:hover {
  box-shadow: 0 4px 22px rgba(34,52,77,0.08),0 1px 7px rgba(34,52,77,0.04);
}
.post-preview h3 {
  font-size: 1.13rem;
  color: #1A428A;
}
.post-preview .post-category {
  color: #FFB200;
  font-size: 0.97rem;
  font-weight: 700;
}
.post-preview .post-date {
  color: #9199A9;
  font-size: 0.96rem;
}

/*---------------------------------------------------
  FOOTER
-----------------------------------------------------*/
footer {
  background: #22344D;
  color: #fff;
  padding: 34px 0;
  margin-top: 40px;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 34px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-nav, .footer-contact, .footer-branding {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer-nav a {
  color: #EEF1F6;
  opacity: 0.87;
  font-size: 0.99rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  transition: color 0.14s, opacity 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #FFB200;
  opacity: 1;
}
.footer-contact p {
  color: #EEF1F6;
  font-size: 0.98rem;
}
.footer-branding {
  align-items: flex-start;
  gap: 7px;
}
.footer-branding img {
  height: 36px;
}
.footer-branding span {
  color: #888FA5;
  font-size: 0.95rem;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
}

/*---------------------------------------------------
  OTHER PAGE SECTIONS AND TEXT
-----------------------------------------------------*/
.text-section {
  margin-bottom: 18px;
  color: #22344D;
  font-size: 1.07rem;
  line-height: 1.65;
}
.mission-section, .gdpr-section, .privacy-policy, .terms-section, .cookie-policy-section, .about-section, .team-section, .contact-section {
  background: #fff;
  border-radius: 16px;
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: 0 1px 7px rgba(26,66,138,0.09);
}

/*---------------------------------------------------
  THANK YOU page next steps
-----------------------------------------------------*/
.next-steps {
  background: #EEF1F6;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 18px;
  color: #1A428A;
  font-size: 1rem;
  box-shadow: 0 1px 3px rgba(34,52,77,0.04);
}

/*---------------------------------------------------
  RESPONSIVE DESIGN
-----------------------------------------------------*/
@media (max-width: 768px) {
  /* containers */
  .container {
    padding: 0 7px;
  }
  .section, .services-home, .features, .cta-section, .mission-section, .about-section, .team-section, .courses-section, .contact-section, .services-list, .privacy-policy, .gdpr-section, .terms-section, .cookie-policy-section {
    padding: 24px 7px;
    margin-bottom: 36px;
  }
  .content-wrapper, .card-content {
    gap: 13px;
  }
  .card, .service-card, .course-card, .post-preview {
    padding: 18px 8px;
  }
  .service-grid {
    gap: 13px;
  }
  .features ul, .features-education ul {
    gap: 9px;
  }
  .testimonial-card {
    padding: 15px;
    margin-bottom: 15px;
    font-size: 1rem;
  }
  .footer-branding img {
    height: 28px;
  }
}
@media (max-width: 600px) {
  .service-card, .course-card, .post-preview {
    min-width: 90vw;
    max-width: unset;
  }
}
@media (max-width: 500px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.1rem; }
}
/* responsive flex direction for .text-image-section */
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; gap: 18px; align-items: flex-start; }
}

/*---------------------------------------------------
  MICRO-INTERACTIONS AND TRANSITIONS
-----------------------------------------------------*/
button, .cta, .service-card, .course-card, .post-preview {
  transition: box-shadow 0.19s, background 0.14s, color 0.17s, border-color 0.18s, transform 0.11s;
}
button:focus, .cta:focus {
  outline: 2px solid #FFB200;
  outline-offset: 2px;
}
button:active, .cta:active {
  transform: translateY(1px) scale(0.98);
}

/*---------------------------------------------------
  COOKIE CONSENT BANNER & MODAL
-----------------------------------------------------*/
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0;
  width: 100vw;
  background: #22344D;
  color: #fff;
  z-index: 2000;
  box-shadow: 0 -2px 8px rgba(26,66,138,0.09);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 36px;
  font-size: 1.04rem;
  animation: banner-slide-up 0.5s;
}
@keyframes banner-slide-up {
  0% { transform: translateY(100%); opacity: 0.3; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  margin: 0;
  color: #fff;
  max-width: 520px;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
}
.cookie-banner .cookie-btn {
  border: none;
  padding: 10px 22px;
  border-radius: 19px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.13s, color 0.13s, border 0.15s;
}
.cookie-banner .cookie-btn.accept {
  background: #FFB200;
  color: #22344D;
}
.cookie-banner .cookie-btn.accept:hover, .cookie-banner .cookie-btn.accept:focus {
  background: #fff;
  color: #1A428A;
  border: 1.5px solid #1A428A;
}
.cookie-banner .cookie-btn.reject {
  background: #EEF1F6;
  color: #1A428A;
  border: 1.5px solid #1A428A;
}
.cookie-banner .cookie-btn.reject:hover, .cookie-banner .cookie-btn.reject:focus {
  background: #1A428A;
  color: #fff;
}
.cookie-banner .cookie-btn.settings {
  background: none;
  color: #FFB200;
  border: 1.5px solid #FFB200;
}
.cookie-banner .cookie-btn.settings:hover, .cookie-banner .cookie-btn.settings:focus {
  background: #FFB200;
  color: #22344D;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding: 18px 6px;
    font-size: 0.98rem;
  }
}

/*--- Cookie Modal Popup ---*/
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(34,52,77,0.72);
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modal-fade-in 0.3s;
}
@keyframes modal-fade-in {
  0% {opacity: 0;} 100% {opacity: 1;}
}
.cookie-modal .modal-content {
  background: #fff;
  color: #22344D;
  border-radius: 13px;
  padding: 32px 23px 26px 23px;
  box-shadow: 0 3px 30px rgba(26,66,138,0.11);
  min-width: 310px;
  max-width: 95vw;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.cookie-modal .modal-content h3 {
  color: #1A428A;
  margin-bottom: 8px;
}
.cookie-modal .modal-content .modal-close {
  position: absolute;
  top: 13px; right: 13px;
  background: none;
  color: #22344D;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 3px 7px;
  border-radius: 4px;
  transition: background 0.16s;
}
.cookie-modal .modal-content .modal-close:hover, .cookie-modal .modal-content .modal-close:focus {
  background: #EEF1F6;
  color: #1A428A;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F6F8FB;
  border-radius: 7px;
  padding: 10px 13px;
}
.cookie-category span {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #1A428A;
}
.cookie-toggle {
  appearance: none;
  width: 38px; height: 22px;
  background: #EEF1F6;
  border-radius: 12px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.13s;
  border: 1.1px solid #B9C5DB;
}
.cookie-toggle:checked {
  background: #FFB200;
  border-color: #FFB200;
}
.cookie-toggle::before {
  content: '';
  display: block;
  width: 17px; height: 17px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  left: 2px; top: 2px;
  transition: transform 0.24s cubic-bezier(.66, .11, .22, 1.06);
  box-shadow: 0 2px 7px rgba(26,66,138,0.08);
}
.cookie-toggle:checked::before {
  transform: translateX(16px);
}
.cookie-category.essential .cookie-toggle {
  background: #D6DDEB;
  pointer-events: none;
}
.cookie-category.essential span::after {
  content: ' (Задължително)';
  font-size: .93em;
  color: #9199A9;
}
.modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 7px;
}
.modal-actions .cookie-btn {
  min-width: 90px;
  padding: 8px 17px;
}

/*---------------------------------------------------
  SCROLLBAR & SELECTION (brand personality)
-----------------------------------------------------*/
::-webkit-scrollbar {
  width: 10px; background: #EEF1F6;
}
::-webkit-scrollbar-thumb {
  background: #B9C5DB;
  border-radius: 7px;
}
::-webkit-scrollbar-thumb:hover {
  background: #1A428A;
}
::selection {
  background: #FFB200;
  color: #22344D;
}

/*---------------------------------------------------
  FORMATTING GENERIC CLASSES
-----------------------------------------------------*/
.mt-2 { margin-top: 12px !important; }
.mt-3 { margin-top: 18px !important; }
.mt-4 { margin-top: 24px !important; }
.mb-1 { margin-bottom: 8px !important; }
.mb-2 { margin-bottom: 12px !important; }
.mb-3 { margin-bottom: 18px !important; }
.mb-4 { margin-bottom: 24px !important; }
.ml-2 { margin-left: 12px !important; }
.ml-3 { margin-left: 18px !important; }

/**** Final check: NO grid or columns, only flexbox layouts everywhere ****/
