/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* CAŁKOWITA BLOKADA POZIOMEGO SCROLLA */
html, body {
    max-width: 100vw;
    overflow-x: hidden !important;
}

* {
    max-width: 100%;
}

:root {
    --primary-blue: #0066cc;
    --secondary-blue: #004c99;
    --light-blue: #e6f2ff;
    --accent-blue: #3399ff;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --text-dark: #2c3e50;
    --text-gray: #666666;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    width: 100%;
    position: relative;
    /* Zapobiega poziomemu scrollowi na mobile */
    overscroll-behavior-x: none;
    -webkit-overflow-scrolling: touch;
}

/* Import Google Fonts for elegant headings and navbar */
@import url('https://fonts.googleapis.com/css2?family=Cormorant:wght@400&family=DM+Sans:wght@200&display=swap');

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: transparent;
    backdrop-filter: blur(0px);
    box-shadow: none;
    z-index: 1000;
    animation: slideDown 0.5s ease-out;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background: linear-gradient(135deg, rgba(0, 76, 153, 0.95) 0%, rgba(0, 102, 204, 0.95) 100%);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
    transition: padding 0.3s ease;
    gap: 2rem;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    transition: var(--transition);
}

.logo-link:hover {
    transform: scale(1.05);
}

.logo-img {
    height: 50px;
    width: auto;
    transition: var(--transition);
    filter: drop-shadow(2px 2px 6px rgba(0, 0, 0, 0.3));
}

.navbar.scrolled .logo-img {
    height: 45px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--white);
    font-family: 'DM Sans', sans-serif;
    font-weight: 200;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    transition: var(--transition);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--white);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--light-blue);
}

.nav-link:hover::after {
    width: 100%;
}

.phone-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--light-blue);
    color: var(--primary-blue);
    border: 2px solid transparent;
    padding: 10px 20px;
    border-radius: 50px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 200;
    font-size: 1rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(51, 153, 255, 0.3);
}

.phone-btn:hover {
    background: var(--accent-blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(51, 153, 255, 0.4);
}

.phone-btn:active {
    transform: translateY(0);
}

.phone-btn svg {
    animation: ring 2s ease-in-out infinite;
}

@keyframes ring {
    0%, 100% {
        transform: rotate(0deg);
    }
    10%, 30% {
        transform: rotate(-10deg);
    }
    20%, 40% {
        transform: rotate(10deg);
    }
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background: url('zdjecia/kompleksowa_opieka_advilia.jpg') center center/cover no-repeat;
    color: var(--white);
    padding: 180px 0 120px;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.85) 0%, rgba(0, 76, 153, 0.75) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-family: 'Cormorant', serif;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    opacity: 0;
    animation: fadeInHero 1.2s ease-out 0.3s forwards;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    animation: fadeInHero 1.2s ease-out 0.6s forwards;
}

.hero .btn {
    opacity: 0;
    animation: fadeInHero 1.2s ease-out 0.9s forwards;
}

@keyframes fadeInHero {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-wave {
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 100px;
    background: var(--white);
    clip-path: polygon(0 50%, 100% 0, 100% 100%, 0 100%);
    z-index: 2;
}

/* Animations */
.fade-in {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-blue);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 102, 204, 0.3);
}

.btn-secondary {
    background: var(--primary-blue);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--secondary-blue);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 102, 204, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-3px);
}

/* Offer Section */
.offer-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.offer-section .section-title {
    text-align: center;
    font-size: 2.8rem;
    color: var(--primary-blue);
    margin-bottom: 3rem;
    font-family: 'Cormorant', serif;
    font-weight: 400;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    color: var(--primary-blue);
    margin-bottom: 3rem;
    position: relative;
    font-family: 'Cormorant', serif;
    font-weight: 400;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-blue);
    margin: 20px auto 0;
    border-radius: 2px;
}

.offer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    align-items: center;
}

.offer-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 102, 204, 0.1);
    transition: var(--transition);
    opacity: 0;
}

.offer-card.visible {
    animation: fadeInCard 0.8s ease-out forwards;
}

.offer-card:nth-child(1) {
    margin-top: 60px;
}

.offer-card:nth-child(1).visible {
    animation-delay: 0.1s;
}

