/* Reset i podstawowe style */
:root {
    --primary-color: #27ae60;
    --primary-dark: #219653;
    --primary-light: #6fcf97;
    --secondary-color: #2d9cdb;
    --secondary-dark: #2d7caf;
    --accent-color: #f2c94c;
    --dark-color: #333333;
    --text-color: #4f4f4f;
    --light-color: #f9f9f9;
    --gray-light: #e0e0e0;
    --gray: #bdbdbd;
    --danger-color: #eb5757;
    --success-color: #6fcf97;
    --font-main: 'Roboto', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
    --transition: all 0.3s ease;
    --box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 4px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--dark-color);
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Kontenery i siatki */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-color);
    max-width: 700px;
    margin: 0 auto;
}

/* Przyciski */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: white;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background-color: var(--secondary-dark);
    color: white;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Nagłówek */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: var(--box-shadow);
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    padding: 0.5rem 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
}

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

.logo img {
    width: auto;
    height: 40px;
}

.main-menu {
    display: flex;
}

.main-menu li {
    margin-left: 1.5rem;
}

.main-menu a {
    color: var(--dark-color);
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

.main-menu a:hover, .main-menu a.active {
    color: var(--primary-color);
}

.main-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.main-menu a:hover::after, .main-menu a.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--dark-color);
    transition: var(--transition);
}

/* Sekcja Hero */
.hero {
    padding: 8rem 0 5rem;
    background-color: var(--light-color);
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    max-width: 550px;
}

.hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

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

/* Sekcja O nas */
.about-section {
    padding: 5rem 0;
    background-color: white;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.about-stats {
    display: flex;
    margin-top: 2rem;
    gap: 2rem;
}

.about-stats li {
    flex: 1;
    text-align: center;
}

.stat {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-desc {
    font-size: 1rem;
    color: var(--text-color);
}

/* Sekcja Usługi */
.services-section {
    padding: 5rem 0;
    background-color: var(--light-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.service-icon img {
    width: 80px;
    height: 80px;
}

.service-card h3 {
    margin-bottom: 1rem;
}

/* Sekcja Technologie */
.tech-section {
    padding: 5rem 0;
    background-color: white;
}

.tech-tabs {
    margin-top: 3rem;
}

.tabs-nav {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--gray-light);
}

.tab-btn {
    padding: 1rem 1.5rem;
    background-color: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
    margin: 0 0.5rem;
}

.tab-btn.active, .tab-btn:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tabs-content {
    position: relative;
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease forwards;
}

.tab-content.active {
    display: flex;
    align-items: center;
    gap: 3rem;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.tech-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.tech-description {
    flex: 1;
}

.tech-benefits {
    margin-top: 1.5rem;
}

.tech-benefits li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.tech-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Sekcja Opinie */
.testimonials-section {
    padding: 5rem 0;
    background-color: var(--light-color);
}

.testimonials-slider {
    position: relative;
    margin: 0 auto;
    max-width: 800px;
    overflow: hidden;
}

.testimonial-item {
    display: none;
}

.testimonial-item.active {
    display: block;
    animation: slideIn 0.5s ease forwards;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.testimonial-content {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 2rem;
    position: relative;
}

.testimonial-content::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50px;
    width: 20px;
    height: 20px;
    background-color: white;
    transform: rotate(45deg);
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.05);
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 0;
    font-size: 1.1rem;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    padding-left: 2rem;
}

.testimonial-author h4 {
    margin-bottom: 0.25rem;
    color: var(--dark-color);
}

.testimonial-author p {
    margin-bottom: 0;
    color: var(--text-color);
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

.testimonial-prev, .testimonial-next {
    background-color: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    padding: 0.5rem;
}

.testimonial-dots {
    display: flex;
    gap: 0.5rem;
    margin: 0 1rem;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: var(--gray);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--primary-color);
}

/* Sekcja Blog */
.latest-blog-section {
    padding: 5rem 0;
    background-color: white;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.blog-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-content {
    padding: 1.5rem;
}

.blog-date {
    color: var(--text-color);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.blog-content h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.blog-content p {
    margin-bottom: 1.5rem;
}

.read-more {
    font-weight: 600;
    color: var(--primary-color);
}

.blog-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Sekcja Newsletter */
.newsletter-section {
    padding: 5rem 0;
    background-color: var(--primary-color);
    color: white;
}

.newsletter-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.newsletter-content p {
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.form-group {
    display: flex;
    margin-bottom: 1rem;
}

.form-group input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 1rem;
}

.form-group button {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    text-align: left;
}

.form-checkbox input {
    margin-right: 10px;
    margin-top: 5px;
}

.form-checkbox label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.form-checkbox a {
    color: white;
    text-decoration: underline;
}

/* Sekcja Kontakt */
.contact-section {
    padding: 5rem 0;
    background-color: var(--light-color);
}

.contact-container {
    display: flex;
    gap: 3rem;
}

.contact-info {
    flex: 1;
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.contact-social {
    margin-top: 2rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

.contact-form {
    flex: 2;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

.contact-form label {
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.contact-form input, .contact-form textarea {
    padding: 0.75rem;
    border: 1px solid var(--gray-light);
    border-radius: var(--border-radius);
    font-size: 1rem;
}

.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.thank-you-content{
    margin-top: 150px;
    margin-bottom: 150px;
}

.blog-post-header

/* Stopka */
footer {
    padding: 4rem 0 2rem;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    transition: var(--transition);
}



.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-legal {
    text-align: center;
}

.footer-legal p {
    margin-bottom: 1rem;
}

.legal-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.legal-links a {
    font-size: 0.9rem;
}

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

/* Responsywność */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
        margin-bottom: 2rem;
    }

    .about-content, .tab-content.active {
        flex-direction: column;
    }

    .about-image, .tech-image {
        order: -1;
        margin-bottom: 2rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .contact-container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .main-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: var(--transition);
    }

    .main-menu.active {
        transform: translateY(0);
    }

    .main-menu li {
        margin: 0 0 1rem 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .tabs-nav {
        flex-wrap: wrap;
    }

    .tab-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .legal-links {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 576px) {
    .about-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .form-group {
        flex-direction: column;
    }

    .form-group input, .form-group button {
        width: 100%;
        border-radius: var(--border-radius);
    }

    .form-group input {
        margin-bottom: 1rem;
    }
}
