
/* Fonts */
:root {
  --default-font: "Roboto",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Raleway",  sans-serif;
  --nav-font: "Poppins",  sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #555555; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #0d3035; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #036dda; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: rgba(255, 255, 255, 0.8);  /* The default color of the main navmenu links */
  --nav-hover-color: #ffffff; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #555555; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #036dda; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #f1f7fc;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}
/* Add this to your CSS */
[data-aos] {
  pointer-events: none;
}
[data-aos].aos-animate {
  pointer-events: auto;
}

/* Ensure the ID landing spot is offset by your header height */
#kasy-fiskalne, 
#terminale-platnicze, 
#oprogramowanie, 
#podpisy-elektroniczne, 
#pieczatki, 
#punkt-xero, 
#wydruk-skan-cad {
  scroll-margin-top: 160px; /* Header height + a little extra breathing room */
}
/* ==========================================================================
   OPTYMALIZACJA SEO - PASEK H1
   ========================================================================== */
/* Kompaktowy i responsywny pasek H1 */
.top-seo-bar {
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
    width: 100%;
    position: relative;
    z-index: 10; /* Aby był nad tłem, ale pod menu jeśli trzeba */
    overflow: hidden;
}

.top-seo-bar h1 {
    /* Jeszcze mniejsza czcionka, żeby nie dominowała */
    font-size: 11px !important; 
    color: #212529 !important;
    font-weight: 400 !important;
    margin: 0 !important;
    /* Minimalny padding, żeby pasek był wąski */
    padding: 4px 10px !important; 
    text-align: center;
    line-height: 1.2;
    word-wrap: break-word;
}

/* Ukrycie paska na bardzo małych ekranach, jeśli nadal by przeszkadzał (opcjonalnie) */
@media (max-width: 320px) {
    .top-seo-bar h1 {
        font-size: 10px !important;
    }
}

/* ==========================================================================
   SEKCJA COOKIES (ZAMIANA H2 NA SPAN)
   ========================================================================== */

/* Tło blokujące stronę */
.cookie-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 9998;
}

/* Okno modalne */
.cookie-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 95%;
    max-width: 500px;
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    z-index: 9999;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: center;
}

.cookie-icon { 
    font-size: 40px; 
    margin-bottom: 15px; 
}

/* Klasa zastępująca H2 w cookies - dla czystego SEO */
.cookie-header-style { 
    display: block;
    margin: 0 0 15px; 
    color: #1a1a1a; 
    font-size: 24px; 
    font-weight: bold;
    line-height: 1.2;
}

.cookie-modal p { 
    color: #444444; 
    font-size: 15px; 
    line-height: 1.6; 
}

.cookie-policy-link { 
    margin-bottom: 25px; 
    margin-top: 10px; 
}

.cookie-policy-link a { 
    color: #0056b3; 
    text-decoration: underline; 
    font-weight: bold; 
}

