:root {
  --primary-bg-color: #ffffff;
  --primary-text-color: #333333;
  --primary-h1-color: #000000;
  --primary-h2-color: #333333d3;
  --primary-h3-color: #9b5087d7;
  --primary-p-color: #3f2839f6;
  --primary: #000000;
  --secondary: #333333;
  --white: #ffffff;
  --box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  --box-shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --angle: -5deg;
  --magic-number: 0.09719;
  --skew-padding: calc(100vw * var(--magic-number));
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Cal Sans", Arial, sans-serif;
  background-color: var(--primary-bg-color);
  color: var(--primary-text-color);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  background-color: rgba(250, 249, 246, 0.7);
  border-radius: 24px;
}

section + section {
  margin-top: 1rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

h1, h2, h3 {
  margin: 0 0 1rem;
}

p {
  margin: 0 0 1.25rem;
  line-height: 1.7;
}

header {
  background-color: var(--white);
  box-shadow: var(--box-shadow);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid #FF7F50;
}

nav {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.logo {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--primary);
  text-decoration: none;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 3rem;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  text-decoration: none;
  color: var(--secondary);
  font-weight: 500;
  transition: var(--transition);
  padding: 0.5rem 0;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #000000;
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--primary);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
  background: transparent;
  border: none;
  padding: 0;
  align-items: center;
  justify-content: center;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: #000000;
  border-radius: 2px;
  transition: var(--transition);
}

.nav-links.mobile-active {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--white);
  padding: 2rem;
  box-shadow: var(--box-shadow-lg);
  gap: 1rem;
}

@media (max-width: 768px) {
  nav {
    padding: 1.25rem 1.5rem;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    gap: 1rem;
  }

  .nav-links.mobile-active {
    display: flex;
  }
}

@media (max-width: 480px) {
  nav {
    padding: 1rem;
  }

  .nav-links.mobile-active {
    padding: 1.5rem;
  }
}

.diagonal-box {
  position: relative;
  padding: var(--skew-padding) 0;
  margin-top: 20px;
}

.header.diagonal-box {  
  margin-top: -100px;
}

.diagonal-box::before {
  content: '';
  position: absolute;
  inset: 0;
  transform: skewY(var(--angle));
  transform-origin: 50% 0;
  outline: 1px solid transparent;
  backface-visibility: hidden;
}

