/* Globalne resetowanie stylów i podstawowe ustawienia */
:root {
    --primary-color: #007BFF;
    --secondary-color: #28A745;
    --dark-color: #212529;
    --light-color: #fdfdff;
    --gray-color: #6c757d;
    --border-color: #e9ecef;
    --box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease-in-out;
    --gradient-primary: linear-gradient(135deg, #007BFF 0%, #0056b3 100%);
    --gradient-secondary: linear-gradient(135deg, #28A745 0%, #1e7e34 100%);
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Roboto', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-secondary);
    color: var(--dark-color);
    line-height: 1.7;
    overflow-x: hidden;
    background-color: var(--light-color);
}

body.loading {
    opacity: 0;
    transition: opacity 0.5s ease;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    margin-bottom: 1.25rem;
    line-height: 1.3;
}

h1 { font-size: 2.5rem; }

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

a:hover {
    color: #1a46c2;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: var(--box-shadow);
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    z-index: -1;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
}

.btn:hover:before {
    width: 100%;
}

.btn-submit {
    width: 100%;
    background: var(--gradient-secondary);
    box-shadow: 0 6px 15px rgba(40, 167, 69, 0.2);
}

.btn-submit:hover {
    background: var(--gradient-secondary);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
}

.section {
    padding: 120px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
    font-size: 38px;
    color: var(--dark-color);
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50px;
}

.section-title span {
    color: var(--primary-color);
}

.bg-light {
    background-color: var(--light-color);
    position: relative;
}

.bg-light::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(46, 91, 220, 0.08) 0%, rgba(46, 91, 220, 0) 70%);
    border-radius: 50%;
    top: 50px;
    left: 50px;
    z-index: 0;
}

.bg-light::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(52, 199, 89, 0.08) 0%, rgba(52, 199, 89, 0) 70%);
    border-radius: 50%;
    bottom: 50px;
    right: 50px;
    z-index: 0;
}

/* Header */
header {
    position: fixed;
    width: 100%;
    z-index: 1000;
    padding: 25px 0;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

header.scrolled {
    padding: 15px 0;
    background-color: rgba(255, 255, 255, 0.98);
}

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

.logo h1 {
    margin: 0;
    font-size: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.logo h1:before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 30px;
    margin-right: 10px;
    background: var(--gradient-primary);
    border-radius: 5px;
}

.menu {
    display: flex;
    list-style: none;
}

.menu li {
    margin-left: 35px;
    position: relative;
}

.menu li:first-child {
    margin-left: 0;
}

.menu li a {
    color: var(--dark-color);
    font-weight: 600;
    position: relative;
    padding: 8px 0;
    transition: var(--transition);
}

.menu li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    bottom: -5px;
    left: 0;
    transition: var(--transition);
    border-radius: 50px;
}

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

.menu li a:hover::after {
    width: 100%;
}

/* Menu toggle burger icon */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
    position: relative;
    margin-right: 5px;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--dark-color);
    border-radius: 3px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

/* Hero Section Modernization */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/geodeciBig.png');
    background-size: cover;
    background-position: center center;
    background-attachment: scroll;
    color: white;
    padding: 180px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1) 0%, rgba(0, 86, 179, 0.2) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    animation: heroFadeIn 1s ease-out forwards;
}

@keyframes heroFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
}

.hero h1 span {
    color: var(--secondary-color);
    display: block;
    font-size: 2.5rem;
    margin-top: 10px;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255,255,255,0.9);
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

.hero .btn {
    padding: 18px 45px;
    font-size: 1rem;
    background: var(--gradient-secondary);
    border: 2px solid var(--secondary-color);
}

.hero .btn:hover {
    background: var(--secondary-color);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(40, 167, 69, 0.4);
}

/* Usunięcie starego scroll-down jeśli nie pasuje do nowego designu */
.scroll-down {
    display: none;
}

/* O nas */
.about-content {
    display: flex;
    gap: 60px;
    align-items: center;
    position: relative;
}

.about-text {
    flex: 1;
    position: relative;
    z-index: 1;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 16px;
    color: #555;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    position: relative;
    z-index: 1;
    transform: perspective(1000px) rotateY(-5deg);
    transition: var(--transition);
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(46, 91, 220, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    max-height: 400px;
}

.about-image:hover {
    transform: perspective(1000px) rotateY(0);
}

.about-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    opacity: 0.1;
    border-radius: 50%;
    z-index: -1;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 50px;
    height: 50px;
    background: var(--gradient-secondary);
    opacity: 0.1;
    border-radius: 10px;
    z-index: -1;
}

.about-features {
    list-style: none;
    margin-top: 30px;
}

.about-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.about-features li:hover {
    transform: translateX(5px);
}

.about-features i {
    color: var(--secondary-color);
    margin-right: 10px;
    font-size: 18px;
}

