:root {
  --yellow: #ffdc38;
  --black: #212227;
  --white: #f8f7f1;
  --dark-brown: #463c32;
  --bright-yellow: #ffe68b;
  --light-yellow: #fff0c4;
  --pink: #ea6f91;
  --blue: #0154a5;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

/* Offset for fixed header when scrolling to sections */
section[id] {
  scroll-margin-top: 100px;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--white);
  color: var(--black);
  margin-top: 80px;
}

header {
  background-color: var(--yellow);
  padding: 1rem;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
}

.logo {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.desktop-nav {
  display: none;
  gap: 1.5rem;
  align-items: center;
}

.desktop-nav a {
  color: var(--black);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.desktop-nav a:hover {
  color: var(--blue);
}

@media (min-width: 1200px) {
  .desktop-nav {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }
}

@media (max-width: 768px) {
  header {
    padding: 0.5rem 1rem !important;
    justify-content: space-between !important;
    align-items: center !important;
    display: flex !important;
  }

  header .container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
  }

  header .logo {
    position: static !important;
    transform: none !important;
    top: auto !important;
    left: auto !important;
    height: 55px !important;
    padding: 5px !important;
    display: flex !important;
    align-items: center !important;
    order: 1 !important;
  }

  header .desktop-nav {
    display: none !important;
  }

  header .menu-toggle {
    position: static !important;
    right: auto !important;
    order: 2 !important;
  }
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem; /* Padding on left/right for mobile */
}

.logo {
  height: 55px;
  padding: 5px;
  display: flex;
  align-items: center;
}

.logo img {
  height: 45px;
  width: auto;
  max-width: none;
}

.menu-toggle {
  color: black;
  font-size: 2.5rem;
  background: none;
  border: none;
  cursor: pointer;
  padding-right: 10px;
  margin-left: auto;
}

.menu {
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  height: 0;
  background-color: var(--yellow);
  padding: 0;
  transition: height 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 2000;
  overflow: hidden;
  justify-content: center;
  align-items: center;
}

.menu.open {
  height: 300px;
  padding: 1rem 0 2rem 0;
}

.menu a {
  color: var(--black);
  text-decoration: none;
  font-weight: 400;
  font-size: 0.9rem;
  padding: 0.25rem 0;
  transition: color 0.3s ease;
  text-transform: uppercase;
}

.menu a:hover {
  color: var(--blue);
}

.hero {
  padding: 1rem;
  justify-content: left;
  padding-left: 20px;
}

.hero-logo {
  width: 80%;
  max-width: 100%;
  height: auto;
  display: block;
  justify-content: left;
}

.hero-description {
  background: white;
  padding: 1rem;
  margin: 0.5rem 0.5rem 0.2rem 0.5rem;
  border-radius: 12px;
  max-width: 700px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  justify-content: left;
  padding-left: 20px;
}

.hero-description p {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--black);
  line-height: 1.6;
}

/* Call-to-Action Buttons */
.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0;
  padding: 0 1rem;
}

.cta-button {
  display: inline-block;
  background-color: var(--blue);
  color: var(--white);
  text-decoration: none;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid var(--blue);
  width: 100%;
  max-width: 300px;
}

.cta-button:hover {
  background-color: var(--white);
  color: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.social-icons {
  display: flex;
  justify-content: left;
  gap: 1rem;
  margin: 1rem 2rem;
}

.social-icons a {
  color: var(--black);
  font-size: 1.6rem;
  transition: color 0.2s;
}

.social-icons a:hover {
  color: var(--pink);
}

@media (min-width: 720px) {
  .social-icons {
    gap: 2.5rem;
  }
}

.scroll-arrow {
  text-align: center;
  margin-top: 0.2rem;
  margin-bottom: 0.5rem;
  animation: bounce 2s infinite;
}

.arrow-icon {
  width: 35px;
  height: 35px;
  fill: #000; /* Or var(--black) */
  cursor: pointer;
}

/* Optional bounce animation */
@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}

.projects {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding: 1rem;
}

.project {
  width: 100%;
}

