/* Skip Link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 16px;
    z-index: 1000;
    text-decoration: none;
    font-weight: 600;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

/* Reset and base styles */
:root {
    --primary-color: #1E64FF; /* Blue from logo */
    --primary-dark: #0041CC;
    --primary-light: #4D85FF;
    --secondary-color: #333333;
    --light-bg: #F9FAFC;
    --dark-bg: #2A2A2A;
    --gray-light: #E9ECEF;
    --gray-mid: #6C757D;
    --gray-dark: #495057;
    --success: #28A745;
    --text-color: #333333;
    --text-light: #6C757D;
    --border-color: #DFE3E8;
    --white: #FFFFFF;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.8rem;
}

h2 {
    font-size: 2.2rem;
}

h3 {
    font-size: 1.6rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

ul, ol {
    list-style: none;
    padding-left: 0;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

.section-desc {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--text-light);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: 'Montserrat', sans-serif;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: var(--white);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-light);
    color: var(--white);
    border-color: var(--primary-light);
}

.btn-cta {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(30, 100, 255, 0.25);
}

.btn-cta:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(30, 100, 255, 0.35);
    color: var(--white);
}

.cta-center {
    text-align: center;
    margin: 3rem 0;
}

/* Header */
.header {
    position: relative;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.97);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 100;
    padding: 1rem 0;
    transition: var(--transition);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    max-width: 180px;
}

.main-nav ul {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.main-nav a {
    color: var(--secondary-color);
    font-weight: 500;
    position: relative;
}

.main-nav a:hover {
    color: var(--primary-color);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.main-nav a:hover::after {
    width: 100%;
}

/* Language switcher */
.lang-switch a {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    padding: 0.4rem 0.8rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.lang-switch a:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.lang-switch a::after {
    display: none;
}

/* Header LinkedIn icon */
.header-social a {
    display: inline-flex;
    align-items: center;
    font-size: 1.25rem;
    color: var(--secondary-color);
}

.header-social a::after {
    display: none;
}

.header-social a:hover {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--secondary-color);
    position: absolute;
    transition: var(--transition);
}

.mobile-menu-btn span:nth-child(1) {
    top: 0;
}

.mobile-menu-btn span:nth-child(2) {
    top: 10px;
}

.mobile-menu-btn span:nth-child(3) {
    top: 20px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)), url('../../img/back.jpg');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    margin-bottom: 1.5rem;
    font-size: 3.2rem;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero .subtitle {
    font-size: 1.4rem;
    color: var(--white);
    margin-bottom: 3rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Challenges Section */
.wyzwania {
    padding: 6rem 0;
    background-color: var(--light-bg);
}

.wyzwania-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.wyzwanie-box {
    background-color: var(--white);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.wyzwanie-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.wyzwanie-box h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.wyzwanie-lista li, .wyzwanie-lista-hidden li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}

.wyzwanie-lista li::before, .wyzwanie-lista-hidden li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.wyzwanie-collapse {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.5s ease;
}

.wyzwanie-toggle {
    margin-top: auto;
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    font-weight: 600;
    text-align: left;
    padding: 0.5rem 0 0;
    font-family: 'Open Sans', sans-serif;
}

.wyzwanie-toggle:hover {
    color: var(--primary-dark);
}

/* Process Section */
.proces {
    padding: 6rem 0;
}

.proces-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.proces-step {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.proces-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.proces-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 5px 15px rgba(30, 100, 255, 0.2);
}

.proces-icon i {
    font-size: 2rem;
    color: var(--white);
}

.proces-step h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.proces-step p {
    color: var(--text-light);
}

/* About Us Section */
.o-nas {
    padding: 6rem 0;
    background-color: var(--primary-color);
    color: var(--white);
}

.o-nas-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3rem;
}

.o-nas-text {
    flex: 3;
    min-width: 300px;
}

.o-nas-image {
    flex: 2;
    min-width: 300px;
    text-align: center;
}

.o-nas-image img {
    max-width: 350px;
    border-radius: 50%;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    border: 5px solid rgba(255, 255, 255, 0.3);
}

.o-nas-greeting {
    font-family: 'Dancing Script', cursive;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.o-nas .section-title {
    color: var(--white);
}

.o-nas .section-title::after {
    background-color: var(--white);
}

.o-nas p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.o-nas-highlight {
    font-size: 1.3rem;
    font-weight: 600;
    font-style: italic;
    margin: 2rem 0;
    padding-left: 1.5rem;
    border-left: 3px solid rgba(255, 255, 255, 0.5);
}

.o-nas-lista {
    margin: 1.5rem 0;
    padding-left: 0;
}

.o-nas-lista li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    list-style: none;
}

.o-nas-lista li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.7);
}