/* Usługi */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.service-card {
    background-color: #ffffff;
    padding: 35px 30px;
    border-radius: 12px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
    border: 1px solid var(--border-color);
}

.service-card::before {
    content: none;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.service-icon {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    display: inline-block;
    transition: var(--transition);
}

.service-icon::after {
    content: none;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    color: var(--secondary-color);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.service-card:hover h3 {
    color: var(--primary-color);
}

.service-card p {
    font-size: 0.95rem;
    color: var(--gray-color);
    line-height: 1.6;
}

.service-card ul {
    list-style: none;
    padding-left: 0;
    margin-top: 15px;
    text-align: left;
}

.service-card ul li {
    font-size: 0.9rem;
    color: var(--gray-color);
    line-height: 1.6;
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.service-card ul li::before {
    content: '\f058';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 5px;
    color: var(--secondary-color);
    font-size: 0.8rem;
}

/* Realizacje */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
}

.project-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    height: 300px;
    cursor: pointer;
}

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

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 30px;
    color: white;
    transition: var(--transition);
    transform: translateY(20px);
    opacity: 0;
}

.project-card:hover img {
    transform: scale(1.1);
    filter: brightness(0.7);
}

.project-card:hover .project-info {
    transform: translateY(0);
    opacity: 1;
}

.project-info h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.project-info p {
    font-size: 15px;
    opacity: 0.9;
}

/* Dlaczego my */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 2;
}

.feature-card {
    text-align: center;
    padding: 40px 25px;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-card::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease;
    z-index: -1;
}

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

.feature-card:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(52, 199, 89, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: var(--transition);
    transform: rotate(45deg);
}

.feature-icon i {
    font-size: 32px;
    color: var(--secondary-color);
    transform: rotate(-45deg);
}

.feature-card:hover .feature-icon {
    background-color: rgba(52, 199, 89, 0.15);
    border-radius: 50%;
    transform: rotate(0deg);
}

.feature-card:hover .feature-icon i {
    transform: rotate(0deg);
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 20px;
}

.feature-card p {
    color: #666;
    font-size: 15px;
}

/* Kontakt */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info ul {
    list-style: none;
    margin-bottom: 30px;
}

.contact-info ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.contact-info ul li i {
    margin-right: 10px;
    color: var(--primary-color);
    min-width: 20px;
    margin-top: 5px;
}

.social-media {
    display: flex;
    gap: 15px;
}

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

.social-icon:hover {
    background-color: #1a46c2;
    transform: translateY(-3px);
}

.contact-form {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(46, 91, 220, 0.2);
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

#form-status {
    margin-top: 20px;
    text-align: center;
    font-weight: 600;
}

/* Styl dla zgody RODO */
.rgpd-consent {
    display: flex;
    align-items: flex-start; /* Wyrównanie do góry, jeśli tekst jest wieloliniowy */
    margin-bottom: 20px;
}

.rgpd-consent input[type="checkbox"] {
    margin-top: 5px; /* Lekkie przesunięcie checkboxa w dół */
    margin-right: 10px;
    width: auto; /* Reset szerokości z globalnych stylów input */
}

.rgpd-consent label {
    font-size: 0.9rem;
    color: var(--gray-color);
    line-height: 1.5;
}

.rgpd-consent label a {
    color: var(--primary-color);
    text-decoration: underline;
}

.rgpd-consent label a:hover {
    color: #0056b3;
}

/* Mapa */
.map-section {
    padding: 0;
}