.offer-card:nth-child(2) {
    margin-top: -60px;
}

.offer-card:nth-child(2).visible {
    animation-delay: 0.3s;
}

.offer-card:nth-child(3) {
    margin-top: 0;
}

.offer-card:nth-child(3).visible {
    animation-delay: 0.5s;
}

@keyframes fadeInCard {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.offer-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 102, 204, 0.2);
}

.offer-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--light-blue);
    margin-bottom: 1rem;
}

.offer-card h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.offer-card p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: linear-gradient(to right, var(--light-blue) 0%, var(--white) 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content {
    text-align: left;
}

.section-label {
    display: inline-block;
    color: var(--primary-blue);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    line-height: 1.3;
}

.about-content p {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.8;
}

.typing-text {
    min-height: 150px;
}

.typing-text::after {
    content: '|';
    animation: blink 1s infinite;
    color: var(--primary-blue);
    font-weight: bold;
}

.about-image {
    position: relative;
    animation: fadeIn 1s ease-out;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 102, 204, 0.2);
    transition: var(--transition);
}

.about-image img:hover {
    transform: scale(1.03);
    box-shadow: 0 25px 80px rgba(0, 102, 204, 0.3);
}

/* News Section */
.news-section {
    padding: 80px 0;
    position: relative;
    background: var(--white);
}

.news-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://advilia.pl/wp-content/uploads/2022/02/background_aktualnosci-1.png') center center/cover no-repeat;
    background-attachment: fixed;
    opacity: 0.3;
    z-index: 0;
}

.news-section .container {
    position: relative;
    z-index: 1;
}

.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-top: -2rem;
    margin-bottom: 3rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.news-card {
    background: var(--white);
    border-radius: 15px;
    transition: var(--transition);
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 102, 204, 0.1);
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 102, 204, 0.2);
}

.news-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-content {
    padding: 2rem;
}

.news-category {
    display: inline-block;
    background: var(--primary-blue);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.news-card h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.news-date {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Testimonials Section - Sliding Cards */
.testimonials-section {
    padding: 80px 0 120px;
    position: relative;
    overflow: visible;
    background: var(--light-blue);
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 100px;
    background: url('https://advilia.pl/wp-content/uploads/2022/02/background_aktualnosci-1.png') center center/cover no-repeat;
    background-attachment: fixed;
    opacity: 0.3;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 50px));
    z-index: 0;
}

.testimonials-section .container {
    position: relative;
    z-index: 1;
}

.testimonials-track {
    display: flex;
    gap: 2rem;
    animation: slideTestimonials 30s linear infinite;
    width: fit-content;
}

@keyframes slideTestimonials {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.testimonials-track:hover {
    animation-play-state: paused;
}

.testimonial-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 102, 204, 0.15);
    min-width: 400px;
    max-width: 400px;
    position: relative;
    transition: var(--transition);
    border: 2px solid transparent;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 102, 204, 0.25);
    border-color: var(--accent-blue);
}

.quote-icon {
    font-size: 4rem;
    color: var(--light-blue);
    line-height: 1;
    margin-bottom: 1rem;
    font-family: Georgia, serif;
}

.testimonial-text {
    font-size: 1.05rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    min-height: 120px;
}

.testimonial-footer {
    border-top: 2px solid var(--light-blue);
    padding-top: 1rem;
}

.testimonial-author {
    font-weight: bold;
    color: var(--primary-blue);
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.testimonial-role {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: url('zdjecia/kontakt_advilia.jpg') center center/cover no-repeat;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.85) 0%, rgba(0, 76, 153, 0.75) 100%);
    z-index: 1;
}

.contact-section::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(135deg, var(--secondary-blue) 0%, var(--primary-blue) 100%);
    clip-path: polygon(0 50%, 100% 0, 100% 100%, 0 100%);
    z-index: 2;
}

.contact-section .container {
    position: relative;
    z-index: 2;
}

.contact-section .section-title,
.contact-section .section-subtitle {
    color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.contact-info h3 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--white);
    margin-bottom: 2rem;
    line-height: 1.8;
    opacity: 0.95;
}

.contact-box {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: 15px;
    margin-top: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transform: skewY(-2deg);
}

