:root {
    --color-primary: #150055;
    --color-tertiary: #4b6bb1;
    --background-color-primary: #fafafa;
    --background-color-secondary: #5070cc;
    --color-font-primary: #000;
    --color-font-secondary: #fff;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Ysabeau Infant", serif;
    font-size: 1rem;
    background-color: var(--background-color-primary);
}

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

p {
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    padding: 0;
    margin: 0;
}

li {
    text-decoration: none;
    list-style: none;
}

ul li, ol li {
    position: relative;
    padding-left: 30px; /* Odstęp na kropeczkę */
}

ul.styled li::before, ol.styled li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px; /* Rozmiar kropki */
    height: 12px;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%230097D1"><circle cx="12" cy="12" r="5"/></svg>'); /* Błękitna, wypełniona kropka */
    background-size: cover;
}

ol {
    padding: 0;
}

.underline {
    text-decoration: underline;
}

.header {
    background-image: url("../test/xd.svg");
    /*background-color: #4b6bb1;*/
    display: flex;
    padding: 1% 0;
    justify-content: space-around;
    align-items: center;
}

.icon {
    width: 1.5rem;
    height: 1.5rem;
}

.header-wrapper img {
    width: 175px;
}

.nav ol {
    display: flex;
    align-items: center;
    margin: 11px;
}

.nav-main-wrapper {
    padding: 0 8% 0 2%;
    display: flex;
    align-items: center;
    gap: 100px;
    border-radius: 11px;
    border: 1px solid #e6d9d9;
    background-color: #fafafa;
}

.nav ol .active-link {
    text-decoration: underline;
}

.nav-main-wrapper ol li:not(:first-child) {
    padding-left: 4em;
}

@media (max-width: 1100px) {
    .header {
        justify-content: space-between;
        padding: 14px 5%;
        position: relative;
    }

    .nav {
        display: none;
    }

    .appointment-wrapper {
        display: none;
    }

    .hamburger-menu {
        display: block;
    }

    .menu-icon1 {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 48px;
        height: 48px;
        margin-right: -0.5rem;
        padding-bottom: 0;
        padding-right: 0;
        display: flex;
        cursor: pointer;
    }

    .menu-icon1_line-top {
        padding-bottom: 0;
        padding-right: 0;
        background-color: #0b0ba4;
        width: 24px;
        height: 3px;
    }

    .menu-icon1_line-middle {
        background-color: #0b0ba4;
        justify-content: center;
        align-items: center;
        width: 24px;
        height: 3px;
        margin-top: 6px;
        margin-bottom: 6px;
        padding-bottom: 0;
        padding-right: 0;
        display: flex;
    }

    .menu-icon1_line-bottom {
        background-color: #0b0ba4;
        width: 24px;
        height: 3px;
        padding-bottom: 0;
        padding-right: 0;
    }

    .nav.active .appointment-wrapper {
        display: block;
    }

    .nav.active {
        display: block;
        position: absolute;;
        top: 100%;
        left: 0;
        border-radius: 0;
        width: 100%;
        z-index: 100;
        box-sizing: border-box;
        flex-direction: column;
        padding: 3% 0;
    }

    .nav ol {
        flex-direction: column;;
    }

    .nav.active .social-icons {
        justify-content: center;
    }

    .nav.active ol li {
        font-size: 1.3rem;
        padding: 1% 0;
    }

    .nav.active .icon {
        height: 1.8rem;
        width: 1.8rem;
    }
}

.scrollToContact {
    cursor: pointer;
}