.image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 3.5 / 4;
  overflow: hidden;
  border-radius: 12px;
  display: block;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.image-wrapper:hover {
  transform: scale(1.02);
}

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

.image-wrapper::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent);
  z-index: 1;
}

.image-wrapper h1 {
  position: absolute;
  bottom: 16px;
  left: 16px;
  margin: 0;
  padding: 0;
  font-size: 24px;
  font-weight: 800;
  font-family: "Lato", sans-serif;
  color: white;
  z-index: 2;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.project h3 {
  margin-top: 1rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 0.25rem;
  min-height: 3rem;
  line-height: 1.4;
  font-size: 1.1rem;
  text-align: left;
}

.project-button {
  display: inline-block;
  background-color: var(--dark-brown);
  color: var(--white);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.8rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid var(--dark-brown);
  margin-top: 0.5rem;
}

.project-button:hover {
  background-color: var(--white);
  color: var(--dark-brown);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

@media (min-width: 720px) {
  .projects {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .project {
    margin: 0;
  }

  .hero-description p {
    font-size: 0.85rem;
  }

  .cta-buttons {
    flex-direction: row;
    justify-content: flex-start;
    gap: 1.5rem;
  }

  .cta-button {
    min-width: 200px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 0.5rem;
  }

  .hero-description {
    margin: 1rem 0.5rem 0 0.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

.section-heading {
  display: flex;
  justify-content: left;
  padding-left: 20px;
  margin: 2rem 0 1rem 0;
}

.section-heading h2 {
  background-color: var(--bright-yellow);
  color: var(--black);
  padding: 1rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.8rem;
  transform: rotate(-4.36deg);
  text-transform: uppercase;
  letter-spacing: 0.7px;
  max-width: 90%;
  text-align: center;
  word-wrap: break-word;
  display: inline-block;
}

/* Footer Styles */
.footer {
  background-color: var(--yellow);
  padding: 2rem 1rem 1rem 1rem;
  margin-top: 3rem;
}

.footer-content {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  font-weight: 500;
}

.footer-section h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.donation-info p {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  line-height: 1.5;
  font-weight: 500;
}

.bank-account {
  font-weight: 800;
  font-size: 1rem;
  margin: 0.5rem 0;
}

.patronite-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--black);
  text-decoration: none;
  font-weight: 600;
  margin-top: 0.5rem;
  transition: color 0.2s;
}

.patronite-link:hover {
  color: #e74c3c;
}

.contact-info p {
  margin-bottom: 0.3rem;
  font-size: 0.9rem;
  line-height: 1.4;
}

.email-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--black);
  text-decoration: none;
  font-weight: 500;
  margin-top: 0.5rem;
  transition: color 0.2s;
}

.email-link:hover {
  color: var(--pink);
}

.footer-social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.footer-social-icons a {
  color: var(--black);
  font-size: 1.6rem;
  transition: color 0.2s;
}

.footer-social-icons a:hover {
  color: var(--pink);
}

.footer-bottom {
  border-top: 2px solid rgba(0, 0, 0, 0.642);
  margin-top: 2rem;
  padding-top: 1rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--black);
  font-weight: 500;
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }

  .footer {
    padding: 3rem 2rem 1.5rem 2rem;
  }
}

/* Team Section */
.team-section {
  background: var(--light-yellow);
  margin-top: 2rem;
  padding: 2rem 1rem;
  border-radius: 12px;
}

.team-heading {
  display: flex;
  justify-content: left;
  padding-left: 20px;
  margin-bottom: 1.5rem;
}

.team-heading h2 {
  background-color: var(--pink);
  color: var(--white);
  padding: 1rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.8rem;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  transform: rotate(4.36deg);
  display: inline-block;
}

/* Team carousel layout */
.team-carousel {
  position: relative;
  overflow: hidden;
}

.team-track {
  display: flex;
  gap: 1rem;
  transition: transform 0.3s ease;
  cursor: grab;
}

.team-track:active {
  cursor: grabbing;
}