.map-container {
    width: 100%;
    height: 450px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Stopka */
footer {
    background-color: #1a1a1a;
    color: white;
    padding: 80px 0 20px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.footer-logo h2 {
    color: white;
    margin-bottom: 15px;
    font-size: 28px;
}

.footer-logo p {
    color: #aaa;
    margin-bottom: 20px;
}

.footer-links h3 {
    color: white;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.footer-links h3::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background: var(--gradient-primary);
    bottom: -10px;
    left: 0;
    border-radius: 50px;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: #aaa;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
}

.footer-links ul li a:before {
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 10px;
    color: var(--primary-color);
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: white;
    padding-left: 5px;
}

.footer-links ul li a:hover:before {
    opacity: 1;
    transform: translateX(0);
}

.footer-contact h3 {
    color: white;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.footer-contact h3::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background: var(--gradient-primary);
    bottom: -10px;
    left: 0;
    border-radius: 50px;
}

.footer-contact p {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    color: #aaa;
}

.footer-contact p i {
    margin-right: 10px;
    color: var(--primary-color);
    min-width: 20px;
    margin-top: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: #888;
    font-size: 14px;
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.social-footer {
    display: flex;
    gap: 15px;
}

/* Responsywność */
@media screen and (max-width: 991px) {
    .section {
        padding: 100px 0;
    }

    .section-title {
        font-size: 34px;
    }

    .about-content {
        flex-direction: column;
    }

    .about-image {
        margin-top: 40px;
        transform: perspective(1000px) rotateY(0);
    }

    .hero h1 {
        font-size: 44px;
    }

    .hero p {
        font-size: 20px;
    }
    
    .menu {
        background-color: transparent;
        box-shadow: none;
        padding: 0;
    }
}

@media screen and (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .menu {
        position: fixed;
        right: -100%;
        top: 0;
        width: 100%;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: center;
        padding: 80px 40px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .menu.active {
        right: 0;
    }

    .menu li {
        margin: 15px 0;
        margin-left: 0;
        text-align: center;
    }
    
    .menu li a {
        font-size: 18px;
        padding: 10px;
        display: inline-block;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
    }
    
    .hero {
        background-attachment: scroll;
        background-position: center center;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 80px 0;
    }

    .scroll-down {
        display: none;
    }
    
    .menu-toggle span.active:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .menu-toggle span.active:nth-child(2) {
        opacity: 0;
        transform: translateX(-20px);
    }
    
    .menu-toggle span.active:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

@media screen and (max-width: 576px) {
    .section-title {
        font-size: 30px;
    }

    .hero {
        height: 85vh;
    }

    .hero h1 {
        font-size: 30px;
    }

    .hero p {
        font-size: 16px;
    }

    .services-grid,
    .projects-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }
}

/* Sekcja z licznikami */
.counter-section {
    position: relative;
    background: var(--gradient-primary);
    color: white;
    padding: 100px 0;
    text-align: center;
    overflow: hidden;
}

.counter-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(rgba(255, 255, 255, 0.1) 10%, transparent 60%);
    animation: rotate 30s linear infinite;
    z-index: 1;
}

.counter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

.counter-item {
    text-align: center;
    position: relative;
}

.counter-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
}

.counter-icon i {
    background: linear-gradient(135deg, #fff 0%, #ddd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    z-index: 1;
}

.counter-icon::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.counter-number {
    font-size: 48px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 10px;
    color: white;
}

.counter-text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Sekcja z opiniami klientów */
.testimonials-section {
    position: relative;
    overflow: hidden;
}

.testimonial-slider {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.testimonial-container {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.testimonial-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, transform 0.5s ease;
    transform: translateX(50px);
}

.testimonial-item.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.testimonial-content {
    background-color: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
}

.testimonial-text {
    position: relative;
    padding-left: 30px;
    margin-bottom: 20px;
}

.testimonial-text i {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 24px;
    color: var(--primary-color);
    opacity: 0.3;
}

.testimonial-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-info h4 {
    margin-bottom: 5px;
    font-size: 18px;
    color: var(--dark-color);
}

.author-info p {
    font-size: 14px;
    color: var(--gray-color);
}

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

.testimonial-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

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

.testimonial-dots {
    display: flex;
    justify-content: center;
    margin: 0 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition);
}

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

/* Dodatkowe style dla urządzeń mobilnych */
@media screen and (max-width: 768px) {
    .testimonial-controls {
        margin-top: 20px;
        justify-content: center;
    }
    
    .testimonial-btn {
        width: 48px;
        height: 48px;
        font-size: 18px;
    }
    
    .testimonial-dots {
        margin: 0 10px;
    }
    
    .dot {
        width: 14px;
        height: 14px;
        margin: 0 4px;
    }
}

/* Sekcja wezwania do działania */
.cta-section {
    position: relative;
    background: var(--gradient-primary);
    color: white;
    padding: 100px 0;
    text-align: center;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(rgba(255, 255, 255, 0.1) 10%, transparent 60%);
    animation: rotate 30s linear infinite;
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-content .btn {
    margin-top: 10px;
    padding: 15px 35px;
    font-size: 16px;
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
    background: white;
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    transform: scale(1.1);
}

/* Dodatkowe responsywne style dla nowych sekcji */
@media screen and (max-width: 768px) {
    .counter-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonial-container {
        height: 350px;
    }
    
    .cta-content h2 {
        font-size: 36px;
    }
}

@media screen and (max-width: 576px) {
    .counter-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .counter-number {
        font-size: 40px;
    }
    
    .testimonial-container {
        height: 400px;
    }
    
    .testimonial-content {
        padding: 30px 20px;
    }
    
    .cta-content h2 {
        font-size: 30px;
    }
    
    .cta-content p {
        font-size: 16px;
    }
}

.contact-btn {
    background: var(--gradient-primary);
    color: white !important;
    padding: 10px 20px !important;
    border-radius: 50px;
    margin-left: 20px;
    box-shadow: 0 4px 10px rgba(46, 91, 220, 0.3);
    transition: all 0.3s ease;
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(46, 91, 220, 0.4);
}

.contact-btn::after {
    display: none !important;
}

/* Animacje */
@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}