.language_picker {
    /*border: 2px solid red;*/
    max-width: 100px;
    background-color: transparent !important;
    /* Removed margin-top to prevent extra height in navbar */
    margin-top: 0;
}

.list_language {
    width: 55px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flags-styling {
    width: 20px;
    vertical-align: middle;
    margin-left: 5%;
}

.bootstrap-select > .dropdown-toggle {
    background-color: transparent !important;
    border: none;
}

.bootstrap-select .dropdown-menu {
    z-index: 1050; /* Adjust as needed */
}

.dropdown-menu {
    position: absolute !important;
}

.custom-h2 {
    color: #1A8969 !important;
    font-size: 2.2rem !important;
    margin-bottom: 2rem !important;
}

body {
    background-color: #efefef;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Alata', -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.2;
}

h1, h3, h4, h5, h6 {
    color: #000;
}

h1 {
    font-weight: 400;
}

h2 {
    color: #000;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

h2, h3, h4, h5, h6 {
    font-weight: 400;
}

.btn, .navbar {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    font-weight: 500;
}

h3 {
    font-size: 2rem;
}

p, body, footer {
    color: #000;
}

.main_container {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    background: #fff;
    overflow: hidden;
}

.color_white {
    color: #fff;
}

.bg_green {
    background: #196348 !important;
}

.color_green {
    color: #196348;
}

.jakub_ITPartnerDescription {
    color: #cadcd7;
    background: none !important;
    margin: 0 !important;
    padding: 0 !important;
    text-decoration: underline;
}

    .jakub_ITPartnerDescription:hover {
        color: #cadcd7;
    }

.zc {
    z-index: 999;
}

.zm {
    z-index: 998;
}

.top_container h1 {
    line-height: 1.2;
    font-size: 2.25rem;
    padding-bottom: 3rem;
}

.top_container .color_red {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.mobile_desc_img {
    display: block;
    visibility: visible;
    margin-left: -130px;
}

    .mobile_desc_img img {
        display: block;
        width: 80%;
    }

.mobile_img_1 {
    margin-left: 0;
}

.mobile_img_2 {
    margin-left: 15%;
}

.mobile_text_center {
    text-align: center;
}

.btn {
    font-weight: 700;
    border-radius: 0;
    letter-spacing: 0.125rem;
    text-transform: uppercase;
    transition: all .2s;
}

.btn_green {
    background: #196348;
    color: #fff !important;
    padding: 1rem 2rem !important;
    width: 100%;
    box-shadow: none !important;
}

    .btn_green:hover {
        background: #1A8969;
        color: #fff !important;
    }

.btn_white {
    background: #fff;
    border-bottom: 2px solid #1A8969;
    color: #1A8969;
    padding: 0.125rem 0 !important;
    width: 100%;
    box-shadow: none !important;
    transition: all .2s;
}

    .btn_white:hover,
    .btn_white:focus {
        background: #fff;
        border-bottom: 2px solid #196348;
        color: #196348 !important;
    }

.top_container {
    min-height: 1px;
    padding: 7rem 0 0 0;
}

.hero_right {
    display: none;
}

.hero_right {
    width: 500px;
    top: 50px;
    right: 0;
    z-index: 998;
}

.hero_mobile_container {
    display: block;
    padding: 1rem 0 !important;
}

    .hero_mobile_container img {
        width: 100%;
        margin-right: 0;
    }

.hero_mobile {
    display: block;
}

.palac img, .katarzyna img {
    display: block;
    width: 100%;
}

.palac {
    display: none;
    visibility: hidden;
}

.katarzyna {
    display: block;
    visibility: visible;
    width: 300px;
    top: -200px;
    right: 0px;
}

#services,
#contact {
    background: #F5F5F5;
}

    #services .col-sm {
        display: flex;
    }

.contact_box {
    background: #fff;
    box-shadow: 0 4px 50px rgba(0, 0, 0, 0.15);
}

.service {
    display: flex;
    width: 100%;
    padding-bottom: 2rem;
}

    .service .icon {
        width: 50px;
        min-width: 50px;
        height: 50px;
    }

    .service img {
        width: 100%;
    }

    .service p {
        color: #000;
        padding-left: 1rem;
        margin-bottom: 0;
        text-align: left;
    }

.heading_box {
    display: flex;
    width: 100%;
    padding-bottom: 2rem;
}

    .heading_box .img_box {
        max-width: 65px;
        width: 100%;
    }

.img_box img {
    max-width: 100%;
    width: 100%;
}

.heading_line {
    width: 80px;
    height: 4px;
    background: #1A8969;
    border-radius: 2px;
    margin-top: 1rem;
    margin-left: 0.5rem;
}

.heading_line_white {
    background: #fff !important;
}

.heading_text {
    color: #196348;
    font-weight: 700;
    letter-spacing: 0.125rem;
    text-transform: uppercase;
    padding-bottom: 1rem;
}

footer {
    background: #ECEFF4;
    color: #88919E;
    font-size: 14px;
    padding: 1rem;
}

.strategy,
.about,
#services {
    padding: 3rem 0;
}

