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

html { scroll-behavior: smooth; }


body {
    font-family: 'Montserrat', sans-serif;
    color: #000000;
    line-height: 1.5;
    background-color: #FFFFFF;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #000000;
    margin-bottom: 1rem;
}

.main-header {
    background: #FFFFFF;
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 100px;
    display: flex;
    align-items: center;
}

.top-container {
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 20px;
}


.container {
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 20px;
    margin-bottom: 50px;
    margin-top: 50px;
}

.container-owner {
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 20px;
    margin-bottom: 50px;
}

.header-content {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: end;
}

.logo { 
    display: flex; 
    align-items: center; 
    color: #000000; 
}

.logo-img {
    height: 50px;
    width: auto;
}

a { text-decoration: none; transition: 0.3s; }
ul { list-style: none; }

.main-nav ul { display: flex; gap: 35px; align-items: center;}
.main-nav a { color: #000000; font-weight: 600; font-size: 0.95rem; }
.main-nav a:hover { color: #68942E; }
.main-footer { background: #111; color: #aaa; padding: 60px 0 20px; font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-bottom: 40px; }
.main-footer h4 { color: var(--white); margin-bottom: 20px; }
.legal-data { font-family: monospace; color: #888; margin-top: 15px; }
.footer-bottom { text-align: center; border-top: 1px solid #333; padding-top: 20px; }
.footer-col a { color: #aaa; }
.footer-col a:hover { color: #FFFFFF; }

/* --- RESPONSYWNOŚĆ (MOBILE) --- */
.nav-toggle,.nav-toggle-btn { display: none; }

.hero-section {
    position: relative;
    height: 85vh;
    background: url('../images/hero-background.png');
    background-repeat: no-repeat;
    background-position: top;
    background-size: cover;
    display: flex;
    align-items: center;
    color: #FFFFFF;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    height: 85vh;
}

.hero-text { 
    position: absolute; 
    left: 50%; top:85%; 
    transform: translate(-50%, -50%); 
    text-align: center;
    z-index: 2; 
    max-width: 800px; 
}

.hero-text h1 { font-size: 3.6rem; line-height: 100%; margin-bottom: 20px; color: #FFFFFF;}
.hero-lead { font-size: 1.25rem; font-weight: 300; margin-bottom: 40px;}

.korzysci-text-container {
    text-align: center;
    margin-bottom: 50px;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.cards-meeting {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.card-meeting {
    margin-top: 25px;
  flex: 1 1 calc(33.333% - 16px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  padding: 25px;
  gap: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 380px;
  background-color: #68942E;
  border-radius: 20px;
  text-align: center;
}

.card-meeting h1 {
    color: #FFFFFF;
    font-weight: 700;
    font-style: Bold;
    font-size: 32px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    margin-bottom: 0;
}

.card-meeting h3 {
    color: #FFFFFF;
    font-weight: 700;
    font-style: Bold;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    margin-bottom: 0;
}

.card-meeting p {
    color: #FFFFFF;
    font-weight: 400;
    font-style: Regular;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    margin-bottom: 0;
}

.card-meeting:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 22px rgba(0,0,0,0.15);
}

/* Default: 3 cards per row */
.card {
  flex: 1 1 calc(33.333% - 16px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  border: #D7D7D7 1px solid;
  padding: 30px;
  gap: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 380px;
}

.card p, h3 {
    text-align: center;
}

.card h3 {
    margin-bottom: 0px;
    font-size: 18px;
}

.cad p {
    margin: 0px;
    font-size: 10px;
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 22px rgba(0,0,0,0.15);
}

/* Small screens: stack in column (1 per row) */
@media (max-width: 600px) {
  .card {
    flex: 1 1 100%;
  }
}

.bg-count2-section{
	background: url('../images/bg-counter-img.png');
    background-repeat: no-repeat;
    background-position: fixed;
    background-size: cover;
    background-position: 33%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 256px;
    margin-bottom: 50px;
}

.count-items{
	text-align: center;
    justify-content: center;
    align-items: center;
}

.count-items [class^="flaticon-"]:before, 
.count-items [class*=" flaticon-"]:before, 
.count-items [class^="flaticon-"]:after, 
.count-items [class*=" flaticon-"]:after{
	color: #fff;
	display: block;
}
.count-items span{
	font-size: 36px;
	font-weight: 700;
	color: #fff;
}

.count-items h4{
	font-size: 18px;
	font-weight: 700;
	color: #fff;
	text-transform: uppercase;
}

.section-padding { 
    padding: 60px 0; 
}

.intro-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 60px; 
    align-items: center; 
}
.intro-text h3, p {
    text-align: left;
}
.intro-text h3 { color: #68942E; margin-bottom: 15px; font-size: 1.2rem;}
.image-collage { position: relative; height: 400px; }
.img-main { position: absolute; top: 0; right: 0; width: 80%; height: 300px; object-fit: cover; z-index: 1;  border-radius: 20px;}
.img-sub { position: absolute; bottom: 0; left: 0; width: 60%; height: 200px; object-fit: cover; z-index: 2; border-radius: 20px;}

.img-main-reversed { position: absolute; top: 0; left: 0; width: 80%; height: 300px; object-fit: cover; z-index: 1; border-radius: 20px;}
.img-sub-reversed { position: absolute; bottom: 0; right: 0; width: 60%; height: 200px; object-fit: cover; z-index: 2; border-radius: 20px;}

.owner-box {
    display: grid; 
    grid-template-columns: auto 1fr; 
    align-items: center; 
    border: 3px solid #68942E; 
    border-radius: 20px;
    margin-left: 190px;
    padding: 20px;
}
.owner-img { 
    flex: 0 100px;
    margin-left: -190px; 
    width: 380px;
}
.owner-text {
    padding: 20px;
    margin-left: 100px;
}
.owner-text h3 { color: #68942E; margin-bottom: 10px; font-size: 1.2rem;}


.timeline-section { 
    background-color: #F7F7F7; 
    text-align: center; 
}
.timeline-section { 
    background-color: #F7F7F7; 
    text-align: center; 
}
.timeline-header { 
    margin-bottom: 40px; 
    text-align: center;
}
.timeline-header h2 { 
    font-size: 2rem; 
    margin-bottom: 10px; 
    text-transform: uppercase; 
}
.timeline-nav {
    display: inline-flex; 
    gap: 40px; 
    margin-bottom: 50px; 
    border-bottom: 1px solid #ddd; 
    padding-bottom: 10px;
}
.timeline-btn {
    background: none; 
    border: none; 
    font-size: 1.1rem; 
    font-weight: 700; 
    color: #000000; 
    cursor: pointer; 
    position: relative; 
    padding-bottom: 10px; 
    transition: all 0.3s ease-in-out;
}
.timeline-btn::after {
    content: ''; 
    position: absolute; 
    bottom: -11px; 
    left: 0; 
    width: 0%; 
    height: 3px; 
    background: #68942E; 
    transition: all 0.3s ease-in-out;
}
.timeline-btn:hover { 
    color: #68942E; 
}
.timeline-btn.active { 
    color: #68942E; 
}
.timeline-btn.active::after { 
    width: 100%; 
}
.carousel-container { 
    position: relative; 
    min-height: 400px; 
    max-width: 100%;
    text-align: left; 
}
.carousel-slide {
    display: none; 
    grid-template-columns: 1fr 1fr; 
    gap: 50px; 
    align-items: start;
    animation: fadeIn 0.5s ease forwards;
}

.carousel-slide.active { 
    display: grid; 
}
.carousel-text h3 { 
    color: #68942E; 
    margin-bottom: 20px; 
    font-size: 1.4rem; 
    text-align: left;
}
.carousel-text ul { 
    list-style: none; 
}
.carousel-text li { 
    margin-bottom: 15px; 
    padding-left: 25px; 
    position: relative; 
    color: #000000; }
.carousel-text li::before {
    content: '•'; 
    color: #68942E; 
    font-size: 1.5rem; 
    position: absolute; 
    left: 0; 
    top: -5px;
}

.carousel-image-container {
    display: flex;
    flex-direction: column;
    width: 100%;
}
.carousel-icons-future {
    display: flex;
    flex-direction: row;
    margin-top: 20px;
    gap: 30px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #2B373B;
  color: white;
  font-size: 14px;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
}

.cookie-banner .highlight {
  color: #4e9ef7;
  text-decoration: underline;
}

.cookie-banner .buttons {
  display: flex;
  gap: 10px;
}

.cookie-banner .btn {
  padding: 0.5rem 1rem;
  border-radius: 5px;
  font-size: 13px;
  border: none;
  cursor: pointer;
}

.cookie-banner .btn.accept {
  background: #4CAF50;
  color: white;
}

.cookie-banner .btn.decline {
  background: #f44336;
  color: white;
}


@media (max-width: 768px) {
   .nav-toggle-btn {
        display: block; cursor: pointer; padding: 10px; z-index: 1100;
    }
   .nav-toggle-btn span {
        display: block; width: 25px; height: 3px; background: #000000; position: relative;
    }
   .nav-toggle-btn span::before,.nav-toggle-btn span::after {
        content: ''; position: absolute; width: 100%; height: 3px; background: #000000; left: 0;
    }
   .nav-toggle-btn span::before { top: -8px; }
   .nav-toggle-btn span::after { top: 8px; }

   .main-nav {
        position: absolute; top: 100%; left: 0; width: 100%; background: #FFFFFF;
        border-top: 1px solid #eee; display: none; flex-direction: column; padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
   .main-nav ul { flex-direction: column; gap: 15px; }
    #nav-toggle:checked ~.main-nav { display: flex; }

   .hero-text h1 { font-size: 2rem; }
   .grid-2-col,.features-grid,.footer-grid { grid-template-columns: 1fr; }
    
   .timeline::after { left: 20px; }
   .timeline-item { width: 100%; padding-left: 50px; padding-right: 10px; }
   .timeline-item.left,.timeline-item.right { left: 0; text-align: left; }
   .timeline-item.left::after,.timeline-item.right::after { left: 8px; right: auto; }
   .intro-grid { grid-template-columns: 1fr; }
   .carousel-slide { grid-template-columns: 1fr;}
   .image-collage{order:2;}
   .intro-text{order:1;}
   .cards-meeting {gap: 8px;}
}

@media (max-width: 768px) {
    .owner-box {
        grid-template-columns: 1fr; /* single column */
        margin-left: 0;             /* reset margin */
        padding: 20px;
        text-align: center;         /* center text */
    }

    .owner-img {
        margin-left: 0;             /* reset negative margin */
        width: 80%;                 /* fit container */
        max-width: 400px;
        margin: 0 auto 20px auto;   /* center image with spacing below */
    }

    .owner-text {
        padding: 0 10px;            /* small horizontal padding */
        margin: 0;
    }
}
