* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    color: var(--txt);
    --bg: rgba(255, 255, 255, 0.1);
    --green: rgba(108, 190, 185);
    --hover: rgba(0, 255, 170);
    --footerborder: #d2d2d7;
    --dgreen: #2C6A67;
    --txt: #333;
    font-family: "Raleway", "Helvetica", "Arial", sans-serif;
}

body {
    background-color: var(--bg);
}

section {
    box-sizing: inherit;
}

.main {
    background: linear-gradient(to right, rgb(255, 255, 255, 1) 0%, rgba(108, 190, 185, 0) 10%),
        /* Gradient */
        url('img/BannePC.jpg');
    background-size: 80%;
    background-repeat: no-repeat;
    background-position: 190% 20%;
    position: relative;
    width: 100%;
    height: 100vh;
    z-index: 0;
}

.main::before {

    content: '';
    opacity: .55;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

@media (max-width: 1024px) {
    .main {
        background: url('img/BannePC.jpg');
        background-size: cover;
        background-position: center center;
    }

    .main::before {
        background: var(--green);
    }
}

/*Header*/

.logo img {
    height: 50px;
}

.navbar {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    width: 100%;
    height: 60px;
    top: 0;
    position: fixed;
    display: flex;
    justify-content: center;
    z-index: 10;
}

.nav {
    box-sizing: border-box;
    max-width: 1480px;
    width: 100%;
    height: 60px;
    display: flex;
    margin-bottom: 20px;
    padding: 0 20px 0 20px;
    align-items: center;
    justify-content: space-between;
    z-index: 10;
}

.navbar_container {
    width: 70%;
    display: flex;
    justify-content: space-between;
}

.links {
    display: flex;
}

.logo a {
    cursor: pointer;
}

.navbar_item {
    position: relative;
}


.navbar_item a {
    text-decoration: none;
    color: var(--txt);
    font-size: 1rem;
    font-weight: 500;
    padding: 1vw;
    display: inline-block;
    position: relative;
    overflow: hidden;
    transition: color 0.5s ease;
    cursor: pointer;
}

.navbar_item a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: var(--green);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.navbar_item a:hover {
    color: var(--green);
}

.navbar_item a:hover::after {
    transform: scaleX(1);
}

.dropdown {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    top: 50px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s ease;
    pointer-events: none;
    white-space: nowrap;
}

.navbar_item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown li a {
    color: var(--txt);
}

/*Hamburger Menu*/

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 11;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--txt);
    margin: 4px 0;
}


.navbar.active .navbar_container {
    display: flex;
    position: fixed;
    top: 60px;
    left: -80%;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    width: 80%;
    height: 100vh;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    overflow-y: auto;
}

.navbar.active .navbar_container {
    left: 0;
}

.navbar.active .navbar_container .links {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
}

.navbar.active .links li {
    border-bottom: 1px solid var(--green);
    width: 100%;
    display: flex;
    justify-content: center;
}

.navbar.active .links li:last-child {
    border-bottom: none;
}

.navbar.active .links li a {
    font-size: 1.2rem;
    padding: 1.5rem 2rem;
    display: block;
    width: 100%;
    text-align: center;
}

.navbar.active .dropdown {
    display: none;
}

@media (min-width: 768px) {
    .navbar .dropdown {
        display: block;
        position: absolute;
        background-color: rgba(255, 255, 255, 0.9);
        backdrop-filter: saturate(180%) blur(20px);
        -webkit-backdrop-filter: saturate(180%) blur(20px);
        top: 50px;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        white-space: nowrap;
    }

    .navbar.active .links li a {
        display: inline-block;
        width: auto;
        padding: 1vw;
    }
}

@media (max-width: 768px) {
    .navbar_container {
        display: none;
    }

    .hamburger {
        display: flex;
    }
}

/*Main*/

.main_container {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0 5vw;
    z-index: 2;
}

.main_headline {
    display: flex;
    width: 40%;
    justify-content: center;
    flex-direction: column;
    z-index: 2;
    padding-left: 5vw;
}