.team-card {
  flex: 0 0 calc(50% - 0.5rem); /* 2 per view on mobile */
  background: #fff;
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.team-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  display: inline-block;
  border: 3px solid var(--white);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.team-name {
  margin-top: 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
}

.team-email {
  display: inline-block;
  margin-top: 0.25rem;
  color: var(--dark-brown);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.team-email:hover {
  color: var(--pink);
}

.team-controls {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.team-arrow {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: none;
  background: var(--pink);
  color: var(--white);
  cursor: pointer;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-arrow:hover {
  opacity: 0.8;
}

@media (min-width: 720px) {
  .team-card {
    flex: 0 0 calc(25% - 0.75rem); /* ~4 per view on desktop */
  }
}

/* Instagram section */
.instagram-section {
  background: var(--light-yellow);
  margin-top: 2rem;
  padding: 2rem 1rem 2.5rem;
  border-radius: 12px;
}

.instagram-heading {
  display: flex;
  justify-content: left;
  padding-left: 20px;
  margin-bottom: 1.5rem;
}

.instagram-heading h2 {
  background-color: var(--pink);
  color: var(--white);
  padding: 1rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.8rem;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  transform: rotate(4deg);
  display: inline-block;
}

/* Instagram grid container */
.instagram-grid-container {
  padding: 0 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Behold widget styling */
behold-widget {
  display: block;
  width: 100%;
}

/* Fix Behold popup/modal if it appears behind header */
.behold-modal {
  z-index: 9999 !important;
}

/* Trusted organizations section */
.trusted-section {
  background: #fff;
  margin-top: 2rem;
  padding: 2rem 1rem;
  border-radius: 12px;
}

.trusted-heading {
  display: flex;
  justify-content: left;
  padding-left: 20px;
  margin-bottom: 1.25rem;
}

.trusted-heading h2 {
  background-color: var(--blue);
  color: var(--white);
  padding: 1rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.6rem;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  transform: rotate(-3deg);
  display: inline-block;
}

.trusted-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.trusted-card {
  background: var(--white);
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.trusted-title {
  font-weight: 600; /* less bold */
  color: var(--black);
  margin-bottom: 0.25rem;
  font-size: 1rem; /* smaller */
}

/* Ensure links in titles look like the previous non-link titles */
.trusted-title a {
  color: var(--black);
  text-decoration: none;
}

.trusted-title a:hover {
  color: var(--blue);
}

.trusted-meta {
  color: var(--black);
  opacity: 0.6; /* less bold/contrast */
  font-size: 0.85rem; /* smaller */
  margin-bottom: 0.35rem;
  font-weight: 400; /* lighter weight */
}

.trusted-phone {
  font-weight: 800; /* bolder */
  font-size: 1.5rem; /* bigger */
  color: var(--dark-brown);
}

.trusted-link {
  color: var(--blue);
  text-decoration: none;
  font-weight: 700;
}

.trusted-link:hover {
  color: var(--pink);
}

@media (min-width: 720px) {
  .trusted-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

/* Downloads Section */
.downloads-section {
  background-color: var(--white);
  padding: 3rem 1rem;
}

.downloads-heading {
  display: flex;
  justify-content: flex-start;
  padding-left: 1rem;
  margin-bottom: 2rem;
}

.downloads-heading h2 {
  background-color: var(--bright-yellow);
  color: var(--black);
  padding: 1rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.8rem;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  transform: rotate(-4.36deg);
  display: inline-block;
  margin: 0;
}

.downloads-content {
  max-width: 1200px;
  margin: 0 auto;
}

.downloads-content h3 {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 2rem;
  text-align: left;
}

.downloads-files {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.download-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid #e0e0e0;
}

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

.download-info h4 {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 0.25rem;
}

.download-info p {
  font-size: 0.8rem;
  color: #666;
  margin: 0;
}

.download-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--blue);
  color: var(--white);
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.download-link:hover {
  background-color: var(--pink);
  transform: scale(1.1);
}

.download-buttons {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

@media (max-width: 768px) {
  .section-heading {
    padding-left: 1rem;
  }

  .section-heading h2 {
    font-size: 1.4rem;
    padding: 0.8rem 1.2rem;
    max-width: calc(100vw - 2rem);
    word-wrap: break-word;
  }

  .trusted-heading {
    padding-left: 1rem;
  }

  .trusted-heading h2 {
    font-size: 1.4rem;
    padding: 0.8rem 1.2rem;
    max-width: calc(100vw - 2rem);
    word-wrap: break-word;
  }

  .team-heading {
    padding-left: 1rem;
  }

  .team-heading h2 {
    font-size: 1.4rem;
    padding: 0.8rem 1.2rem;
    max-width: calc(100vw - 2rem);
    word-wrap: break-word;
  }

  .downloads-heading {
    padding-left: 1rem;
  }

  .downloads-heading h2 {
    font-size: 1.4rem;
    padding: 0.8rem 1.2rem;
    max-width: calc(100vw - 2rem);
    word-wrap: break-word;
  }

  .instagram-heading {
    padding-left: 1rem;
  }

  .instagram-heading h2 {
    font-size: 1.4rem;
    padding: 0.8rem 1.2rem;
    max-width: calc(100vw - 2rem);
    word-wrap: break-word;
  }
}

/* Fundacja page styles */
.fundacja-hero {
  background: var(--white);
  padding: 4rem 1rem;
  margin-top: 80px;
}

.fundacja-hero-content {
  display: flex;
  justify-content: left;
  padding-left: 20px;
  margin-bottom: 1.25rem;
}

.fundacja-hero-content h1 {
  background-color: var(--blue);
  color: var(--white);
  padding: 1rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.6rem;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  transform: rotate(-3deg);
  display: inline-block;
  margin: 0;
}

.fundacja-content {
  padding: 4rem 1rem;
  background: #f8f7f1;
}

.fundacja-text {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.fundacja-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--black);
  margin-bottom: 1.5rem;
}

.fundacja-documents {
  max-width: 800px;
  margin: 0 auto;
}

.document-category {
  margin-bottom: 3rem;
}

.document-category h3 {
  background-color: var(--pink);
  color: var(--white);
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transform: rotate(-2deg);
  display: inline-block;
  margin-bottom: 1.5rem;
}

.document-category:first-child h3 {
  background-color: var(--blue);
}

.document-category:nth-child(2) h3 {
  transform: rotate(2deg);
}

.document-category:nth-child(3) h3 {
  background-color: var(--bright-yellow);
  color: var(--black);
}

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

.document-list li {
  margin-bottom: 0.8rem;
  padding-left: 1.5rem;
  position: relative;
}

.document-list li::before {
  content: "•";
  color: var(--blue);
  font-weight: bold;
  position: absolute;
  left: 0;
  font-size: 1.2rem;
}

.document-list a {
  color: var(--black);
  text-decoration: none;
  font-size: 1rem;
  line-height: 1.5;
  transition: color 0.3s ease;
}

.document-list a:hover {
  color: var(--blue);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .fundacja-hero-content {
    padding-left: 1rem;
  }

  .fundacja-hero-content h1 {
    font-size: 1.4rem;
    padding: 0.8rem 1.2rem;
    max-width: calc(100vw - 2rem);
    word-wrap: break-word;
  }
}

/* Offternoon page styles */
body:has(.offternoon-hero) {
  background-color: var(--light-yellow);
  color: var(--dark-brown);
}

body:has(.offternoon-hero) p,
body:has(.offternoon-hero) h1,
body:has(.offternoon-hero) h2,
body:has(.offternoon-hero) h3,
body:has(.offternoon-hero) h4,
body:has(.offternoon-hero) h5,
body:has(.offternoon-hero) h6,
body:has(.offternoon-hero) a {
  color: var(--dark-brown);
}

.mamtowgrupie-hero {
  padding: 1rem 1rem;
  text-align: center;
  background: #ffdc38;
  border-radius: 12px;
}

.mamtowgrupie-logo {
  max-width: 100%;
  height: auto;
  max-height: 200px;
  display: block;
  margin: 0 auto;
}

.mamtowgrupie-subtitle {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--black);
  line-height: 1.6;
  max-width: 800px;
  margin: 1rem auto;
  text-align: center;
}

.mamtowgrupie-left .section-heading h2 {
  background-color: var(--pink);
  color: var(--white);
  font-size: 1.2rem;
  margin: 1rem 0 1rem 0;
  text-align: left;
  padding: 1rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  width: 100%;
}

.mamtowgrupie-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.mamtowgrupie-left {
  flex: 1;
}

.mamtowgrupie-right {
  flex: 1;
}

.mamtowgrupie-content p {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--black);
  margin-bottom: 1.5rem;
}

.mamtowgrupie-cta {
  max-width: 800px;
  margin: 3rem auto;
  padding: 2rem 1rem;
  text-align: center;
  background-color: var(--bright-yellow);
  border-radius: 12px;
}

.mamtowgrupie-cta p {
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--black);
  margin: 0;
}

.mamtowgrupie-form-link {
  color: var(--black);
  text-decoration: underline;
  font-weight: 600;
}

.mamtowgrupie-form-link:hover {
  color: var(--pink);
}

.mamtowgrupie-meeting-header {
  margin: 5rem auto 1rem auto;
}

.mamtowgrupie-meeting-header h3 {
  background-color: var(--blue);
  color: var(--white);
  padding: 2rem 2rem !important;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transform: rotate(-2deg);
  text-align: center;
  margin: 2rem 0 2rem 0 !important;
}

.mamtowgrupie-pink-header {
  margin: 1rem auto 1rem auto;
}

.mamtowgrupie-pink-header h3 {
  background-color: var(--pink);
  color: var(--white);
  padding: 2rem 2rem !important;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transform: rotate(-2deg);
  text-align: center;
  margin: 2rem 0 2rem 0 !important;
}

.mamtowgrupie-goals-header {
  margin: 5rem auto 1rem auto;
}

.mamtowgrupie-goals-header h3 {
  background-color: var(--bright-yellow);
  color: var(--black);
  padding: 2rem 2rem !important;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transform: rotate(2deg);
  text-align: center;
  margin: 2rem 0 2rem 0 !important;
}

.offternoon-hero {
  padding: 4rem 1rem;
  text-align: center;
  background-color: var(--light-yellow);
}

.offternoon-logo {
  max-width: 100%;
  height: auto;
  max-height: 200px;
  display: block;
  margin: 0 auto 2rem auto;
}

.offternoon-content {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
}

.offternoon-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.offternoon-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.offternoon-video {
  width: 100%;
}

.offternoon-video iframe {
  width: 100%;
  height: 600px;
  max-width: 300px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.offternoon-description {
  width: 100%;
}

.offternoon-instagram {
  width: 100%;
  display: flex;
  justify-content: center;
}

.instagram-embed {
  border-radius: 12px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
  max-width: 450px !important;
  width: 100% !important;
  height: 420px !important;
  overflow: hidden !important;
  transform: translateY(-20px) !important;
  margin-bottom: -20px !important;
}

@media (max-width: 768px) {
  .instagram-embed {
    max-width: 380px !important;
    height: 380px !important;
    transform: translateY(-15px) !important;
    margin-bottom: -15px !important;
  }
}

.offternoon-description h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark-brown);
  margin: 2rem 0;
  line-height: 1.3;
  max-width: 100%;
  white-space: nowrap;
}

.offternoon-description p {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--dark-brown);
  margin-bottom: 1.5rem;
}

.offternoon-hero .offternoon-title {
  font-family: "Recoleta", serif !important;
  font-size: 4rem !important;
  font-weight: 700 !important;
  color: var(--dark-brown) !important;
  margin: 0 !important;
  transform: perspective(1000px) rotateX(15deg) !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
  letter-spacing: -0.02em !important;
  display: block !important;
}

@media (max-width: 768px) {
  .offternoon-hero .offternoon-title {
    font-size: 3rem !important;
  }

  .offternoon-logo {
    max-height: 400px !important;
    width: 90% !important;
  }

  .offternoon-content {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }

  .offternoon-left,
  .offternoon-right {
    width: 100%;
  }

  .offternoon-video {
    display: flex;
    justify-content: center;
    width: 100%;
    order: 1;
  }

  .offternoon-description-first {
    order: 2;
  }

  .offternoon-instagram {
    order: 3;
  }

  .offternoon-description-second {
    order: 4;
  }

  .offternoon-description-third {
    order: 5;
  }

  .offternoon-left .offternoon-instagram {
    order: 6;
  }

  .offternoon-description h2 {
    margin-top: 0.5rem !important;
    margin-bottom: 1rem !important;
  }

  .offternoon-description p {
    margin-bottom: 0.5rem !important;
  }

  .offternoon-video iframe {
    height: 600px;
    max-width: 300px;
    display: block;
  }

  .offternoon-description h2 {
    font-size: 1.3rem;
    margin: 1.5rem 0;
    white-space: normal;
  }

  .offternoon-description p {
    font-size: 1rem;
  }

  .mamtowgrupie-content {
    flex-direction: column;
    gap: 1.5rem;
  }

  .mamtowgrupie-content p {
    text-align: left;
  }

  .mamtowgrupie-content .instagram-embed {
    width: 330px !important;
    height: 450px !important;
    max-width: 330px !important;
  }

  @media (min-width: 769px) {
    .mamtowgrupie-content .instagram-embed {
      width: 330px !important;
      height: 450px !important;
      max-width: 330px !important;
    }
  }

  .mamtowgrupie-content .offternoon-instagram .instagram-embed {
    width: 330px !important;
    height: 450px !important;
    max-width: 330px !important;
  }

  .mamtowgrupie-content iframe[src*="instagram.com"] {
    width: 330px !important;
    height: 450px !important;
    max-width: 330px !important;
  }
}

/* Kampania page styles */
.kampania-hero {
  background: var(--white);
  padding: 4rem 1rem 1rem 1rem;
  text-align: center;
}

.kampania-hero-content h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 2rem;
  line-height: 1.2;
  text-align: center;
}

