 body {
      margin: 0;
      font-family: Arial, sans-serif;
      line-height: 1.6;
      color: #333;
      
    }

    /* Навигация */
    header {
      background: #fff;
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1000;
    }

    main{
      flex: auto;
    }

    nav {
      display: flex;
      justify-content: space-between;
      align-items: center;
      max-width: 1200px;
      margin: auto;
      padding: 1rem;
    }

    nav .logo {
      font-size: 1.5rem;
      font-weight: bold;
      color: #004080;
      text-decoration: none;
    }

    nav ul {
      list-style: none;
      display: flex;
      margin: 0;
      padding: 0;
    }

    nav ul li {
      position: relative;
    }

    nav ul li a {
      text-decoration: none;
      color: #333;
      padding: 0.5rem 1rem;
      display: block;
    }

    nav ul li a:hover {
      background: #004080;
      color: #fff;
      border-radius: 5px;
    }

    /* Падащо меню */
    nav ul li ul {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      background: #fff;
      box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    }

    nav ul li:hover ul {
      display: block;
    }

    nav ul li ul li {
      width: 200px;
    }

   
    .hero {

      background: linear-gradient(
        rgba(0,0,0,0.6),
        rgba(0,0,0,0.6)
      ),
       url("https://images.unsplash.com/photo-1521791136064-7986c2920216?auto=format&fit=crop&w=1600&q=80") no-repeat center center/cover;
      height: 65vh;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
      color: #fff;
      padding: 0 20px;
      margin-top: 70px; 
    }

    .hero h1 {
      font-size: 2.5rem;
      margin-bottom: 1rem;
    }

    .hero p {
      max-width: 800px;
      font-size: 1.2rem;
      margin-bottom: 2rem;
    }

    .btn {
      background: #004080;
      color: #fff;
      padding: 0.8rem 1.5rem;
      text-decoration: none;
      border-radius: 5px;
    }

    .btn:hover {
      background: #0066cc;
    }

    /* Защо да изберете нас */
    .features {
      display: flex;
      justify-content: space-around;
      max-width: 1200px;
      margin: 3rem auto;
      padding: 0 20px;
      text-align: center;
    }

    .feature {
      flex: 1;
      margin: 0 1rem;
    }

    .feature h3 {
      color: #004080;
    }

    /* Услуги */
    .services {
      background: #f9f9f9;
      padding: 3rem 20px;
    }

    .services h2 {
      text-align: center;
      margin-bottom: 2rem;
    }

    .service-cards {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 2rem;
      max-width: 1200px;
      margin: 0 auto;
    }

    .card {
      background: #fff;
      padding: 1.5rem;
      border-radius: 10px;
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
      flex: 1 1 300px;
      margin: 0 auto;
      text-align: center;
      max-width: 360px;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .card h3 {
      color: #004080;
    }

    

    /* Хамбургер меню - странично меню */
.side-menu {
  position: fixed;
  top: 0;
  left: -300px; /* скрито по подразбиране */
  width: 250px;
  height: 100%;
  background: #fff;
  box-shadow: 2px 0 5px rgba(0,0,0,0.2);
  z-index: 2000;
  transition: left 0.3s ease;
  overflow-y: auto;
}

.side-menu.active {
  left: 0;
}

.side-menu .close-btn {
  font-size: 2rem;
  background: none;
  border: none;
  color: red;
  cursor: pointer;
  padding: 10px 20px;
}

.side-menu ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.side-menu ul li a {
  display: block;
  padding: 10px 20px;
  color: #004080;
  text-decoration: none;
  transition: 0.2s;
}

.side-menu ul li a:hover {
  background: #004080;
  color: #fff;
}

.side-menu ul li .submenu {
  display: none;
  padding-left: 20px;
}

.side-menu ul li.open .submenu {
  display: block;
}

/* Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 1500;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Хамбургер бутон (три линии) */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 3000;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #004080;
  display: block;
  border-radius: 2px;
}

/* Мобилен адаптивен дизайн */
@media (max-width: 1200px) {
  nav ul {
    display: none; /* Скриваме основното меню */
  }

  .hamburger {
    display: flex;
  }
}

/* ============================= */
/* FULL RESPONSIVE DESIGN */
/* ============================= */

/* --- Навигация --- */
@media (max-width: 1200px) {
  nav {
    justify-content: space-between;
    padding: 1rem 20px;
  }

  nav ul {
    display: none; /* Скриваме основното меню */
  }

  .hamburger {
    display: flex;
  }
}