/* Przyciski wewnątrz okna cookies */
.cookie-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.btn-primary {
    background: #0056b3; /* Ciemniejszy niebieski dla kontrastu z białym tekstem */
    color: #ffffff;
    border: none;
    padding: 14px;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

.btn-primary:hover { background: #004494; }

.btn-secondary {
    background: #e9ecef; /* Ciemniejsze tło przycisku pomocniczego */
    color: #212529;      /* Prawie czarny tekst */
    border: 1px solid #adb5bd;
    padding: 14px;
    border-radius: 10px;
    font-weight: 500;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
}

.btn-secondary:hover { background: #dee2e6; border-color: #868e96; }

/* Blokada scrollowania strony */
body.no-scroll { overflow: hidden; }
/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

#strona-glowna,
#kasy-fiskalne,
#terminale-platnicze,
#oprogramowanie,
#podpisy-elektroniczne,
#pieczatki,
#punkt-xero,
#wydruk-skan-cad,
#contact {
  padding-top: 120px;   /* height of your sticky header */
  margin-top: -120px;   /* pull section up so it’s not hidden */
}

/* Smooth scroll for anchor links */
html {
  scroll-behavior: smooth;
}
/* --- 1. NAGŁÓWEK (Header) --- */
.header {
  --background-color: #3B82CC;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 20px 0;
  transition: all 0.5s;
  z-index: 10001;
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
}

.header .container-fluid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  position: relative;
  width: 100%;
}

.header .logo img {
  max-height: 100px;
  transition: all 0.5s;
}

.header .btn-getstarted {
  color: #ffffff;
  background: #2F66A3;
  font-size: 22px;
  font-weight: 500;
  padding: 6px 25px;
  margin-left: 30px;
  border-radius: 6px;
  transition: 0.3s;
  text-decoration: none;
}

/* --- 2. PASEK INFORMACYJNY (Info Bar) --- */
.info-bar {
  background-color: #2f5f91;
  color: white;
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  /* Pionowe centrowanie tekstu */
  height: 35px;
  line-height: 35px; 
  margin: 0;
  padding: 0;
  width: 100%;
  position: sticky;
  /* Suma paddingu headera (20+20) + logo (100) = 140px */
  top: 100px; 
  z-index: 10000;
  transition: all 0.5s;
}

.info-bar p {
  margin: 0 !important;
}

/* --- 3. MOBILNY HAMBURGER --- */
.mobile-nav-toggle {
  display: none;
  color: #ffffff;
  font-size: 32px;
  cursor: pointer;
  line-height: 0;
  z-index: 10002;
}

/* --- 4. MEDIA QUERY (Naprawa dla mniejszych ekranów) --- */
@media (max-width: 1800px) {
  .header {
    padding: 10px 0;
  }

  .header .logo img {
    max-height: 60px;
  }
@media (max-width: 576px) {
  .info-bar {
    /* Jeśli logo na małych telefonach ma 40px, to 10+10+40 = 60px */
    top: 60px !important;
  }
}
  .info-bar {
    top: 80px; 
    font-size: 13px;
    height: 30px;
    line-height: 30px;
  }

  .header .container-fluid {
    justify-content: space-between !important;
    padding: 0 15px;
    gap: 5px; /* Dodajemy mały odstęp bezpieczeństwa */
  }

  .navmenu ul {
    display: none !important;
  }

  .mobile-nav-toggle {
    display: block !important;
    order: 3;
    margin-left: 10px; /* Odsuwamy hamburgera od przycisku */
  }

  .header .logo { 
    order: 1; 
    margin-right: auto; 
  }

  /* KLUCZOWA POPRAWKA PRZYCISKU */
  .header .btn-getstarted { 
    order: 2; 
    margin: 0 !important; /* Usuwamy prawy margines, który wypychał stronę */
    font-size: 16px;      /* Nieco mniejszy font na tablety */
    padding: 8px 15px;
  }
}

/* --- DODATKOWA POPRAWKA DLA TYPOWYCH TELEFONÓW (poniżej 500px) --- */
@media (max-width: 500px) {
  .header .logo img {
    max-height: 40px; /* Logo musi być mniejsze na telefonie */
  }

  .header .btn-getstarted {
    font-size: 13px;    /* Jeszcze mniejszy font dla iPhone/Samsung */
    padding: 6px 10px;
    margin-right: 5px !important;
  }
}
  /* Ukrywamy info-bar tylko gdy menu jest otwarte, by nie zasłaniał */
  body.mobile-nav-active .info-bar {
    display: none !important;
  }

  /* --- MENU BOCZNE --- */
  body.mobile-nav-active .navmenu {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10005;
    display: block !important;
  }

  body.mobile-nav-active .navmenu ul {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0 !important;
    width: 300px;
    height: 100vh;
    background-color: #3B82CC;
    margin: 0;
    padding: 80px 0 20px 0;
    z-index: 10006;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
    animation: slideInLeft 0.3s ease-out;
  }

  body.mobile-nav-active .navmenu ul li a {
    color: white !important;
    font-size: 18px;
    padding: 15px 25px;
    display: block;
    text-decoration: none;
    transition: 0.3s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  body.mobile-nav-active .navmenu ul li a:hover,
  body.mobile-nav-active .navmenu ul li a.active {
    background-color: rgba(255, 255, 255, 0.15);
    padding-left: 35px;
  }

  body.mobile-nav-active .mobile-nav-toggle {
    position: fixed;
    left: 20px;
    top: 25px;
    color: white !important;
    z-index: 10007 !important;
  }
}

@keyframes slideInLeft {
  from { transform: translateX(-100%); }
  to { transform: translateX(0); }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu>ul>li {
    white-space: nowrap;
    padding: 15px 14px;
  }

  .navmenu>ul>li:last-child {
    padding-right: 0;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 0 2px;
    font-size: 17px;
    font-family: var(--nav-font);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
    position: relative;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu>ul>li>a:before {
    content: "";
    position: absolute;
    height: 2px;
    bottom: -15px;
    left: 0;
    background-color: var(--nav-dropdown-hover-color);
    visibility: hidden;
    width: 0px;
    transition: all 0.3s ease-in-out 0s;
  }

  .navmenu a:hover:before,
  .navmenu li:hover>a:before,
  .navmenu .active:before {
    visibility: visible;
    width: 100%;
  }

  .navmenu li:last-child a {
    padding-right: 0;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 0;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

/* Navmenu - Mobile */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
  }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  position: relative;
}

.footer .footer-top {
  padding-top: 50px;
}

.footer h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
}

.footer .footer-links {
  margin-bottom: 30px;
}

.footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-links ul i {
  margin-right: 3px;
  font-size: 12px;
  line-height: 0;
  color: var(--accent-color);
}

.footer .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.footer .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-links ul a {
  display: inline-block;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  line-height: 1;
}

.footer .footer-links ul a:hover {
  color: var(--accent-color);
}

.footer .footer-about a {
  color: var(--heading-color);
  font-size: 24px;
  font-weight: 600;
  font-family: var(--heading-font);
}

.footer .footer-contact p {
  margin-bottom: 5px;
}

.footer .copyright {
  padding: 25px 0;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .credits {
  margin-top: 6px;
  font-size: 13px;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 160px 0 80px 0;
  text-align: center;
  position: relative;
}

.page-title h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 10px;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: center;
  padding: 0;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
}

.page-title .breadcrumbs ol li+li {
  padding-left: 10px;
}

.page-title .breadcrumbs ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 90px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 66px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.section-title h2:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Clients Section
--------------------------------------------------------------*/
.clients {
  padding-top: 10px;
  padding-bottom: 10px;
}

.clients .clients-slider {
  overflow: hidden;
  background-color: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.clients .swiper-wrapper {
  height: auto !important;
  align-items: stretch;
  transition-timing-function: linear;
}

.clients .swiper-slide {
  height: auto;
  border-right: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.clients .swiper-slide:last-child {
  border-right: none;
}

.clients .client-logo {
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding: 40px;
  height: 100%;
}

.clients .client-logo img {
  max-width: 90%;
  transition: 0.3s;
  opacity: 0.5;
  filter: grayscale(100);
}

.clients .client-logo img:hover {
  filter: none;
  opacity: 1;
}

@media (max-width: 640px) {
  .clients .client-logo {
    padding: 20px;
  }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
/* ==========================================================================
   SEKCJA ABOUT - PEŁNY KOD
   ========================================================================== */

.about .about-meta {
  color: var(--accent-color);
  font-weight: 600;
  margin-bottom: 1rem;
  display: inline-block;
}

.about .about-title {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  line-height: 1.2;
  font-weight: 700;
}

@media (max-width: 992px) {
  .about .about-title {
    font-size: 2rem;
  }
}

.about .about-description {
  margin-bottom: 2rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.about .feature-list-wrapper {
  margin-bottom: 2rem;
}

.about .feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about .feature-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.about .feature-list li i {
  color: var(--accent-color);
  font-size: 1.25rem;
}

/* LOGO - Ustawienia ogólne */
.about .company-logo {
  max-width: 180px;
  height: auto;
  object-fit: contain;
  display: block;
}

/* KONTAKT - Ustawienia ogólne */
.about .contact-info {
  padding: 1rem 1.5rem;
  background-color: var(--surface-color);
  border-radius: 0.5rem;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  gap: 10px;
}

.about .contact-info i {
  color: var(--accent-color);
  font-size: 1.5rem;
}

.about .contact-info .contact-label {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 0.875rem;
  margin: 0;
}

.about .contact-info .contact-number {
  font-weight: 600;
  margin: 0;
}

/* ZDJĘCIA I ODZNAKA - Desktop */
.about .image-wrapper {
  position: relative;
}

.about .image-wrapper .main-image {
  width: 100%;
  height: auto;
}

.about .image-wrapper .experience-badge {
  position: absolute;
  bottom: 5%;
  right: 5%;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 1.5rem;
  border-radius: 0.5rem;
  text-align: center;
  min-width: 200px;
  animation: experience-float 3s ease-in-out infinite;
  z-index: 10;
}

.about .image-wrapper .experience-badge h3 {
  color: var(--contrast-color);
  font-size: 2.5rem;
  margin: 0;
  line-height: 0.5;
}

.about .image-wrapper .experience-badge h3 span {
  font-size: 1rem;
  display: inline-block;
  margin-left: 0.25rem;
}

.about .image-wrapper .experience-badge p {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
}

@keyframes experience-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ==========================================================================
   ADJUSTMENTS DLA TABLETÓW I TELEFONÓW (Centrowanie)
   ========================================================================== */

@media (max-width: 992px) {
  .about .image-wrapper {
    margin-top: 3rem;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important; /* Centrowanie w pionie */
    justify-content: center !important;
    width: 100% !important;
  }

  .about .image-wrapper .images {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    margin: 0 auto !important;
  }

  .about .image-wrapper .images img {
    width: 90% !important;
    max-width: 450px !important; /* Nieco mniejsze, żeby lepiej wyglądało na tel */
    height: auto !important;
    border-radius: 1rem;
    margin: 0 auto !important;
    display: block !important;
  }

  .about .image-wrapper .experience-badge {
    position: relative !important;
    bottom: auto !important;
    right: auto !important;
    margin: -30px auto 0 auto !important; /* Wyśrodkowanie i lekkie nałożenie na zdjęcie */
    width: fit-content !important;
    min-width: 180px;
    padding: 1rem;
    transform: none !important;
  }
}

@media (max-width: 768px) {
  .about .info-wrapper {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important; /* To centruje dzieci w pionie */
    justify-content: center !important;
    text-align: center !important;
    gap: 20px !important;
    width: 100% !important;
    padding: 0 !important;
  }

  .about .logo-container {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    margin: 0 auto !important;
  }

  .about .company-logo {
    width: 140px !important; /* Stała szerokość na telefon często działa lepiej */
    height: auto !important;
    margin: 0 auto !important;
    align-self: center !important; /* Dodatkowe wymuszenie środka */
  }

  .about .contact-info {
    margin: 0 auto !important;
    width: fit-content !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    align-self: center !important; /* Dodatkowe wymuszenie środka */
  }
}
/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats .stats-hero {
  margin-bottom: 2.5rem;
}

.stats .stats-hero .headline {
  color: var(--heading-color);
  font-family: var(--heading-font);
  font-size: 2.25rem;
  font-weight: 600;
  line-height: 1.2;
}

.stats .stats-hero .lead {
  color: var(--default-color);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 0;
}

.stats .stats-hero .stats-rating {
  background: var(--surface-color);
  border-radius: 5px;
  box-shadow: 0 4px 32px color-mix(in srgb, var(--accent-color), transparent 90%);
  min-width: 270px;
  gap: 8px;
}

.stats .stats-hero .stats-rating .stats-rating-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: color-mix(in srgb, var(--accent-color), transparent 85%);
  border: 2px solid color-mix(in srgb, var(--accent-color), transparent 80%);
}

.stats .stats-hero .stats-rating .rating-score .fs-5 {
  color: var(--accent-color);
}

.stats .stats-hero .stats-rating .rating-score .stars {
  color: color-mix(in srgb, var(--accent-color), #ffd700 70%);
  font-size: 1.15rem;
}

.stats .stats-hero .stats-rating .user-feedback {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 0.95rem;
  font-family: var(--default-font);
}

.stats .stats-counters {
  margin-top: 0.5rem;
}

.stats .stats-counters .stats-counter-card {
  background: var(--surface-color);
  border-radius: 5px;
  box-shadow: 0 2px 12px color-mix(in srgb, var(--accent-color), transparent 90%);
  padding: 1.75rem 1rem 1.25rem 1rem;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.3s;
}

.stats .stats-counters .stats-counter-card:hover {
  box-shadow: 0 4px 32px color-mix(in srgb, var(--accent-color), transparent 82%);
}

.stats .stats-counters .stats-counter-card .counter-value {
  color: var(--accent-color);
  font-family: var(--heading-font);
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  display: flex;
  align-items: flex-end;
}

.stats .stats-counters .stats-counter-card .counter-value .purecounter {
  font-size: inherit;
  color: inherit;
}

.stats .stats-counters .stats-counter-card .label {
  color: color-mix(in srgb, var(--default-color), transparent 35%);
  font-size: 1rem;
  font-family: var(--default-font);
  font-weight: 500;
  margin-top: 0.3rem;
  letter-spacing: 0.02em;
}

@media (max-width: 992px) {
  .stats .stats-hero .headline {
    font-size: 1.7rem;
  }

  .stats .stats-counters .stats-counter-card {
    font-size: 0.97rem;
    padding: 1.2rem 0.7rem 1rem 0.7rem;
  }
}

@media (max-width: 767px) {
  .stats .stats-hero {
    flex-direction: column;
  }

  .stats .stats-hero .headline {
    font-size: 1.3rem;
    text-align: center;
  }

  .stats .stats-hero .lead {
    font-size: 1rem;
    text-align: center;
  }

  .stats .stats-hero .stats-rating {
    margin-inline: auto;
  }

  .stats .stats-counters .stats-counter-card {
    padding: 1rem;
    font-size: 0.93rem;
  }
}

.stats .bi-star-fill,
.stats .bi-star-half {
  color: #ffae00;
  font-size: 1.18em;
  vertical-align: -0.13em;
  margin-right: 2px;
}

.stats .bi-star-fill:last-child,
.stats .bi-star-half:last-child {
  margin-right: 0;
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
  position: relative;
  padding: 60px 30px 80px;
  background-color: var(--surface-color);
  border-radius: 12px;
  box-shadow: 0 10px 25px color-mix(in srgb, var(--default-color), transparent 90%);
  transition: all 0.3s ease;
}

.services .service-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background-color: var(--accent-color);
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}
.feature-image {
  overflow: hidden;             /* prevents zoomed image from spilling out */
  border-radius: 20px;          /* rounded corners on container */
  width: 100%;                  /* adjust width if needed */
  max-width: 400px;             /* optional max width */
  margin: 0 auto;               /* center horizontally */
}

.feature-image img {
  display: block;
  width: 100%;
  height: auto;
  transform: translateY(10px);  /* move image down slightly */
  border-radius: 20px;          /* round corners on the image itself */
  transition: transform 0.3s ease; /* smooth zoom effect */
}

.feature-image:hover img {
  transform: translateY(10px) scale(1.05); /* zoom slightly on hover */
}

/* ===============================
   SERVICE CARD BASE (UNCHANGED)
================================ */
.services .service-item {
  position: relative;
  padding: 60px 30px 80px;
  background-color: var(--surface-color);
  border-radius: 12px;
  box-shadow: 0 10px 25px color-mix(in srgb, var(--default-color), transparent 90%);
  transition: all 0.3s ease;
}

.services .service-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background-color: var(--accent-color);
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

/* ===============================
   SPLIT CARD LAYOUT - ZWIĘKSZONE FOTO
================================ */

.service-split-inner {
  display: flex !important;
  flex-direction: row;
  align-items: center; 
  justify-content: space-between;
  gap: 30px; /* Nieco większy odstęp, żeby zdjęcie "oddychało" */
  width: 100%;
}

.service-content {
  flex: 1.2; /* Dajemy tekstowi nieco więcej priorytetu w szerokości */
  display: flex;
  justify-content: flex-start;
}

.text-box {
  background-color: #3180CC !important;
  border: 1px solid #2866a3 !important;
  padding: 25px;
  border-radius: 15px;
  display: inline-block;
  text-align: left;
  width: auto;
  max-width: 100%;
}

/* Układ pionowy: Ikona na górze */
.text-box .service-icon {
  display: flex !important;
  margin-bottom: 15px;
  background-color: rgba(255, 255, 255, 0.2) !important;
}

/* NAGŁÓWEK - Pierwszy wyraz */
.text-box h3 {
  display: block !important;
  font-weight: 800;
  margin-bottom: 10px;
  color: #B3E5FC !important; /* Neonowy błękit */
  white-space: nowrap;
  /* EFEKT ŚWIECENIA - to sprawi, że napis "wyjdzie" z tła bez użycia bieli */
  text-shadow: 0 0 8px rgba(179, 229, 252, 0.4);
}

/* NAGŁÓWEK - Drugi wyraz (wewnątrz span) */
.text-box h3 span {
  color: #E1F5FE !important; /* Mroźny, bardzo jasny błękit */
  display: inline;
  text-shadow: 0 0 8px rgba(225, 245, 254, 0.4);
}

/* OPIS - Żeby nie był biały, damy mu bardzo jasny błękitny odcień */
.text-box p {
  color: #E1F5FE !important;
  opacity: 0.9;
  margin-top: 10px;
}

/* IKONA - Też w kolorze mroźnego błękitu */
.text-box .service-icon i {
  color: #E1F5FE !important;
}
.service-media {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent !important; /* Usuwa tło z całego kontenera po prawej */
}

.feature-image {
  width: 100%;
  max-width: 420px;
  overflow: hidden;
  border-radius: 20px;
  
  /* USUNIĘCIE TŁA I CIENIA */
  background-color: transparent !important; 
  background: none !important;
  box-shadow: none !important; 
  border: none !important;
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px; /* Zostawiamy tylko zaokrąglone rogi samego zdjęcia */
  background-color: transparent !important;
}/* ===============================
   RESPONSYWNOŚĆ (MOBILE)
================================ */
@media (max-width: 991px) {
  .service-split-inner {
    flex-direction: column !important;
    text-align: center;
    gap: 15px;
  }

  .service-content, .service-media {
    width: 100%;
  }

  .text-box {
    display: block; 
    padding: 15px; /* Jeszcze mniejszy padding na telefonach */
    margin-bottom: 15px;
  }
}
/* ===============================
   ICON
================================ */
.services .service-item .service-icon {
  width: 72px;
  height: 72px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 92%);
  color: var(--accent-color);
  font-size: 34px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.services .service-item .service-icon i {
  line-height: 1;
}

/* ===============================
   TITLES & TEXT
================================ */
.services .service-item h3 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 15px;
}

.services .service-item h3 span {
  color: var(--accent-color);
}

.services .service-item p {
  color: var(--default-color);
  margin-bottom: 0;
  transition: color 0.3s ease;
}

/* ===============================
   CARD ACTION BUTTON
================================ */
html {
  scroll-behavior: smooth;
}

/* Scroll offset for all cards with ids */
#services [id] {
  scroll-margin-top: 200px; /* height of your fixed navbar + optional spacing */
}

.services .service-item .card-action {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  font-size: 22px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.services .service-item .card-action i {
  transition: transform 0.3s ease;
}

.services .service-item .card-action:hover i {
  transform: rotate(45deg);
}

/* ===============================
   HOVER EFFECTS
================================ */
.services .service-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px color-mix(in srgb, var(--default-color), transparent 85%);
}

.services .service-item:hover .service-icon {
  transform: scale(1.1);
}

.services .service-item:hover p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.services .service-item:hover .card-action {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
/* ===============================
   BOTTOM COMPANY LOGOS (HORIZONTAL)
================================ */

.service-bottom-images {
  margin-top: 32px;

  display: flex;               /* horizontal layout */
  justify-content: center;     /* center horizontally */
  align-items: center;

  gap: 24px;                   /* space between logos */
  width: 100%;
}

.service-bottom-images img {
  height: 100px;                /* small logos */
  width: auto;
  object-fit: contain;
  opacity: 0.8;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.service-bottom-images img:hover {
  transform: scale(1.1);
  opacity: 1;
}

@media (max-width: 992px) {

  .service-bottom-images {
    display: flex;
    flex-wrap: wrap;              /* allow wrapping */
    justify-content: center;      /* center them */
    gap: 0.75rem;                 /* space between logos */
  }

  .service-bottom-images img {
    max-width: 110px;              /* 👈 smaller logos */
    width: 100%;
    height: auto;
    object-fit: contain;
  }

}
/* ===============================
   MOBILE RESPONSIVE
================================ */
@media (max-width: 991px) {
  .service-split-inner {
    flex-direction: column;
  }

  .service-media {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .services .service-item {
    padding: 50px 25px 70px;
  }

  .services .service-item h3 {
    font-size: 22px;
  }

  .services .service-item .service-icon {
    width: 64px;
    height: 64px;
    font-size: 30px;
  }
}

/* ===============================
   SWIPER FIX
================================ */
.services .swiper-wrapper {
  height: auto !important;
}

/*--------------------------------------------------------------
# Features Section
--------------------------------------------------------------*/
.features .features-intro {
  padding-right: 30px;
}

@media (max-width: 991px) {
  .features .features-intro {
    padding-right: 0;
    margin-bottom: 40px;
    text-align: center;
  }
}

.features .features-intro h2 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

@media (max-width: 767px) {
  .features .features-intro h2 {
    font-size: 32px;
  }
}

.features .features-intro p {
  font-size: 18px;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  margin-bottom: 40px;
}

.features .features-intro .highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

@media (max-width: 576px) {
  .features .features-intro .highlights-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.features .features-intro .highlights-grid .highlight-item {
  text-align: center;
}

.features .features-intro .highlights-grid .highlight-item .highlight-number {
  font-size: 28px;
  font-weight: 700;
  color: var(--accent-color);
  line-height: 1;
  margin-bottom: 5px;
}

.features .features-intro .highlights-grid .highlight-item .highlight-text {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-weight: 500;
}

.features .featured-image-container {
  position: relative;
}

.features .featured-image-container .floating-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 12px 20px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.features .featured-image-container .floating-badge i {
  font-size: 18px;
}

.features .features-grid {
  margin: 80px 0;
}

.features .features-grid .feature-box {
  background-color: var(--surface-color);
  padding: 40px 30px;
  border-radius: 20px;
  height: 100%;
  transition: all 0.3s ease;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
}

.features .features-grid .feature-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(54, 144, 231, 0.1);
  border-color: color-mix(in srgb, var(--accent-color), transparent 70%);
}

.features .features-grid .feature-box .feature-icon-wrapper {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #ff6b35 20%));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.features .features-grid .feature-box .feature-icon-wrapper::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #ff6b35 20%));
  opacity: 0.2;
  transform: scale(1.3);
  z-index: -1;
}

.features .features-grid .feature-box .feature-icon-wrapper i {
  font-size: 32px;
  color: var(--contrast-color);
}

.features .features-grid .feature-box h4 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
}

.features .features-grid .feature-box p {
  font-size: 15px;
  line-height: 1.6;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 25px;
}

.features .features-grid .feature-box .progress-indicator {
  width: 100%;
  height: 4px;
  background-color: color-mix(in srgb, var(--default-color), transparent 90%);
  border-radius: 2px;
  margin-bottom: 10px;
  overflow: hidden;
}

.features .features-grid .feature-box .progress-indicator .progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #28a745 30%));
  border-radius: 2px;
  transition: width 1s ease;
}

.features .features-grid .feature-box .progress-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-color);
}

.features .advanced-features-section {
  margin-top: 80px;
}

.features .advanced-features-section h3 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 15px;
}