.contact-box > * {
    transform: skewY(2deg);
}

.contact-box h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

.contact-box p {
    color: var(--white);
    opacity: 0.9;
}

.phone-link {
    display: inline-block;
    font-size: 1.5rem;
    color: var(--white);
    font-weight: bold;
    text-decoration: none;
    margin-top: 1rem;
    transition: var(--transition);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.phone-link:hover {
    color: var(--light-blue);
    transform: scale(1.05);
}

/* Contact Form */
.contact-form {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transform: skewY(-2deg);
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.contact-form > * {
    transform: skewY(2deg);
}

.form-group {
    margin-bottom: 1.5rem;
    width: 100%;
    max-width: 100%;
}

.form-group input,
.form-group textarea {
    width: 100%;
    max-width: 100%;
    padding: 12px 20px;
    border: 2px solid transparent;
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

/* Footer - Compact Design */
.footer {
    background: linear-gradient(135deg, var(--secondary-blue) 0%, var(--primary-blue) 100%);
    color: var(--white);
    padding: 30px 0 15px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-logo-link {
    display: inline-block;
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.footer-logo-link:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.footer-logo {
    height: 45px;
    width: auto;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

.footer-about p {
    line-height: 1.6;
    opacity: 0.9;
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-section {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-section h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    white-space: nowrap;
}

.footer-section span {
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.6;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 15px;
    text-align: center;
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: linear-gradient(135deg, rgba(0, 76, 153, 0.98) 0%, rgba(0, 102, 204, 0.98) 100%);
        backdrop-filter: blur(10px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.3);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .logo-img {
        height: 40px;
    }

    .phone-btn {
        display: none;
    }

    .offer-grid {
        grid-template-columns: 1fr;
    }

    .offer-card:nth-child(1),
    .offer-card:nth-child(2),
    .offer-card:nth-child(3) {
        margin-top: 0;
    }

    .hero {
        padding: 120px 0 80px;
        min-height: 500px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image {
        order: -1;
    }

    .about-content {
        text-align: center;
    }

    .about-content h2 {
        font-size: 2rem;
    }

    .offer-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .testimonial-card {
        min-width: 300px;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero {
        min-height: 450px;
    }
}

/* Scroll Animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-animate.active {
    opacity: 1;
    transform: translateY(0);
}

/* Benefits Section - Księgowość dla firm */
.benefits-section {
    padding: 80px 0;
    background: var(--white);
    position: relative;
}

.benefits-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://advilia.pl/wp-content/uploads/2022/02/background_aktualnosci-1.png') center center/cover no-repeat;
    opacity: 0.05;
    z-index: 0;
}

.benefits-section .container {
    position: relative;
    z-index: 1;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 2rem;
}

.benefit-card {
    text-align: center;
    padding: 2rem;
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-10px);
}

.benefit-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-blue) 100%);
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.3);
}

.benefit-card h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-family: 'Cormorant', serif;
}

.benefit-card p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* Quality Header inside Services Section */
.quality-header {
    text-align: center;
    padding: 100px 0 80px 0;
    margin-bottom: 0;
    position: relative;
    z-index: 2;
}

.quality-header h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    font-family: 'Cormorant', serif;
    font-weight: 400;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    line-height: 1.3;
    color: var(--white) !important;
}

.quality-header p {
    font-size: 1.4rem;
    opacity: 0.98;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
    font-weight: 300;
    color: var(--white) !important;
}

/* Services Section */
.services-section {
    padding: 0 0 80px 0;
    background: url('https://advilia.pl/wp-content/uploads/2022/02/indywidualne_podejscie.jpg') center center/cover no-repeat;
    background-attachment: fixed;
    position: relative;
    color: var(--white);
    margin-top: 0;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.85) 0%, rgba(0, 76, 153, 0.75) 100%);
    z-index: 0;
}

.services-section .container {
    position: relative;
    z-index: 1;
}

/* Main Service Card - Full Width */
.service-card-main {
    margin-bottom: 3rem;
}

.service-icon-large {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-blue) 100%);
    border-radius: 20px;
    color: var(--white);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
    transition: var(--transition);
}

.service-card-main:hover .service-icon-large {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(0, 102, 204, 0.4);
}

.service-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