/* --- Hero секция --- */
@media (max-width: 1200px) {
  .hero {
    height: auto;
    padding: 80px 20px 40px 20px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .btn {
    padding: 0.7rem 1.2rem;
  }
}

/* --- Features секция --- */
@media (max-width: 992px) {
  .features {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
  }

  .feature {
    flex: 1 1 calc(50% - 2rem); /* две колони на таблет */
    text-align: center;
  }
}

@media (max-width: 768px) {
  .features {
    flex-direction: column;
    gap: 1.5rem;
  }

  .feature {
    flex: 1 1 100%; /* една колона на телефон */
  }
}

/* --- Services секция --- */
@media (max-width: 992px) {
  .service-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
  }

  .card {
    flex: 1 1 calc(50% - 2rem); /* две колони на таблет */
    max-width: 45%;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .service-cards {
    flex-direction: column;
    gap: 1.5rem;
  }

  .card {
    flex: 1 1 100%; /* една колона на телефон */
    max-width: 90%;
  }
}

/* --- Футър --- */
@media (max-width: 768px) {
  footer {
    font-size: 0.8rem;
    padding: 15px 20px;
  }
}

/* --- Hero малки телефони --- */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.5rem;
  }

  .hero p {
    font-size: 0.85rem;
  }

  .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }

  .feature h3 {
    font-size: 1.2rem;
  }

  .feature p {
    font-size: 0.85rem;
  }

  .card h3 {
    font-size: 1rem;
  }

  .card p {
    font-size: 0.8rem;
  }
}

/* ============ CONTACT PAGE ============ */

.contact-page main {
  margin-top: 140px;
  margin-bottom: 60px;
  padding: 60px 20px; /* ← добавих px */
  min-height: calc(100vh - 220px);
  display: flex;
  align-items: center;
  justify-content: center; /* центрира съдържанието */
}

.contact-info {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px; /* ← добавих px */
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
}

.contact-details {
  flex: 1 1 400px; /* позволяваме адаптивност */
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-card {
  display: flex;
  align-items: center;
  background: #f9f9f9;
  padding: 1rem 1.5rem;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  margin-bottom: 1rem;
  word-break: break-word;
}

.contact-card i {
  font-size: 1.8rem;
  color: #004080;
  margin-right: 1rem;
  width: 40px;
  text-align: center;
}

.contact-card h3 {
  margin: 0;
  color: #004080;
}

.contact-card a {
  text-decoration: none;
  color: #333;
}

.contact-card a:hover {
  color: #004080;
  text-decoration: underline;
}

.map {
  flex: 1 1 500px; /* ← по-широка карта */
  min-width: 400px;
  height: 450px; /* малко по-висока */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  border-radius: 10px;
}

/* --- Responsive --- */
@media (max-width: 992px) {
  .contact-info {
    flex-direction: column;
    align-items: center;
  }

  .contact-details, .map {
    width: 100%;
    min-width: unset;
  }

  .map {
    height: 350px;
  }

  .contact-page main {
    margin-top: 120px;
    margin-bottom: 40px;
    padding: 40px 15px;
    align-items: flex-start;
  }
}

/* ===== Services секция ===== */
.accounting-page .services {
  padding: 3rem 20px;
}

.accounting-page .services h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: #004080;
}

.accounting-hero {

      background: linear-gradient(
        rgba(0,0,0,0.6),
        rgba(0,0,0,0.6)
      ),
       url("https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?q=80&w=2070&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D") no-repeat center center/cover;
      height: 65vh;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
      color: #fff;
      padding: 0 20px;
      margin-top: 70px; 
    }

    .accounting-hero h1 {
      font-size: 2.5rem;
      margin-bottom: 1rem;
    }

    .accounting-hero p {
      max-width: 800px;
      font-size: 1.2rem;
      margin-bottom: 2rem;
    }

/* Контейнер за картите */
.accounting-page .service-cards {
  display: flex;
  flex-wrap: wrap;        /* позволява колони на широки екрани */
  justify-content: center; /* центрира картите хоризонтално */
  gap: 2rem;
  max-width: 1200px;      /* по-широк контейнер на десктоп */
  margin: 0 auto;
  padding: 0 10px;
  box-sizing: border-box;
}