@media (max-width: 767px) {
  .features .advanced-features-section h3 {
    font-size: 28px;
  }
}

.features .advanced-features-section .advanced-feature-card {
  background-color: var(--surface-color);
  padding: 35px;
  border-radius: 16px;
  height: 100%;
  position: relative;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
  transition: all 0.3s ease;
}

.features .advanced-features-section .advanced-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.features .advanced-features-section .advanced-feature-card:hover .feature-icon-bg {
  transform: scale(1.1) rotate(10deg);
  opacity: 0.15;
}

.features .advanced-features-section .advanced-feature-card .feature-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.features .advanced-features-section .advanced-feature-card .feature-header .feature-number {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
}

.features .advanced-features-section .advanced-feature-card .feature-header .feature-status-badge {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.features .advanced-features-section .advanced-feature-card .feature-header .feature-status-badge.enterprise {
  background-color: rgba(220, 53, 69, 0.1);
  color: #dc3545;
}

.features .advanced-features-section .advanced-feature-card .feature-header .feature-status-badge.premium {
  background-color: rgba(25, 135, 84, 0.1);
  color: #198754;
}

.features .advanced-features-section .advanced-feature-card .feature-header .feature-status-badge.standard {
  background-color: rgba(54, 144, 231, 0.1);
  color: var(--accent-color);
}

.features .advanced-features-section .advanced-feature-card .feature-header .feature-status-badge.coming-soon {
  background-color: rgba(108, 117, 125, 0.1);
  color: #6c757d;
}

.features .advanced-features-section .advanced-feature-card .feature-content {
  position: relative;
  z-index: 2;
}

.features .advanced-features-section .advanced-feature-card .feature-content h4 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 15px;
}