/* Small Cards Grid */
.services-grid-small {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-icon-small {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-blue) 100%);
    border-radius: 15px;
    color: var(--white);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.25);
    transition: var(--transition);
}

.service-card-small:hover .service-icon-small {
    transform: scale(1.15) rotate(-5deg);
    box-shadow: 0 12px 35px rgba(0, 102, 204, 0.35);
}

/* Service Cards */
.service-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.8) 100%);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
}

.service-card:hover::before {
    height: 8px;
}

.service-card h3 {
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 2rem;
    font-family: 'Cormorant', serif;
    font-weight: 400;
    line-height: 1.3;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.service-card-small h3 {
    font-size: 1.4rem;
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.service-list li {
    padding: 0.9rem 0 0.9rem 2.5rem;
    position: relative;
    color: var(--white);
    line-height: 1.7;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    font-size: 1.02rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.service-list li:last-child {
    border-bottom: none;
}

.service-list li:hover {
    padding-left: 3rem;
    color: var(--white);
    background: rgba(255, 255, 255, 0.15);
}

.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.service-list li::after {
    content: '✓';
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-blue);
    font-weight: bold;
    font-size: 0.85rem;
    z-index: 1;
}

.service-list li:hover::before {
    transform: translateY(-50%) scale(1.2);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.5);
}

/* Support Banner */
.support-banner {
    padding: 80px 0;
    background: linear-gradient(to right, var(--light-blue) 0%, var(--white) 100%);
}

.support-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.support-text-content {
    text-align: left;
}

.support-text-content h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-family: 'Cormorant', serif;
    font-weight: 400;
}

.support-subtitle {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.support-description {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.support-image {
    position: relative;
    animation: fadeIn 1s ease-out;
}

.support-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 102, 204, 0.2);
    transition: var(--transition);
}

.support-image img:hover {
    transform: scale(1.03);
    box-shadow: 0 25px 80px rgba(0, 102, 204, 0.3);
}

/* Why Us Section */
.why-us-section {
    padding: 80px 0;
    background: var(--white);
}

.why-us-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.why-us-image {
    position: relative;
    animation: fadeIn 1s ease-out;
}

.why-us-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.why-us-image img:hover {
    transform: scale(1.03);
    box-shadow: 0 25px 80px rgba(0, 102, 204, 0.3);
}

.why-us-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--light-gray);
    border-radius: 15px;
    transition: var(--transition);
}

.why-us-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.15);
    background: var(--light-blue);
}

.why-us-icon {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-blue) 100%);
    border-radius: 15px;
    color: var(--white);
    transition: var(--transition);
}

.why-us-card:hover .why-us-icon {
    transform: scale(1.1) rotate(-5deg);
}

.why-us-card p {
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Responsive for new sections */
@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .support-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .support-text-content {
        text-align: center;
    }
    
    .support-image {
        order: -1;
    }
    
    .why-us-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .quality-header h2 {
        font-size: 2rem;
    }
    
    .quality-header p {
        font-size: 1.1rem;
    }
    
    .support-text-content h2 {
        font-size: 2rem;
    }
}
/* Responsive for Services Section - New Layout */
@media (max-width: 768px) {
    .service-columns {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .services-grid-small {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    .service-card h3 {
        font-size: 1.5rem;
    }
    
    .service-card-small h3 {
        min-height: auto;
        font-size: 1.3rem;
    }
    
    .service-icon-large {
        width: 70px;
        height: 70px;
    }
    
    .service-icon-small {
        width: 50px;
        height: 50px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .service-columns {
        gap: 1.5rem;
    }
    
    .services-grid-small {
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 2.5rem;
    }
}

/* Language Switcher Styles */
.language-switcher {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-left: 1rem;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 6px 12px;
    border-radius: 20px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.lang-btn.active {
    background: var(--white);
    color: var(--primary-blue);
    border-color: var(--white);
    font-weight: 600;
}

.lang-btn.active:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.4);
}

/* Mobile language switcher */
@media (max-width: 768px) {
    .language-switcher {
        position: absolute;
        top: 15px;
        right: 70px;
        gap: 0.3rem;
    }
    
    .lang-btn {
        padding: 4px 8px;
        font-size: 0.8rem;
    }
}