/*
Theme Name: ZrobSmart
Text Domain:
Version: 0.91
Description: Każdy dom może być smart
Tags:
Author: FAST llama - Bartłomiej Werewka
Author URI: https://fastllama.pl
*/

@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.5.0/font/bootstrap-icons.css");

:root {
    /*--font-family-main: Inter, 'sans-serif';*/
    --main-color: #112242;
    --bg-color:      #E6F1FF;
    --accent-pri-color:#0077B6;
    --accent-sec-color:#00B4D8;
    --cta-color:       #90E0EF;
    --font-headings: 'Rubik';
    --font-main: 'Roboto Flex';
    --transition-fast: .2s;
    font-size: 16pt;
}


body {
    background-color: var(--bg-color);
    box-sizing: border-box;
    overflow-x: hidden;
    font-family: var(--font-main), sans-serif;
    color: var(--main-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headings), sans-serif;
    color: var(--main-color);
}

section {
    padding: 50px 20px;
}

section.dark {
    background-color: var(--main-color);
    color: var(--bg-color);
    margin: 50px 0;
}

section.dark h1, section.dark h2, section.dark h3, section.dark h4, section.dark h5, section.dark h6, .overlay-inner h1, .overlay-inner h2, .overlay-inner h3, .overlay-inner h4, .overlay-inner h5, .overlay-inner h6 {
    color: var(--bg-color);
}

.boxed {
    background: #fff;
    box-shadow: 0 2px 4px 0 rgba(136, 144, 195, 0.2),
    0 5px 15px 0 rgba(37, 44, 97, 0.15);
    border-radius: 15px;
    padding: 50px 25px;
}

#mega-menu-item-20 {
    background-color: #3892ca1c !important;
    border-radius: 30px !important;
}


@media (max-width: 700px) {

}

@media (min-width: 700px) {

}


/* *********** KARTY *********** */

.section_our_solution .row {
    align-items: center;
}

.our_solution_category {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    margin: 0 auto;
}
.our_solution_category .solution_cards_box {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
}
.solution_cards_box .solution_card {
    flex: 0 0 25%;
    max-width: 24%;
    background: #fff;
    box-shadow: 0 2px 4px 0 rgba(136, 144, 195, 0.2),
    0 5px 15px 0 rgba(37, 44, 97, 0.15);
    border-radius: 15px;
    margin: 8px;
    padding: 10px 15px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    min-height: 265px;
    transition: 0.2s;
}

.solution_cards_box .solution_card:hover {
    background: #309df0;
    color: #fff;
    transform: scale(1.1);
    z-index: 9;
}

.solution_cards_box .solution_card:hover::before {
    background: rgb(85 108 214 / 10%);
}

.solution_cards_box .solution_card:hover .solu_title h3,
.solution_cards_box .solution_card:hover .solu_description p {
    color: #fff;
}

.solution_cards_box .solution_card:before {
    content: "";
    position: absolute;
    background: rgb(85 108 214 / 5%);
    width: 170px;
    height: 400px;
    z-index: -1;
    transform: rotate(42deg);
    right: -56px;
    top: -23px;
    border-radius: 35px;
}

.solution_cards_box .solution_card:hover .solu_description button {
    background: #fff !important;
    color: #309df0;
}

.solution_card .so_top_icon {
}

.solution_card .solu_title h3 {
    color: #212121;
    font-size: 1.3rem;
    margin-top: 13px;
    margin-bottom: 13px;
}

.solution_card .solu_description p {
    font-size: 15px;
    margin-bottom: 15px;
}

.solution_card .solu_description button {
    border: 0;
    border-radius: 15px;
    background: linear-gradient(
            140deg,
            #309df0 0%,
            #1f89dc 50%,
            #0e75bf 75%
    ) !important;
    color: #fff;
    font-weight: 500;
    font-size: 1rem;
    padding: 5px 16px;
}

.our_solution_content h1 {
    text-transform: capitalize;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}
.our_solution_content p {
}

.hover_color_bubble {
    position: absolute;
    background: rgb(54 81 207 / 15%);
    width: 100rem;
    height: 100rem;
    left: 0;
    right: 0;
    z-index: -1;
    top: 16rem;
    border-radius: 50%;
    transform: rotate(-36deg);
    left: -18rem;
    transition: 0.4s;
}

.solution_cards_box .solution_card:hover .hover_color_bubble {
    top: 0rem;
}

.solution_cards_box .solution_card .so_top_icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #fff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.solution_cards_box .solution_card .so_top_icon img {
    width: 40px;
    height: 50px;
    object-fit: contain;
}

/* Media Queries */
@media screen and (max-width: 991px) {
    .solution_cards_box .solution_card {
        flex: 0 0 50%;
        max-width: 45%;
    }
}

