/**
 * ArtLingO₂ - Bootstrap Style
 * Based on Impact Template
 */

/*--------------------------------------------------------------
# Font & Color Variables
--------------------------------------------------------------*/
:root {
  /* Fonts - same as Impact theme */
  --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  --heading-font: "Montserrat", sans-serif;
  --nav-font: "Poppins", sans-serif;
  --button-font: "Poppins", sans-serif;
  
  /* Logo colors */
  --logo-red: #CD2054;
  --logo-green: #43BCBB;
  --logo-blue: #C5D6FF;
  --logo-orange: #FFC099;
  
  /* Global Colors - Impact Template Colors */
  --background-color: #ffffff;
  --default-color: #222222;
  --heading-color: #172a28;
  --accent-color: #008374; /* Impact teal */
  --surface-color: #ffffff;
  --contrast-color: #ffffff;
  
  /* Nav Menu Colors */
  --nav-color: #ffffff;
  --nav-hover-color: #008374;
  --nav-mobile-background-color: #ffffff;
  --nav-dropdown-background-color: #ffffff;
  --nav-dropdown-color: #01433c;
  --nav-dropdown-hover-color: #008374;
}

/* Color Presets */
.accent-background {
  --background-color: #008374; /* Impact teal */
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --accent-color: #ffffff;
  --surface-color: #00b6a1;
  --contrast-color: #ffffff;
}

.light-background {
  --background-color: #f8f9fa;
  --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;
}

/*--------------------------------------------------------------
# General Styling
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
  font-style: normal;
  padding-top: 60px;
}

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

a:hover {
  color: var(--nav-hover-color);
  text-decoration: none;
}

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

/* All paragraphs use default font (Roboto) - no italic */
p {
  font-family: var(--default-font);
  font-style: normal;
}

/* Logo word colors */
.logo-word-red {
  color: var(--logo-red) !important;
}

.logo-word-green {
  color: var(--logo-green) !important;
}

.logo-word-blue {
  color: #4A90E2 !important; /* Ciemniejszy niebieski dla lepszej widoczności na białym tle */
}