.stats_container {
    padding: 5rem 0 18rem 0;
}

.press_container {
    background: #F6F5FB;
    margin-left: auto;
    width: 100%;
    min-height: 1px;
    display: flex;
    flex-wrap: wrap;
    padding: 1.5rem 0 1.5rem 2rem;
}

    .press_container > div {
        margin: 0 1rem;
    }

.pop_radio {
    max-width: 134px;
}

.antyweb {
    max-width: 160px;
}

.techcrunch {
    max-width: 220px;
}

.xclass{
    max-width:90px;
}
.n_czas {
    max-width: 180px;
}

.prawy,
.angora {
    max-width: 138px;
}

.brief {
    max-width: 80px;
}

.press img {
    width: 100%;
}

.circle_green {
    background: #196348;
    width: 8px;
    min-width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-top: 0.4375rem;
}

.circle_container {
    display: flex;
}

    .circle_container p {
        padding-left: 0.5rem;
    }

.stats {
    border-right: 1px solid #C4C4C4;
    padding: 0 1rem;
}

    .stats .color_green {
        font-size: 2.25rem;
        line-height: 1 !important;
        padding: 0.5rem 0;
    }

    .stats p {
        font-weight: 700;
        margin-bottom: 0;
        padding-bottom: 0.5rem;
    }

.hide_stats_border {
    border-right: 0 !important;
}

.services {
    padding: 10rem 0 2rem 0;
}

.contact {
    padding: 5rem 0;
}

.services h3 {
    margin-bottom: 0;
    padding-bottom: 1rem;
}

.services p {
    color: #cadcd7;
    margin-bottom: 0;
    padding-bottom: 0.75rem;
}

.contact a {
    background: #e0f80a;
    box-shadow: none;
    border-radius: 1rem;
    margin: 0.5rem;
    padding: 1rem;
    transition: 0.2s all;
}

    .contact a:hover,
    .contact a:focus {
        box-shadow: 0 2px 40px rgba(0, 0, 0, 0.15);
    }

#time {
    padding: 4rem 0;
}

#press {
    padding: 0 0 4rem 0;
}

.content {
    padding-bottom: 2rem;
}

.news_box {
    padding-bottom: 3rem;
}

    .news_box img {
        display: block;
        width: 100%;
    }

    .news_box h2 {
        font-size: 1.125rem;
        line-height: 1.4;
        text-transform: uppercase;
        padding: 1rem 0;
        margin-bottom: 0;
    }

    .news_box p {
        color: #939EAD;
    }