.signature-container {
    margin-top: 3rem;
    text-align: right;
}

.signature-prefix {
    margin-bottom: 0.2rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.signature-name {
    font-family: 'Dancing Script', cursive;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0;
}

.signature-title {
    font-style: italic;
    margin-bottom: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Team Section */
.zespol {
    padding: 6rem 0 4rem 0;
}

.zespol-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.zespol-osoba {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.zespol-osoba:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.zespol-photo {
    height: 220px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background-color: var(--light-bg);
}

.zespol-photo img {
    width: auto;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    object-position: center 20%;
    transition: transform 0.5s ease;
    border-radius: 4px;
}

.zespol-osoba:hover .zespol-photo img {
    transform: scale(1.05);
}

.zespol-osoba h3 {
    padding: 1rem 1rem 0.3rem;
    font-size: 1.1rem;
}

.zespol-title {
    padding: 0 1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
}

.zespol-skills, .zespol-skills-hidden {
    padding: 0 1rem;
}

.zespol-skills li, .zespol-skills-hidden li {
    margin-bottom: 0.4rem;
    position: relative;
    padding-left: 1rem;
    font-size: 0.85rem;
}

.zespol-skills li::before, .zespol-skills-hidden li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.zespol-collapse {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.5s ease;
}

.zespol-toggle {
    margin-top: auto;
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    font-weight: 600;
    text-align: left;
    padding: 0.8rem 1rem;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.85rem;
}

.zespol-toggle:hover {
    color: var(--primary-dark);
}

/* FAQ Section */
.faq {
    padding: 6rem 0;
    background-color: var(--light-bg);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--white);
    border-radius: 8px;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.2rem;
    flex: 1;
}

.faq-icon {
    margin-left: 1rem;
}

.faq-icon i {
    font-size: 1rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-icon .fa-minus {
    display: none;
}

.faq-item.active .faq-icon .fa-plus {
    display: none;
}

.faq-item.active .faq-icon .fa-minus {
    display: block;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
}

.faq-item.active .faq-answer {
    max-height: 1000px;
}

/* Contact Section */
.kontakt {
    padding: 4rem 0 6rem 0;
}

.kontakt-container {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-top: 3rem;
}

.kontakt-info {
    flex: 1;
    min-width: 300px;
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.kontakt-detail {
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

.kontakt-detail i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(30, 100, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.kontakt-form {
    flex: 2;
    min-width: 300px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: 'Open Sans', sans-serif;
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(30, 100, 255, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group.checkbox {
    display: flex;
    align-items: flex-start;
}

.form-group.checkbox input {
    width: auto;
    margin-right: 10px;
    margin-top: 5px;
}

.form-group.checkbox label {
    font-weight: normal;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Footer */
.footer {
    padding: 4rem 0;
    background-color: var(--dark-bg);
    color: var(--white);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.footer-logo, .footer-info, .footer-social {
    margin-bottom: 0;
}

.footer-logo {
    max-width: 150px;
}

.footer-info {
    flex: 1;
    min-width: 200px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin-left: 0.5rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-social i {
    font-size: 1.2rem;
}


/* Media Queries */
@media (max-width: 1100px) {
    .zespol-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .proces-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .proces-step {
        margin-bottom: 0;
    }
    
    .o-nas-content {
        flex-direction: column;
    }
    
    .o-nas-text {
        order: 2;
    }
    
    .o-nas-image {
        order: 1;
    }
}

@media (max-width: 768px) {
    .zespol-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        padding: 2rem;
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: var(--transition);
        z-index: 99;
    }
    
    .main-nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero .subtitle {
        font-size: 1.2rem;
    }
    
    .wyzwania-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .kontakt-container {
        flex-direction: column;
    }
    
    .o-nas-content {
        flex-direction: column-reverse;
    }
    
    .proces-steps {
        grid-template-columns: 1fr;
    }
    
    .zespol-grid {
        grid-template-columns: 1fr;
    }
}

/* Partners Section */
.partnerzy {
    padding: 5rem 0;
    background-color: var(--primary-color);
    color: var(--white);
}

.partnerzy .section-title::after {
    background-color: var(--white);
}

.partnerzy .section-subtitle {
    color: var(--white);
    opacity: 0.9;
}

.partnerzy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.partner-logo {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    transition: var(--transition);
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.partner-logo img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .partnerzy-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .partnerzy-grid {
        grid-template-columns: 1fr;
    }
}