/*--------------------------------------------------------------
# Top Bar
--------------------------------------------------------------*/
.topbar {
  background-color: color-mix(in srgb, #008374 90%, black 10%);
  height: 40px;
  padding: 0;
  font-size: 14px;
  transition: all 0.5s;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 998;
}

.topbar .contact-info i {
  font-style: normal;
  color: var(--contrast-color);
}

.topbar .contact-info i a,
.topbar .contact-info i span {
  padding-left: 5px;
  color: var(--contrast-color);
}

.topbar .contact-info i a:hover {
  color: var(--contrast-color);
  text-decoration: underline;
}

.topbar .social-links a {
  color: color-mix(in srgb, var(--contrast-color), transparent 40%);
  line-height: 0;
  transition: 0.3s;
  margin-left: 20px;
}

.topbar .social-links a:hover {
  color: var(--contrast-color);
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.header {
  --background-color: #008374;
  --heading-color: #ffffff;
  color: var(--default-color);
  transition: all 0.5s;
  z-index: 997;
  background-color: color-mix(in srgb, #008374 90%, black 10%);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

.header .branding {
  min-height: 60px;
  padding: 10px 0;
  position: relative;
  overflow: visible;
}

.header .logo {
  line-height: 1;
  text-decoration: none;
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
}

.header .logo img,
.logo-img {
  max-height: 60px;
  height: auto;
  width: auto;
  margin-right: 8px;
  display: none; /* Hide logo image, use text instead */
}

.logo-circle-img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  border-radius: 50%;
  background: var(--accent-color);
  padding: 25px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  border: 3px solid var(--accent-color);
  display: block;
}

.logo-circle-img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

.header .logo h1 {
  font-size: 28px;
  margin: 0;
  font-family: var(--nav-font);
  font-style: normal;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.3px;
}

.header .logo .sitename {
  font-size: 28px;
  font-family: var(--nav-font);
  font-style: normal;
  font-weight: 700;
  display: inline-flex;
  align-items: baseline;
  transition: transform 0.3s ease;
}

.header .logo:hover .sitename {
  transform: scale(1.05);
}

.header .logo .sitename,
.header .logo .sitename span {
  color: #66AE9A !important;
}

.header .logo .logo-word-red {
  color: #66AE9A;
  transition: color 0.3s ease;
}

.header .logo .logo-word-green {
  color: #66AE9A;
  transition: color 0.3s ease;
}

.header .logo .logo-word-blue {
  color: #66AE9A;
  transition: color 0.3s ease;
}

.logo-word-orange {
  color: var(--logo-orange);
}

.header .logo .logo-word-orange {
  color: #66AE9A;
  font-size: 0.7em;
  vertical-align: super;
  line-height: 0;
  margin-left: 1px;
  font-weight: 600;
}

/* Dropdown divider */
.navmenu .dropdown ul hr.dropdown-divider {
  margin: 8px 12px;
  border: 0;
  border-top: 1px solid color-mix(in srgb, var(--nav-dropdown-color), transparent 80%);
  opacity: 0.3;
}

.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

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

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

  .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);
    font-size: 15px;
    padding: 0 2px;
    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 .dropdown:hover > a .toggle-dropdown {
    transform: rotate(180deg);
  }

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

  .navmenu a:hover:before,
  .navmenu li:hover>a:before,
  .navmenu .active:before {
    visibility: visible;
    width: 100%;
  }
  
  .navmenu a {
    z-index: 2;
    position: relative;
  }
  
  .navmenu a span,
  .navmenu a i {
    position: relative;
    z-index: 3;
  }

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

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 100%;
    opacity: 0;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    overflow: visible;
    margin-top: 0;
    padding-top: 10px;
    pointer-events: none;
  }
  
  /* Niewidoczny obszar łączący link z dropdownem - ułatwia przejście kursora */
  .navmenu .dropdown ul::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -20px;
    right: -20px;
    height: 10px;
    background: transparent;
    pointer-events: auto;
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
    margin: 0;
    position: relative;
  }
  
  /* Podlista w dropdownie (lista listy) – po lewej stronie aktualnego dropdownu */
  .navmenu .dropdown ul li.dropdown ul,
  .navmenu .dropdown .dropdown ul {
    left: auto !important;
    right: 100% !important;
    top: -10px !important;
    bottom: auto !important;
    margin-left: 0 !important;
    margin-right: 2px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    min-width: 220px;
    z-index: 199;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s ease, visibility 0.2s ease !important;
    transform: none !important;
    position: absolute !important;
    will-change: opacity, visibility;
  }
  
  /* Upewnij się, że pozycja jest stała zarówno przed jak i po hover - wszystkie stany */
  .navmenu .dropdown ul li.dropdown > ul,
  .navmenu .dropdown .dropdown > ul,
  .navmenu .dropdown ul li.dropdown:hover > ul,
  .navmenu .dropdown .dropdown:hover > ul,
  .navmenu .dropdown .dropdown.dropdown-hover > ul {
    top: -10px !important;
    bottom: auto !important;
    transform: none !important;
    position: absolute !important;
  }
  
  .navmenu .dropdown ul li.dropdown:hover > ul,
  .navmenu .dropdown .dropdown:hover > ul,
  .navmenu .dropdown .dropdown.dropdown-hover > ul {
    opacity: 1 !important;
    visibility: visible !important;
  }
  
  .navmenu .dropdown ul li.dropdown > a .toggle-dropdown {
    margin-left: auto;
    transition: transform 0.3s ease;
  }
  
  .navmenu .dropdown ul li.dropdown:hover > a .toggle-dropdown {
    transform: rotate(-90deg);
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start;
    transition: color 0.3s ease, border-left-color 0.3s ease;
    position: relative;
    background-color: transparent !important;
    text-align: left;
    border-left: 4px solid transparent;
    margin: 0 6px;
    border-radius: 0 4px 4px 0;
  }
  
  .navmenu .dropdown ul a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    transition: width 0.3s ease;
  }
  
  .navmenu .dropdown ul a:hover::after {
    width: 100%;
  }
  
  .navmenu .dropdown ul a span {
    transition: color 0.3s ease;
  }
  
  .navmenu .dropdown ul a i:not(.toggle-dropdown),
  .navmenu .dropdown ul a .bi {
    font-size: 18px !important;
    margin-right: 10px !important;
    display: inline-block !important;
    width: 24px !important;
    text-align: center !important;
    opacity: 1 !important;
    visibility: visible !important;
    line-height: 1 !important;
    flex-shrink: 0 !important;
    font-family: "bootstrap-icons" !important;
    font-style: normal !important;
    transition: color 0.3s ease;
  }
  
  .navmenu .dropdown ul a .toggle-dropdown {
    margin-left: auto;
    font-size: 12px !important;
    width: auto !important;
  }
  
  /* Oferta – kolory pozycji, border-left, ikony, podkreślenie (przed i po hover) */
  .navmenu .dropdown ul .dropdown-item-1 { color: #2ECC71 !important; border-left-color: #2ECC71 !important; }
  .navmenu .dropdown ul .dropdown-item-1::after { background: #27AE60; }
  .navmenu .dropdown ul .dropdown-item-1 i:not(.toggle-dropdown) { color: #2ECC71 !important; }
  .navmenu .dropdown ul .dropdown-item-1:hover { color: #27AE60 !important; border-left-color: #27AE60 !important; }
  .navmenu .dropdown ul .dropdown-item-1:hover i:not(.toggle-dropdown) { color: #27AE60 !important; }
  
  .navmenu .dropdown ul .dropdown-item-2 { color: #3498DB !important; border-left-color: #3498DB !important; }
  .navmenu .dropdown ul .dropdown-item-2::after { background: #2980B9; }
  .navmenu .dropdown ul .dropdown-item-2 i:not(.toggle-dropdown) { color: #3498DB !important; }
  .navmenu .dropdown ul .dropdown-item-2:hover { color: #2980B9 !important; border-left-color: #2980B9 !important; }
  .navmenu .dropdown ul .dropdown-item-2:hover i:not(.toggle-dropdown) { color: #2980B9 !important; }
  
  .navmenu .dropdown ul .dropdown-item-3 { color: #9B59B6 !important; border-left-color: #9B59B6 !important; }
  .navmenu .dropdown ul .dropdown-item-3::after { background: #8E44AD; }
  .navmenu .dropdown ul .dropdown-item-3 i:not(.toggle-dropdown) { color: #9B59B6 !important; }
  .navmenu .dropdown ul .dropdown-item-3:hover { color: #8E44AD !important; border-left-color: #8E44AD !important; }
  .navmenu .dropdown ul .dropdown-item-3:hover i:not(.toggle-dropdown) { color: #8E44AD !important; }
  
  .navmenu .dropdown ul .dropdown-item-4 { color: #E67E22 !important; border-left-color: #E67E22 !important; }
  .navmenu .dropdown ul .dropdown-item-4::after { background: #D35400; }
  .navmenu .dropdown ul .dropdown-item-4 i:not(.toggle-dropdown) { color: #E67E22 !important; }
  .navmenu .dropdown ul .dropdown-item-4:hover { color: #D35400 !important; border-left-color: #D35400 !important; }
  .navmenu .dropdown ul .dropdown-item-4:hover i:not(.toggle-dropdown) { color: #D35400 !important; }
  
  .navmenu .dropdown ul .dropdown-item-beauty-1 { color: #E1929F !important; border-left-color: #E1929F !important; }
  .navmenu .dropdown ul .dropdown-item-beauty-1::after { background: #D81B60; }
  .navmenu .dropdown ul .dropdown-item-beauty-1 i:not(.toggle-dropdown),
  .navmenu .dropdown ul .dropdown-item-beauty-1 span { color: inherit !important; }
  .navmenu .dropdown ul .dropdown-item-beauty-1:hover { color: #D81B60 !important; border-left-color: #D81B60 !important; }
  .navmenu .dropdown ul .dropdown-item-beauty-1:hover i:not(.toggle-dropdown),
  .navmenu .dropdown ul .dropdown-item-beauty-1:hover span { color: inherit !important; }
  
  .navmenu .dropdown ul .dropdown-item-beauty-2 { color: #64A8FF !important; border-left-color: #64A8FF !important; }
  .navmenu .dropdown ul .dropdown-item-beauty-2::after { background: #2196F3; }
  .navmenu .dropdown ul .dropdown-item-beauty-2 i:not(.toggle-dropdown),
  .navmenu .dropdown ul .dropdown-item-beauty-2 span { color: inherit !important; }
  .navmenu .dropdown ul .dropdown-item-beauty-2:hover { color: #2196F3 !important; border-left-color: #2196F3 !important; }
  .navmenu .dropdown ul .dropdown-item-beauty-2:hover i:not(.toggle-dropdown),
  .navmenu .dropdown ul .dropdown-item-beauty-2:hover span { color: inherit !important; }
  
  /* Dropdown Artlingo - Beauty (różowy) */
  .navmenu .dropdown ul .dropdown-item-artlingo-beauty { color: #E1929F !important; border-left-color: #E1929F !important; }
  .navmenu .dropdown ul .dropdown-item-artlingo-beauty::after { background: #E1929F; }
  .navmenu .dropdown ul .dropdown-item-artlingo-beauty i:not(.toggle-dropdown) { color: #E1929F !important; }
  .navmenu .dropdown ul .dropdown-item-artlingo-beauty:hover { color: #D81B60 !important; border-left-color: #D81B60 !important; }
  .navmenu .dropdown ul .dropdown-item-artlingo-beauty:hover i:not(.toggle-dropdown) { color: #D81B60 !important; }
  
  /* Dropdown Artlingo - Strefa Dotlenienia (niebieski) */
  .navmenu .dropdown ul .dropdown-item-artlingo-o2 { color: #2196F3 !important; border-left-color: #2196F3 !important; }
  .navmenu .dropdown ul .dropdown-item-artlingo-o2::after { background: #2196F3; }
  .navmenu .dropdown ul .dropdown-item-artlingo-o2 i:not(.toggle-dropdown) { color: #2196F3 !important; }
  .navmenu .dropdown ul .dropdown-item-artlingo-o2:hover { color: #1976D2 !important; border-left-color: #1976D2 !important; }
  .navmenu .dropdown ul .dropdown-item-artlingo-o2:hover i:not(.toggle-dropdown) { color: #1976D2 !important; }

  /* Dropdown domyślnie ukryty */
  .navmenu .dropdown > ul {
    pointer-events: none;
  }
  
  /* Dropdown otwiera się gdy najedzie się na link (kontrolowane przez JS) */
  .navmenu .dropdown.dropdown-hover > ul {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
  
  /* CSS hover - działa jako backup gdy JS nie działa */
  .navmenu .dropdown > a:hover ~ ul {
    opacity: 1 !important;
    top: 100% !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
  
  /* Zachowaj otwarty dropdown gdy najedzie się na niego */
  .navmenu .dropdown > ul:hover {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
  
  /* Zachowaj otwarty dropdown gdy najedzie się na cały dropdown (dla płynnego przejścia) */
  .navmenu .dropdown:hover > ul {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
}

/* Mobile Navigation */
@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;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
  }

  .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);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
  }

  .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:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .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;
  }
  
  /* Mobile dropdown menu */
  .navmenu .dropdown ul {
    display: none;
    position: static;
    opacity: 1;
    visibility: visible;
    background: rgba(255, 255, 255, 0.1);
    margin-left: 20px;
    margin-top: 5px;
    padding: 5px 0;
  }
  
  .navmenu .dropdown.dropdown-active > ul {
    display: block;
  }

  /* Submenu (dropdown) link layout on mobile:
     icon + text aligned left, chevron (toggle-dropdown) to the right */
  .navmenu .dropdown ul a,
  .navmenu .dropdown ul a:focus {
    justify-content: flex-start;
    text-align: left;
    flex-wrap: nowrap;
    position: relative;
    border-left: 4px solid transparent;
    margin: 0 6px;
    border-radius: 0 4px 4px 0;
  }

  .navmenu .dropdown ul a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    transition: width 0.3s ease;
  }

  .navmenu .dropdown ul a:hover::after {
    width: 100%;
  }

  .navmenu .dropdown ul a i:not(.toggle-dropdown),
  .navmenu .dropdown ul a .bi {
    font-size: 18px;
    margin-right: 10px;
    display: inline-block;
    width: 24px;
    text-align: center;
    line-height: 1;
    flex-shrink: 0;
  }

  .navmenu .dropdown ul a .toggle-dropdown {
    margin-left: auto;
    font-size: 12px;
    width: auto;
    margin-right: 0;
    flex-shrink: 0;
  }

  /* Kolory linków w dropdownach na mobile (takie jak na desktop) */
  .navmenu .dropdown ul .dropdown-item-1 { color: #2ECC71 !important; border-left-color: #2ECC71 !important; }
  .navmenu .dropdown ul .dropdown-item-1::after { background: #27AE60; }
  .navmenu .dropdown ul .dropdown-item-1 i:not(.toggle-dropdown) { color: #2ECC71 !important; }
  .navmenu .dropdown ul .dropdown-item-1:hover { color: #27AE60 !important; border-left-color: #27AE60 !important; }
  .navmenu .dropdown ul .dropdown-item-1:hover i:not(.toggle-dropdown) { color: #27AE60 !important; }

  .navmenu .dropdown ul .dropdown-item-2 { color: #3498DB !important; border-left-color: #3498DB !important; }
  .navmenu .dropdown ul .dropdown-item-2::after { background: #2980B9; }
  .navmenu .dropdown ul .dropdown-item-2 i:not(.toggle-dropdown) { color: #3498DB !important; }
  .navmenu .dropdown ul .dropdown-item-2:hover { color: #2980B9 !important; border-left-color: #2980B9 !important; }
  .navmenu .dropdown ul .dropdown-item-2:hover i:not(.toggle-dropdown) { color: #2980B9 !important; }

  .navmenu .dropdown ul .dropdown-item-3 { color: #9B59B6 !important; border-left-color: #9B59B6 !important; }
  .navmenu .dropdown ul .dropdown-item-3::after { background: #8E44AD; }
  .navmenu .dropdown ul .dropdown-item-3 i:not(.toggle-dropdown) { color: #9B59B6 !important; }
  .navmenu .dropdown ul .dropdown-item-3:hover { color: #8E44AD !important; border-left-color: #8E44AD !important; }
  .navmenu .dropdown ul .dropdown-item-3:hover i:not(.toggle-dropdown) { color: #8E44AD !important; }

  .navmenu .dropdown ul .dropdown-item-4 { color: #E67E22 !important; border-left-color: #E67E22 !important; }
  .navmenu .dropdown ul .dropdown-item-4::after { background: #D35400; }
  .navmenu .dropdown ul .dropdown-item-4 i:not(.toggle-dropdown) { color: #E67E22 !important; }
  .navmenu .dropdown ul .dropdown-item-4:hover { color: #D35400 !important; border-left-color: #D35400 !important; }
  .navmenu .dropdown ul .dropdown-item-4:hover i:not(.toggle-dropdown) { color: #D35400 !important; }

  .navmenu .dropdown ul .dropdown-item-beauty-1 { color: #E1929F !important; border-left-color: #E1929F !important; }
  .navmenu .dropdown ul .dropdown-item-beauty-1::after { background: #D81B60; }
  .navmenu .dropdown ul .dropdown-item-beauty-1 i:not(.toggle-dropdown),
  .navmenu .dropdown ul .dropdown-item-beauty-1 span { color: inherit !important; }
  .navmenu .dropdown ul .dropdown-item-beauty-1:hover { color: #D81B60 !important; border-left-color: #D81B60 !important; }
  .navmenu .dropdown ul .dropdown-item-beauty-1:hover i:not(.toggle-dropdown),
  .navmenu .dropdown ul .dropdown-item-beauty-1:hover span { color: inherit !important; }

  .navmenu .dropdown ul .dropdown-item-beauty-2 { color: #64A8FF !important; border-left-color: #64A8FF !important; }
  .navmenu .dropdown ul .dropdown-item-beauty-2::after { background: #2196F3; }
  .navmenu .dropdown ul .dropdown-item-beauty-2 i:not(.toggle-dropdown),
  .navmenu .dropdown ul .dropdown-item-beauty-2 span { color: inherit !important; }
  .navmenu .dropdown ul .dropdown-item-beauty-2:hover { color: #2196F3 !important; border-left-color: #2196F3 !important; }
  .navmenu .dropdown ul .dropdown-item-beauty-2:hover i:not(.toggle-dropdown),
  .navmenu .dropdown ul .dropdown-item-beauty-2:hover span { color: inherit !important; }

  /* Dropdown Artlingo - Beauty (różowy) */
  .navmenu .dropdown ul .dropdown-item-artlingo-beauty { color: #E1929F !important; border-left-color: #E1929F !important; }
  .navmenu .dropdown ul .dropdown-item-artlingo-beauty::after { background: #E1929F; }
  .navmenu .dropdown ul .dropdown-item-artlingo-beauty i:not(.toggle-dropdown) { color: #E1929F !important; }
  .navmenu .dropdown ul .dropdown-item-artlingo-beauty:hover { color: #D81B60 !important; border-left-color: #D81B60 !important; }
  .navmenu .dropdown ul .dropdown-item-artlingo-beauty:hover i:not(.toggle-dropdown) { color: #D81B60 !important; }

  /* Dropdown Artlingo - Strefa Dotlenienia (niebieski) */
  .navmenu .dropdown ul .dropdown-item-artlingo-o2 { color: #2196F3 !important; border-left-color: #2196F3 !important; }
  .navmenu .dropdown ul .dropdown-item-artlingo-o2::after { background: #2196F3; }
  .navmenu .dropdown ul .dropdown-item-artlingo-o2 i:not(.toggle-dropdown) { color: #2196F3 !important; }
  .navmenu .dropdown ul .dropdown-item-artlingo-o2:hover { color: #1976D2 !important; border-left-color: #1976D2 !important; }
  .navmenu .dropdown ul .dropdown-item-artlingo-o2:hover i:not(.toggle-dropdown) { color: #1976D2 !important; }
  
  .navmenu .dropdown .dropdown ul {
    margin-left: 20px;
    margin-top: 5px;
  }
  
  /* Naprawa tekstu w zagnieżdżonych dropdownach - tekst do lewej */
  .navmenu .dropdown .dropdown ul a {
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    flex-wrap: nowrap;
    padding: 10px 20px !important;
  }
  
  .navmenu .dropdown .dropdown ul a span {
    order: 2;
    margin-left: 10px;
    flex: 0 1 auto;
    text-align: left;
    white-space: nowrap;
  }
  
  .navmenu .dropdown .dropdown ul a i:not(.toggle-dropdown) {
    order: 1;
    margin-right: 10px !important;
    margin-left: 0 !important;
    flex-shrink: 0;
    width: 24px !important;
    text-align: center !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  .navmenu .dropdown .dropdown ul a .toggle-dropdown {
    order: 3;
    margin-left: auto;
    flex-shrink: 0;
    margin-right: 0 !important;
    display: inline-block !important;
  }
  
  /* Upewnij się, że zagnieżdżone dropdowny są widoczne gdy aktywne */
  .navmenu .dropdown .dropdown.dropdown-active > ul {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  
  /* Upewnij się, że wszystkie zagnieżdżone dropdowny mają poprawne style */
  .navmenu .dropdown .dropdown ul li {
    list-style: none;
  }
  
  .navmenu .dropdown .dropdown ul li a {
    width: 100%;
  }
  
  .navmenu .dropdown > a .toggle-dropdown {
    margin-left: auto;
    transition: transform 0.3s ease;
  }
  
  .navmenu .dropdown.dropdown-active > a .toggle-dropdown {
    transform: rotate(180deg);
  }
  
  .navmenu .dropdown .dropdown > a .toggle-dropdown {
    transform: rotate(-90deg);
  }
  
  .navmenu .dropdown .dropdown.dropdown-active > a .toggle-dropdown {
    transform: rotate(90deg);
  }
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  position: relative;
  padding: 100px 0 80px 0;
  overflow: hidden;
  margin-bottom: 0;
  background-color: #008374;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 50px), 0 100%);
}

/* Dodatkowy margin-top dla hero na mobile */
@media (max-width: 768px) {
  .hero,
  .hero.section {
    padding-top: 80px !important;
    padding-bottom: 60px !important;
  }
  /* Na mobile - tekst do lewej (bez wyśrodkowania jak akapit) */
  .hero .col-lg-6.order-2.order-lg-1,
  .hero .col-lg-6 h2,
  .hero .col-lg-6 .hero-subtitle,
  .hero .col-lg-6 p {
    text-align: left !important;
  }
  /* Na mobile - obrazek na dole, pod tekstem */
  .hero .row {
    flex-direction: column;
  }
  .hero .col-lg-6.order-2,
  .hero .col-lg-5.order-1 {
    order: 0 !important;
  }
  .hero .col-lg-5 {
    order: 2 !important; /* obrazek na końcu */
  }
  /* CTA przyciski w kolumnie na mobile - wyśrodkowane i równej wielkości */
  .hero .d-flex:has(.btn-get-started) {
    flex-direction: column;
    gap: 16px;
    align-items: center;
    width: 100%;
  }
  .hero .btn-get-started,
  .hero .btn-watch-video {
    margin-left: 0 !important;
    width: 100%;
    max-width: 280px;
    text-align: center;
    justify-content: center;
  }
}

.hero::before {
  display: none;
}

.hero::after {
  display: none;
}


.hero .container {
  position: relative;
  z-index: 2;
}

/* Zmniejszony odstęp między wierszami w hero */
.hero .row {
  margin-top: calc(-2 * var(--bs-gutter-y));
}

.hero h2 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--contrast-color);
  font-family: "Kalam", cursive;
}

.hero-subtitle {
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 0;
  font-family: "Kalam", cursive;
}

.hero .hero-title-colored {
  font-family: "Kalam", cursive;
}

.hero .hero-logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.hero .hero-logo-img {
  max-width: 200px;
  height: auto;
  display: block;
}

.hero-title-colored {
  display: inline;
  font-size: 28px;
  font-weight: 600;
  font-family: var(--heading-font);
}

/* Hero: Centrum Języków i Rozwoju – kolory spójne z resztą strony */
.hero .hero-title-colored .hero-word-1 {
  color: #f9715a;
}

/* Hero – kolorowe słowa w zdaniu (języków, ruchu, kolorach) */
.hero .hero-highlight-c1 { color: #f9715a; font-weight: 600; }
.hero .hero-highlight-c2 { color: #6fb1e4; font-weight: 600; }
.hero .hero-highlight-c3 { color: #ffae61; font-weight: 600; }
.hero .hero-title-colored .hero-word-2 {
  color: #6fb1e4;
}
.hero .hero-title-colored .hero-word-3 {
  color: #ffae61;
}
.hero-title-colored .logo-word-red {
  color: var(--logo-red);
}
.hero-title-colored .logo-word-green {
  color: var(--logo-green);
}

.hero-title-colored .logo-word-blue {
  color: #4A90E2; /* Ciemniejszy niebieski dla lepszej widoczności */
}

.hero h2 .accent {
  color: var(--contrast-color);
}

.hero p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-weight: 400;
  margin-bottom: 30px;
  font-size: 18px;
  font-family: "Kalam", cursive;
}

.hero .btn-get-started {
  color: #ffffff;
  background: #008374;
  font-family: var(--button-font);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.5px;
  display: inline-block;
  padding: 16px 42px;
  border-radius: 50px;
  transition: none;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 15px rgba(0, 131, 116, 0.3);
  text-decoration: none;
  position: relative;
}

.hero .btn-get-started:hover {
  background: #ffffff;
  color: #008374;
  transform: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-decoration: none;
}

.hero .btn-get-started:active {
  transform: none;
}

.hero .btn-watch-video {
  font-size: 16px;
  transition: 0.3s;
  margin-left: 25px;
  font-weight: 600;
  font-family: var(--button-font);
  color: var(--contrast-color);
  text-decoration: none;
  display: flex;
  align-items: center;
}

.hero .btn-watch-video i {
  color: var(--contrast-color);
  font-size: 32px;
  transition: 0.3s;
  line-height: 0;
  margin-right: 8px;
  display: inline-block;
  opacity: 1;
  visibility: visible;
}

.hero .btn-watch-video:hover {
  color: #f9715a;
  text-decoration: none;
}

.hero .btn-watch-video:hover i {
  color: #f9715a;
  opacity: 1;
  visibility: visible;
}

.hero .hero-social {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero .hero-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 22px;
  transition: background 0.3s, transform 0.2s;
}

.hero .hero-social a:hover {
  background: rgba(255, 255, 255, 0.35);
  color: #008374;
  transform: translateY(-2px);
}

/* Hero Beauty Links Section */
.hero-beauty-links {
  margin-top: 2rem;
}

/* Hero Beauty Title */
.hero-beauty-title {
  font-size: 1.25rem;
  font-weight: 600;
  font-family: var(--heading-font);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.hero-beauty-title .logo-word-red {
  color: var(--logo-red) !important;
}

.hero-beauty-title .logo-word-green {
  color: var(--logo-green) !important;
}

.hero-beauty-title .logo-word-blue {
  color: var(--logo-blue) !important;
}

/* Hero Beauty CTA Buttons */
.btn-hero-beauty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--button-font);
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid;
  background: transparent;
  letter-spacing: 0.3px;
}

.btn-hero-beauty i {
  font-size: 16px;
}

.btn-hero-beauty-salon {
  color: #E1929F;
  border-color: #E1929F;
}

.btn-hero-beauty-salon:hover {
  background: #E1929F;
  border-color: #E1929F;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(225, 146, 159, 0.4);
  text-decoration: none;
}

.btn-hero-beauty-o2 {
  color: #2196F3;
  border-color: #2196F3;
}

.btn-hero-beauty-o2:hover {
  background: #2196F3;
  border-color: #2196F3;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(33, 150, 243, 0.4);
  text-decoration: none;
}

/* Responsive dla hero beauty links */
@media (max-width: 768px) {
  .hero-beauty-links {
    margin-top: 1.5rem;
    padding-top: 1.5rem !important;
    margin-bottom: 2rem;
  }
  
  .hero-beauty-links .d-flex {
    flex-direction: column;
    gap: 12px !important;
  }
  
  .btn-hero-beauty {
    width: 100%;
    justify-content: center;
  }
  
  .btn-hero-beauty-o2 {
    margin-bottom: 1rem;
  }
}

/* Floating Animation - removed */

/* Hero Image */
.hero-image {
  margin-top: 60px;
  margin-left: -50px;
  max-width: 100%;
  height: auto;
}

/* Icon Boxes */
.hero .icon-boxes {
  padding-bottom: 60px;
  z-index: 4;
  position: relative;
}

/* Hide icon boxes on mobile */
@media (max-width: 768px) {
  .hero .icon-boxes {
    display: none;
  }
}

@media (min-width: 1200px) {
  .hero .icon-boxes:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: calc(50% + 20px);
    background-color: #ffffff;
    border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    z-index: 0;
  }
  
  .hero .icon-boxes .row {
    position: relative;
    z-index: 1;
  }
}

.hero .icon-box {
  padding: 60px 30px;
  position: relative;
  overflow: visible;
  box-shadow: 0 0 29px 0 rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
  border-radius: 8px;
  z-index: 1;
  height: 100%;
  width: 100%;
  text-align: center;
}

/* Zielone kafelki POD HERO - kolor z motywu Impact (#008374) */
div.icon-box.icon-box-1,
.hero .icon-boxes .row > div .icon-box.icon-box-1,
section.hero.accent-background .icon-boxes .row .col-xl-3 .icon-box.icon-box-1,
section.hero .icon-boxes .row .col-xl-3 .icon-box.icon-box-1,
.hero.accent-background .icon-boxes .icon-box.icon-box-1,
.hero .icon-boxes .icon-box.icon-box-1 {
  background-color: #008374 !important;
  background: #008374 !important;
  z-index: 1 !important;
  position: relative;
}

div.icon-box.icon-box-2,
.hero .icon-boxes .row > div .icon-box.icon-box-2,
section.hero.accent-background .icon-boxes .row .col-xl-3 .icon-box.icon-box-2,
section.hero .icon-boxes .row .col-xl-3 .icon-box.icon-box-2,
.hero.accent-background .icon-boxes .icon-box.icon-box-2,
.hero .icon-boxes .icon-box.icon-box-2 {
  background-color: #008374 !important;
  background: #008374 !important;
  z-index: 1 !important;
  position: relative;
}

div.icon-box.icon-box-3,
.hero .icon-boxes .row > div .icon-box.icon-box-3,
section.hero.accent-background .icon-boxes .row .col-xl-3 .icon-box.icon-box-3,
section.hero .icon-boxes .row .col-xl-3 .icon-box.icon-box-3,
.hero.accent-background .icon-boxes .icon-box.icon-box-3,
.hero .icon-boxes .icon-box.icon-box-3 {
  background-color: #008374 !important;
  background: #008374 !important;
  z-index: 1 !important;
  position: relative;
}

div.icon-box.icon-box-4,
.hero .icon-boxes .row > div .icon-box.icon-box-4,
section.hero.accent-background .icon-boxes .row .col-xl-3 .icon-box.icon-box-4,
section.hero .icon-boxes .row .col-xl-3 .icon-box.icon-box-4,
.hero.accent-background .icon-boxes .icon-box.icon-box-4,
.hero .icon-boxes .icon-box.icon-box-4 {
  background-color: #008374 !important;
  background: #008374 !important;
  z-index: 1 !important;
  position: relative;
}

.hero .icon-box .title {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 20px;
  position: relative;
  z-index: 2;
}

.hero .icon-box .title a {
  color: #66AE9A;
  transition: 0.3s;
  position: relative;
  z-index: 2;
  pointer-events: auto;
}

.hero .icon-box p.title {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 20px;
  position: relative;
  z-index: 2;
}

.hero .icon-box p.title a {
  color: #66AE9A;
  transition: 0.3s;
  position: relative;
  z-index: 2;
  pointer-events: auto;
}

.hero .icon-box .icon {
  margin-bottom: 20px;
  padding-top: 10px;
  display: inline-block;
  transition: all 0.3s ease-in-out;
  font-size: 48px;
  line-height: 1;
  color: #66AE9A;
  opacity: 1;
  visibility: visible;
}

.hero .icon-box .icon {
  margin-bottom: 20px;
  padding-top: 10px;
  display: inline-block;
  transition: all 0.3s ease-in-out;
  font-size: 48px;
  line-height: 1;
  color: #66AE9A;
}

.hero .icon-box .icon i {
  display: inline-block;
  font-size: 48px;
  line-height: 1;
  color: #66AE9A;
  font-style: normal;
}

/* Kolory emotek w kafelkach */
.hero .icon-box.icon-box-1 .icon i {
  color: #66AE9A; /* Różowy - akcent z beauty */
}

.hero .icon-box.icon-box-2 .icon i {
  color: #66AE9A; /* #CD2054 - pierwszy kolor ze skryptu */
}

.hero .icon-box.icon-box-3 .icon i {
  color: #66AE9A; /* #43BCBB - drugi kolor ze skryptu */
}

.hero .icon-box.icon-box-4 .icon i {
  color: #66AE9A; /* Jasny fiolet - kameralne grupy */
}

.hero .icon-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.hero.accent-background .icon-boxes .icon-box.icon-box-1:hover,
.hero .icon-boxes .icon-box.icon-box-1:hover {
  background-color: #008374 !important;
  background: #008374 !important;
  opacity: 0.9;
}

.hero.accent-background .icon-boxes .icon-box.icon-box-2:hover,
.hero .icon-boxes .icon-box.icon-box-2:hover {
  background-color: #008374 !important;
  background: #008374 !important;
  opacity: 0.9;
}

.hero.accent-background .icon-boxes .icon-box.icon-box-3:hover,
.hero .icon-boxes .icon-box.icon-box-3:hover {
  background-color: #008374 !important;
  background: #008374 !important;
  opacity: 0.9;
}

.hero.accent-background .icon-boxes .icon-box.icon-box-4:hover,
.hero .icon-boxes .icon-box.icon-box-4:hover {
  background-color: #008374 !important;
  background: #008374 !important;
  opacity: 0.9;
}

.hero .icon-box:hover .title a,
.hero .icon-box:hover .icon,
.hero .icon-box:hover .icon i {
  color: #ffffff;
}

/*--------------------------------------------------------------
# Section Title
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 30px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
  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);
  bottom: 0;
  left: calc(50% - 25px);
}

.section-title p {
  margin-bottom: 0;
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

/* Nasza Oferta – podtytuły wyszczególnione + podkreślenie wyśrodkowane na pełną szerokość ekranu */
#services .section-title p,
.section-title-beauty .offer-beauty-subtitle {
  font-weight: 600;
  color: var(--text-main) !important;
  position: relative;
  padding-bottom: 12px;
  text-align: center;
  display: block;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  box-sizing: border-box;
}

/* Paski pod "Zajęcia i bloki" / "Oferta beauty" – wyłączone */
#services .section-title p::after,
.section-title-beauty .offer-beauty-subtitle::after {
  display: none;
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about h3 {
  font-weight: 700;
  font-size: 28px;
  margin-bottom: 20px;
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  padding: 0 0 10px 30px;
  position: relative;
}

.about .content ul i {
  position: absolute;
  font-size: 20px;
  left: 0;
  top: -3px;
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Services Section - Slider
--------------------------------------------------------------*/
.services-carousel {
  padding: 40px 0;
}

.services-carousel .carousel-inner {
  padding: 20px 0;
  transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.services-carousel .carousel-item {
  transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.services-carousel .carousel-control-prev,
.services-carousel .carousel-control-next {
  width: 50px;
  height: 50px;
  background: var(--accent-color);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.services-carousel .carousel-control-prev {
  left: -60px;
}

.services-carousel .carousel-control-next {
  right: -60px;
}

.services-carousel .carousel-control-prev:hover,
.services-carousel .carousel-control-next:hover {
  opacity: 1;
}

.services-carousel .carousel-control-prev-icon,
.services-carousel .carousel-control-next-icon {
  width: 20px;
  height: 20px;
}

.services-carousel .carousel-indicators {
  bottom: -50px;
  margin-bottom: 0;
}

.services-carousel .carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--accent-color);
  opacity: 0.5;
  border: none;
  transition: opacity 0.3s ease;
}

.services-carousel .carousel-indicators button.active {
  opacity: 1;
}

/*--------------------------------------------------------------
# Services Section - Flip Cards
--------------------------------------------------------------*/
.flip-card {
  background-color: transparent;
  width: 100%;
  height: 400px;
  perspective: 1000px;
  margin-bottom: 30px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px;
}

.flip-card-front {
  background: var(--surface-color);
  color: var(--heading-color);
  background-size: 120%;
  background-position: center;
  transition: background-size 0.6s ease;
}

.flip-card:hover .flip-card-front {
  background-size: 130%;
}

.flip-card-back {
  background: var(--accent-color);
  color: #ffffff;
  transform: rotateY(180deg);
  background-size: 120%;
  background-position: center;
  transition: background-size 0.6s ease;
}

.flip-card:hover .flip-card-back {
  background-size: 130%;
}

.flip-card-image {
  width: 100%;
  max-width: 220px;
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.flip-card:hover .flip-card-image {
  transform: scale(1.05);
}

.flip-card-front h3 {
  font-size: 24px;
  font-weight: 700;
  margin: 0;
  color: var(--heading-color);
  font-family: var(--heading-font);
}

.flip-card-back h3 {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 20px 0;
  color: #ffffff;
  font-family: var(--heading-font);
}

.flip-card-back p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 25px;
  color: rgba(255, 255, 255, 0.95);
}

.flip-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #ffffff;
  color: var(--accent-color);
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  font-family: var(--button-font);
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.flip-card-btn:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: var(--accent-color);
}

.flip-card-btn i {
  transition: transform 0.3s ease;
}

.flip-card-btn:hover i {
  transform: translateX(5px);
}

/* Service Item - zdjęcie w tle, biały panel z lewej */
.service-item {
  min-height: 400px;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 8px 30px rgba(0, 0, 0, 0.2),
    0 4px 15px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.25),
    0 6px 20px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(0, 0, 0, 0.08);
}

/* Panel z dołu - kolor #008374 - zaokrąglone górne rogi */
.service-content-white {
  --heading-color: #ffffff;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-height: 100px;
  background: #008374;
  padding: 20px 25px;
  border-radius: 30px 30px 0 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  z-index: 2;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
    0 -4px 20px rgba(0, 131, 116, 0.3),
    0 -2px 10px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.service-item:hover .service-content-white {
  max-height: 300px;
  box-shadow: 
    0 -6px 25px rgba(0, 131, 116, 0.4),
    0 -4px 15px rgba(0, 0, 0, 0.25);
}

/* Ukryj ikony */
.service-content-white .icon {
  display: none;
}

/* Nagłówki w kafelkach – pierwsze 3 słowa kolorowane przez JS; reszta tekstu biała (--heading-color) */
.service-content-white h3 {
  font-weight: 700;
  margin-bottom: 0;
  font-size: 22px;
  font-family: var(--heading-font);
  line-height: 1.3;
  text-shadow: none;
  transition: margin-bottom 0.3s ease;
  color: #ffffff;
}

.service-item:hover .service-content-white h3 {
  margin-bottom: 12px;
}

.service-content-white p {
  margin-bottom: 0;
  margin-top: 15px;
  color: #ffffff !important;
  font-size: 14px;
  line-height: 1.6;
  text-shadow: none;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.4s ease 0.1s, max-height 0.4s ease 0.1s;
}

.service-item:hover .service-content-white p {
  opacity: 1;
  max-height: 200px;
}

/* Cały kafelek jako link */
.service-item-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.service-item-link:hover {
  text-decoration: none;
  color: inherit;
  transform: translateY(-5px);
}

.service-item-link:hover .service-item {
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.25),
    0 6px 20px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(0, 0, 0, 0.08);
}

.service-item-link .service-item {
  cursor: pointer;
}

/* Przycisk "Zobacz Pełną Ofertę" */
.btn-full-offer {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-family: var(--button-font);
  color: #ffffff;
  background: var(--accent-color);
  padding: 14px 32px;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 131, 116, 0.3);
  font-size: 16px;
  margin-top: 20px;
}

.btn-full-offer:hover {
  background: rgba(0, 131, 116, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 131, 116, 0.4);
  color: #ffffff;
  text-decoration: none;
}

.btn-full-offer i {
  transition: transform 0.3s ease;
}

.btn-full-offer:hover i {
  transform: translateX(5px);
}

/* Karuzela jednego slajdu (tylko zajęcia) */
.services-carousel-single .carousel-control-prev,
.services-carousel-single .carousel-control-next,
.services-carousel-single .carousel-indicators {
  display: none;
}

/* Oferta beauty – podtytuł jak "Zajęcia i bloki rozwojowe" */
.section-title-beauty {
  padding-top: 0;
  padding-bottom: 24px;
}

.offer-beauty-subtitle {
  margin-bottom: 0;
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  text-align: center;
}

/* Center OFERTA BEAUTY vertically on mobile - reduce gap between slider and title */
@media (max-width: 768px) {
  .section-title-beauty {
    margin-top: 0 !important;
    padding-top: 20px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: auto;
  }
}

/* Banery chamber-style jak na Beauty – układ row/col, duże zdjęcia */
.chamber-banner-area {
  padding: 60px 0 80px;
}

.chamber-banner {
  background: var(--surface-color);
  color: var(--default-color);
  border-radius: 12px;
  overflow: hidden;
  padding: 60px;
  margin-bottom: 0;
}

.chamber-banner.mb-5 { margin-bottom: 3rem !important; }

.chamber-banner-o2 {
  background: linear-gradient(135deg, rgba(0, 131, 116, 0.08) 0%, rgba(0, 100, 90, 0.04) 100%);
  border-radius: 16px;
}

.chamber-banner-salon {
  background: linear-gradient(135deg, rgba(225, 146, 159, 0.1) 0%, rgba(180, 100, 115, 0.05) 100%);
  border-radius: 16px;
}

.chamber-banner-vouchers {
  background: linear-gradient(135deg, rgba(210, 180, 140, 0.12) 0%, rgba(180, 150, 100, 0.06) 100%);
  border-radius: 16px;
  padding: 40px 32px !important;
}

.chamber-banner-vouchers .chamber-banner-title {
  color: #a08050;
}

.chamber-banner-vouchers .chamber-banner-text {
  color: #a08050;
}

.chamber-banner-vouchers .chamber-banner-description {
  color: color-mix(in srgb, var(--default-color), transparent 25%);
}

.chamber-banner-vouchers .btn-chamber-primary {
  background: #a08050;
  border-color: #a08050;
}

.chamber-banner-vouchers .btn-chamber-primary:hover {
  background: #8a6d42;
  box-shadow: 0 6px 20px rgba(160, 128, 80, 0.35);
}

.chamber-banner-vouchers .btn-chamber-secondary {
  color: #a08050;
  border-color: #a08050;
}

.chamber-banner-vouchers .btn-chamber-secondary:hover {
  background: #a08050;
  color: #fff;
}

.chamber-banner-row .chamber-banner-content {
  padding: 0;
}

.chamber-banner-title {
  font-family: var(--heading-font);
  font-size: 28px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 12px;
  line-height: 1.2;
}

.chamber-banner-o2 .chamber-banner-title {
  color: var(--accent-color);
}

.chamber-banner-salon .chamber-banner-title {
  color: #c97b8a;
}

.chamber-banner-title.chamber-title-o2 {
  color: #2980b9 !important;
}

.chamber-banner-title.chamber-title-salon {
  color: #d81b60 !important;
}

.chamber-banner-text {
  font-size: 17px;
  font-weight: 600;
  color: var(--accent-color);
  margin-bottom: 12px;
}

.chamber-banner-salon .chamber-banner-text {
  color: #c97b8a;
}

.chamber-banner-description {
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  line-height: 1.65;
  margin-bottom: 24px;
}

.chamber-banner-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-chamber {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 600;
  font-family: var(--button-font);
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-chamber-primary {
  background: var(--accent-color);
  color: #fff;
  border: 2px solid var(--accent-color);
}

.btn-chamber-primary:hover {
  background: rgba(0, 131, 116, 0.9);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 131, 116, 0.35);
}

.chamber-banner-salon .btn-chamber-primary {
  background: #c97b8a;
  border-color: #c97b8a;
}

.chamber-banner-salon .btn-chamber-primary:hover {
  background: #b86a79;
  box-shadow: 0 6px 20px rgba(201, 123, 138, 0.35);
}

.btn-chamber-secondary {
  background: transparent;
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
}

.btn-chamber-secondary:hover {
  background: var(--accent-color);
  color: #fff;
}

.chamber-banner-salon .btn-chamber-secondary {
  color: #c97b8a;
  border-color: #c97b8a;
}

.chamber-banner-salon .btn-chamber-secondary:hover {
  background: #c97b8a;
  color: #fff;
}

/* Strefa Dotlenienia – przyciski CTA na niebiesko */
.chamber-banner-o2 .btn-chamber-primary {
  background: #2980b9;
  border-color: #2980b9;
}
.chamber-banner-o2 .btn-chamber-primary:hover {
  background: #1a6ba8;
  box-shadow: 0 6px 20px rgba(41, 128, 185, 0.35);
}
.chamber-banner-o2 .btn-chamber-secondary {
  color: #2980b9;
  border-color: #2980b9;
}
.chamber-banner-o2 .btn-chamber-secondary:hover {
  background: #2980b9;
  color: #fff;
}

.chamber-banner-image {
  border-radius: 12px;
  overflow: hidden;
}

.chamber-banner-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  transition: transform 0.35s ease;
}

.chamber-banner-image:hover img {
  transform: scale(1.04);
}

/* Responsive */
@media (max-width: 768px) {
  .services-carousel .carousel-control-prev {
    left: -40px;
  }
  
  .services-carousel .carousel-control-next {
    right: -40px;
  }
  
  .service-content-white {
    max-height: 90px;
    padding: 18px 20px;
    background: #008374;
  }
  
  .service-item:hover .service-content-white {
    max-height: 280px;
  }
  
  .service-item {
    background-size: cover;
    background-position: center;
  }
  
  .service-content-white h3 {
    font-size: 20px;
  }
  
  .service-content-white p {
    font-size: 13px;
  }
  
  .service-content-white p {
    font-size: 13px;
  }
  
  .btn-full-offer {
    padding: 12px 28px;
    font-size: 15px;
  }

  .chamber-banner-area {
    padding: 40px 0 60px;
  }

  .chamber-banner {
    padding: 32px 20px !important;
  }

  .chamber-banner .row [class*="col-"] {
    max-width: 100%;
  }

  .chamber-banner .order-1.order-lg-2 {
    order: -1;
  }

  .chamber-banner-title {
    font-size: 22px;
  }

  .chamber-banner-text {
    font-size: 15px;
  }

  .chamber-banner-description {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .chamber-banner-buttons {
    gap: 12px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .btn-chamber {
    padding: 12px 24px;
    font-size: 15px;
    min-height: 48px;
    justify-content: center;
    text-align: center;
  }
}

/*--------------------------------------------------------------
# Recent Posts Section
--------------------------------------------------------------*/
.recent-posts.section {
  position: relative;
  background: 
    /* Tekstura białej tablicy - delikatne ziarno */
    repeating-linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.03) 0px,
      rgba(0, 0, 0, 0.03) 1px,
      transparent 1px,
      transparent 2px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.03) 0px,
      rgba(0, 0, 0, 0.03) 1px,
      transparent 1px,
      transparent 2px
    ),
    /* Główny kolor białej tablicy - bardziej widoczny */
    linear-gradient(135deg, #f0f0f0 0%, #ffffff 25%, #f5f5f5 50%, #ffffff 75%, #f0f0f0 100%);
  background-size: 4px 4px, 4px 4px, 100% 100%;
  position: relative;
  min-height: 600px;
  padding: 80px 0;
  /* Ramka białej tablicy */
  border-top: 8px solid #d0d0d0;
  border-bottom: 8px solid #d0d0d0;
  box-shadow: 
    inset 0 0 50px rgba(0, 0, 0, 0.08),
    0 0 30px rgba(0, 0, 0, 0.15);
}

.recent-posts.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    /* Dodatkowa tekstura - delikatne cienie */
    radial-gradient(circle at 20% 30%, rgba(0, 0, 0, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(0, 0, 0, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.02) 0%, transparent 50%);
  background-size: 200px 200px, 180px 180px, 150px 150px;
  z-index: 0;
  pointer-events: none;
}

.recent-posts.section .container {
  position: relative;
  z-index: 2;
}

.recent-posts.section .section-title {
  position: relative;
  z-index: 2;
}

/* Sticky notes style - removed duplicate, see below */

.recent-posts article {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3), 0 2px 8px rgba(0, 0, 0, 0.2);
  padding: 0;
  height: 100%;
  border-radius: 8px;
  overflow: visible;
  background: #fff8dc;
  transition: 0.3s;
  position: relative;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

/* Magnes na górze artykułu */
.recent-posts article::before {
  content: '';
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 20px;
  background: linear-gradient(135deg, #4a4a4a 0%, #2a2a2a 50%, #1a1a1a 100%);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  box-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.3),
    inset 0 1px 2px rgba(255, 255, 255, 0.2),
    inset 0 -1px 2px rgba(0, 0, 0, 0.4);
  z-index: 10;
  border: 2px solid rgba(0, 0, 0, 0.3);
}

/* Efekt cienia pod magnesem */
.recent-posts article::after {
  content: '';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 8px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  z-index: 9;
  filter: blur(3px);
}

.recent-posts article:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(-5px);
}

.recent-posts .post-img {
  overflow: hidden;
  margin: 0;
  border-radius: 8px 8px 0 0;
  box-shadow: none;
  position: relative;
  z-index: 1;
  background: #fff8dc;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 250px;
  max-height: 350px;
}

.recent-posts .post-img img {
  transition: 0.3s;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  padding: 10px;
}

.recent-posts article:hover .post-img img {
  transform: scale(1.05);
}

.recent-posts article > * {
  position: relative;
  z-index: 2;
}

.recent-posts .stretched-link {
  position: relative;
  z-index: 3;
}

.recent-posts .stretched-link::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10;
  content: "";
  cursor: pointer;
}


.recent-posts article a.stretched-link {
  text-decoration: none;
}

.recent-posts .post-category {
  font-size: 14px;
  color: var(--accent-color);
  margin-bottom: 5px;
  text-align: center;
  padding: 8px 0;
}

.recent-posts .title {
  font-size: 20px;
  font-weight: 700;
  padding: 0;
  margin: 0 0 15px 0;
}

.recent-posts .title {
  margin-top: 15px;
  padding: 0 15px;
}


.recent-posts .stretched-link::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  content: "";
}

.recent-posts .post-excerpt {
  font-size: 14px;
  line-height: 1.5;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 0 0 12px 0;
  padding: 0 15px;
  flex-grow: 1;
}

.recent-posts .post-meta {
  padding: 0 15px 15px;
  margin-top: auto;
}

.recent-posts .post-date {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Article Content Styles
--------------------------------------------------------------*/
.article-content {
  position: relative;
}

.article-image-wrapper {
  float: left;
  width: 280px;
  margin: 0 25px 20px 0;
  position: relative;
}

.article-image {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.article-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center;
  max-width: 100%;
}

.content-text {
  overflow: hidden;
}

.content-text::after {
  content: "";
  display: table;
  clear: both;
}

/* Intro z zdjęciem obok pierwszego akapitu */
.article-intro {
  overflow: hidden;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 25px;
}

.article-intro::after {
  content: "";
  display: table;
  clear: both;
}

.article-image-wrapper.article-image-inline {
  float: none;
  flex-shrink: 0;
  width: 350px;
  margin: 0;
  text-align: center;
}

.article-intro .lead {
  margin: 0;
  flex: 1;
}

/* Responsive adjustments for article images */
@media (max-width: 992px) {
  .article-image-wrapper {
    width: 250px;
    margin: 0 25px 20px 0;
  }
  
  .article-image {
    padding: 12px;
  }
}

@media (max-width: 768px) {
  /* Na telefonie ukrywamy zdjęcie artykułu – wypycha tekst poza ekran */
  .article-content .article-image-wrapper {
    display: none !important;
  }

  .article-image-wrapper {
    float: none;
    width: 100%;
    max-width: 400px;
    margin: 0 auto 30px;
  }
  
  .article-image-wrapper.article-image-inline {
    float: none;
    width: 100%;
    max-width: 300px;
    margin: 0 auto 20px;
  }
  
  .article-image {
    padding: 15px;
  }
  
  /* Upewnij się, że menu mobilne działa poprawnie */
  .navmenu .dropdown .dropdown ul a {
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    flex-wrap: nowrap;
    padding: 10px 20px !important;
  }
  
  .navmenu .dropdown .dropdown.dropdown-active > ul {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}

@media (max-width: 576px) {
  .article-image-wrapper {
    max-width: 100%;
  }
  
  .article-image {
    padding: 12px;
  }
}

/*--------------------------------------------------------------
# Articles Slider – prosty slider, 3 na komp / 1 na telefon, strzałki o 1
--------------------------------------------------------------*/
.articles-slider {
  position: relative;
  padding: 40px 0 50px 0;
}

.articles-slider__inner {
  overflow: hidden;
  margin: 0 -15px;
  padding-top: 24px;
}

.articles-slider__track {
  display: flex;
  flex-wrap: nowrap;
  transition: transform 0.35s ease-out;
  will-change: transform;
}

.articles-slider__track--ready .articles-slider__item {
  flex: 0 0 33.333333%;
  width: 33.333333%;
  min-width: 0;
  padding: 0 15px;
  box-sizing: border-box;
}

.articles-slider__track--ready .articles-slider__item article {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.articles-slider__prev,
.articles-slider__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--accent-color);
  color: #fff;
  opacity: 0.9;
  cursor: pointer;
  transition: opacity 0.3s ease;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.articles-slider__prev:hover:not(:disabled),
.articles-slider__next:hover:not(:disabled) {
  opacity: 1;
}
.articles-slider__prev:disabled,
.articles-slider__next:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.articles-slider__prev {
  left: -60px;
}
.articles-slider__next {
  right: -60px;
}
.articles-slider__prev .carousel-control-prev-icon,
.articles-slider__next .carousel-control-next-icon {
  width: 20px;
  height: 20px;
}

@media (max-width: 768px) {
  .articles-slider__track--ready .articles-slider__item {
    flex: 0 0 100%;
    width: 100%;
  }
  .articles-slider__prev {
    left: 10px;
  }
  .articles-slider__next {
    right: 10px;
  }
}

.recent-posts .articles-cta .btn-get-started {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Baner Bądź na bieżąco – pod sekcją Aktualności */
.stay-updated-banner {
  padding: 48px 0;
  background: linear-gradient(135deg, rgba(0, 131, 116, 0.08) 0%, rgba(0, 100, 90, 0.05) 100%);
  border-top: 1px solid rgba(0, 131, 116, 0.15);
}

.stay-updated-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.stay-updated-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 12px;
  font-family: var(--heading-font);
}

.stay-updated-text {
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  margin-bottom: 20px;
  line-height: 1.5;
}

.stay-updated-fb { color: #1877f2; font-weight: 600; }
.stay-updated-ig { color: #e67e22; font-weight: 600; }

.stay-updated-social {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.stay-updated-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: #fff;
  font-size: 24px;
  transition: opacity 0.3s, transform 0.2s;
}

.stay-updated-social a:first-child {
  background: #1877f2;
}
.stay-updated-social a:first-child:hover {
  opacity: 0.9;
  transform: translateY(-3px);
  color: #fff;
}

.stay-updated-social a:last-child {
  background: linear-gradient(45deg, #f09433, #e4405f, #c13584);
}
.stay-updated-social a:last-child:hover {
  opacity: 0.9;
  transform: translateY(-3px);
  color: #fff;
}

.stay-updated-image {
  border-radius: 12px;
  overflow: hidden;
  max-width: 360px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.stay-updated-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

@media (max-width: 768px) {
  .stay-updated-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .stay-updated-image {
    margin: 0 auto;
    max-width: 280px;
  }
  .stay-updated-social { justify-content: center; }
}

/*--------------------------------------------------------------
# Contact Section – kafelki obok siebie nad formularzem (jak beauty)
--------------------------------------------------------------*/
.contact .contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.contact .contact-grid-item {
  background: var(--surface-color);
  padding: 28px 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact .contact-grid-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.contact .contact-grid-item i {
  font-size: 28px;
  color: var(--accent-color);
  margin-bottom: 12px;
  display: block;
}

.contact .contact-grid-item h4 {
  font-size: 16px;
  color: var(--heading-color);
  font-weight: 700;
  margin: 0 0 8px 0;
}

.contact .contact-grid-item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
}

.contact .contact-grid-item a {
  color: var(--default-color);
}

.contact .contact-grid-item a:hover {
  color: var(--accent-color);
}

.contact .contact-form-wrap {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 992px) {
  .contact .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .contact .contact-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 32px;
  }
}

/* Zachowanie starych .info-item gdy używane (np. w innych szablonach) */
.contact .info-container {
  background: var(--surface-color);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.08);
}

.contact .info-item {
  padding: 20px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.contact .info-item:last-child {
  border-bottom: none;
}

.contact .info-item i {
  font-size: 24px;
  color: var(--accent-color);
  line-height: 1;
  margin-right: 20px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-color);
  color: #fff;
  border-radius: 10px;
  flex-shrink: 0;
}

.contact .info-item h3 {
  font-size: 20px;
  color: var(--heading-color);
  font-weight: 700;
  margin: 0 0 5px 0;
}

.contact .info-item p {
  padding: 0;
  margin: 0;
  line-height: 24px;
  font-size: 14px;
}

.contact .info-item p a {
  color: var(--default-color);
}

.contact .info-item p a:hover {
  color: var(--accent-color);
}

/* Contact Form */
.php-email-form {
  width: 100%;
}

.php-email-form .form-label {
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 8px;
  display: block;
}

.php-email-form .form-control {
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  padding: 12px 15px;
  border-radius: 5px;
  font-size: 14px;
  transition: 0.3s;
  width: 100%;
}

.php-email-form .form-control:focus {
  border-color: var(--accent-color);
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0, 131, 116, 0.25);
}

.php-email-form textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.php-email-form button[type="submit"] {
  background: var(--accent-color);
  border: 0;
  padding: 12px 40px;
  color: #fff;
  transition: 0.4s;
  border-radius: 5px;
  font-weight: 600;
  font-family: var(--button-font);
  cursor: pointer;
}

.php-email-form button[type="submit"]:hover {
  background: rgba(0, 131, 116, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 131, 116, 0.3);
}

.php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
  margin-bottom: 15px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  animation: animate-loading 1s linear infinite;
}

.php-email-form .error-message {
  display: none;
  background: #ed3c0d;
  text-align: center;
  padding: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 15px;
  border-radius: 5px;
}

.php-email-form .sent-message {
  display: none;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 15px;
  border-radius: 5px;
}

.contact-map-wrapper {
  padding-top: 0;
}

.contact-map-wrapper h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--heading-color);
}

.contact-map {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 320px;
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

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

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

.footer .footer-about p {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.footer .social-links a {
  font-size: 18px;
  display: inline-block;
  background: color-mix(in srgb, var(--contrast-color), transparent 90%);
  color: var(--contrast-color);
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 4px;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  background: var(--contrast-color);
  color: var(--accent-color);
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.footer-logo-img {
  height: 100px;
  width: auto;
  max-width: 250px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.footer-logo-img:hover {
  opacity: 1;
}

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

.footer .footer-links h4 {
  font-size: 16px;
  font-weight: 600;
  color: color-mix(in srgb, var(--default-color), transparent 60%) !important;
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 15px;
}

.footer .footer-links h4 .logo-word-red,
.footer .footer-links h4 .logo-word-green,
.footer .footer-links h4 .logo-word-blue {
  color: color-mix(in srgb, var(--default-color), transparent 60%) !important;
}

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

.footer .footer-links ul li {
  padding: 8px 0;
}

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

.footer .footer-links ul a {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  transition: 0.3s;
  display: inline-block;
}

.footer .footer-links ul a:hover {
  color: var(--contrast-color);
  padding-left: 5px;
}

.footer .footer-contact h4 {
  font-size: 16px;
  font-weight: 600;
  color: color-mix(in srgb, var(--default-color), transparent 60%) !important;
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 15px;
}

.footer .footer-contact h4 .logo-word-red,
.footer .footer-contact h4 .logo-word-green,
.footer .footer-contact h4 .logo-word-blue {
  color: color-mix(in srgb, var(--default-color), transparent 60%) !important;
}

.footer .footer-contact p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 5px;
}

.footer .footer-social {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer .footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--default-color), transparent 85%);
  color: var(--contrast-color);
  font-size: 20px;
  transition: background 0.3s, transform 0.2s;
}

.footer .footer-social a:hover {
  background: rgba(255, 255, 255, 0.35);
  color: #008374;
  transform: translateY(-2px);
}

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

.footer .copyright p {
  margin-bottom: 0;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.footer .copyright .sitename {
  color: var(--contrast-color);
}

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

.scroll-top i {
  font-size: 24px;
  line-height: 0;
}

.scroll-top:hover {
  background: var(--nav-hover-color);
  color: var(--contrast-color);
}

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

/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/
@media (max-width: 640px) {
  .hero h2 {
    font-size: 36px;
  }

  .hero .btn-get-started,
  .hero .btn-watch-video {
    font-size: 14px;
  }
  
  .hero .icon-box {
    padding: 40px 20px;
  }
}

@media (max-width: 575px) {
  .topbar .contact-info i a,
  .topbar .contact-info i span {
    font-size: 13px;
  }
}

/*--------------------------------------------------------------
# Utility Classes
--------------------------------------------------------------*/
.section {
  padding: 80px 0;
  overflow: hidden;
  background-color: #ffffff;
  position: relative;
  z-index: 1;
}

.hero.section {
  background-color: #008374 !important;
  padding: 100px 0 80px 0 !important;
}

.about.section {
  background-color: #ffffff;
}

/* O nas – tło zielone, góra i dół pod skosem (bez color – nagłówki ustawione osobno poniżej) */
#about.about.section.section-tinted {
  background-color: #008374 !important;
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 40px, 100% 0, 100% calc(100% - 40px), 0 100%);
  padding-top: 80px;
  padding-bottom: 80px;
}

#about.section-tinted::before {
  display: none;
}

/* Tytuł sekcji i nagłówki w paskach – biały (nie dziedziczą z sekcji, żeby nic nie nadpisywało) */
#about.about.section .section-title h2,
#about.about.section .content-box-header-text,
#about.about.section .info-card-header-text {
  color: #ffffff !important;
}

/* Podkreślenie pod „O nas” – białe, żeby było widoczne na zielonym */
#about.about.section .section-title h2::after {
  background: #ffffff !important;
}

/* Tekst bezpośrednio w sekcji (poza boksami) – biały */
#about.about.section > .container > .section-title ~ .row p,
#about.about.section .section-title + * p {
  color: rgba(255, 255, 255, 0.9) !important;
}

#about.about.section .content-box-primary,
#about.about.section .content-box-secondary,
#about.about.section .info-card-enhanced {
  background: #ffffff !important;
  border-color: rgba(0, 131, 116, 0.25);
}

/* Tekst w boksach O nas – ciemny, żeby był czytelny na białym tle */
#about.about.section .content-box-body .content-text-heading,
#about.about.section .content-box-body h4,
#about.about.section .info-card-body .content-text-heading,
#about.about.section .info-card-body h4 {
  color: var(--text-main) !important;
}

#about.about.section .content-box-body p,
#about.about.section .info-card-body p {
  color: var(--text-muted) !important;
}

/* Ikony w paskach – kolorowe (żeby nic nie nadpisywało) */
#about.about.section .content-box-header i,
#about.about.section .info-card-header i {
  color: var(--color-primary) !important;
}

/* O nas – wierszyk nad flip kartami (legacy) */
#about .about-verse {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3rem;
  text-align: center;
}
#about .about-verse p {
  color: rgba(255, 255, 255, 0.95) !important;
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: 0.75rem;
  font-style: italic;
}
#about .about-verse p:last-child {
  margin-bottom: 0;
  font-weight: 600;
  font-style: normal;
}

/* O nas – tekst z zdjęciami, formatowanie bajkowe */
#about .about-text-with-images {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3rem;
  font-family: "Kalam", cursive !important;
}
#about .about-text-with-images p {
  font-family: "Kalam", cursive !important;
  color: #1f2a2a !important;
  font-size: 1.1rem;
  line-height: 1.9;
  margin-bottom: 1.25rem;
}
#about .about-text-with-images p:first-of-type::first-letter {
  font-size: 2.2em;
  float: left;
  line-height: 0.9;
  margin-right: 6px;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}
#about .about-text-with-images p:last-child,
#about .about-text-with-images .about-tagline {
  margin-bottom: 0;
}
#about .about-text-with-images .about-lead {
  font-size: 1.15rem;
}
#about .about-text-with-images .about-tagline {
  color: #1f2a2a !important;
  font-size: 1.15rem;
  font-style: normal;
}

#about .about-text-with-images strong {
  color: inherit;
}

/* Kolorowanie samego napisu ArtlingO w sekcji O nas */
#about .about-text-with-images .brand-art {
  color: #f9715a;
  font-weight: 700;
}
#about .about-text-with-images .brand-ling {
  color: #6fb1e4;
  font-weight: 700;
}
#about .about-text-with-images .brand-o {
  color: #ffae61;
  font-weight: 700;
}

/* Bajka w O nas – te same kolory co w skrypcie do nagłówków (colorizeHeadings): 1. #f9715a, 2. #6fb1e4, 3. #ffae61 */
#about .about-text-with-images .about-bajka-c1 { color: #f9715a; font-weight: 600; }
#about .about-text-with-images .about-bajka-c2 { color: #6fb1e4; font-weight: 600; }
#about .about-text-with-images .about-bajka-c3 { color: #ffae61; font-weight: 600; }
#about .about-text-with-images .about-bajka-c4 { color: #f9715a; font-weight: 600; }
#about .about-text-with-images .about-bajka-pink { color: #d81b60; font-weight: 600; }
#about .about-text-with-images .about-bajka-blue { color: #6fb1e4; font-weight: 600; }

#about .about-text-with-images .about-inline-img {
  max-height: 280px;
  width: auto;
  object-fit: contain;
  box-shadow: none;
}

/* Czy wiesz, że? – sekcja pod Hero, layout informacyjny */
.did-you-know-section {
  background: #f0f7fc;
}
.did-you-know-section .section-title {
  padding-bottom: 1rem;
}
.did-you-know-grid {
  display: grid;
  gap: 1rem;
}
.did-you-know-card {
  background: #ffffff;
  border-left: 4px solid #6fb1e4;
  padding: 1.25rem 1.5rem;
  border-radius: 0 12px 12px 0;
  box-shadow: 0 2px 12px rgba(111, 177, 228, 0.12);
  font-size: 1.05rem;
  line-height: 1.7;
  color: #333;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.did-you-know-card-1,
.did-you-know-card-2,
.did-you-know-card-3 {
  border-left-color: #008374;
  box-shadow: 0 2px 12px rgba(0, 131, 116, 0.15);
}
.did-you-know-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0, 131, 116, 0.2);
}
.did-you-know-question {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 0.5rem;
}
.did-you-know-word-1 {
  color: #f9715a;
}
.did-you-know-word-2 {
  color: #6fb1e4;
}
.did-you-know-word-3 {
  color: #ffae61;
}
.did-you-know-card p {
  color: inherit;
  margin-bottom: 0;
}
.did-you-know-img {
  max-height: 320px;
  width: auto;
  object-fit: contain;
}
.did-you-know-img-left {
  max-height: 400px;
}
.did-you-know-img-right {
  max-height: 200px;
}
/* Zdjęcie z boku – wejście + delikatne unoszenie */
.did-you-know-img-wrap {
  animation: did-you-know-img-enter 1.2s ease-out forwards;
}
.did-you-know-img-wrap .did-you-know-img-left {
  animation: did-you-know-img-float 4s ease-in-out infinite;
  animation-delay: 1s;
}
@keyframes did-you-know-img-enter {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes did-you-know-img-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}
/* legacy */
.did-you-know-box {
  background: #ffffff;
  border-left: 4px solid #6fb1e4;
  color: #333;
  font-size: 1.05rem;
  line-height: 1.7;
  padding: 1.25rem 1.5rem;
  border-radius: 0 12px 12px 0;
  box-shadow: 0 2px 12px rgba(111, 177, 228, 0.12);
}

/* O nas – flip karty (jak na Strefie Dotlenienia) */
#about .about-flip-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
#about .about-flip-card {
  height: 280px;
  perspective: 1000px;
  cursor: pointer;
}
#about .about-flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.6s ease;
}
#about .about-flip-card:hover .about-flip-card-inner {
  transform: rotateY(180deg);
}
#about .about-flip-card-front,
#about .about-flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
#about .about-flip-card-front {
  color: #ffffff !important;
}
#about .about-flip-card-front * {
  color: #ffffff !important;
}
#about .about-flip-card-front .about-flip-icon {
  font-size: 3.5rem;
  margin-bottom: 12px;
  opacity: 0.95;
}
#about .about-flip-card-front h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
  color: #ffffff !important;
  text-align: center;
  font-family: var(--heading-font);
}
#about .about-flip-card-back {
  background: #ffffff !important;
  transform: rotateY(180deg);
  text-align: center;
  overflow-y: auto;
}
#about .about-flip-card-back p,
#about .about-flip-card-back .content-text-heading {
  color: var(--text-main) !important;
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0 0 0.5rem 0;
}
#about .about-flip-card-back .content-text-heading {
  font-weight: 600;
}
/* Kolory frontu kart (jak na Strefie Dotlenienia) */
#about .about-flip-card--teal .about-flip-card-front { background: linear-gradient(145deg, #008374 0%, #006b5f 100%); }
#about .about-flip-card--yellow .about-flip-card-front { background: linear-gradient(145deg, #d4a017 0%, #b8860b 100%); }
#about .about-flip-card--green .about-flip-card-front { background: linear-gradient(145deg, #1a7a6e 0%, #15655a 100%); }
#about .about-flip-card--green-light .about-flip-card-front { background: linear-gradient(145deg, #2d9d8a 0%, #238276 100%); }
#about .about-flip-card--blue .about-flip-card-front { background: linear-gradient(145deg, #0ea5e9 0%, #0284c7 100%); }
#about .about-flip-card--navy .about-flip-card-front { background: linear-gradient(145deg, #3d5a80 0%, #2d4466 100%); }
#about .about-flip-card--orange .about-flip-card-front { background: linear-gradient(145deg, #e07a5f 0%, #c25a42 100%); }

@media (max-width: 768px) {
  #about .about-flip-cards-grid { grid-template-columns: 1fr; }
  #about .about-flip-card { height: 260px; }
  #about .about-flip-card-front .about-flip-icon { font-size: 2.75rem; }
  #about .about-verse p { font-size: 0.95rem; }
}


/*--------------------------------------------------------------
# Section Tinted – subtle teal tint (not plain white)
--------------------------------------------------------------*/
.section-tinted {
  background-color: #f0f7f6 !important;
  position: relative;
}

.section-tinted::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent 0%, var(--accent-color) 20%, var(--accent-color) 80%, transparent 100%);
  opacity: 0.35;
  pointer-events: none;
}

.hero .icon-box .stretched-link::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: transparent !important;
  background-color: transparent !important;
  z-index: -1;
  pointer-events: auto;
  content: "";
}

/*--------------------------------------------------------------
# Info Widgets Section (Tiles)
--------------------------------------------------------------*/
.info-widgets-section {
  padding: 80px 0;
  background: var(--background-color);
  position: relative;
}

.info-widget {
  background: #ffffff;
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  border: 3px solid var(--logo-green);
  box-shadow: 0 4px 15px rgba(67, 188, 187, 0.2);
  overflow: hidden;
  height: 100%;
}

/* Okonki (Windows) effect */
.info-widget::before {
  content: '';
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  background: var(--logo-green);
  border-radius: 8px;
  opacity: 0.3;
  z-index: 0;
}

.info-widget::after {
  content: '';
  position: absolute;
  top: 20px;
  right: 20px;
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 6px;
  border: 2px solid var(--logo-green);
  z-index: 1;
}

.info-widget:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(67, 188, 187, 0.3);
  border-color: var(--logo-green);
}

.widget-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: var(--logo-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 28px;
  position: relative;
  z-index: 2;
}

.info-widget h3 {
  font-size: 22px;
  font-weight: 600;
  font-family: var(--heading-font);
  font-style: normal;
  margin-bottom: 15px;
  color: var(--heading-color);
  position: relative;
  z-index: 2;
}

.info-widget p {
  color: var(--default-color);
  line-height: 1.8;
  margin-bottom: 10px;
  position: relative;
  z-index: 2;
}

.info-widget a {
  color: var(--logo-green);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.info-widget a:hover {
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/
.team.section {
  background-color: #ffffff;
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Prevent layout shift during animation - zdjęcia nie skaczą */
.team .row {
  align-items: flex-start !important; /* Zmieniamy z center na flex-start */
}

.member-photo {
  position: sticky;
  top: 100px; /* Pozostaje na miejscu podczas scrollowania */
  transition: transform 0.3s ease;
  align-self: flex-start; /* Zdjęcie na górze, nie wyśrodkowane */
}

@media (max-width: 991px) {
  .member-photo {
    position: relative;
    top: auto;
    align-self: center; /* Na mobile wyśrodkowane */
  }
  
  .team .row {
    align-items: center !important; /* Na mobile wyśrodkowane */
  }
}

.team-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Team Section - Style podobny do Impact */
.team .member {
  background-color: var(--surface-color);
  box-shadow: 0px 2px 25px rgba(0, 0, 0, 0.1);
  text-align: center;
  border-radius: 15px;
  padding: 15px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  width: 100%; /* ważne: w kolumnach z `d-flex` nie może się zwężać */
}

.team .member img {
  border-radius: 15px;
  overflow: hidden;
  width: 100% !important;
  height: 280px !important;
  object-fit: cover !important;
  display: block;
  margin-bottom: 15px;
}

.team .member h4 {
  font-weight: 700;
  margin-top: 16px;
  margin-bottom: 2px;
  font-size: 20px;
  font-family: var(--heading-font);
  color: var(--accent-color); /* zielony jak nagłówek (#008374) */
}

.team .member .team-role {
  display: block;
  font-size: 14px;
  margin-top: 8px;
  margin-bottom: 0;
  font-weight: 500;
}

/* Przezroczyste role - mocno przezroczysty tekst */
.team .member .team-role {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
}

/* Przycisk "Poznaj Nas" */
.btn-meet-team {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-family: var(--button-font);
  color: #ffffff;
  background: var(--accent-color);
  padding: 14px 32px;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 131, 116, 0.3);
  font-size: 16px;
}

.btn-meet-team:hover {
  background: rgba(0, 131, 116, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 131, 116, 0.4);
  color: #ffffff;
  text-decoration: none;
}

.btn-meet-team i {
  transition: transform 0.3s ease;
}

.btn-meet-team:hover i {
  transform: translateX(5px);
}

/* Team thumbnails: center cards on phones + keep consistent size */
@media (max-width: 767px) {
  #team .col-xl-3.col-md-6.d-flex {
    justify-content: center;
  }

  #team .member {
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
  }

  #team .member img {
    height: 240px !important;
  }
}

/*--------------------------------------------------------------
# Page Header Section (for subpages)
--------------------------------------------------------------*/
.page-header-section {
  padding-top: 100px;
  padding-bottom: 40px;
  background-color: #008374;
}

.page-header-section .section-title h2,
.page-header-section .section-title p,
.page-header-section .page-tag {
  color: #ffffff;
}

.page-tag {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

/*--------------------------------------------------------------
# Service Cards (for oferta.html)
--------------------------------------------------------------*/
.service-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.service-card-image {
  overflow: hidden;
  height: 200px;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.service-card:hover .service-card-image img {
  transform: scale(1.05);
}

.service-card-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-card-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--heading-color);
  font-family: var(--heading-font);
}

.service-card-content p {
  margin-bottom: 1rem;
  flex-grow: 1;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.btn-service {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-family: var(--button-font);
  color: var(--accent-color);
  text-decoration: none;
  transition: gap 0.3s ease, color 0.3s ease;
  margin-top: auto;
}

.btn-service:hover {
  gap: 0.75rem;
  color: rgba(0, 131, 116, 0.8);
}

.btn-service i {
  transition: transform 0.3s ease;
}

.btn-service:hover i {
  transform: translateX(3px);
}

/*--------------------------------------------------------------
# Content Sections (for subpages)
--------------------------------------------------------------*/
.content-image {
  margin-bottom: 1.5rem;
}

.content-image img {
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.content-text h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--heading-color);
  font-family: var(--heading-font);
}

.content-text p {
  line-height: 1.8;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
  margin-bottom: 1rem;
}

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

.feature-list li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.7;
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: bold;
}

/*--------------------------------------------------------------
# Benefit Boxes
--------------------------------------------------------------*/
.benefit-box {
  padding: 2rem 1.5rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.benefit-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.benefit-icon {
  color: var(--accent-color);
}

.benefit-box h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--heading-color);
  font-family: var(--heading-font);
}

.benefit-box p {
  margin-bottom: 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  line-height: 1.6;
}

/*--------------------------------------------------------------
# Info Cards
--------------------------------------------------------------*/
.info-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  height: 100%;
}

.info-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--heading-color);
  font-family: var(--heading-font);
}

.info-card p {
  line-height: 1.8;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
  margin-bottom: 1rem;
}

.info-card ul {
  list-style: none;
  padding-left: 0;
}

.info-card ul li {
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.info-card ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: bold;
  font-size: 1.2rem;
}

/*--------------------------------------------------------------
# Content Grid & Boxes for Offer Pages
--------------------------------------------------------------*/
.content-grid {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.content-box {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease, margin-bottom 0.4s ease, padding-top 0.4s ease, padding-bottom 0.4s ease;
}

.content-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.content-box-header {
  padding: 20px 25px;
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff !important;
  font-family: var(--heading-font);
}

.content-box-header * {
  color: #fff !important;
}

.content-box-primary .content-box-header {
  background: linear-gradient(135deg, var(--accent-color) 0%, #006b5f 100%);
}

.content-box-secondary .content-box-header {
  background: linear-gradient(135deg, var(--accent-color) 0%, #006b5f 100%);
}

.content-box-header i {
  font-size: 1.8rem;
  opacity: 0.9;
}

.content-box-header h3 {
  margin: 0;
  color: #fff !important;
  font-size: 1.5rem;
}

.content-box-body {
  padding: 25px;
  background: #fff;
  transition: padding 0.4s ease;
}

.content-box.collapsed .content-box-body {
  padding-top: 0;
  padding-bottom: 0;
}

.content-text-heading {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.8;
  color: var(--default-color);
  margin-bottom: 1rem;
  font-family: var(--default-font);
}

.content-box-body p {
  line-height: 1.8;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
  margin-bottom: 0;
}

/* Feature Grid */
.feature-grid {
  display: grid;
  gap: 20px;
}

.feature-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 12px;
  border-left: 4px solid var(--accent-color);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-item:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  background: #fff;
}

.feature-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-color);
  color: #fff;
  border-radius: 10px;
  font-size: 1.2rem;
}

.feature-content {
  flex: 1;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
}

.feature-content strong {
  color: var(--heading-color);
  display: block;
  margin-bottom: 5px;
}

/* Info Grid */
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.info-card-enhanced {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card-enhanced:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.info-card-header {
  padding: 25px;
  display: flex;
  align-items: center;
  gap: 15px;
  color: #fff !important;
}

.info-card-header * {
  color: #fff !important;
}

.info-card-header-blue {
  background: linear-gradient(135deg, var(--accent-color) 0%, #006b5f 100%);
}

.info-card-header-green {
  background: linear-gradient(135deg, var(--logo-green) 0%, #2a9d8f 100%);
}

.info-card-header i {
  font-size: 2rem;
  opacity: 0.9;
}

.info-card-header h3 {
  margin: 0;
  color: #fff !important;
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--heading-font);
}

.info-card-header-text {
  color: #fff !important;
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--heading-font);
  margin: 0;
}

.info-card-body {
  padding: 25px;
}

.info-card-body .content-text-heading {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.8;
  color: var(--default-color);
  margin-bottom: 1rem;
  font-family: var(--default-font);
}

.info-card-body p {
  line-height: 1.8;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
  margin-bottom: 1rem;
}

.info-highlight {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 20px;
  border-radius: 12px;
  margin-top: 20px;
}

.age-groups {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 15px;
}

.age-group {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px;
  background: #fff;
  border-radius: 10px;
  border: 2px solid var(--accent-color);
}

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 80px;
  padding: 8px 15px;
  background: var(--accent-color);
  color: #fff;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.1rem;
}

.age-label {
  font-weight: 600;
  color: var(--heading-color);
}

.info-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  padding: 15px 0;
  border-bottom: 1px solid #e9ecef;
}

.info-item:last-child {
  border-bottom: none;
}

.info-item i {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-color);
  color: #fff;
  border-radius: 10px;
  font-size: 1.2rem;
}

.info-item div {
  flex: 1;
}

.info-item strong {
  display: block;
  color: var(--heading-color);
  margin-bottom: 5px;
  font-family: var(--heading-font);
}

.info-item p {
  margin: 0;
  line-height: 1.6;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

/*--------------------------------------------------------------
# Benefits Grid
--------------------------------------------------------------*/
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.benefit-box-enhanced {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.benefit-box-enhanced:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.benefit-box-header {
  padding: 25px;
  background: linear-gradient(135deg, var(--accent-color) 0%, #006b5f 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-box-header .benefit-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff !important;
  font-size: 2rem;
  backdrop-filter: blur(10px);
}

.benefit-box-header .benefit-icon i {
  color: #fff !important;
  display: block;
}

.benefit-box-body {
  padding: 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.benefit-box-body h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/* Poprawa widoczności niebieskiego koloru na białym tle */
.benefit-box-body .logo-word-blue,
.content-box-body .logo-word-blue,
.info-card-body .logo-word-blue {
  color: #4A90E2 !important; /* Ciemniejszy niebieski dla lepszej widoczności */
}

.benefit-box-body p {
  margin-bottom: 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  line-height: 1.6;
  flex: 1;
}

@media (max-width: 992px) {
  .benefits-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .benefit-box-header {
    padding: 20px;
  }
  
  .benefit-box-body {
    padding: 20px;
  }
}

@media (max-width: 992px) {
  .info-grid {
    grid-template-columns: 1fr;
  }
  
  .feature-grid {
    gap: 15px;
  }
}

@media (max-width: 768px) {
  .content-grid {
    gap: 20px;
  }
  
  .content-box-header {
    padding: 18px 20px;
    font-size: 1.3rem;
  }
  
  .content-box-body {
    padding: 20px;
  }
  
  .info-card-header {
    padding: 20px;
  }
  
  .info-card-body {
    padding: 20px;
  }
  
  .age-groups {
    flex-direction: column;
  }
}

/*--------------------------------------------------------------
# Offer pages – flat-design graphics (no background)
--------------------------------------------------------------*/
.offer-flat-img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  filter: drop-shadow(0 8px 24px rgba(0, 131, 116, 0.15));
}

.offer-intro-img .offer-flat-img {
  max-height: 260px;
  width: auto;
}

@media (max-width: 991.98px) {
  .offer-intro-img .offer-flat-img {
    max-height: 200px;
  }
}

.offer-section-accent {
  text-align: center;
  margin-bottom: 1.5rem;
}

.offer-section-accent .offer-flat-img {
  max-width: 240px;
  max-height: 180px;
}

/*--------------------------------------------------------------
# Pricing Cards
--------------------------------------------------------------*/
.pricing-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  height: 100%;
  border-top: 4px solid var(--accent-color);
}

.pricing-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--heading-color);
  font-family: var(--heading-font);
}

.pricing-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.pricing-list li {
  padding: 0.75rem 0;
  padding-left: 1.5rem;
  position: relative;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.pricing-list li:last-child {
  border-bottom: none;
}

.pricing-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: bold;
}

.pricing-note {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-bottom: 0;
}

/* Pricing Card CTA - dla sekcji komory */
.pricing-card-cta {
  min-height: 280px;
  background: linear-gradient(135deg, rgba(0, 131, 116, 0.05) 0%, rgba(0, 100, 90, 0.02) 100%);
  border-top-color: var(--accent-color);
}

.pricing-card-cta h3 {
  margin-bottom: 0;
}

/* Komora hiperbaryczna: tło jasnoniebieskie, tytuł do góry jak Języki i warsztaty */
.pricing-card-cta--chamber {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.08) 0%, rgba(2, 132, 199, 0.04) 100%);
  border-top-color: #0ea5e9;
  align-items: stretch;
  justify-content: flex-start;
  text-align: left;
}

.pricing-card-cta--chamber h3 {
  margin-bottom: 0;
}

.pricing-card-cta__buttons {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.5rem;
}

.btn-cta-chamber--blue {
  background: #0ea5e9 !important;
  border-color: #0ea5e9 !important;
  box-shadow: 0 4px 15px rgba(14, 165, 233, 0.35);
}

.btn-cta-chamber--blue:hover {
  background: #0284c7 !important;
  border-color: #0284c7 !important;
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.4);
}

.btn-cta-chamber--blue-outline {
  background: transparent !important;
  color: #0ea5e9 !important;
  border: 2px solid #0ea5e9 !important;
  box-shadow: none;
}

.btn-cta-chamber--blue-outline:hover {
  background: rgba(14, 165, 233, 0.1) !important;
  color: #0284c7 !important;
  border-color: #0284c7 !important;
}

/* CTA Button dla komory */
.btn-cta-chamber {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  background: var(--accent-color);
  border: 2px solid var(--accent-color);
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 131, 116, 0.3);
  font-family: var(--button-font);
  letter-spacing: 0.5px;
}

.btn-cta-chamber:hover {
  background: #006d5f;
  border-color: #006d5f;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 131, 116, 0.4);
  text-decoration: none;
}

.btn-cta-chamber:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(0, 131, 116, 0.3);
}

.btn-cta-chamber i {
  font-size: 18px;
}

/* Responsive dla pricing-card-cta */
@media (max-width: 768px) {
  .pricing-card-cta {
    min-height: 240px;
    padding: 2rem 1.5rem !important;
  }
  
  .btn-cta-chamber {
    padding: 14px 28px;
    font-size: 15px;
    width: 100%;
    max-width: 100%;
  }
}

/*--------------------------------------------------------------
# Team Description (for o-nas.html)
--------------------------------------------------------------*/
/* Team Intro with green border */
.team-intro {
  padding-bottom: 20px;
  border-bottom: 3px solid var(--accent-color);
  margin-bottom: 0;
}

/* Team Description */
.team-description {
  font-size: 0.95rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  text-align: left;
}

/* Team Member Photo */
.member-photo {
  margin-bottom: 2rem;
}

.member-photo img {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Member Info */
.member-info h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--heading-color);
  font-family: var(--heading-font);
}

.member-info .team-role {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--accent-color);
  font-weight: 500;
}

.team-description p {
  margin-bottom: 0.75rem;
}

.team-description p:last-child {
  margin-bottom: 0;
}

.team-description-short {
  display: block;
}

.team-description-full {
  overflow: hidden;
  transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease, margin-top 0.4s ease;
  max-height: 0;
  opacity: 0;
  margin-top: 0;
  display: block; /* Zmieniamy z none na block, żeby animacja działała */
}

.team-description-full.expanded {
  max-height: 5000px; /* Wystarczająco duże, aby pomieścić całą zawartość */
  opacity: 1;
  margin-top: 20px;
}

/* Collapsed state for content-box */
.content-box.collapsed {
  max-height: 0 !important;
  opacity: 0;
  margin-bottom: 0 !important;
  overflow: hidden;
  box-shadow: none;
}

.team-description-full ul {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.team-description-full ul li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

/* Read More Button */
.btn-read-more {
  background: transparent;
  border: 2px solid var(--accent-color);
  color: var(--accent-color);
  padding: 8px 20px;
  border-radius: 25px;
  font-weight: 600;
  font-family: var(--button-font);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-read-more:hover {
  background: var(--accent-color);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 131, 116, 0.3);
}

/*--------------------------------------------------------------
# Background Light
--------------------------------------------------------------*/
.bg-light {
  background-color: #f5f7f6;
}

/*--------------------------------------------------------------
# About Section (on homepage)
--------------------------------------------------------------*/
.about.section {
  padding: 80px 0;
}

.about .content-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--heading-color);
  font-family: var(--heading-font);
}

.about .content-text .lead {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.8;
  color: var(--default-color);
}

.about .content-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
  margin-bottom: 1.5rem;
}