.h1_main {
    font-weight: 800;
    font-size: 3.3rem;
    color: black;
    margin-bottom: 5vh;
}

.p_main {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 2.5vh;
}

.zarezerwuj_btn {
    background-color: var(--green);
    color: var(--txt);
    height: 80px;
    width: 480px;
    border: none;
    border-radius: 3px;
    box-sizing: border-box;
    border: 1px solid transparent;
    outline: none;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.5s linear;
    position: relative;
    overflow: hidden;
    margin-top: 10vh;
}

.zarezerwuj_btn:hover {
    background-color: aquamarine;
}

.zarezerwuj_btn:active {
    transform: scale(0.95);
}

@media (max-width: 1024px) {

    .main_headline {
        width: 100%;
    }

    .zarezerwuj_btn {
        width: 80%;
        font-size: 1.75rem;
        height: 70px;
    }

    .h1_main {
        font-size: 2.5rem;
        text-align: center;
        color: #fff;
        text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.2);
    }

    .p_main {
        font-size: 1rem;
        font-weight: 600;
        color: #fff;
        text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.2);
    }

}

@media (max-width: 768px) {
    .zarezerwuj_btn {
        width: 90%;
        font-size: 1.5rem;
        height: 60px;
    }
}

/*Second Section*/

.second_section {
    display: flex;
    height: 100vh;
    margin: 0 5vw;
}

.tile_container {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

.tile_item {
    position: relative;
    width: 45%;
    height: 80%;
    border-radius: 5px;
    overflow: hidden;
}

.tile_item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease, opacity 0.5s ease;
    z-index: 0;
    opacity: 0.5;
}

.tile_item:hover::before {
    transform: scale(1.05);
    opacity: 1;
}

.tile {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
}

.tile_content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    text-align: center;
    position: relative;
}

.tile_item h2 {
    font-size: 2.5rem;
    z-index: 1;
    margin: 0;
    position: relative;
    transition: color 0.5s ease;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.tile_item h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: #fff;
    transition: width 0.5s ease;
}

.tile_item:hover h2 {
    color: #fff;
}

.tile_item:hover h2::after {
    width: 100%;
}


.tile_item:nth-child(1)::before {
    background-image: url('img/kula.jpg');
    background-position: 50% 5%;

}

.tile_item:nth-child(2)::before {
    background-image: url('img/neuro.jpg');
}