/* Картите */
.accounting-page .card {
  background: #fff;
  flex: 1 1 1200px;        /* минимална ширина 300px, може да расте */
  max-width: 1200px;       /* ограничаваме максималната ширина на карта */
  border-radius: 15px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  padding: 2rem 1.5rem;
  text-align: center;
  margin: 0 auto;         /* центриране на карта в колона */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.accounting-page .card i {
  font-size: 3rem;
  color: #004080;
  margin-bottom: 1rem;
}

.accounting-page .card h3 {
  color: #004080;
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.accounting-page .card p {
  font-size: 1rem;
  color: #555;
}

.accounting-page .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .accounting-page .card {
    flex: 1 1 45%;       /* две колони на таблет */
    max-width: 45%;
  }
}

@media (max-width: 768px) {
  .accounting-page .service-cards {
    flex-direction: column;
    gap: 1.5rem;
  }

  .accounting-page .card {
    flex: 1 1 100%;      /* една колона на телефон */
    max-width: 90%;      /* оставяме малко разстояние от краищата */
  }
}


/* ===== Info секция ===== */
.accounting-page .info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;  /* ширина на контейнера */
  margin: 3rem auto;
  padding: 0 20px;
  gap: 2rem;
  flex-wrap: wrap;    /* за да се нареждат вертикално на малки екрани */
}

.accounting-page .info-text {
  flex: 1 1 400px;      /* адаптивна ширина */
  min-width: 280px;     /* минимална ширина за малки екрани */
}

.accounting-page .info-text h2 {
  color: #004080;
  margin-bottom: 1rem;
  font-size: 2rem;
}

.accounting-page .info-text p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 1.5rem;
}

.accounting-page .info-image {
  flex: 1 1 400px;
  min-width: 280px;     /* адаптивна минимална ширина */
  display: flex;
  justify-content: center; /* центрира изображението на малки екрани */
}