@media screen and (max-width: 575px) {
    .solution_cards_box .solution_card {
        flex: 0 0 100%;
        max-width: 100%;
    }
}


/* ********************************** */

.our-solutions {
    margin: 40px 0;
}

.our-solutions .col {
    margin-bottom: 10px;
}

.our-solutions-card {
    padding: 20px;
    background: RGBA(255, 255, 255, 0.15);
    background: linear-gradient(137deg,rgba(255, 255, 255, .15) 0%, rgba(255, 255, 255, .10) 50%, rgba(255, 255, 255, .07) 100%);
    border-radius: 15px;
    height: 100%;
    margin-top: 5px;
    border-right: 2px solid rgba(255, 255, 255, 0.3);
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-solution {

    color: var(--bg-color);
    background-color: var(--main-color);
    border: 1px solid var(--bg-color);
    border-radius: 5px;
    padding: 10px;
    display: inline-block;
    transition-duration: .3s;
}

.btn-solution:hover {
    color: var(--main-color);
    background-color: var(--bg-color);
    transform: scale(1.03);
    cursor: pointer;
}

/* =============================== */
/* NEWS GRID (strona główna) */
/* =============================== */

.news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 0 auto;
    padding: 0 20px;
}

.news-grid .news-item {
    position: relative;
    background-size: cover;
    background-position: center;
    min-height: 300px;
    color: white;
    border-radius: 10px;
    overflow: hidden;
}

.news-grid .news-full-link {
    position: absolute;
    inset: 0;
    z-index: 5;
    text-indent: -9999px;
}

.news-grid .news-item .overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 40%;
    background: rgba(48, 157, 240, 0.6);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: height 0.4s ease-in-out;
    overflow: hidden;
}

.news-grid .news-title {
    font-size: 1.5rem;
    margin: 0 0 10px;
    z-index: 2;
    position: relative;
}

.news-grid .overlay-inner {
    transform: translateY(80%);
    transition: transform 0.4s ease-in-out;
    opacity: 1;
}

.news-grid .news-item:hover .overlay {
    height: 100%;
}

.news-grid .news-item:hover .overlay-inner {
    transform: translateY(0);
    opacity: 1;
}

.news-grid .news-excerpt {
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.news-grid .news-link {
    color: white;
    text-decoration: underline;
}

.news-grid .news-item-0 {
    grid-column: 1 / -1;
    min-height: 400px;
}

@media (min-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr 1fr;
    }

    .news-grid .news-item-1,
    .news-grid .news-item-2 {
        grid-column: span 1;
    }
}


/* =============================== */
/* CATEGORY GRID (widok kategorii) */
/* =============================== */

.category-wrapper {
    margin: 0 auto;
    padding: 40px 20px;
}

.category-title {
    font-size: 2rem;
    margin-bottom: 30px;
}

.category-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.category-grid .news-item {
    position: relative;
    background-size: cover;
    background-position: center;
    min-height: 300px;
    color: white;
    border-radius: 10px;
    overflow: hidden;
}

.category-grid .news-full-link {
    position: absolute;
    inset: 0;
    z-index: 5;
    text-indent: -9999px;
}

.category-grid .overlay {
    background: rgba(0, 50, 150, 0.7);
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.category-grid .overlay-inner {
    z-index: 10;
    position: relative;
}

.category-grid .news-title {
    font-size: 1.3rem;
    margin: 0 0 10px;
}

.category-grid .news-excerpt {
    font-size: 0.95rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.category-grid .news-item-0 {
    grid-column: 1 / -1;
    min-height: 400px;
}

@media (min-width: 768px) {
    .category-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}


/* =============================== */
/* Wyróżniony obrazek we wpisie */
/* =============================== */

.post-featured-floated {
    float: left;
    width: 50%;
    max-width: 400px;
    margin: 0 0 1em 1.5em;
    border-radius: 8px;
    object-fit: cover;
    margin-right: 10px;
}

@media (max-width: 768px) {
    .post-featured-floated {
        float: none;
        display: block;
        margin: 0 auto 1em auto;
        width: 100%;
        max-width: 100%;
    }
}


/* =============================== */
/* Stopka (footer) */
/* =============================== */

#footer {
    background-color: white;
}

.footer-copyright p {
    font-size: 14px;
}

.footer-copyright a {
    text-decoration: none;
    color: unset;
}

.footer-logo {
    max-width: 200px;
    height: auto;
}




/* ===================== */
.zrobusiebie-card {
    padding: 30px;
    border: 1px solid #ededed;
    border-radius: 10px;
    /* background: linear-gradient; */
    background: #E6F1FF;
    background: linear-gradient(126deg,rgb(230, 241, 255) 0%, rgb(166, 207, 255) 50%, rgb(230, 241, 255) 100%);
    /* color: white; */
}