@media (max-width: 1024px) {
    .second_section {
        height: auto;
        margin: 0 2vw;
        padding: 20px 0;
    }

    .tile_container {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .tile_item {
        width: 90%;
        height: 50vh;
        margin-bottom: 20px;
    }

    .tile_item::before {
        opacity: 1;
    }

    .tile_item h2 {
        font-size: 1.8rem;
        color: #fff;
    }

    .tile_item h2::after {
        bottom: -3px;
    }
}


/*Footer*/

.footer_container {
    display: flex;
    margin: 5vh 5vw;
}

.footer_row {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.footer_info {
    display: flex;
    flex-direction: row;
}

.footer_logo img {
    height: 100px;
    margin-right: 5vw;
}

.footer_menu {
    display: flex;
    flex-direction: column;
    margin: .5rem 0;
}

.footer_item {
    display: flex;
    flex-direction: row;
}

.footer_links {
    width: 45%;
}

.footer_nav {
    margin: 1rem 0;
}

.footer_nav ul {
    display: flex;
    justify-content: space-between;
}

.ftnav_item a {
    text-decoration: none;
    color: var(--txt);
    font-size: 1rem;
    font-weight: 500;
    display: inline-block;
    position: relative;
    overflow: hidden;
    transition: color 0.5s ease;
}

.ftnav_item a:hover {
    color: var(--green);
}

.footer_item {
    margin: .5rem 0;
}

.footer_icon {
    margin-right: 5px;
}

.contact_title {
    font-weight: 700;
}

.footer_social h3 {
    margin-bottom: .5rem;
}

.fa-brands {
    margin: 1rem .5rem 0 0;
}

.footer_copyright {
    border-top: solid 1px var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 1rem;
    margin-top: .5rem;
}

.author {
    font-weight: 700;
    color: var(--green);
    transition: color 0.5s ease;
}

.author:hover {
    color: var(--hover);
}

@media screen and (max-width: 767px) {
    .footer_container {
        margin: 5vh 2vw;
    }

    .footer_kontakt {
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .footer_row {
        flex-direction: column;
        align-items: center;
    }

    .footer_info {
        flex-direction: column;
        align-items: center;

    }

    .footer_logo img {
        height: 100px;
        margin-bottom: 2rem;
        margin-right: 0;
    }

    .footer_menu {
        align-items: center;
        justify-content: center;
    }

    .footer_item {
        justify-content: center;
    }

    .footer_links {
        width: 100%;
        margin-top: 2rem;
    }

    .footer_nav {
        display: none;
    }

    .footer_social h3 {
        text-align: center;
    }

    .social_icon {
        display: flex;
        justify-content: center;
    }

    .footer_copyright {
        text-align: center;
        padding: 0.5rem;
    }
}

/*Oferta*/

.offer_section {
    padding: 20px;
}

.offer_tile_container {
    display: grid;
    padding-top: 80px;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 20px;
    width: 100%;
    max-width: 1480px;
    margin: 0 auto;
}

.offer_tile_item {
    position: relative;
    height: 300px;
    border-radius: 3px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow: hidden;
}

.offer_tile_item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
    transition: transform 0.3s ease;
    border-radius: 3px;
}

.offer_tile_item:hover::before {
    transform: scale(1.05);
}


.offer_tile_content {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    padding: 10px;
    border-radius: 3px;
    z-index: 1;
}

h2 {
    font-size: 1.5em;
    color: var(--txt);
    margin: 0;
}

@media (max-width: 768px) {
    .offer_tile_container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .offer_tile_container {
        grid-template-columns: 1fr;
    }
}

.offer_tile_item:nth-child(1)::before {
    background-image: url('img/ros.jpg');
    background-position: 50% 0%;
}

.offer_tile_item:nth-child(2)::before {
    background-image: url('img/rehabilitacja.jpg');
}

.offer_tile_item:nth-child(3)::before {
    background-image: url('img/neuro.jpg');
}

.offer_tile_item:nth-child(4)::before {
    background-image: url('img/fizreumatologiczna.jpg');
}

.offer_tile_item:nth-child(5)::before {
    background-image: url('img/fpip.jpg');
}

.offer_tile_item:nth-child(6)::before {
    background-image: url('img/tbk.jpg');
}

/*oferta inside */

.main_offer_rehab {
    background: linear-gradient(to right, rgb(255, 255, 255, 1) 0%, rgba(108, 190, 185, 0) 10%),
        url('img/ros.jpg');
    background-size: 43%;
    background-repeat: no-repeat;
    background-position: 115% 0%;
    position: relative;
    width: 100%;
    min-height: 80vh;
    z-index: 0;
}

.main_offer_rehab::before {
    content: '';
    background: var(--green);
    opacity: .55;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.main_offer_orto {
    background: linear-gradient(to right, rgb(255, 255, 255, 1) 0%, rgba(108, 190, 185, 0) 10%),
        url('img/rehabilitacja.jpg');
    background-size: 94%;
    background-repeat: no-repeat;
    background-position: 160% 0%;
    position: relative;
    width: 100%;
    min-height: 80vh;
    z-index: 0;
}

.main_offer_orto::before {
    content: '';
    background: var(--green);
    opacity: .55;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.main_offer_neuro {
    background: linear-gradient(to right, rgb(255, 255, 255, 1) 0%, rgba(108, 190, 185, 0) 10%),
        url('img/neuro.jpg');
    background-size: 91%;
    background-repeat: no-repeat;
    background-position: 190% 0%;
    position: relative;
    width: 100%;
    min-height: 80vh;
    z-index: 0;
}

.main_offer_neuro::before {
    content: '';
    background: var(--green);
    opacity: .55;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.main_offer_reumat {
    background: linear-gradient(to right, rgb(255, 255, 255, 1) 0%, rgba(108, 190, 185, 0) 10%),
        url('img/fizreumatologiczna.jpg');
    background-size: 90%;
    background-repeat: no-repeat;
    background-position: 190% 0%;
    position: relative;
    width: 100%;
    min-height: 80vh;
    z-index: 0;
}

.main_offer_reumat::before {
    content: '';
    background: var(--green);
    opacity: .55;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.main_offer_fpip {
    background: linear-gradient(to right, rgb(255, 255, 255, 1) 0%, rgba(108, 190, 185, 0) 10%),
        url('img/fpip.jpg');
    background-size: 87%;
    background-repeat: no-repeat;
    background-position: 200% 0%;
    position: relative;
    width: 100%;
    min-height: 80vh;
    z-index: 0;
}

.main_offer_fpip::before {
    content: '';
    background: var(--green);
    opacity: .55;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 80vh;
    z-index: 0;
}

.main_offer_tbk {
    background: linear-gradient(to right, rgb(255, 255, 255, 1) 0%, rgba(108, 190, 185, 0) 10%),
        url('img/tbk.jpg');
    background-size: 82%;
    background-repeat: no-repeat;
    background-position: 170% 0%;
    position: relative;
    width: 100%;
    min-height: 80vh;
    z-index: 0;
}

.main_offer_tbk::before {
    content: '';
    background: var(--green);
    opacity: .55;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.main_offer_container {
    height: 100%;
    display: flex;
    padding: 80px 5vw 5vh 0;
    justify-content: space-around;
    align-items: center;
    z-index: 1;
}

.offer_container {
    width: 30%;
    z-index: 1;
    display: flex;
    justify-content: flex-start;
}

.offer_list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    padding: 0;
    list-style: none;
    margin-right: 15px;
}

.offer_list li {
    display: flex;
    position: relative;
}

.offer_list li a {
    text-decoration: none;
    color: var(--txt);
    font-weight: 600;
    transition: color 0.5s;
    padding-left: 20px;
}

.offer_list li a:hover {
    color: var(--dgreen);
}

.offer_list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) scaleX(0);
    width: 15px;
    height: 2px;
    background-color: var(--dgreen);
    transition: transform 0.5s ease;
    transform-origin: left;
}

.offer_list li:hover::before {
    transform: translateY(-50%) scaleX(1);
}

.offer_list li a.active {
    text-decoration: underline;
    color: var(--dgreen);
}

.offer_desc {
    height: 80%;
    width: 70%;
    max-height: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.offer_bg {
    border-radius: 3px;
    height: 90%;
    padding: 20px;
    content: "";
    background: #2C6A67;
    opacity: .85;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.offer_bg p {
    color: white;
    text-align: justify;
}

.offer_desc h2 {
    font-weight: 800;
    font-size: 3rem;
    margin-bottom: 4vh;
    z-index: 1;
}

.offer_desc p {
    justify-content: left;
    font-size: 1.1rem;
    margin-bottom: 1.5vh;
}

.bottom_offer_container {
    display: flex;
    justify-content: space-between;
}

.cena {
    margin-top: 3vh;
}

.faktura {
    font-weight: 500;
}

.btn_offer {
    display: flex;
    align-items: end;
}

.offer_btn {
    background-color: white;
    color: var(--txt);
    height: 60px;
    width: 250px;
    border: none;
    border-radius: 3px;
    box-sizing: border-box;
    outline: none;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.5s linear;
    position: relative;
    overflow: hidden;
}

.offer_btn:hover {
    background-color: aquamarine;
}

.offer_btn:active {
    transform: scale(0.95);
}

@media (max-width: 1024px) {
    .main_offer_rehab,
    .main_offer_orto,
    .main_offer_neuro,
    .main_offer_reumat,
    .main_offer_fpip,
    .main_offer_tbk {
        background-size: cover;
        background-position: center;
    }

    .main_offer_container {
        flex-direction: column;
        align-items: center;
        padding-right: 0;
    }

    .offer_container {
        display: none;
    }

    .offer_list {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        gap: 0.5rem;
        padding: 0;
        margin-right: 0;
    }

    .offer_list li {
        flex: 1 0 auto;
    }

    .offer_desc {
        width: 90%;
        max-height: none;
        margin: 0 auto;
    }

    .offer_bg {
        height: auto;
        padding: 15px;
    }

    .offer_desc h2 {
        font-size: 2.5rem;
        margin-bottom: 2vh;
    }

    .offer_desc p {
        font-size: 1rem;
        margin-bottom: 1vh;
    }

    .offer_btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .main_offer_rehab,
    .main_offer_orto,
    .main_offer_neuro,
    .main_offer_reumat,
    .main_offer_fpip,
    .main_offer_tbk {
        background-size: cover;
        background-position: center;
    }

    .offer_desc h2 {
        text-align: center;
    }

    .offer_btn {
        width: 100%;
        margin-top: 15px;
        max-width: 200px;
        font-size: 1.2rem;
    }
}

@media (max-width: 500px) {
    .bottom_offer_container {
        flex-direction: column;
    }
}


/* Specjalisci */

.main_spec {
    background: linear-gradient(to left, rgb(255, 255, 255, 1) 0%, rgba(108, 190, 185, 0) 10%),
        url('img/omnpc.jpg');
    background-size: 41%;
    background-repeat: no-repeat;
    background-position: 0% 0%;
    position: relative;
    width: 100%;
    height: 100vh;
    z-index: 0;
}

.main_spec_container {
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 1;
}

.blank {
    height: 100%;
    width: 40%;
}

.spec_info {
    height: 80%;
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.spec_container {
    max-height: 100%;
    margin: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 3px;
    content: "";
    background: #2C6A67;
    opacity: .85;
    z-index: 0;
}

.spec_container,
.spec_container h1,
p {
    box-sizing: border-box;
}

.spec_info h1 {
    font-weight: 800;
    font-size: 3rem;
    margin-bottom: 5vh;
    margin-top: 3vh;
    color: #fff;
    z-index: 1;
}

.spec_image_container {
    display: none;
}

.spec_txt {
    text-align: justify;
}

.spec_txt p {
    padding: 1vh 5vw;
    font-weight: 500;
    color: #fff;
    z-index: 1;
}

.spec_btn_container {
    display: flex;
    padding: 0 5vw;
    justify-content: right;
    align-items: center;
    height: 10%;
}

.spec_offer_btn {
    background-color: white;
    color: var(--txt);
    height: 60px;
    width: 250px;
    border: none;
    border-radius: 3px;
    box-sizing: border-box;
    outline: none;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.5s linear;
    position: relative;
    overflow: hidden;
    margin-top: 10vh;
}

.spec_offer_btn:hover {
    background-color: aquamarine;
}

.spec_offer_btn:active {
    transform: scale(0.95);
}

@media (max-width: 1024px) {

    .main_spec {
    height: 100%;
    background: none;
    }

    .main_spec_container {
        flex-direction: column;
        padding: 80px 0 5vh 0;
    }

    .spec_image_container {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 3vh;
    }

    .spec_image {
        width: 150px;
        height: 150px;
        border-radius: 50%;
        object-fit: cover;
        object-position: center 20%;
        border: 3px solid white;
    }

    .spec_info {
        width: 100%;
        height: auto;
    }

    .spec_container {
        margin: 5px;
        width: 90%;
        height: auto;
    }

    .spec_info h1 {
        font-size: 2.5rem;
        margin-bottom: 3vh;
        margin-top: 2vh;
    }

    .spec_txt p {
        padding: 1vh 3vw;
    }

    .spec_btn_container {
        justify-content: center;
        padding: 0;
    }

    .spec_offer_btn {
        margin: 5vh 0 3vh 0;
        width: 200px;
        font-size: 1.2rem;
    }
}


/*Opinie*/

.opinie-container {
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bgg);
}

.slide-container {
    max-width: 1120px;
    width: 100%;
    padding: 40px 0;
}

.slide-content {
    margin: 0 40px;
    overflow: hidden;
    border-radius: 25px;
}

.card {
    border-radius: 25px;
    background-color: var(--green);
}

.image-content,
.card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 14px;
}

.image-content {
    position: relative;
    row-gap: 5px;
    padding: 25px 0;
}

.overlay {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: #fff;
    border-radius: 25px 25px 0 25px;
}

.overlay::before,
.overlay::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -40px;
    height: 40px;
    width: 40px;
    background-color: #fff;
}

.overlay::after {
    border-radius: 0 25px 0 0;
    background-color: var(--green);
}

.card-image {
    position: relative;
    height: 150px;
    width: 150px;
    border-radius: 50%;
    background-color: var(--green);
}

.card-image .card-img {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 5rem;
    border-radius: 50%;
    border: 4px solid var(--dgreen);
}

.rating {
    display: flex;
    margin: 5px 0;
    justify-content: center;
    align-items: center;
}

.name {
    font-size: 1.5rem;
    font-weight: 700;
    color: black;
}

.description {
    font-size: 1rem;
    color: #fff;
    text-align: center;
}


.swiper-navBtn {
    color: var(--green);
    transition: color 0.5s ease;
}

.swiper-navBtn:hover {
    color: aquamarine;
}

.swiper-button-next {
    right: 0;
}

.swiper-button-prev {
    left: 0;
}

.swiper-pagination-bullet {
    background-color: var(--green);
}

@media screen and (max-width: 768px) {
    .slide-content {
        margin: 0 10px;
    }

    .swiper-navBtn {
        display: none;
    }
}

/* FAQ */

.faq {
    background: linear-gradient(to right, rgb(255, 255, 255, 1) 0%, rgba(108, 190, 185, 0) 10%),
        url('img/faq.jpg');
    background-size: 51.5%;
    background-repeat: no-repeat;
    background-position: 120% 0%;
    position: relative;
    width: 100%;
    z-index: 0;
    display: flex;
    justify-content: center;
}

.faq::before {
    content: '';
    background: var(--green);
    opacity: .55;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.faq_container {
    width: 100%;
    max-width: 1480px;
    padding: 5vh 5vw;
}

.faq_container h1 {
    text-align: center;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 30px;
    padding-top: 80px;
    position: relative;
}

.faq_item {
    margin-bottom: 10px;
    position: relative;
}

.faq_question {
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    padding: 10px 40px 10px 10px;
    color: #fff;
    background-color: rgba(44, 106, 103, 0.8);
    border: 1px solid transparent;
    border-radius: 3px 3px 0 0;
    position: relative;
    transition: background-color .3s ease;
}

.faq_answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 10px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px) brightness(1);
    -webkit-backdrop-filter: blur(20px) brightness(1);
    border: 1px solid transparent;
    border-radius: 0 0 3px 3px;
    transition: max-height .3s ease, padding .3s ease;
    font-weight: 400;
}

.faq_kon {
    color: var(--green);
    font-weight: 500;
}

.faq_answer.open {
    max-height: 500px;
    padding: 10px;
}

.faq_question:hover {
    background-color: rgba(44, 106, 103, 1);
}

.toggle_icon {
    position: absolute;
    color: #fff;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    font-weight: bold;
    user-select: none;
}

@media (max-width: 1024px) {
.faq {
    background: url('img/faq.jpg');
    background-size: cover;
}

.faq::before {
    opacity: .65;
}
}

@media (max-width: 768px) {
    .faq_question {
        font-size: 16px;
    }

    .faq_answer {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .faq_question {
        font-size: 14px;
        padding: 8px;
    }

    .faq_answer {
        font-size: 12px;
    }
}

/* Kontakt */


.main_contact {
    padding: 80px 20px;
    background-color: var(--bgg);
}

.main_contact h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 20px;
}

.contact_container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 20px;
    position: relative;
}


.fiz_dom,
.fiz_gabinet {
    flex: 1;
    padding: 40px 20px;
}


.contact_container::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background-color: #ccc;
    transform: translateX(-50%);
}


.fiz_dom h3,
.fiz_gabinet h3 {
    font-size: 2rem;
    margin: 25px 0 25px 0;
    text-align: center;
}

.contact_info p {
    margin: 10px 0;
    text-align: left;
}

.contact_t,
.contact_e {
    font-weight: 700;
    color: var(--green);
}

.social_media {
    margin-top: 10px;
}

@media (max-width: 768px) {
    .contact_container {
        display: block;
        text-align: left;
    }

    .contact_container::before {
        display: none;
    }

    .fiz_dom,
    .fiz_gabinet {
        width: 100%;
        padding: 20px 0;
    }

    .main_contact h2 {
        font-size: 2.2rem;
        margin-bottom: 0;
    }

    .fiz_dom h3,
    .fiz_gabinet h3 {
        font-size: 1.8rem;
    }
}

/* Blog */

.main_blog {
    padding: 20px;
    background-color: var(--bgg);
}

.blog_container {
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.blog_post {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    color: var(--txt);
    padding: 0;
}

.blog_image {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    object-position: center;
}

.blog_title {
    font-size: 1.5em;
    margin: 15px;
    color: var(--txt);
}

.blog_description {
    flex-grow: 1;
    margin: 10px 15px;
    color: #666;
}

.blog_post:hover {
    transform: scale(1.02);
}

.read_more {
    position: relative;
    text-align: right;
    font-size: 0.9em;
    font-weight: 600;
    color: var(--green);
    margin: 15px;
    display: inline-block;
    font-size: 0.85em;
    transition: color 0.3s ease;
}

.blog_post:hover .read_more {
    color: var(--hover);
}

@media (max-width: 1024px) {
    .blog_container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog_container {
        grid-template-columns: 1fr;
    }
}

/* Blog article */

.main_article {
    padding: 20px;
    background-color: var(--bgg);
}

.main_article {
    background:url('img/blog.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    z-index: 0;
}

.main_article::before {
    content: '';
    background: var(--green);
    opacity: .75;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}


.article_container {
    max-width: 800px;
    margin: 60px auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) brightness(1);
    -webkit-backdrop-filter: blur(20px) brightness(1);
    border-radius: 3px;
}

.article_title {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: var(--txt);
}

.article_content {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 40px;
    color: var(--txt);
}

.article_back {
    display: inline-block;
    padding: 10px 15px;
    background-color: var(--green);
    color: white;
    text-decoration: none;
    border-radius: 3px;
    transition: background-color 0.3s ease;
}

.article_back:hover {
    background-color: var(--hover);
}

/*Cookies*/

.cookie-banner {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px) brightness(1);
    -webkit-backdrop-filter: blur(20px) brightness(1);
    padding: 20px 15px;
    text-align: center;
    font-size: 1rem;
    z-index: 100;
    display: none;
}

.cookie-banner p {
    margin: 0;
    display: inline-block;
    padding-right: 10px;
    font-weight: 500;
}

.cookie-banner button {
    padding: 10px 20px;
    background-color: var(--green);
    color: var(--txt);
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
    transition: background-color 0.5s linear;
}

.cookie-banner button:hover {
    background-color: aquamarine;
}


@media screen and (max-width: 768px) {
    .cookie-banner {
        font-size: 14px;
        padding: 15px 10px;
    }

    .cookie-banner button {
        padding: 8px 15px;
        font-size: 13px;
    }

    .cookie-banner p {
        display: block;
        padding: 0 0 10px 0;
    }
}

@media screen and (max-width: 480px) {
    .cookie-banner {
        font-size: 12px;
        padding: 10px;
    }

    .cookie-banner button {
        width: 100%;
        font-size: 12px;
    }

    .cookie-banner p {
        padding-bottom: 15px;
    }
}


/*Responsive design*/

@media (max-width: 1400px) {

    .offer_desc p {
        font-size: 1rem;
    }

    .offer_desc h2 {
        font-size: 2.5rem;
    }

    .offer_btn {
        font-size: 1.2rem;
        width: 200px;
        height: 50px;
    }

    .offer_list li a {
        font-size: .9rem;
    }

    .spec_info h1 {
        font-size: 2rem;
    }

    .spec_txt p {
        font-size: .8rem;
    }
}