.bg-one::before {
  background-image: linear-gradient(45deg, #FAF9F6, #F5F5DC);
}

.bg-two::before {
  background-image: linear-gradient(45deg, #FFF8DC, #FFE4B5);
}

.bg-three::before {
  background-image: linear-gradient(45deg, #F0F0E0, #B2AC88);
}

.content {
  max-width: 100vw;
  margin: 0 auto;
  padding: 1.5em;
  position: relative;
  text-align: center;
}

.header,
.hero,
.dla-kogo-lp,
.offer-lp,
.location-section,
.neurodiversity-section,
.conclusion-section {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.header h1,
.hero h2,
.dla-kogo-lp h2 {
  margin: 0;
}

.header h1 {
  font-size: 2.5em;
  color: var(--primary-h1-color);
}

.hero .content,
.dla-kogo-lp .content {
  margin: 0 40px;
}

.hero h2 {
  font-size: 2em;
  color: var(--primary-h2-color);
}

.hero p,
.dla-kogo-lp p,
.neurodiversity-section .content {
  font-size: 1.3em;
  color: var(--primary-p-color);
}

.hero button,
.conclusion-section button {
  margin: 1.5em auto 0;
  padding: 0.5em 1em;
  font-size: 1em;
  background-color: #FF7F50;
  color: #fff;
  border: 2px solid #E57373;
  cursor: pointer;  transition: background-color 0.3s ease, transform 0.2s ease;
}

.hero button:hover, .conclusion-section button:hover {
  background-color: #FF6347;
  transform: translateY(-2px);}

.dla-kogo-lp .content,
.neurodiversity-section .content {
  text-align: left;
}

.conclusion-section p,
.location-section p,
.location-section address {

  font-size: 1.5em;
}

.boxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding: 20px;
}

.box {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: left;
  color: #000000;
}

.box h2, .box h3 {
  color: #000000;
}

/* Footer */
footer {
    background-color: var(--light);
    color: var(--primary);
    padding: 4rem 2rem 2rem;
    margin-top: 3rem;
    border-top: 4px solid var(--primary);
}

footer > .footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 1.25rem;
    font-weight: 700;
    font-family: "Cal Sans", Arial, sans-serif;
}

.footer-section p,
.footer-section a {
    color: var(--primary);
    line-height: 1.8;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.footer-section a {
    display: block;
}

.footer-section a::after {
    background-color: var(--primary);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid var(--medium);
    padding-top: 2rem;
    text-align: center;
    color: var(--primary);
    font-size: 0.9rem;
}
/* ===================================
   TEAM MEMBER STYLES
   =================================== */
.about-page {
    display: block;
    color: var(--light);
    
    text-align: left;
    margin: 0 auto;
    width: 100%;
}
.body-team {
    background-color: #fff4eaec;
  
}
.team-member {

    padding: 3rem;
    margin-bottom: 3rem;
    border-radius: var(--border-radius);
    border-left: 6px solid var(--white); 
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    flex: 0 0 45%;
    max-width: 45%;
    background-color: #ffffff;
}

.team-member:hover {
    box-shadow: var(--box-shadow-lg);
    transform: translateY(-3px);
    border-left-color: #ffebdb;
}

.team-head {
    color: var(--primary);
    font-size: 2rem;
    padding: 20px;
    margin-bottom: 2rem;
    font-weight: 700;
    font-family: "Cal Sans", Arial, sans-serif;
    text-align: center;
}

.team-photo {
    max-width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 5px solid var(--primary);
    display: block;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.team-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.team-member h2 {
    color: #333333;
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    font-family: "Cal Sans", Arial, sans-serif;
}

.team-member h3 {
    color: #333333;
    font-size: 1.05rem;
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    font-family: "Cal Sans", Arial, sans-serif;
    background-clip: text;
}

.team-member p {
    color: #0e0d0d;
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

.team-member ul {
    margin-left: 2rem;
    margin-top: 0.75rem;
    margin-bottom: 1.5rem;
}

.team-member li {
    color: #333333;
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.team-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-around;
}

.team-header {
    cursor: pointer;
    padding: 1rem;
    background-color: #ffffff;
    border-bottom: 1px solid #ffe9d2;
    transition: background-color 0.3s;
}

.team-header h3 h2 {
    margin: 0;
    color: #333333;
    font-size: 1.25rem;
    font-weight: 600;
    font-family: "Cal Sans", Arial , sans-serif;
}

.team-header:hover {
    background-color: #ffffff;
}

.team-content {
    display: none;
    padding: 1rem;
    background-color: #FEFEFE;
    transition: all 0.3s ease;
}

.team-content.expanded {
    display: block;
}
/* ===================================
   CONTACT page styles
   =================================== */

.kontakt-page {
    background-color: whitesmoke;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}


/* SERVICES */

.h2-programms {
    color: var(--primary);
    font-size: 1.75rem;
    margin: 0 auto 1.5rem;
    font-weight: 700;
    font-family: "Cal Sans", Arial, sans-serif;
}

.side {
  padding: 1.5rem;
  font-size: larger;
  background-color: #ffffff;
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(5, auto);
  gap: 1.25rem;
  padding: 1.5rem;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 24px;
}

.offer-grid h3 {
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.offer-grid ul {
  margin: 1rem 0 1.5rem 1.25rem;
  padding-left: 1rem;
  list-style-type: disc;
}

.offer-grid li {
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

.side,
.offer-grid > div[class^="offer-item"] {
    background-color: #ffffff;
    border-radius: 18px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}

.side {
    grid-row: span 5 / span 5;
    border-color: #000000;
    border-width: 2px;
    border-style: solid;
}

.offer-item1,
.offer-item2,
.offer-item3,
.offer-item4,
.offer-item5 {
    grid-column: span 3 / span 3;
    border-color: #000000;
    border-width: 2px;
    border-style: solid;
    padding: 1.5rem;
    margin: 0;
    background-color: #ffffff;
}

.offer-item2 {
    grid-column-start: 2;
    grid-row-start: 2;
}

.offer-item3 {
    grid-column-start: 2;
    grid-row-start: 3;
}

.offer-item4 {
    grid-column-start: 2;
    grid-row-start: 4;
}

.offer-item5 {
    grid-column-start: 2;
    grid-row-start: 5;
}



.offer-grid > div[class^="offer-item"] {
  padding: 1.5rem;
}

.offer-grid > div[class^="offer-item"] > h3,
.offer-grid > div[class^="offer-item"] > p {
  margin: 0 0 1rem;
  padding: 0;
}

.offer-grid > div[class^="offer-item"] > h3 {
  font-size: 1.5rem;
  color: var(--primary);
}

.offer-grid > div[class^="offer-item"] > p {
  font-size: 1rem;
  color: var(--primary);
}

.ext-container {
  width: 100%;
  margin: 0;
}

.offer-expanded {
  background-color: transparent;
  border: 1px solid #3f8f35;
  border-radius: 10px;
  margin: 20px 0;
  padding: 30px;
  position: relative;
  overflow: hidden;
  transition: 0.3 ease;
}

.offer-expanded.active {
  background-color: #fff;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1), 0 3px 6px rgba(0, 0, 0, 0.1);
}

.offer-expanded.active::before,
.offer-expanded.active::after {
  
  font-family: "Font Awesome 5 Free";
  color: #b82b89;
  font-size: 7rem;
  position: absolute;
  opacity: 0.2;
  top: 20px;
  left: 20px;
  z-index: 0;
}

.offer-expanded.active::before {
  
  top: -10px;
  left: -30px;
  transform: rotateY(180deg);
}

.offer-expand-title {
  margin: 0 35px 0 0;
}

.offer-expand-text   {
  display: none;
  margin: 1rem;
}

.offer-expanded.active .offer-expand-text {
  display: block;
}

.faq-toggle {
  background-color: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  padding: 0;
  position: absolute;
  top: 30px;
  right: 30px;
  height: 30px;
  width: 30px;
  z-index: 1;
}

.faq-toggle:focus {
  outline: 0;
}

.faq-toggle .fa-times {
  display: none;
}

.offer-expanded.active .faq-toggle .fa-times {
  color: #fff;
  display: block;
}

.offer-expanded.active .faq-toggle .fa-chevron-down {
  display: none;
}

.offer-expanded.active .faq-toggle {
  background-color: #9fa4a8;
}                  


/* table fees */
.table-responsive {
  text-align: center;
  margin-bottom: 3rem;
}


.fees-tb-pakiety {
  
  margin: 0px auto;
 
  padding: 0.75rem;
  font-size: 1rem;
  color: #000000;
}



.table-responsive th {
    background-color: #fcdc7d;
    color: #000000;
    margin: 2rem;
    padding: 0.5rem;
  
}

.table-responsive td {
 
    color: #000000;
    margin: 2rem;
    padding: 0.5rem;
}

.table-responsive tr:hover {
    
    font-weight: bolder;

}

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

  .side {
    grid-row: auto;
    grid-column: 1 / -1;
  }

  .offer-item1,
  .offer-item2,
  .offer-item3,
  .offer-item4,
  .offer-item5 {
    grid-column-start: auto;
    grid-row-start: auto;
  }
}

@media (max-width: 720px) {
  .offer-grid {
    grid-template-columns: 1fr;
  }
} 