.kampania-claim {
  text-transform: uppercase;
  background: #ffdc38;
  padding: 1rem 1.5rem;
  border-radius: 999px;
  display: inline-block;
  transform: rotate(-2deg);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
}

.kampania-subclaim {
  display: block;
  font-weight: 400;
  font-size: 1.6rem;
  margin-top: 1rem;
}

.kampania-subtitle {
  font-size: 1rem;
  font-weight: 300;
  color: var(--black);
  line-height: 1.6;
  max-width: 800px;
  margin: 1rem auto;
}

.kampania-pdf-link {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  text-align: center;
  margin: 1.5rem auto 2rem;
  padding: 1rem 2rem;
  background: var(--pink);
  border: 2px solid var(--pink);
  border-radius: 999px;
  transition: all 0.3s ease;
}

.kampania-pdf-link:hover {
  background: var(--white);
  color: var(--pink);
  text-decoration: none;
}

.kampania-video {
  margin-top: 1.5rem;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  position: relative;
}

.kampania-video iframe {
  width: 100%;
  height: 56.25vw; /* 16:9 aspect ratio */
  min-height: 315px;
  max-height: 630px;
  border: none;
}

@media (max-width: 768px) {
  .kampania-video iframe {
    min-height: 200px;
    max-height: 400px;
  }
}