.features .advanced-features-section .advanced-feature-card .feature-content p {
  font-size: 15px;
  line-height: 1.6;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  margin-bottom: 20px;
}

.features .advanced-features-section .advanced-feature-card .feature-content .feature-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
}

.features .advanced-features-section .advanced-feature-card .feature-content .feature-benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 8px;
}

.features .advanced-features-section .advanced-feature-card .feature-content .feature-benefits li i {
  color: #28a745;
  font-size: 16px;
}

.features .advanced-features-section .advanced-feature-card .feature-content .feature-benefits li:last-child {
  margin-bottom: 0;
}

.features .advanced-features-section .advanced-feature-card .feature-icon-bg {
  position: absolute;
  bottom: -20px;
  right: -20px;
  font-size: 120px;
  color: var(--accent-color);
  opacity: 0.05;
  transition: all 0.3s ease;
  z-index: 1;
}

@media (max-width: 991px) {
  .features .features-intro .highlights-grid {
    margin-top: 30px;
  }

  .features .features-grid {
    margin: 60px 0;
  }

  .features .advanced-features-section {
    margin-top: 60px;
  }
/* ===============================
   MOBILE ORDER FIX – SERVICES
   Makes ALL cards behave like CARD 1
================================ */
@media (max-width: 991px) {

  /* Stack split cards vertically */
  .service-split-inner {
    display: flex;
    flex-direction: column;
  }

  /* Text always first */
  .service-content {
    order: 1;
  }

  /* Feature image always below text */
  .service-media {
    order: 2;
    width: 100%;
    margin-top: 1rem;
  }

  /* Bottom logos always last */
  .service-bottom-images {
    order: 3;
    margin-top: 1.5rem;
  }

}

}