.accounting-page .info-image img {
  width: 100%;
  max-width: 450px;       /* ограничаваме максималната ширина */
  border-radius: 15px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  object-fit: cover;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .accounting-page .info {
    flex-direction: column-reverse; /* текст под изображението */
    text-align: center;
  }

  .accounting-page .info-image {
    justify-content: center;       /* центриране на изображението */
    margin-bottom: 1.5rem;
  }

  .accounting-page .info-text h2 {
    font-size: 1.8rem;
  }

  .accounting-page .info-text p {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .accounting-page .info-text h2 {
    font-size: 1.6rem;
  }
  .accounting-page .info-text p {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .accounting-page .info-text h2 {
    font-size: 1.4rem;
  }
  .accounting-page .info-text p {
    font-size: 0.9rem;
  }

  .accounting-page .info-image img {
    max-width: 90%; /* изображението да не заема целия екран */
  }
}

/* ===== INFO & CONSULT PAGE STYLES ===== */

.info-page .info-cards {
  padding: 3rem 20px;
}

.info-page .info-cards h2 {
  width: 100%;               /* да заема цялата ширина */
  text-align: center;        /* центриране на текста */
  margin: 2rem 0;            /* разстояние отгоре и отдолу */
  padding: 0;                /* премахваме евентуален padding */
  color: #004080;
  font-size: 2rem;
}

.info-hero {

      background: linear-gradient(
        rgba(0,0,0,0.6),
        rgba(0,0,0,0.6)
      ),
       url("https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?q=80&w=2070&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D") no-repeat center center/cover;
      height: 65vh;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
      color: #fff;
      padding: 0 20px;
      margin-top: 70px; 
    }

    .info-hero h1 {
      font-size: 2.5rem;
      margin-bottom: 1rem;
    }

    .info-hero p {
      max-width: 800px;
      font-size: 1.2rem;
      margin-bottom: 2rem;
    }

    /* Контейнер за картите */
.info-page .info-cards {
  display: flex;
  flex-wrap: wrap;        /* позволява колони на широки екрани */
  justify-content: center; /* центрира картите хоризонтално */
  gap: 2rem;
  max-width: 1200px;      /* по-широк контейнер на десктоп */
  margin: 0 auto;
  padding: 0 10px;
  box-sizing: border-box;
}

/* ===== Cards секция ===== */
.info-page .card {
  background: #fff;
  flex: 1 1 300px;        
  max-width: 1200px;       /* ограничаваме максималната ширина на карта */
  border-radius: 15px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  padding: 2rem 1.5rem;
  text-align: center;
  margin: 0 auto;         /* центриране на карта в колона */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-page .info-cards i {
  font-size: 3rem;
  color: #004080;
  margin-bottom: 1rem;
}

.info-page .info-cards h3 {
  color: #004080;
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.info-page .info-cards p {
  font-size: 1rem;
  color: #555;
}

.info-page .info-cards:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* ===== INFO & CONSULT PAGE - RESPONSIVE ===== */

/* --- Hero секция --- */
@media (max-width: 1200px) {
  .info-hero {
    height: auto;
    padding: 80px 20px 40px 20px;
  }
  .info-hero h1 {
    font-size: 2.2rem;
  }
  .info-hero p {
    font-size: 1rem;
  }
}

@media (max-width: 992px) {
  .info-hero {
    padding: 80px 15px 40px 15px;
  }
  .info-hero h1 {
    font-size: 2rem;
  }
  .info-hero p {
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {
  .info-hero {
    padding: 70px 15px 30px 15px;
  }
  .info-hero h1 {
    font-size: 1.8rem;
  }
  .info-hero p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .info-hero h1 {
    font-size: 1.5rem;
  }
  .info-hero p {
    font-size: 0.85rem;
  }
}

/* --- Cards секция --- */
@media (max-width: 1200px) {
  .info-page .info-cards {
    gap: 2rem;
  }
  .info-page .card {
    flex: 1 1 300px;
    max-width: 100%;
  }
}

@media (max-width: 992px) {
  .info-page .info-cards {
    flex-direction: column;
    gap: 1.5rem;
    padding: 0 10px;
  }
  .info-page .card {
    flex: 1 1 100%;
    max-width: 100%;
    padding: 1.5rem;
  }
  .info-page .card h3 {
    font-size: 1.3rem;
  }
  .info-page .card p {
    font-size: 0.95rem;
  }
  .info-page .card img {
    max-height: 250px;
  }
  .info-page .card .btn {
    width: 100%;
    font-size: 0.9rem;
    padding: 0.7rem 1rem;
  }
}

@media (max-width: 768px) {
  .info-page .card img {
    max-height: 200px;
  }
  .info-page .card h3 {
    font-size: 1.2rem;
  }
  .info-page .card p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .info-page .card img {
    max-height: 180px;
  }
  .info-page .card h3 {
    font-size: 1.1rem;
  }
  .info-page .card p {
    font-size: 0.85rem;
  }
  .info-page .card .btn {
    font-size: 0.85rem;
    padding: 0.6rem 0.9rem;
  }
}

/* --- Info секция (текст + изображение) --- */
@media (max-width: 992px) {
  .info-page .info {
    flex-direction: column-reverse;
    text-align: center;
  }
  .info-page .info-image {
    justify-content: center;
    margin-bottom: 1.5rem;
  }
  .info-page .info-text h2 {
    font-size: 1.8rem;
  }
  .info-page .info-text p {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .info-page .info-text h2 {
    font-size: 1.6rem;
  }
  .info-page .info-text p {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .info-page .info-text h2 {
    font-size: 1.4rem;
  }
  .info-page .info-text p {
    font-size: 0.9rem;
  }
  .info-page .info-image img {
    max-width: 90%;
  }
}

/* Responsive за заглавие */
@media (max-width: 992px) {
  .info-page .info-cards h2 {
    font-size: 1.8rem;
    margin: 1.5rem 0;
  }
}

@media (max-width: 768px) {
  .info-page .info-cards h2 {
    font-size: 1.6rem;
    margin: 1.2rem 0;
  }
}

@media (max-width: 480px) {
  .info-page .info-cards h2 {
    font-size: 1.4rem;
    margin: 1rem 0;
  }
}

/* ===== WEB SERVICES PAGE STYLES ===== */


.web-page .web-cards {
  padding: 3rem 20px;
}

.web-page .web-cards h2 {
  width: 100%;               /* да заема цялата ширина */
  text-align: center;        /* центриране на текста */
  margin: 2rem 0;            /* разстояние отгоре и отдолу */
  padding: 0;                /* премахваме евентуален padding */
  color: #004080;
  font-size: 2rem;
}

.web-hero {

      background: linear-gradient(
        rgba(0,0,0,0.6),
        rgba(0,0,0,0.6)
      ),
       url("https://plus.unsplash.com/premium_photo-1685086785077-ff65bf749544?q=80&w=2832&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D") no-repeat center center/cover;
      height: 65vh;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
      color: #fff;
      padding: 0 20px;
      margin-top: 70px; 
    }

    .web-hero h1 {
      font-size: 2.5rem;
      margin-bottom: 1rem;
    }

    .web-hero p {
      max-width: 800px;
      font-size: 1.2rem;
      margin-bottom: 2rem;
    }

    

/* Контейнер за картите */
.web-page .web-cards {
  display: flex;
  flex-wrap: wrap;        /* позволява колони на широки екрани */
  justify-content: center; /* центрира картите хоризонтално */
  gap: 2rem;
  max-width: 1200px;      /* по-широк контейнер на десктоп */
  margin: 0 auto;
  padding: 0 10px;
  box-sizing: border-box;
}

/* ===== Cards секция ===== */
.web-page .card {
  background: #fff;
  flex: 1 1 300px;        
  max-width: 1200px;       /* ограничаваме максималната ширина на карта */
  border-radius: 15px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  padding: 2rem 1.5rem;
  text-align: center;
  margin: 0 auto;         /* центриране на карта в колона */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.web-page .web-cards i {
  font-size: 3rem;
  color: #004080;
  margin-bottom: 1rem;
}

.web-page .web-cards h3 {
  color: #004080;
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.web-page .web-cards p {
  font-size: 1rem;
  color: #555;
}

.web-page .web-cards:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* ===== WEB PAGE - RESPONSIVE ===== */

/* --- Hero секция --- */
@media (max-width: 1200px) {
  .web-hero {
    height: auto;
    padding: 80px 20px 40px 20px;
  }
  .web-hero h1 {
    font-size: 2.2rem;
  }
  .web-hero p {
    font-size: 1rem;
  }
}

@media (max-width: 992px) {
  .web-hero {
    padding: 80px 15px 40px 15px;
  }
  .web-hero h1 {
    font-size: 2rem;
  }
  .web-hero p {
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {
  .web-hero {
    padding: 70px 15px 30px 15px;
  }
  .web-hero h1 {
    font-size: 1.8rem;
  }
  .web-hero p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .web-hero h1 {
    font-size: 1.5rem;
  }
  .web-hero p {
    font-size: 0.85rem;
  }
}

/* --- Cards секция --- */
@media (max-width: 1200px) {
  .web-page .info-cards {
    gap: 2rem;
  }
  .web-page .card {
    flex: 1 1 300px;
    max-width: 100%;
  }
}

@media (max-width: 992px) {
  .web-page .info-cards {
    flex-direction: column;
    gap: 1.5rem;
    padding: 0 10px;
  }
  .web-page .card {
    flex: 1 1 100%;
    max-width: 100%;
    padding: 1.5rem;
  }
  .web-page .card h3 {
    font-size: 1.3rem;
  }
  .web-page .card p {
    font-size: 0.95rem;
  }
  .web-page .card img {
    max-height: 250px;
  }
  .web-page .card .btn {
    width: 100%;
    font-size: 0.9rem;
    padding: 0.7rem 1rem;
  }
}

@media (max-width: 768px) {
  .web-page .card img {
    max-height: 200px;
  }
  .web-page .card h3 {
    font-size: 1.2rem;
  }
  .web-page .card p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .web-page .card img {
    max-height: 180px;
  }
  .web-page .card h3 {
    font-size: 1.1rem;
  }
  .web-page .card p {
    font-size: 0.85rem;
  }
  .web-page .card .btn {
    font-size: 0.85rem;
    padding: 0.6rem 0.9rem;
  }
}



/* Responsive за заглавие */
@media (max-width: 992px) {
  .web-page .web-cards h2 {
    font-size: 1.8rem;
    margin: 1.5rem 0;
  }
}

@media (max-width: 768px) {
  .web-page .web-cards h2 {
    font-size: 1.6rem;
    margin: 1.2rem 0;
  }
}

@media (max-width: 480px) {
  .web-page .web-cards h2 {
    font-size: 1.4rem;
    margin: 1rem 0;
  }
}

/* Картинката във футъра */
.project-image {
    max-width: 260px;
    display: block;
    margin-bottom: 15px;
    opacity: 0.95;
}

/* Desktop: показва само във футъра */
.desktop-only {
    display: block;
}

/* Mobile: показва само в sidebar */
.mobile-only {
    display: none;
}

/* На мобилен – разменяме видимостта */
@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }
    .mobile-only {
        display: block;
        width: 90%;
        margin: 20px auto;
    }
}

footer {
    position: relative;
    background: #004080;
      color: #fff;
    text-align: center;
    padding: 0.5rem 0.5rem;
    font-size: 0.9rem;
}

/* EU Corner – малка, прибрана картинка */
.eu-corner {
    position: absolute;
    bottom: 10px;
    left: 10px;
    width: 120px;       /* регулираш размера */
    opacity: 0.95;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Мобилно – махаме от футъра */
@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }
}

/* Popup overlay */
.popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Голямата снимка */
.popup-img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 0 20px #000;
}

/* X бутон */
.close-popup {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
}