.kampania-images {
  padding: 0.25rem 1rem;
  background: var(--white);
}

.kampania-posters-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.kampania-poster {
  cursor: pointer;
}

.kampania-poster img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.kampania-poster img:hover {
  transform: translateY(-8px);
}

.kampania-content {
  padding: 1rem 1rem 1rem 1rem;
  background: #ffe68b;
  max-width: 1200px;
  margin: 0 auto;
}

.kampania-text {
  max-width: 800px;
  margin: 1rem auto;
  text-align: center;
}

.kampania-text p {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--black);
  margin-bottom: 1.5rem;
}

.kampania-partners {
  padding: 4rem 1rem;
  background: var(--white);
}

.kampania-partners-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.kampania-partners h2 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 3rem;
}

.kampania-partners-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.kampania-partner-logo {
  flex: 0 0 auto;
}

.kampania-partner-logo img {
  max-height: 40px;
  width: auto;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.kampania-partner-logo img:hover {
  filter: grayscale(0%);
}

.wellbee-logo img {
  max-height: 32px !important;
}

@media (max-width: 768px) {
  .kampania-partners-logos {
    gap: 2rem;
  }

  .kampania-partner-logo img {
    max-height: 30px;
  }

  .wellbee-logo img {
    max-height: 24px !important;
  }
}

.kampania-stats-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.kampania-stats-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--black);
  margin-bottom: 1.5rem;
}