/*--------------------------------------------------------------
# Call To Action Section
--------------------------------------------------------------*/
.call-to-action {
  padding: 120px 0;
  background: linear-gradient(135deg, var(--background-color) 0%, color-mix(in srgb, var(--accent-color), transparent 97%) 50%, var(--background-color) 100%);
}

.call-to-action .cta-wrapper {
  position: relative;
  background-color: var(--surface-color);
  border-radius: 24px;
  padding: 4rem 3rem;
  box-shadow: 0 25px 50px color-mix(in srgb, var(--default-color), transparent 93%), 0 0 0 1px color-mix(in srgb, var(--accent-color), transparent 90%);
  overflow: hidden;
}

.call-to-action .background-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.call-to-action .background-pattern .wave {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(45deg, transparent 0%, color-mix(in srgb, var(--accent-color), transparent 96%) 30%, color-mix(in srgb, var(--accent-color), transparent 98%) 70%, transparent 100%);
  transform: skewX(-15deg) translateX(20%);
}

.call-to-action .background-pattern .geometric-shape {
  position: absolute;
  border-radius: 50%;
}

.call-to-action .background-pattern .geometric-shape.shape-1 {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color), transparent 85%), color-mix(in srgb, var(--accent-color), transparent 95%));
  top: 5%;
  left: 10%;
  animation: floatRotate 8s ease-in-out infinite;
}

