:root {
    --primary-color: rgb(40, 40, 40);
    --secondary-color: rgb(60, 60, 60);
    --accent-color: #ffffff;
    --text-color: #ffffff;
    --background-color: rgb(20, 20, 20);
}

.light-theme {
    --primary-color: #f5f5f5;
    --secondary-color: #e0e0e0;
    --accent-color: #000000;
    --text-color: #000000;
    --background-color: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background-color: var(--primary-color);
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    width: 50px;
    height: 50px;
    margin-right: 15px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.dark-logo {
    background-image: url('../images/logo_dark.png');
}

.light-logo {
    background-image: url('../images/logo_light.png');
}

.logo-text h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-color);
}

.logo-text span {
    font-size: 0.9rem;
    color: var(--accent-color);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
    position: relative;
}

nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    position: relative;
    padding: 0.5rem 0;
}

nav ul li a.active {
    color: var(--accent-color);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

.theme-toggle {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.2rem;
    cursor: pointer;
    margin-left: 2rem;
}

.hero {
    height: 100vh;
    background: linear-gradient(rgba(20, 20, 20, 0.7), rgba(20, 20, 20, 0.7)), url('../images/hero-bg.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
    margin-top: 80px;
    position: relative;
}

.hero-content {
    max-width: 1200px;
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
    color: var(--accent-color);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.3s both;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--background-color);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 0.6s both;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.6);
}

.cta-button i {
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.cta-button:hover i {
    transform: translateX(5px);
    animation: pulse 1s infinite;
}

section {
    padding: 5rem 1rem;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    width: 100%;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
}

.section-title p {
    font-size: 1.2rem;
    color: var(--text-color);
    opacity: 0.8;
    max-width: 800px;
    margin: 0 auto;
}

.features {
    background-color: var(--background-color);
}

.features-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-card {
    background-color: var(--primary-color);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 15px 30px rgba(255, 255, 255, 0.15);
    border-color: var(--accent-color);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover i {
    transform: scale(1.2);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.feature-card p {
    color: var(--text-color);
    line-height: 1.6;
}

.join-us {
    background-color: var(--primary-color);
}

.join-container {
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.join-text {
    flex: 1;
}

.join-text h2 {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.join-text p {
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.7;
}

.join-image {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.join-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.join-image:hover img {
    transform: scale(1.05);
}

.join-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--background-color);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
}

.join-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.6);
}

.join-button i {
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.join-button:hover i {
    transform: translateX(5px);
    animation: pulse 1s infinite;
}

.recruitment {
    background-color: var(--background-color);
}

.recruitment-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.step {
    flex: 1;
    min-width: 300px;
    background: var(--primary-color);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-align: center;
}

.step:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 15px 30px rgba(255, 255, 255, 0.15);
    border-color: var(--accent-color);
}

.step-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 1rem;
    display: inline-block;
    width: 80px;
    height: 80px;
    line-height: 80px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.1);
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.step p {
    color: var(--text-color);
    line-height: 1.6;
}

.stats {
    background-color: var(--primary-color);
    padding: 5rem 1rem;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 2.0rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.8rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    letter-spacing: 1px;
    min-height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.stat-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .stats-container {
        flex-direction: column;
        align-items: center;
    }
    
    .stat-item {
        width: 100%;
    }
}

.stat-item:hover {
    transform: translateY(-8px) scale(1.02);
    shadow: 0 12px 25px rgba(255, 255, 255, 0.25);
    border-color: var(--accent-color);
}

.partners {
    background-color: var(--background-color);
    padding: 5rem 1rem;
}

.partners-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    padding: 2rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

.partners-container img {
    max-height: 80px;
    width: auto;
    transition: all 0.3s ease;
    filter: brightness(0.9);
}

.partners-container img:hover {
    filter: brightness(1) drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
    transform: scale(1.05);
}

footer {
    background-color: var(--primary-color);
    margin-top: auto;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 1rem;
}

.footer-about {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    width: 50px;
    height: 50px;
    margin-bottom: 1.5rem;
}

.footer-logo img {
    width: 100%;
    height: auto;
}

.footer-about p {
    margin-bottom: 1.5rem;
    color: var(--text-color);
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--accent-color);
    color: var(--background-color);
    transform: translateY(-3px);
}

.footer-links h3,
.footer-contact h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--accent-color);
}

.contact-info {
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.contact-item i {
    margin-right: 1rem;
    color: var(--accent-color);
}

.contact-item span {
    color: var(--text-color);
    line-height: 1.6;
}

.copyright {
    text-align: center;
    padding: 1.5rem;
    margin-top: 2rem;
    border-top: 1px solid var(--secondary-color);
    color: var(--text-color);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@media (max-width: 1024px) {
    .features-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .join-container {
        flex-direction: column;
    }
    
    .join-image {
        order: -1;
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
        margin-top: 1rem;
    }
    
    nav ul li {
        margin: 0.5rem 0;
    }
    
    .hero {
        margin-top: 120px;
    }
    
    .hero h2 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .feature-card,
    .step {
        min-width: 100%;
    }
}

@media (max-width: 600px) {
    .features-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h2 {
        font-size: 2rem;
    }
    
    .cta-button,
    .join-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
}
.bms-section {
    background-color: var(--background-color);
    padding: 5rem 1rem;
}

.bms-container {
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.bms-text {
    flex: 1;
}

.bms-images {
    flex: 1;
    position: relative;
    min-height: 400px;
}

.bms-image-stack {
    position: relative;
    width: 100%;
    height: 100%;
}

.bms-image {
    position: absolute;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.5s ease;
    max-width: 80%;
}

.bms-image-1 {
    top: 0;
    left: 0;
    z-index: 3;
    transform: rotate(-5deg);
}

.bms-image-2 {
    top: 20px;
    left: 20px;
    z-index: 2;
    transform: rotate(2deg);
    opacity: 0.9;
}

.bms-image-3 {
    top: 40px;
    left: 40px;
    z-index: 1;
    transform: rotate(5deg);
    opacity: 0.8;
}

.bms-image:hover {
    transform: rotate(0deg) scale(1.05);
    z-index: 4;
    opacity: 1;
}

.bms-features {
    margin: 2rem 0;
}

.bms-feature {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.bms-feature i {
    color: var(--accent-color);
    margin-right: 1rem;
    font-size: 1.2rem;
}

/* Nowe style dla sekcji historii */
.history-section {
    background-color: var(--primary-color);
    padding: 5rem 1rem;
}

.history-slider {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.history-slide {
    width: 80%;
    max-width: 800px;
    background: var(--background-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.history-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.history-image {
    height: 300px;
    overflow: hidden;
}

.history-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.history-slide:hover .history-image img {
    transform: scale(1.05);
}

.history-text {
    padding: 2rem;
    flex: 1;
}

.history-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.history-text p {
    color: var(--text-color);
    line-height: 1.6;
}

.swiper-button-next, 
.swiper-button-prev {
    color: var(--accent-color);
}

.swiper-pagination-bullet {
    background: var(--text-color);
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    background: var(--accent-color);
    opacity: 1;
}

/* Responsywność */
@media (max-width: 1024px) {
    .bms-container {
        flex-direction: column;
    }
    
    .bms-images {
        order: -1;
        width: 100%;
        min-height: 300px;
    }
    
    .history-slide {
        width: 85%;
    }
}

@media (max-width: 768px) {
    .bms-image {
        max-width: 90%;
    }
    
    .history-slide {
        width: 90%;
    }
    
    .history-image {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .history-text {
        padding: 1.5rem;
    }
    
    .history-text h3 {
        font-size: 1.5rem;
    }
}