.kampania-source {
  font-size: 0.9rem;
  color: var(--dark-brown);
  font-style: italic;
}

.kampania-source a {
  color: var(--blue);
  text-decoration: underline;
}

.kampania-stats-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.kampania-foundation {
  padding: 4rem 1rem;
  background: var(--white);
}

.kampania-foundation-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.kampania-foundation h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 2rem;
}

.kampania-foundation p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--black);
}

/* Kampania page specific styles */

/* Kampania page uses same header as main page */

@media (max-width: 768px) {
  .kampania-hero-content h1 {
    font-size: 2rem;
  }

  .kampania-posters-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .kampania-stats-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .kampania-foundation h2 {
    font-size: 2rem;
  }
}

/* Partners marquee */
.partners-section {
  background: #fff;
  margin-top: 2rem;
  padding: 1.5rem 0.5rem 1.5rem 0.5rem;
  border-radius: 12px;
  overflow: hidden;
}

.partners-heading {
  display: flex;
  justify-content: center;
  padding-left: 0;
  margin-bottom: 1rem;
}

.partners-heading h2 {
  background: transparent;
  color: var(--black);
  padding: 0;
  border-radius: 0;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.2px;
  transform: none;
  display: inline-block;
}

.partners-track {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.3s ease;
  overflow: hidden;
  cursor: grab;
}