.call-to-action .background-pattern .geometric-shape.shape-2 {
  width: 80px;
  height: 80px;
  background: linear-gradient(225deg, color-mix(in srgb, var(--heading-color), transparent 88%), color-mix(in srgb, var(--heading-color), transparent 96%));
  bottom: 10%;
  right: 15%;
  animation: floatRotate 6s ease-in-out infinite reverse;
}

.call-to-action .content-section {
  position: relative;
  z-index: 2;
}

.call-to-action .content-section .label-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), transparent 10%));
  color: var(--contrast-color);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 2rem;
  box-shadow: 0 8px 16px color-mix(in srgb, var(--accent-color), transparent 85%);
}

.call-to-action .content-section .label-badge i {
  font-size: 1.1rem;
}

.call-to-action .content-section h2 {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--heading-color);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.call-to-action .content-section p {
  font-size: 1.125rem;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.call-to-action .features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.call-to-action .features-grid .feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.call-to-action .features-grid .feature-item .feature-icon {
  color: var(--accent-color);
  font-size: 1.25rem;
}

.call-to-action .features-grid .feature-item span {
  font-weight: 500;
  color: var(--heading-color);
  font-size: 0.95rem;
}

.call-to-action .cta-actions {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.call-to-action .cta-actions .btn {
  transition: all 0.3s ease;
  font-weight: 600;
  border-radius: 12px;
}

.call-to-action .cta-actions .btn.btn-cta-primary {
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), transparent 15%));
  color: var(--contrast-color);
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  border: none;
  box-shadow: 0 12px 24px color-mix(in srgb, var(--accent-color), transparent 85%), 0 0 0 0 var(--accent-color);
}

.call-to-action .cta-actions .btn.btn-cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px color-mix(in srgb, var(--accent-color), transparent 80%), 0 0 0 3px color-mix(in srgb, var(--accent-color), transparent 80%);
}

.call-to-action .cta-actions .btn.btn-cta-secondary {
  background: transparent;
  color: var(--accent-color);
  border: 2px solid color-mix(in srgb, var(--accent-color), transparent 70%);
  padding: 0.75rem 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.call-to-action .cta-actions .btn.btn-cta-secondary:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 95%);
  border-color: var(--accent-color);
}

.call-to-action .cta-actions .btn.btn-cta-secondary i {
  font-size: 1.2rem;
}

.call-to-action .cta-actions .secondary-action {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.call-to-action .cta-actions .secondary-action .note {
  font-size: 0.85rem;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-style: italic;
}

.call-to-action .image-section {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.call-to-action .image-section .main-image-wrapper {
  position: relative;
  max-width: 450px;
}

.call-to-action .image-section .main-image-wrapper .main-img {
  border-radius: 20px;
  position: relative;
  z-index: 2;
}

.call-to-action .image-section .main-image-wrapper .overlay-circle {
  position: absolute;
  border-radius: 50%;
  z-index: 1;
}

.call-to-action .image-section .main-image-wrapper .overlay-circle.circle-1 {
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color), transparent 85%), color-mix(in srgb, var(--accent-color), transparent 95%));
  top: -20px;
  right: -30px;
  animation: pulse 4s ease-in-out infinite;
}