.team_member {
    display: flex;
}

    .team_member .profile_img {
        min-width: 120px;
        max-width: 120px;
        padding-right: 1rem;
    }

    .team_member img {
        width: 100%;
    }

    .team_member h3 {
        color: #fff;
        font-size: 1.5rem;
    }

    .team_member span,
    .team_member p {
        color: #cadcd7;
    }

    .team_member p {
        color: #cadcd7;
    }

@media (min-width: 576px) {
    .hero_mobile_container img {
        width: 80%;
        margin: 0 auto;
    }

    .palac {
        top: 0px;
        left: -170px;
    }

    .katarzyna {
        width: 300px;
        top: -200px;
        right: 0px;
    }

    .top_container h1 {
        font-size: 2.5rem;
    }

    .btn_green,
    .btn_white {
        width: auto;
    }

    .stats .color_green {
        font-size: 2rem;
    }

    .contact a {
        margin: 1rem;
        padding: 2rem;
    }
}

@media (min-width: 768px) {
    .hero_mobile {
        display: none;
    }

    .hero_right,
    .palac {
        width: 480px;
        display: block;
        visibility: visible;
    }

    .hero_right {
        top: 110px;
        right: -200px;
        display: block;
    }

    .palac {
        top: 170px;
        left: -240px;
    }

    .katarzyna {
        width: 460px;
        top: -340px;
        right: -140px;
    }

    .katarzyna {
    }

    .top_container .content {
        padding-right: 0;
    }

    .top_container {
        padding: 8em 0 5em 0;
    }

        .top_container h1 {
            font-size: 2.25rem;
        }

        .top_container .color_red {
            font-size: 1.5rem;
        }

    .mobile_text_center {
        text-align: left;
    }

    .heading_line {
        width: 140px;
        color: #196348
    }

    .service {
        width: auto;
    }

    .stats {
        padding: 0 1rem;
    }

        .stats .color_green {
            font-size: 2.25rem;
        }

    .stats_container {
        padding: 5rem 0;
    }

    .services {
        padding: 5rem 0 2rem 0;
    }
}

@media (min-width: 992px) {
    .hero_right,
    .palac {
        width: 520px;
    }

    .hero_right {
        right: 0;
        top: 100px;
    }

    .palac {
        top: 170px;
        left: -60px;
    }

    .katarzyna {
        width: 500px;
        top: -420px;
        right: 0;
    }

    .katarzyna {
        display: block;
        visibility: visible;
    }

    .top_container {
        height: auto;
        min-height: 350px;
        padding: 8rem 0;
    }

        .top_container h1 {
            font-size: 2.8rem;
        }

    .hero_mobile_container {
        display: none;
    }

    .top_container h1 {
        font-size: 2.2rem;
    }

    .nav-item .nav-link, .nav-item .nav-link-last {
        -webkit-transition: all 0.15s;
        transition: all 0.15s;
    }

    .nav-item:hover .nav-link, .nav-item:hover .nav-link-last {
        box-shadow: inset 0 -0.12em #fff;
    }

    .icon {
        margin-bottom: 0;
    }

    .mobile_desc_img {
        display: none;
        visibility: hidden;
    }

    .strategy,
    .stats_container {
        text-align: left;
    }

    .strategy,
    .about,
    #services {
        padding: 6rem 0;
    }

    .stats_container {
        padding: 10rem 0;
    }

    .stats .color_green {
        font-size: 3rem;
    }

    .services {
        padding: 10rem 0 7rem 0;
    }

    #press {
        padding: 4rem 0;
    }

    .team_member .profile_img {
        min-width: 200px;
        max-width: 200px;
        padding-right: 2rem;
    }
}

@media (min-width: 1200px) {
    .hero_right,
    .palac {
        width: 600px;
    }

    .hero_right {
        right: 0;
        top: 90px;
    }

    .palac {
        top: 110px;
        left: -40px;
    }

    .katarzyna {
        width: 500px;
        top: -420px;
        right: 0;
    }

    .top_container {
        padding: 9rem 0;
    }

        .top_container h1 {
            font-size: 3rem;
        }

    .stats {
        padding: 0 2rem;
    }

        .stats .color_green {
            font-size: 4rem;
        }
}