.partners-track:active {
  cursor: grabbing;
}

.partner-item {
  flex: 0 0 auto;
}

.partner-item img {
  height: 100px;
  width: auto;
  display: block;
  /* removed greyscale filter to show original colors */
}

.partners-controls {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.partners-arrow {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: none;
  background: var(--dark-brown);
  color: var(--white);
  cursor: pointer;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.partners-arrow:hover {
  opacity: 0.8;
}

/* Pierwsza (Samo)Pomoc page styles */
.pierwszasamopomoc-hero {
  text-align: center;
  padding: 3rem 1rem;
}

.pierwszasamopomoc-title {
  color: var(--blue);
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  text-transform: uppercase;
}

.pierwszasamopomoc-subtitle {
  color: var(--blue);
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.pierwszasamopomoc-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1rem;
  text-align: left;
}

.pierwszasamopomoc-content p {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--black);
  margin-bottom: 1.5rem;
}

.pierwszasamopomoc-content p a {
  color: var(--black);
  text-decoration: underline;
}

.pierwszasamopomoc-content p a:hover {
  opacity: 0.7;
}

.pierwszasamopomoc-image {
  margin-top: 3rem;
  margin-bottom: 3rem;
  text-align: center;
}

.pierwszasamopomoc-image img {
  max-width: 100%;
  height: auto;
}

.pierwszasamopomoc-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin: 3rem 0;
}

.step-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  text-align: left;
}

.step-item img {
  max-width: 100px;
  min-width: 100px;
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
}

.step-item-text {
  flex: 1;
}

.step-item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.step-item p {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.5;
  color: var(--dark-brown);
  margin: 0;
}