.call-to-action .image-section .main-image-wrapper .overlay-circle.circle-2 {
  width: 100px;
  height: 100px;
  background: linear-gradient(225deg, color-mix(in srgb, var(--heading-color), transparent 88%), color-mix(in srgb, var(--heading-color), transparent 96%));
  bottom: -15px;
  left: -25px;
  animation: pulse 3s ease-in-out infinite;
}

.call-to-action .image-section .stats-card {
  position: absolute;
  background: var(--surface-color);
  border-radius: 16px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 15px 30px color-mix(in srgb, var(--default-color), transparent 90%), 0 0 0 1px color-mix(in srgb, var(--accent-color), transparent 90%);
  z-index: 3;
}

.call-to-action .image-section .stats-card .stat-icon {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), transparent 20%));
  color: var(--contrast-color);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 1.25rem;
}

.call-to-action .image-section .stats-card .stat-content h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--heading-color);
  margin: 0;
  line-height: 1;
}

.call-to-action .image-section .stats-card .stat-content span {
  font-size: 0.85rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-weight: 500;
}

.call-to-action .image-section .stats-card.card-1 {
  top: 15%;
  left: -20px;
  animation: float1 6s ease-in-out infinite;
}

.call-to-action .image-section .stats-card.card-2 {
  bottom: 20%;
  right: -25px;
  animation: float2 5s ease-in-out infinite;
}

@keyframes floatRotate {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-15px) rotate(180deg);
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.7;
  }

  50% {
    transform: scale(1.1);
    opacity: 0.4;
  }
}

@keyframes float1 {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

@keyframes float2 {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(8px);
  }
}

@media (max-width: 991.98px) {
  .call-to-action {
    padding: 80px 0;
  }

  .call-to-action .cta-wrapper {
    padding: 3rem 2rem;
  }

  .call-to-action .content-section h2 {
    font-size: 2.25rem;
  }

  .call-to-action .content-section p {
    font-size: 1rem;
  }

  .call-to-action .features-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .call-to-action .cta-actions .btn.btn-cta-primary {
    width: 100%;
  }

  .call-to-action .cta-actions .secondary-action {
    justify-content: center;
    flex-direction: column;
    gap: 0.5rem;
  }

  .call-to-action .image-section {
    margin-top: 3rem;
  }

  .call-to-action .image-section .stats-card.card-1 {
    top: 10%;
    left: 0;
  }

  .call-to-action .image-section .stats-card.card-2 {
    bottom: 10%;
    right: 0;
  }
}