@media (min-width: 1400px) {
    .hero_right,
    .palac {
        width: 640px;
    }

    .hero_right {
        right: 0;
        top: 120px;
    }

    .palac {
        top: 100px;
        left: 0;
    }

    .katarzyna {
        width: 580px;
        top: -440px;
        right: 0;
    }

    .top_container {
        padding: 12rem 0 10rem 0;
    }
}

@media (min-width: 1700px) {
    .hero_right,
    .palac {
        width: 700px;
    }

    .hero_right {
        top: 80px;
        right: 130px;
    }

    .palac {
        top: 80px;
        left: 100px;
    }

    .katarzyna {
        width: 580px;
        top: -440px;
        right: 0;
    }

    .top_container {
        padding: 12rem 0 10rem 0;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
        -ms-transform: translateY(30px);
        -webkit-transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0px);
        -ms-transform: translateY(0px);
        -webkit-transform: translateY(0px);
    }
}

@-webkit-keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
        -ms-transform: translateY(30px);
        -webkit-transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0px);
        -ms-transform: translateY(0px);
        -webkit-transform: translateY(0px);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        -webkit-transform: translateX(50px);
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        -webkit-transform: translateX(0px);
        transform: translateX(0px);
    }
}

@-webkit-keyframes fadeInLeft {
    from {
        opacity: 0;
        -webkit-transform: translateX(50px);
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        -webkit-transform: translateX(0px);
        transform: translateX(0px);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        -webkit-transform: translateX(-50px);
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        -webkit-transform: translateX(0px);
        transform: translateX(0px);
    }
}

@-webkit-keyframes fadeInRight {
    from {
        opacity: 0;
        -webkit-transform: translateX(-50px);
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        -webkit-transform: translateX(0px);
        transform: translateX(0px);
    }
}

.fadeInRight {
    -webkit-animation-name: fadeInRight;
    animation-name: fadeInRight;
}

.fadeInLeft {
    -webkit-animation-name: fadeInLeft;
    animation-name: fadeInLeft;
}

.fadeInUp {
    -webkit-animation-name: fadeInUp;
    animation-name: fadeInUp;
}

.animated {
    animation-duration: 1s;
    -webkit-animation-duration: 1s;
    animation-fill-mode: both;
    -webkit-animation-fill-mode: both;
}

.delay-1 {
    animation-delay: 300ms;
    -webkit-animation-delay: 300ms;
}

.delay-2 {
    animation-delay: 600ms;
    -webkit-animation-delay: 600ms;
}

/* Custom Navbar Dropdown (Services) fix */
.custom-navbar {
    overflow: visible !important;
}

    .custom-navbar .navbar-collapse,
    .custom-navbar .navbar-nav {
        overflow: visible !important;
    }

    .custom-navbar .nav-item.dropdown .dropdown-menu {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        transform: none !important;
        z-index: 1050 !important;
    }

/* Custom Language Picker fix */
.custom-language-picker {
    overflow: visible !important;
}

.custom-navbar .bootstrap-select.language_picker {
    overflow: visible !important;
}
    /* Updated language dropdown styling – removed forced display and visibility toggling */
    .custom-navbar .bootstrap-select.language_picker .dropdown-menu {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        transform: translate3d(0px, 40px, 0px) !important;
        z-index: 1300 !important;
    }













































/* Custom Navbar Dropdown (Services) fix */
.custom-navbar {
    overflow: visible !important;
}

    .custom-navbar .navbar-collapse,
    .custom-navbar .navbar-nav {
        overflow: visible !important;
    }

    .custom-navbar .nav-item.dropdown .dropdown-menu {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        transform: none !important;
        z-index: 2000 !important; /* increased z-index to ensure services menu appears */
    }