.pierwszasamopomoc-cta {
  text-align: center;
  margin-top: 3rem;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .pierwszasamopomoc-steps {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

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

  .pierwszasamopomoc-subtitle {
    font-size: 1.2rem;
  }
}

/* Take Care OFF Yourself page styles */
.takecareoffyourself-hero {
  background: white;
  padding: 2rem 0;
}

.takecareoffyourself-logo {
  text-align: center;
  margin: 2rem 0 3rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem;
}

.takecareoffyourself-logo img {
  max-width: 400px;
  width: 100%;
  height: auto;
}

@media (min-width: 768px) {
  .takecareoffyourself-logo img {
    max-width: 600px;
  }
}

.takecareoffyourself-content {
  display: flex;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  align-items: flex-start;
}

.takecareoffyourself-left {
  flex: 1;
}

.takecareoffyourself-right {
  flex: 1;
  padding-top: 3rem;
}

.takecareoffyourself-image {
  text-align: center;
}

.takecareoffyourself-image img {
  max-width: 100%;
  height: auto;
}

.takecareoffyourself-right p {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--dark-brown);
  margin-bottom: 1.5rem;
}

.takecareoffyourself-right h3 {
  background-color: var(--yellow);
  color: var(--black);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.2rem;
  text-transform: none;
  letter-spacing: 0.5px;
  display: block;
  margin: 1.5rem 0;
  line-height: 1.4;
}

/* Take Care OFF Yourself Quiz */
.takecareoffyourself-quiz {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
  padding: 0 1rem;
}

.quiz-wrapper {
  background-color: #fff0c4;
  padding: 2rem 2rem;
  border-radius: 12px;
  max-width: 650px;
  width: 100%;
  text-align: center;
}

.takecareoffyourself-quiz h2 {
  background-color: var(--pink);
  color: var(--white);
  padding: 1rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  transform: rotate(4deg);
  display: inline-block;
  margin-bottom: 2rem;
}

.quiz-question {
  padding: 0.25rem 0;
  margin-bottom: 0.25rem;
  text-align: center;
}

.quiz-question p {
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 0.5rem;
}

.quiz-options {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.quiz-options label {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark-brown);
  cursor: pointer;
  border: 2px solid var(--dark-brown);
  border-radius: 999px;
  transition: all 0.3s ease;
  background: transparent;
  min-width: 60px;
}

.quiz-options label:hover {
  background: rgba(0, 0, 0, 0.05);
}

.quiz-options input[type="radio"] {
  display: none;
}

.quiz-options input[type="radio"]:checked + label {
  background: var(--pink);
  color: white;
  border-color: var(--pink);
}

.quiz-submit {
  background-color: var(--blue);
  color: white;
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 999px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 1rem;
  transition: opacity 0.3s ease;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.quiz-submit:hover {
  opacity: 0.9;
}

.quiz-result {
  background: white;
  padding: 1.5rem;
  margin-top: 1.5rem;
  border-radius: 12px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1rem;
  font-weight: 500;
  color: var(--black);
  line-height: 1.6;
}

/* Take Care OFF Yourself Tips Section */
.takecareoffyourself-tips {
  padding: 3rem 1rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.takecareoffyourself-tips h2 {
  background-color: var(--bright-yellow);
  color: var(--black);
  padding: 1rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.8rem;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  transform: rotate(-4.36deg);
  display: inline-block;
  margin-bottom: 2rem;
}

.tips-list {
  text-align: left;
  max-width: 700px;
  margin: 0 auto;
}

.tips-list h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--dark-brown);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.takecareoffyourself-downloads {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 3rem;
  align-items: center;
}

.takecareoffyourself-downloads .cta-button {
  max-width: 500px;
  width: 100%;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 1rem 2rem;
}

.cta-button-custom-pink {
  background-color: #ea6f91;
  border: 2px solid #ea6f91;
  color: white !important;
}

.cta-button-custom-pink:hover {
  background-color: white;
  color: #ea6f91;
  border: 2px solid #ea6f91;
}

.cta-button-custom-pink:active {
  border: 2px solid #ea6f91;
}

@media (max-width: 768px) {
  .takecareoffyourself-content {
    flex-direction: column;
  }

  .quiz-options {
    gap: 1rem;
  }

  .takecareoffyourself-tips h2 {
    font-size: 1.5rem;
  }

  .tips-list h3 {
    font-size: 1rem;
  }
}