@media (max-width: 768px) {
  .call-to-action {
    padding: 60px 0;
  }

  .call-to-action .cta-wrapper {
    padding: 2rem 1.5rem;
  }

  .call-to-action .content-section h2 {
    font-size: 1.875rem;
  }

  .call-to-action .content-section .label-badge {
    padding: 0.6rem 1.25rem;
    font-size: 0.85rem;
  }

  .call-to-action .stats-card {
    padding: 0.75rem 1rem;
  }

  .call-to-action .stats-card .stat-icon {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }

  .call-to-action .stats-card .stat-content h4 {
    font-size: 1.1rem;
  }

  .call-to-action .stats-card .stat-content span {
    font-size: 0.8rem;
  }

  .call-to-action .overlay-circle {
    transform: scale(0.8);
  }
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-box {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 3rem;
  border-radius: 1rem;
  height: 100%;
}

.contact .info-box h3 {
  color: var(--contrast-color);
  font-size: 2rem;
  margin-bottom: 1rem;
}

@media (max-width: 767.98px) {
  .contact .info-box h3 {
    font-size: 1.75rem;
  }
}

.contact .info-box p {
  opacity: 0.8;
  margin-bottom: 2rem;
}

.contact .info-box a {
  color: var(--contrast-color);
}

@media (max-width: 992px) {
  .contact .info-box {
    padding: 1.5rem;
  }
}

.contact .info-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact .info-item:last-child {
  margin-bottom: 0;
}

.contact .info-item .icon-box {
  width: 3.5rem;
  height: 3.5rem;
  background-color: color-mix(in srgb, var(--contrast-color), transparent 85%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: 0.3s;
}

.contact .info-item .icon-box i {
  font-size: 1.5rem;
  color: var(--contrast-color);
}

.contact .info-item:hover .icon-box {
  background-color: color-mix(in srgb, var(--contrast-color), transparent 70%);
}

.contact .info-item .content h4 {
  color: var(--contrast-color);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.contact .info-item .content p {
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
}

.contact .info-item .content p:last-child {
  margin-bottom: 0;
}

.contact .contact-form {
  background-color: var(--surface-color);
  padding: 3rem;
  border-radius: 1rem;
  height: 100%;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.05);
}

@media (max-width: 992px) {
  .contact .contact-form {
    padding: 1.5rem;
  }
}

.contact .contact-form h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .contact .contact-form h3 {
    font-size: 1.75rem;
  }
}

.contact .contact-form p {
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  margin-bottom: 2rem;
}

.contact .contact-form .form-control,
.contact .contact-form .form-select {
  padding: 0.875rem 1.25rem;
  border-color: color-mix(in srgb, var(--default-color), transparent 90%);
  border-radius: 0.5rem;
  background-color: color-mix(in srgb, var(--surface-color) 90%, white 5%);
  color: var(--default-color);
}

.contact .contact-form .form-control:focus,
.contact .contact-form .form-select:focus {
  box-shadow: none;
  border-color: var(--accent-color);
}

.contact .contact-form .form-control::placeholder,
.contact .contact-form .form-select::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.contact .contact-form .btn {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 1rem 2rem;
  border-radius: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: 0.3s;
}

.contact .contact-form .btn i {
  font-size: 1.25rem;
}

.contact .contact-form .btn:hover {
  background-color: color-mix(in srgb, var(--accent-color), var(--contrast-color) 20%);
}


/*--------------------------------------------------------------
# Hero 2 Section
--------------------------------------------------------------*/
/* --- BAZA HERO-2 --- */
.hero-2 { padding: 0; }
.hero-2 .carousel {
  width: 100%;
  min-height: 80vh;
  padding: 0;
  margin: 0 auto;
  background-color: #B9D8FA;
  position: relative;
}
.hero-2 img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.hero-2 .carousel-item {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

/* Standardowe przyciemnienie dla zwykłych slajdów */
.hero-2 .carousel-item::before {
  content: "";
  background-color: color-mix(in srgb, var(--background-color), transparent 30%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

/* --- SLAJD PROMOCYJNY (promo-slide) --- */
.hero-2 .carousel-item.promo-slide::before {
  /* Usuwamy kolor, ale zostawiamy warstwę, by trzymała strukturę */
  background-color: transparent !important;
  background-image: none !important;
  content: "";
  display: block !important;
}

.hero-2 .carousel-item.promo-slide img {
  filter: brightness(1) !important;
  opacity: 1 !important;
}

.hero-2 .carousel-item.promo-slide .carousel-container {
  background: transparent !important;
  box-shadow: none !important;
  /* To trzyma przycisk na dole */
  justify-content: flex-end !important;
  padding-bottom: 100px !important;
  display: flex !important;
}

/* --- KONTENER I TEKSTY --- */
.hero-2 .carousel-container {
  position: absolute;
  inset: 90px 64px 64px 64px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 3;
}

.hero-2 h2 {
  margin-bottom: 30px;
  font-size: 48px;
  font-weight: 700;
  animation: fadeInDown 1s both;
}

.hero-2 p {
  animation: fadeInDown 1s both 0.2s;
} 

/* --- PRZYCISKI --- */
.hero-2 .btn-get-started {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 8px 32px;
  border-radius: 50px;
  transition: 0.5s;
  margin: 10px;
  animation: fadeInUp 1s both 0.4s;
}

/* Specyficzne ustawienia dla przycisku w promocji (duży) */
.hero-2 .carousel-item.promo-slide .btn-get-started {
  font-size: 20px !important;
  padding: 12px 45px !important;
  font-weight: 600 !important;
  /* Opcjonalnie: dodaj cień do przycisku, jeśli zlewa się z jasnym tłem */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
}

.hero-2 .carousel-item.promo-slide .btn-get-started:hover {
  transform: scale(1.05) !important;
  filter: brightness(1.1);
}
/* --- RESPÓNSYWNOŚĆ (MEDIA QUERIES) --- */

/* Od laptopa w górę */
@media (min-width: 1024px) {
  .hero-2 h2, .hero-2 p { max-width: 60%; }
  .hero-2 .carousel-control-prev, .hero-2 .carousel-control-next { width: 5%; }
}

/* Telefony i Tablety (poniżej 1050px) */
@media (max-width: 1050px) {
  .hero-2 .carousel-container {
    text-align: center; /* Wyśrodkowanie tekstu */
  }
  .hero-2 h2 { font-size: 30px; }
  .hero-2 h2, .hero-2 p { max-width: 100% !important; }
  
  /* Skalowanie przycisku promo */
  .hero-2 .carousel-item.promo-slide .btn-get-started {
    font-size: 18px !important;
    padding: 10px 35px !important;
  }
}

/* Małe telefony (poniżej 576px) */
@media (max-width: 576px) {
  .hero-2 .carousel-item.promo-slide .btn-get-started {
    font-size: 16px !important;
    padding: 8px 25px !important;
  }
  .hero-2 .carousel-item.promo-slide .carousel-container {
    padding-bottom: 60px !important; /* Mniejszy padding na małych ekranach */
  }
}

/* --- NAWIGACJA --- */
.hero-2 .carousel-control-prev, .hero-2 .carousel-control-next { width: 10%; opacity: 0.5; transition: 0.3s; z-index: 4; }
.hero-2 .carousel-control-prev:hover, .hero-2 .carousel-control-next:hover { opacity: 0.9; }
.hero-2 .carousel-control-next-icon, .hero-2 .carousel-control-prev-icon { background: none; font-size: 32px; }
.hero-2 .carousel-indicators { list-style: none; }
.hero-2 .carousel-indicators li { cursor: pointer; }

/* --- ANIMACJE --- */
@keyframes fadeInUp { from { opacity: 0; transform: translate3d(0, 100%, 0); } to { opacity: 1; transform: translate3d(0, 0, 0); } }
@keyframes fadeInDown { from { opacity: 0; transform: translate3d(0, -100%, 0); } to { opacity: 1; transform: translate3d(0, 0, 0); } }
.footer-center {
  text-align: center;        /* center all content */
  padding: 40px 20px;
  background-color: var(--background-color); /* optional: match your site theme */
}
.footer .copyright {
  background-color: #111; /* SAME COLOR */
}

.footer-center .footer-logo .logo-img {
  max-width: 200px;          /* adjust logo size */
  height: auto;
  display: block;
  margin: 0 auto 20px auto;  /* center logo and add bottom margin */
}

.footer-center .footer-links a {
  display: inline-block;
  margin: 0 15px;            /* spacing between links */
  color: var(--default-color); /* text color */
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.footer-center .footer-links a:hover {
  color: var(--accent-color); /* hover color */
}
.location-section {
  padding: 40px 20px; /* reduced top padding to move map higher */
  text-align: center;
  background-color: #f9f9f9;
}

.location-section h2 {
  font-size: 36px;
  margin-bottom: 20px; /* less space below title */
  color: #333;
}

.map-wrapper {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.map-wrapper iframe {
  width: 100%;
  height: 450px;
  border: 0;
  display: block;
}