/* Custom Language Dropdown styles */
.custom-language-dropdown {
    position: relative;
    display: inline-block;
    color: black;
    margin: auto 0;
}

.custom-dropdown-label {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    background: #fff;
    padding: 5px 10px;
    border: 1px solid #ccc;
    border: none !important;
}

.dropdown-label .arrow {
    margin-left: 8px;
}

.flags-styling {
    width: 20px;
    height: auto;
    margin-left: 5px;
    vertical-align: middle;
}

.dropdown-list {
    position: absolute;
    top: 100%;
    left: 0;
    margin: 0;
    padding: 0;
    list-style-type: none;
    background: #fff;
    border: 1px solid #ccc;
    min-width: 100px;
    z-index: 9999;
}

    .dropdown-list.hide {
        display: none;
    }

    .dropdown-list li {
        padding: 6px 10px;
        cursor: pointer;
        display: flex;
        align-items: center;
    }

        .dropdown-list li:hover {
            background-color: #f2f2f2;
        }















/* ============================= */
/* Custom Navbar Dropdown (Services) fix */
/* ============================= */
.custom-navbar {
    overflow: visible !important;
}

    .custom-navbar .navbar-collapse,
    .custom-navbar .navbar-nav {
        overflow: visible !important;
    }
    /* Desktop: Services dropdown is absolutely positioned */
    .custom-navbar .nav-item.dropdown .dropdown-menu {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        transform: none !important;
        z-index: 2000 !important; /* increased z-index to ensure services menu appears */
    }

/* Mobile override for Services dropdown */
@media (max-width: 767.98px) {
    .custom-navbar .nav-item.dropdown .dropdown-menu {
        position: static !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        z-index: auto !important;
        /*text-align: center;*/
        width: 100%;
    }

    .custom-services-link {
        margin: 0 auto;
        width: 30%;
        margin-bottom: 0.5rem;
    }

    .custom-dropdown-item-mobile {
        padding: 0;
    }

    .custom-h2 {
        color: #1A8969 !important;
        font-size: 2rem !important;
        margin-bottom: 2rem !important;
    }
}

/* ============================= */
/* Custom Language Dropdown styles */
/* ============================= */
.custom-language-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-label {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    background: #fff;
    padding: 5px 10px;
    border: 1px solid #ccc;
}

    .dropdown-label .arrow {
        margin-left: 8px; /* space before the down arrow */
    }

.flags-styling {
    width: 20px;
    height: auto;
    margin-left: 5px;
    vertical-align: middle;
}

/* Desktop: Language dropdown positioned absolutely */
.dropdown-list {
    position: absolute;
    top: 100%;
    left: 0;
    margin: 0;
    padding: 0;
    list-style-type: none;
    background: #fff;
    border: 1px solid #ccc;
    min-width: 100px;
    z-index: 9999;
}

    .dropdown-list.hide {
        display: none;
    }
    /* By default, each list item is a flex row so the flag is next to text */
    .dropdown-list li {
        display: flex;
        align-items: center;
        padding: 6px 10px;
        cursor: pointer;
    }

        .dropdown-list li:hover {
            background-color: #f2f2f2;
        }

/* ============================= */
/* Mobile override: Use a neat vertical column, centered */
/* ============================= */
@media (max-width: 767.98px) {
    /* For the language dropdown list */
    .dropdown-list {
        position: static;
        display: flex;
        flex-direction: column; /* stack vertically */
        align-items: center; /* center horizontally */
        justify-content: center;
        margin-top: 5px; /* optional spacing */
        border: 1px solid #ccc;
        min-width: auto;
        z-index: auto;
        text-align: center; /* ensure text is centered */
        width: 100%; /* occupy full width of container */
    }

        /* Each item is 100% wide and text is centered */
        .dropdown-list li {
            width: 100%;
            justify-content: center;
        }
}