.appointment-button {
    background: linear-gradient(135deg, #0074D9, #0056a3);
    color: white;
    font-size: 16px;
    font-weight: bold;
    padding: 9px 27px;
    border: none;
    border-radius: 17px;
    box-shadow: 0 4px 6px rgb(0 0 0 / 10%);
    transition: all 0.3s ease;
    cursor: pointer;
}

.appointment-button:hover {
    background-color: var(--color-tertiary);
}

.footer-wrapper {
    background-image: url("../test/xd.svg");
}

.footer-content {
    padding: 1.5rem 1rem;
    margin: auto;
}

.socials {
    display: flex;
    flex-direction: column; /* Układa elementy w kolumnie */
    align-items: center; /* Wyrównanie w poziomie (środkowanie) */
    justify-content: center; /* Wyrównanie w pionie (środkowanie) */
    text-align: center; /* Wyrównanie tekstu w linku */
    gap: 1px; /* Odstęp między elementami */
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-center {
    display: flex;
    justify-content: space-between;
}

.footer-nav {
    display: flex;
    justify-content: center;
}

.footer-nav li a {
    font-size: 0.8rem;
    padding: 0.5rem 1.5rem;
    transition: 0.8s;
}

@media (max-width: 768px) {
    .footer-nav ol {
        flex-direction: column;
    }
}

.footer-content h6 {
    font-weight: bolder;
    padding: 0 0 0.4rem 0;
}

.contact span, .address span {
    display: block;
}

/* Mapa na pełną szerokość */
.contact-map iframe {
    width: 100%;
    height: 450px;
    border: none;
    display: block;
}

.footer-boxes {
    display: flex;
    flex-direction: column;
}

.footer-boxes section:not(:last-child) {
    margin-bottom: 2rem;
}


.footer-bottom {

}

.footer-bottom::before {
    content: '';
    display: block;
    width: 25%; /* Pasek ma 30% szerokości kontenera */
    height: 1px; /* Wysokość paska */
    margin: 1rem auto;
    background: linear-gradient(to right, #e1e4e8, #333, #e1e4e8); /* Subtelny gradient */
    /*margin: 20px 0; !* Odstęp od góry i dołu *!*/
}

.footer-policy {
    gap: 1.5rem;
    justify-content: center;
    display: flex;
}

.footer-policy-text {
    font-size: 0.85em;
}

.footer-policy-link {
    font-size: 0.8em;
    text-decoration: underline;
}

header .social-icons img {
    width: 20px;
    height: 20px;
    filter: grayscale(100%);
    transition: filter 0.3s;
}

header .social-icons img:hover {
    filter: none;
}


main {
    /*text-align: center;*/
    /*background-color: #DFDBE5;*/
}

.section h2 {
    text-align: center;
    color: var(--color-primary);
    font-size: 1.6rem;
}

.section h3 {
    color: var(--color-tertiary);
    font-size: 1.4rem;
    font-weight: 600;
}

.section h4 {
    color: var(--color-tertiary);
    font-size: 1.1rem;
}

.section .section-description {
    font-size: 1.1rem;
}

main h2 {
    color: #001f3f;
    margin-bottom: 20px;
}

main .services {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

main .service {
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

main .service h3 {
    text-align: center;
    font-size: 1.13rem;
    padding: 18px 0;
}

.contact {
    display: flex;
}

.contact-box {
    padding: 0 10%;
    font-weight: 700;
}

.contact-boxes {
    display: flex;
    padding: 3% 10%;
    width: 100%;
    justify-content: center;
}

@media (max-width: 815px) {
    .contact-boxes {
        flex-direction: column;;
    }

    .contact-box {
        padding: 25px 0;
    }

    .contact-box:not(:last-child) {
        border-bottom: 1px solid #ddd;
        border-right: none !important;;
    }
}

.contact-boxes .box {
    text-align: left;
    padding: 25px;
}

.contact-boxes h6 {
    color: var(--background-color-secondary);
    font-size: 1.2rem;
}

.contact-box:not(:last-child) {
    border-right: 1px solid #ddd;
}

.contact-boxes h6:after {
    content: '';
    display: block;
    width: 20%;
    height: 2px;
    background-color: var(--background-color-secondary);
    opacity: 0.8;
    margin-top: 4px;
    margin-bottom: 8px;
}

.contact-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.contact-row {
    display: flex;
    align-items: center;
    flex-direction: row;
}

.contact-row:not(:first-child) {
    margin-top: 10px;
}

.contact-row a {
    margin-left: 10px;
}

/* Sekcja Cennik */
.pricing {
    padding: 60px 20px;
    background-color: var(--background-color-primary);
    text-align: center;
}

.pricing h2 {
    font-size: 2rem;
    /*color: var(--color-tertiary);*/
    margin-bottom: 10px;
    border-bottom: 2px solid var(--background-color-secondary);
    display: inline-block;
    padding-bottom: 5px;
}

.pricing p {
    font-size: 1.2rem;
    color: var(--color-font-primary);
    margin-bottom: 30px;
}

.pricing-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.pricing-card {
    background-color: var(--background-color-secondary);
    color: var(--color-font-secondary);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--color-font-secondary);
}

.pricing-card p {
    font-size: 1rem;
    margin: 5px 0;
}

.pricing-card .price {
    font-size: 1.8rem;
    font-weight: bold;
    margin-top: 10px;
    color: var(--background-color-primary);
}

/* Sekcja Cennik */
.price-list {
    background: #f9f9f9;
    padding: 60px 20px;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

main section {
    padding: 60px 20px;
}

.contact-section {
    padding: 0 0 0 0;
}

.contact {
    background-color: #4b6bb1;
    color: #fafafa;
}

.contact-box h6 {
    color: #fafafa;
}

.contact-box h6::after {
    background-color: #fafafa;
}

.contact-box a {
    color: #fafafa;
}

main section {
    border-top: 1px solid #e0e0e0;
}

main section:not(:first-child) {
    border-bottom: 1px solid #e0e0e0;
}

.price-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header h2 {
    /*color: var(--color-tertiary);*/
    text-align: center;
    margin-bottom: 10px;
    position: relative;
}

.section-header p {
    color: var(--color-font-primary);
    text-align: center;
    margin-bottom: 40px;
}

.price-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    padding: 20px 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
    font-size: 1.1rem;
}

.price-row:hover {
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.price-service h3 {
    margin-bottom: 5px;
}

.price-cost {
    color: var(--background-color-secondary);
    font-weight: 600;
}

/* Sekcja Cennik */
.price-list {
    background: #f9f9f9;
    padding: 60px 20px;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.price-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header h2 {
    text-align: center;
    margin-bottom: 10px;
    position: relative;
}

/* Grupy cennika */
.price-group {
    margin-bottom: 40px;
}

.group-title {
    border-left: 4px solid var(--background-color-secondary);
    padding-left: 10px;
    margin-bottom: 20px;
}

/* Wiersze cennika */
.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    padding: 20px 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.price-row:hover {
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.price-service h4 {
    margin-bottom: 5px;
}

.price-service p {
    font-size: 0.9rem;
    color: var(--color-font-primary);
    margin: 0;
}

.price-group .price-row {
    margin-bottom: 3px;
}

/* Animacje */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Sekcja FAQ */
.faq-section {
    background-color: #f9f9f9;
    text-align: center;
}

.section h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--color-primary);
    margin: 10px auto;
    border-radius: 4px;
}

.faq-item {
    max-width: 800px;
    margin: 0 auto 20px;
    text-align: left;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background-color: #fff;
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    font-size: 1.1rem;
    color: #150055;
    background: #fff;
    cursor: pointer;
    font-weight: 600;
}

.faq-toggle {
    font-size: 20px;
    color: #150055;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    background: #f7f7f7;
    color: #555;
    font-size: 16px;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer p:first-child {
    margin-top: 0;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer p {
    margin: 15px 0;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 15px 20px;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}


/* Ogólny styl sekcji */
.about-section {
    background-color: #f8f9fc; /* Jasnoszare tło */
    padding: 50px 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Layout główny */
.about-main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.about-text {
    flex: 1;
    font-size: 16px;
    color: #333333;
    line-height: 1.8;
}

.about-image {
    flex: 0.5;
    text-align: center;
    align-self: center;
}

.about-image img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Karate */
.about-karate {
    margin-top: 40px;
}

.about-karate h3 {
    font-weight: bold;
    margin-bottom: 20px;
}

.about-karate p {
    font-size: 1.1rem;
    color: #333333;
    margin-bottom: 20px;
    line-height: 1.8;
}

/* Kursy */
.courses {
    margin-top: 40px;
}

.courses h3 {
    font-weight: bold;
    margin-bottom: 20px;
}

.courses ul {
    list-style: none;
    padding: 0;
}

.courses ul li {
    font-size: 16px;
    color: #333333;
    padding: 5px 0;
    border-bottom: 1px solid #ddd;
}

.courses ul li:last-child {
    border-bottom: none;
}

/* Dostosowanie dla mniejszych ekranów */
@media (max-width: 768px) {
    .about-main {
        flex-direction: column;
    }

    .about-text {
        text-align: center;
    }

    .about-image img {
        margin: 0 auto;
    }
}


.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 20px;
}

.gallery-item {
    position: relative;
    width: 230px;
    height: 230px;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Skalowanie miniaturki */
    transition: 0.3s ease-in-out;
}

/* OVERLAY Z LUPĄ */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease-in-out;
}

.overlay span {
    font-size: 2rem;
    color: white;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

/* MODAL */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.modal-content {
    max-width: 90%;
    max-height: 80%;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(255, 255, 255, 0.2);
}

.modal.open {
    display: flex;
}

.close {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 2rem;
    color: white;
    cursor: pointer;
}

/* PRZYCISKI NEXT & PREV */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    cursor: pointer;
    padding: 10px 15px;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.prev:hover, .next:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* Efekt przy najechaniu */
.gallery-item:hover img {
    filter: brightness(60%);
    transform: scale(1.05);
}


.slider {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    opacity: 0;
    animation: fadeIn 2s forwards;
}

@media (max-width: 600px) {
    .slider {
        height: 800px;
    }
}

/* Animacja fade-in */
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Styl dla każdego slajdu */
.hero {
    position: absolute;
    width: 100%;
    height: 100%;
    background-position: center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(100%);
    transition: transform 1s ease-in-out, opacity 0.8s ease-in-out;
}

/* Aktywne slajdy */
.hero.active {
    opacity: 1;
    transform: translateY(0);
    z-index: 2;
}

.hero.previous {
    z-index: 1;
}

/* Stylowanie zawartości na slajdzie */
.hero-content {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.5s ease, transform 1.5s ease;
    text-align: center;
    color: #fff;
    padding: 30px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

/* Opóźniona animacja dla każdego z elementów */
.hero.active .hero-content {
    opacity: 1;
    transform: translateY(0);
}

/* Stylowanie motto */
.motto {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 1.5s ease;
}

.hero h2 {
    /*color: #d2e0ee;*/
    color: #FAFAFA;
}

/* Stylowanie opisu */
.motto-description {
    font-weight: 500;
    font-size: 1.2rem;
    margin-bottom: 20px;
    line-height: 1.6;
    opacity: 0;
    transition: opacity 1.5s ease;
    text-shadow: 1px 3px 5px rgb(0 0 0 / 80%);
    background-color: rgb(14 39 88 / 30%);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

@keyframes fadeInDelayed {
    0% {
        opacity: 0;
        /*transform: translateY(-1000px); !* Start poniżej *!*/
    }
    100% {
        opacity: 1;
        /*transform: translateY(0); !* Końcowa pozycja *!*/
    }
}

/* Stylowanie opóźnionego wyświetlania motto */
.hero.active .motto {
    opacity: 0;
    animation: fadeInDelayed 1s ease-in-out forwards;
    animation-delay: 1s;
    text-shadow: 1px 3px 5px rgb(0 0 0 / 80%);
}

/* Stylowanie opóźnionego wyświetlania opisu */
.hero.active .motto-description {
    opacity: 0;
    animation: fadeInDelayed 1s ease-in-out forwards;
    animation-delay: 2s;
}

/* Stylowanie opóźnionego wyświetlania kontaktu */
.hero.active .contact-info {
    opacity: 0;
    animation: fadeInDelayed 1s ease-in-out forwards;
    animation-delay: 2.5s;
}

/* Stylowanie opóźnionego wyświetlania przycisków */
.hero.active .buttons {
    opacity: 0;
    animation: fadeInDelayed 1.5s ease-in-out forwards;
    animation-delay: 3s;
}

/* Stylowanie kontaktu */
.contact-info {
    font-size: 1rem;
    margin-bottom: 30px;
    opacity: 0;
    transition: opacity 1.5s ease;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
}

/* Stylowanie przycisków */
.buttons {
    display: flex;
    justify-content: center;
    opacity: 0;
    transition: opacity 1.5s ease;
}

.buttons a {
    text-decoration: none;
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: bold;
    color: #fff;
    border-radius: 5px;
    margin: 0 10px;
    transition: background-color 0.3s ease;
}

.left-btn {
    background-color: rgba(244, 180, 0, 1);
}

.right-btn {
    background-color: rgba(14, 47, 93, 1);
}

.right-btn:hover {
    background-color: rgba(14, 47, 93, 1);
}

.left-btn:hover {
    background-color: rgba(244, 180, 0, 1);
}

/* Stylizacja dla nawigacji */
.slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
}

/* Kropki nawigacyjne */
.nav-dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5); /* Jasna, subtelna biel */
    border-radius: 50%; /* Kształt okrągły */
    margin: 0 8px;
    cursor: pointer;
}

.nav-dot.active {
    background-color: rgb(0 108 202);
}

.nav-dot:hover {
    background-color: #f4b400;
    opacity: 1;
}

.slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    z-index: 10;
}


.services {
    display: flex;
}

.service-item {
    width: 40%;
}

@media (max-width: 940px) {
    .service-item {
        width: 90%;
    }
}

/* Sekcja o mnie */
.about-section {
    display: flex;
    justify-content: center;
    padding: 50px 20px;
    background: #f8f8f8;
    position: relative;
    overflow: hidden;
}

/* Główna siatka */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 40px;
    max-width: 1200px;
    width: 100%;
    align-items: start; /* Wszystko zaczyna się od góry */
    position: relative;
}

/* Kolumna 2 - Tekst */
.about-text p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #333;
}

/* Kolumna 3 - Wyrównanie do góry */
.about-extra {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    line-height: 1.6;
}

/* Wrapper dla przycisku */
.about-btn-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    margin-top: 20px;
}

/* Okrągły Przycisk */
.about-btn {
    width: 100%;
    height: 100%;
    background: #0073e6;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 115, 230, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-btn:hover {
    background: #005bb5;
    transform: scale(1.05);
}

/* Okrągłe tło za przyciskiem */
.about-btn-wrapper::before {
    content: "";
    position: absolute;
    top: -20px;
    left: -20px;
    width: 160px;
    height: 160px;
    background: rgba(0, 115, 230, 0.1);
    border-radius: 50%;
    z-index: -1;
}

/* 📌 DODANE: Duży element koła w tle */
.about-extra::before {
    content: "";
    background: red;
    position: absolute;
    top: -30px;
    left: -50px;
    width: 300px;
    height: 300px;
    background: rgba(0, 115, 230, 0.15);
    border-radius: 50%;
}

/* 📱 RESPONSYWNOŚĆ */
@media (max-width: 900px) {
    .about-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-text,
    .about-extra {
        padding: 0 20px;
    }

    .about-btn-wrapper {
        margin: 20px auto 0;
    }

    /* Tło geometryczne na mobilkach */
    .about-btn-wrapper::before {
        width: 140px;
        height: 140px;
        top: -10px;
        left: -10px;
    }

    /* 📌 Zmniejszenie dużego koła na mobilkach */
    .about-extra::before {
        width: 200px;
        height: 200px;
        top: -20px;
        left: -30px;
    }
}

.service-item-icon {
    text-align: center;
}
.service-item-icon img {
    width: 100%;
    max-width: 180px;
}

.service-item p {
    padding: 0 33px;
}