/*
Theme Name: Bongo
Description: A modern WordPress theme for Bongo Invest real estate development company
Version: 1.0
Author: Your Name
*/

/* CSS Custom Properties */
/* CSS Custom Properties */
:root {
    /* Color Palette - Only 6 colors */
    /*--yellow: #f7b707;
	*/
    --yellow-light: #f7b707;
    --yellow: #ef7904;
    --orange: #ef7904;
    --dark-gray: #242423;
    --gray: #7f7f7f;
    --light-gray: #f5f5f5;
    --light-gray-2: #bbbbbb;
    --white: #fff;
	--font-header: "Roboto Slab", serif;
	/*
	"davis", "davis-fallback", serif;
	*/
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Nata Sans", Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
}
body.admin-bar header.header {
    top: 32px;
}
main {
    margin-top: 110px;
}
@font-face {
    font-family: "davis-fallback";
    size-adjust: 100%;
    ascent-override: 90%;
    descent-override: 22%;
    line-gap-override: 0%;
    src: local("Georgia");
}
p {
    font-family: "Nata Sans", Arial, Helvetica, sans-serif;
    font-size: 18px;
    line-height: 1.5;
}
h1{
    font-family: var(--font-header);
    font-weight: 700;
    font-size: 56px;
    line-height: 1.1;
}
h2{
    font-family: var(--font-header);
    font-weight: 700;
    font-size: 36px;
    line-height: 1.1;
    color: var(--dark-gray);
}
h3 {
    font-family: var(--font-header);
    font-weight: 700;
    font-size: 30px;
    line-height: 1.1;
}
h3 strong {
	font-weight: 500;
	font-size: 26px;
}
h2 + h3 {
    font-family: "Nata Sans", Arial, Helvetica, sans-serif;
    margin-top: -30px;
    font-weight: 100 !important;
}
h4 {
    font-family: "Nata Sans", Arial, Helvetica, sans-serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 26px;
}
em {
    font-style: normal;
	/*
    color: #f7b707;
	*/
	color: var(--orange);
}
p em {
    color: var(--dark-gray);
    font-style: italic;
}
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}
@media (min-width: 1400px) {
	.container {
		max-width: 1380px;
	}
}
hr {
    border: none;
    height: 2px;
    background-color: var(--orange);
    width: 100px;
    margin: 10px 0;
}
.flex-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    display: inline-flex;
    position: relative;
    z-index: 999;
    align-items: center;
}
.wrapper {
    z-index: 999;
    position: relative;
}
.flex-row {
    display: inline-flex;
    width: 100%;
}
mark {
    background: none;
}
/* Flexbox container for column layouts */
.col-group {
    display: flex;
    flex-wrap: wrap;
}
.col-10 {
    width: 10%;
    flex: 0 0 10%;
}
.col-20 {
    width: 20%;
    flex: 0 0 20%;
}
.col-25 {
    width: 25%;
    flex: 0 0 25%;
}
.col-30 {
    width: 30%;
    flex: 0 0 30%;
}
.col-33 {
    width: 33.33333%;
    flex: 0 0 33.33333%;
}
.col-40 {
    width: 40%;
    flex: 0 0 40%;
}
.col-50 {
    width: 50%;
    flex: 0 0 50%;
}
.col-60 {
    width: 60%;
    flex: 0 0 60%;
}
.col-70 {
    width: 70%;
    flex: 0 0 70%;
}
.col-80 {
    width: 80%;
    flex: 0 0 80%;
}
.col-flex{
    width: auto;
    flex: none;
}
/* Header and Navigation */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999999;
}
.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}
@media (min-width: 1400px) {
	.nav-container	 {
		max-width: 1400px;
	}
}
.nav-logo {
    padding: 10px 0;
    transition: all 0.3s ease;
}
.nav-logo img {
    transition: all 0.3s ease;
    width: 100%;
}
.nav-logo:hover {
    opacity: 0.7;
}
.menu {
    display: flex;
    list-style: none;
    gap: 30px;
}
header.small .nav-logo img {
    width: 80%;
    transition: all 0.3s ease;
}
header.small .header-contact {
    padding: 20px 20px;
}
/* Dropdown Styles */
.menu-item-has-children {
    position: relative;
}
.header__menu .menu-item-has-children > a::after {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 12px;
    content: "\f078";
    margin-left: 0.5em;
    display: inline-block;
    transition: all 0.3s ease;
}
.menu-item-has-children:hover a:after {
    rotate: 180deg;
    transition: all 0.3s ease;
}

.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 250px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
    padding: 10px 0;
    margin: 0;
}
.sub-menu .sub-menu {
    opacity: 0 !important;
}
.sub-menu .menu-item-has-children:hover .sub-menu {
    opacity: 1 !important;
    visibility: visible;
    transform: translateY(0);
}
ul.sub-menu li a:after {
    rotate: -90deg !important;
    position: absolute !important;
    top: calc(50% - 10px) !important;
    right: 10px !important;
}
ul.sub-menu li .sub-menu {
    position: absolute;
    top: 0;
    left: 100%;
    margin: 0;
    overflow-y: auto;
    max-height: calc(100vh - 120px);
}
.menu-item-has-children:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu li {
    margin: 0;
}

.sub-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--dark-gray);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.sub-menu a:hover {
    background: var(--light-gray);
    border-left-color: var(--orange);
}

.header__menu a {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 16px;
}
.header__menu a:hover {
    color: var(--orange);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}
.bar {
    width: 25px;
    height: 3px;
    background-color: var(--dark-gray);
    margin: 3px 0;
    transition: 0.3s;
}
.header-contact {
    background: var(--light-gray);
    display: flex;
    flex-direction: column;
    gap: 10px;
    line-height: 24px;
    padding: 30px 20px;
    margin-right: -20px;
}
.gray-line {
    background: var(--dark-gray);
    height: 15px;
    transition: all 0.3s ease;
	display: none;
}
.header-contact i {
    color: var(--orange);
    margin-right: 10px;
}
.header-contact a {
    color: var(--dark-gray);
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    transition: color 0.3s ease;
}
.header-contact a:hover {
    color: var(--orange);
}
a {
    color: var(--orange);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}
a:hover {
    color: var(--yellow);
}

/*Hero section*/
.hero-box {
  position: relative;
  list-style: none;
  background: var(--dark-gray);
  color: white;
  overflow: hidden;
}
.light .hero-box {
	background-color: var(--light-gray);
	color: var(--dark-gray);
}
.hero-box .hero_box_text {
    margin-bottom: 140px;
    margin-top: 60px;
}
.hero_box_right {
    position: absolute;
    right: 0;
    height: -webkit-fill-available;
    height: -moz-available;
    height: fill-available;
    width: 50%;
    background: no-repeat center / cover;
    z-index: 1001;
    display: flex;
    overflow: hidden;
}
.hero_box_row {
    display: flex;
    flex-wrap: nowrap;
    width: calc(50% - 50px);
    min-height: 60vh;
    z-index: 985;
    position: relative;
    align-items: center;
}
.hero_box .hero_box_text {
    display: flex;
    align-items: flex-start;
    align-content: flex-start;
    justify-content: center;
    flex-direction: column;
}
.hero_box_text h1 {
    margin-bottom: 10px;
}
.hero_box_text h2 {
    margin-bottom: 20px;
    font-size: 32px;
    line-height: 42px;
}
.hero_box_text p {
    font-size: 16px;
    line-height: 25px;
    margin-bottom: 30px;
    width:80%;
}
.hero_bottom_text {
    background: white;
    position: absolute;
    bottom: 0;
    width: 100%;
    z-index: 999;
    padding: 20px 0;
    height: 105px;
}
/*
.hero-box:after, 
.hero-header:after {
    content: "";
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 40%;
}
*/
.hero-header:after {
    content: "";
    background-size: 50%;
    background-position: right center;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 100%;
	
	
    -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 1) 75%);
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 1) 75%);
    mask-repeat: no-repeat;
    mask-size: 100% 100%;
}
.owl-carousel .owl-item video {
    display: block;
    object-fit: cover;
    width: 100% !important;
    height: 100% !important;
}
.hero-carousel-item {
    width: 100%;
    min-height: calc(60vh + 90px);
}
.hero-carousel-item img, .hero-carousel-item video {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center center;
    min-height: 70vh;
}
.hero-box .owl-nav {
    display: none;
}
.hero-box .owl-nav {
    position: absolute;
    top: 0;
}
.hero-box .owl-carousel {
    padding: 0;
}
.hero-box .owl-stage {
    padding-bottom: 0px !important;
}   
.specialist-avatar img {
    aspect-ratio: 1/1;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}
.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}
.hero-box h2{
    color: var(--gray);
}
.hero-box .hero_bottom_text a {
    font-size: 35px;
    line-height: 40px;
    font-weight: 300;
    text-decoration: none;
    color: var(--dark-gray);
    display: block;
}
.hero-box .wrapper:nth-child(2) span {
    color: var(--gray);
    display: block;
    text-transform: uppercase;
    font-size: 14px;
}
.cta-button {
    background-color: var(--orange);
    color: var(--white);
    padding: 20px 30px;
    border: none;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.06em;
    text-decoration: none;
    white-space: nowrap;
    margin-top: 20px;
    display: inline-block;
}
button {
    font-family: "Nata Sans", Arial, Helvetica, sans-serif;
}
.cta-button i {
    margin-left: 10px;
}
.hero_bottom_text span {
    color: var(--light-gray-2);
    text-transform: uppercase;
    display: block;
}
.cta-button:hover {
    background: var(--yellow-light);
    color: white;
}
a.button-outline {
    display: inline-block;
    border: 2px #FFF solid;
    padding: 17px 25px;
    text-transform: uppercase;
    font-weight: 800;
    font-size: 17px;
    color: #FFF;
    letter-spacing: .5px;
	transition: all .25s ease;
}
a.button-outline:hover {
	border-color: var(--orange);
	color: var(--orange);
}
.stats-section.light .button-outline {
    border-color: var(--dark-gray);
    color: var(--dark-gray);
}
.stats-section.light h2 {
    color: var(--dark-gray);
}
.stats-section.light .button-outline:hover {
    border-color: var(--yellow);
    color: var(--yellow);
}
.hero .wrapper:nth-child(2) {
    background: var(--light-gray);
    padding: 20px 0;
}
.hero .wrapper:first-child {
    padding-bottom: 80px;
}
.hero .col-50:first-child {
    text-align: left;
}
.hero-header {
    position: relative;
    list-style: none;
    background: var(--dark-gray);
    color: white;
    min-height: 50vh;
}
.hero-header.light {
	background-color: var(--light-gray);
	color: var(--dark-gray);
}
.hero-header.light .hero_box_text .page-excerpt {
	color: var(--dark-gray);
}
.hero-header.small {
    min-height: 30vh;
}
.hero-header h1 {
    margin: 0;
}
.hero-header p {
    width: 100%;
}
.hero-header .hero_box_text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 1000;
    max-width: 50%;
}
.hero_box_text .page-excerpt {
    color: white;
    font-family: "Nata Sans", Arial, Helvetica, sans-serif;
    font-size: 24px;
	line-height: 30px;
    font-weight: 400;
    margin-bottom: 0;
}
.hero-box .owl-stage-outer, .hero-box .owl-stage, .hero-box .owl-item {
    height: 100%;
}
@media (min-width: 992px) {
	.hero-header.small {
		min-height: 150px;
	}
	.hero-header .hero_box_text {
		/*
		max-width: initial;
		*/
		max-width: 500px;
	}
	.hero_box_text h1 {
		font-size: 46px;
		margin-bottom: 10px;
	}
}
/* Search Section */
.search-results {
	margin-top: 120px;
    background-color: var(--light-gray);
}
.search-section {
    background-color: var(--light-gray);
    padding-top: 80px;
    padding-bottom: 80px;
}
.search-section h2 {    
    text-align: center;
    color: var(--dark-gray);
}
.search-section p {
    text-align: center;
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 50px;
    margin-top:10px;
}
.search-form {
    background: var(--light-gray);
    padding: 0px 30px 0;
    margin: 0 auto;
}
.search-row {
    display: flex;
    gap: 30px;
}
.search-input, .search-field {
    width: 33.33333%;
}
.search-row:last-of-type {
    margin-bottom: 40px;
}

.search-field {
    flex: 1;
}

.search-field label, .search-row label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--gray);
    text-transform: uppercase;
    margin-bottom: 10px;
}
.search-select {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--light-gray);
    font-size: 16px;
    background: var(--light-gray);
    color: var(--dark-gray);
    outline: none;
    font-family: "Nata Sans", sans-serif;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: 2px solid #dddddd;
    cursor: pointer;
    transition: all 0.3s ease;
}
.search-select:hover {
    background-color:white;
}
.search-button-container {
    text-align: center;
}

.search-button {
    background-color: var(--orange);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.search-button:hover {
    background-color: var(--dark-gray);
    transform: translateY(-2px);
}

.range {
    width: 320px;
    margin: 30px auto;
    font-family: Arial, sans-serif;
  }
  
  /* Linia slidera */
  .range-slider {
    position: relative;
    background: #e7e7e7;
    border-radius: 6px;
    height: 10px;
}
  
  /* Kolor wybranego zakresu */
  .range-progress {
    position: absolute;
    height: 100%;
    background: #c5c5c5;
    border-radius: 6px;
    left: 0;
    right: 0;
}
  .range-input {
    position: relative;
  }
  .range-input input {
    position: absolute;
    top: -8px;
    height: 6px;
    width: 100%;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
}
  
  .range-input input::-webkit-slider-thumb {
    height: 18px;
    width: 18px;
    border-radius: 50%;
    background: #f7b707;
    border: none;
    pointer-events: auto;
    -webkit-appearance: none;
    cursor: pointer;
    box-shadow: 0 0 2px rgba(0,0,0,0.4);
  }
  
  .range-input input::-moz-range-thumb {
    height: 18px;
    width: 18px;
    border-radius: 50%;
    background: #f7b707;
    border: none;
    pointer-events: auto;
    cursor: pointer;
    box-shadow: 0 0 2px rgba(0,0,0,0.4);
  }
  .range-labels p {
    font-size: 14px!important;
    color: var(--dark-gray)!important;
}
  /* Pola wartości */
  .range-values {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    gap: 10px;
  }
  
  .range-values label {
    font-size: 14px;
  }
  
  .range-values input {
    width: 60px;
    padding: 4px;
    border: 1px solid #ccc;
    border-radius: 6px;
    text-align: center;
    background: none;
    border: none;
  }

.search-results .search-section {
    padding: 50px 0 0;
    margin-bottom: 30px;
}
/* Sections */
section {
    width: 100%;
    display: block;
    padding: 0;
}

.about {
    background-color: var(--light-gray);
}

.services {
    background-color: var(--white);
}

.contact {
    background-color: var(--light-gray);
}


.about p {
    font-size: 1.1rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: var(--gray);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--orange);
}

.service-card p {
    color: var(--gray);
    line-height: 1.6;
}

/* Why Bongo Invest Section */
.stats-section {
    background-color: var(--dark-gray);
    color: white;
    padding: 0px 0 0px;
    position: relative;
	margin-bottom: 80px;
}
section.stats-section.connected + .carousel-gallery {
    display: none;
}
.stats-section h2 {
    color: white;
    margin-bottom: 30px;
}
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px 0px;
    margin-top: 40px;
    margin-right: 10%;
    margin-bottom: 20px;
}
.stats-section .col-50:first-child {
    padding-right: 50px;
}
@media (min-width: 992px) {
	.stats-section .col-50:first-child {
		padding-top: 50px;
		padding-bottom: 50px;
	}
}
.stats-section .col-50 {
    display: inline-flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-end;
}
.stat-item {
    text-align: left;
    position: relative;
    z-index: 999;
    padding: 15px;
    min-width: 150px;
}
.stat-item::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 0;
    border-left: 0 solid transparent;
    border-right: 120px solid transparent;
    border-top: 120px solid #333333;
    z-index: -9;
    rotate: -90deg;
}
.stat-number {
    font-family: "davis", sans-serif;
    font-size: 54px;
    font-weight: 700;
    color: var(--yellow);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-family: "Nata Sans", sans-serif;
    font-size: 16px;
    color: white;
    line-height: 22px;
}

.stats-section-image {
    position: absolute;
    z-index: 10;
    height: 100%;
    right: 0;
    left: 50%;
    top: 0;
    bottom: 0;
}
.stats-section-image img {
    width: 100%;
    height: calc(100% + 50px);
    object-fit: cover;
}
.stats-section-image .triplet {
	display: flex;
    align-items: stretch;
    height: 100%;
	min-height: 250px;
	justify-content: space-between;
}
.stats-section-image .triplet picture {
	flex: 0 0 32%;	
}
.stats-section-image .triplet img {
    width: 100%;
    height: 100%;
    object-fit: cover;
	aspect-ratio: initial;
}
.stats-section.light .stat-number {
    font-size: 36px;
}
.stats-section.light .stats-grid {
    gap: 40px 20px;
}
/* Reviews Section */
.reviews {
    background-color: var(--light-gray);
    padding: 45px 0 60px;
    position: relative;
    margin-bottom: 70px;
}
.reviews h2 {
    margin-bottom: 40px;
}
.review-card {
    background: var(--white);
    padding: 30px 30px 0;
    margin: 10px 15px;
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.review-card:hover {
    transform: translateY(-10px);
}
.review-header {
    margin-bottom: 5px;
}
.google-logo img {
    width: inherit !important;
}
.review-content h4 {
    font-family: "Nata Sans", sans-serif;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark-gray);
}

.review-stars {
    margin-bottom: 15px;
}

.review-stars i {
    color: var(--yellow);
    font-size: 16px;
    margin-right: 2px;
}
.about-page .reviews {
    margin-bottom: 0;
}
.review-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.review-content p {
    font-size: 16px;
    line-height: 22px;
    color: var(--dark-gray);
}
.review-text-container {
    font-size: 16px;
    line-height: 22px;
    color: var(--dark-gray);
    margin: 0;
}
.review-text-visible, .review-text-hidden {
    width: 100%;
    display: inline-block;
}
.review-text-hidden {
    display: block;
}
.review-text-dots {
    display: inline;
}
.review-toggle-btn {
    margin-top: 5px;
    background: none;
    border: none;
    text-align: left;
    color: var(--yellow) !important;
    cursor: pointer;
    font-size: 14px;
    padding: 0;
    font-weight: 600;
}
.review-item {
    width: 100% !important;
}
/* Reviews Carousel Custom Styles */
#reviewsCarousel .owl-nav {
    margin-top: 40px;
}
#reviewsCarousel .owl-dots .owl-dot.active span,
#reviewsCarousel .owl-dots .owl-dot:hover span {
    background: var(--yellow) !important;
}
/*SEO Section*/
.text-section .col-group {
    gap: 60px;
}
.text-section h2 {
    margin-bottom: 60px;
}
.text-section h2.year {
    font-size: 40px;
    font-weight: 300;
    margin: 0 0 30px;
}
@media (max-width: 992px) {
    .text-section h2.year {
        font-size: 50px;
        margin: 0;
    }
}
.text-section .grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(3rem, 1vw, 2rem);
}
.text-section .col-50 {
    width: calc(50% - 30px);
    flex: 0 0 calc(50% - 30px);
}
.text-section p {
    font-family: "Nata Sans", sans-serif;
    font-size: 18px;
    line-height: 24px;
	margin-bottom: 1em;
}
.text-image-block p {
	margin-bottom: 1em;	
}
.text-section {
    margin-bottom: 50px;
    display: inline-block;
}
.text-section ul {
    font-size: 18px;
    line-height: 24px;
    margin-top: 20px;
    padding-left: 1.5em;
    list-style-position: outside;
}
.text-section .col > ul:first-of-type {
	margin-top: 0;
}
/* Contact CTA Section */
.cta-block {
    background-color: var(--dark-gray);
    color: white;
    padding: 80px 0;
    position: relative;
}
.cta-block.light {
    background-color: var(--light-gray);
    color: var(--dark-gray);
}
.cta-block.light h2, .cta-block.light .specialist-info i{
    color: var(--dark-gray);
}

.cta-block .col-40:last-child {
    display: flex;
    justify-content: flex-end;
}
.cta-block:after {
/*
    content: "";
    background-image: url('/wp-content/themes/bongo/images/abstract-background.svg');
    background-size: cover;
    position: absolute;
    top: 0;
    left: -20%;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 3%;
    background-position: center;
	*/
}
.cta-block .cta-button {
    margin-top: 0;
}
.cta-block .col-group {
    align-items: center;
    z-index: 990;
    position: relative;
}
.cta-block h2 {
    margin: 0;
    color: white;
    text-align: left;
}
.contact-specialist {
    display: flex;
    align-items: center;
    gap: 15px;
}

.specialist-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}
.specialist-info i {
    color: #fff;
    font-size: 16px;
}
.specialist-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.specialist-info p {
    font-size: 14px;
    color: var(--gray);
    margin: 0;
}
.specialist-info a {
    color: var(--orange);
    text-decoration: none;
    font-size: 24px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.specialist-info a:hover {
    color: var(--yellow);
}

.specialist-phone i {
    color: var(--orange);
}
/*
.cta-image-block picture {
    aspect-ratio: 6 / 4;
    float: left;
    display: inline-flex;
}
*/
.cta-image-block picture img {
    object-fit: cover;
    -webkit-mask-image: linear-gradient(101deg, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 1) 50%);
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-image: linear-gradient(101deg, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 1) 50%);
    mask-repeat: no-repeat;
    mask-size: 100% 100%;
    width: 100%;
}
.cta-image-block .cta-button {
    margin-top: 30px;
}
.cta-image-block .cta-block {
    padding: 0;
}
.cta-image-block {
    margin-bottom: 80px;
    margin-top: 80px;
}

/* Map section */
.map-section .section-header {
    padding: 30px 40px;
    text-align: center;
}
.map-section {
    margin: 80px 0;
}
.map-background {
    position: relative;
}
.map-section .map-container {
    padding: 0 40px;
}
.map-background:before {
    content: "";
    width: 100%;
    height: 80%;
    display: inline-block;
    top: 0;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 50%;
    z-index: -8;
    background-image: url(/wp-content/themes/bongo/images/abstract-background.svg);
    background-size: cover;
    opacity: 3%;
    filter: invert(1);
}
.map-background:after {
    content: "";
    width: 100%;
    height: 80%;
    background: var(--light-gray);
    display: inline-block;
    top: 0;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 50%;
    z-index: -9;
}
.map-container iframe {
    max-height: 400px;
}
/* Footer */
.footer {
    background-color: var(--light-gray);
    color: var(--dark-gray);
    padding-top: 60px;
}
.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    max-width: 200px;
    height: auto;
}

.footer-company-info {
    margin-bottom: 25px;
}
.footer-company-info p {
    font-size: 16px;
    line-height: 22px;
    margin-bottom: 0;
    color: var(--dark-gray);
}
.footer-credits {
    text-align: right;
}
.footer-contact {
    margin-bottom: 25px;
    position: relative;
}
footer.footer .col-25:nth-child(2) .footer-contact:before {
    border-left: 1px solid var(--dark-gray);
    content: "";
    position: absolute;
    height: 100%;
    margin-left: -30px;
    opacity: 0.1;
}
.footer-contact .contact-item {
    margin-bottom: 15px;
    line-height: 20px;
}
.footer-contact .contact-item span {
    font-size: 12px;
    color: var(--dark-gray);
    font-weight: 600;
    text-transform: uppercase;
    display: block;
}
.footer-contact .contact-item a {
    color: var(--orange);
    font-size: 18px;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
}
.footer-contact .contact-item a:hover, .footer-credits a:hover {
    color: var(--yellow);
}
.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}
.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--dark-gray);
    text-decoration: none;
    transition: background-color 0.3s ease;
    font-size: 30px;
    transition: color 0.3s ease;
}
.social-link:hover {
    color: var(--yellow);
}
.footer h3 {
    font-family: "davis", sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-gray);
}
.footer-links {
    list-style: none;
}
.footer-links li {
    line-height: 20px;
    display: inline-flex;
    width: 100%;
}
ul.footer-links li:before {
    content: "•";
    color: var(--orange);
    font-weight: bold;
    margin-right: 8px;
    display: inline-flex;
    font-size: 14px;
}
.footer-links a {
    color: var(--dark-gray);
    text-decoration: none;
    font-size: 14px;
    line-height: 18px;
	font-weight: 400;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--orange);
}

.footer-links i {
    color: var(--orange);
    margin-right: 10px;
    font-size: 12px;
}
.footer-bottom {
    background-color: var(--white);
    padding: 30px 0;
    margin-top: 40px;
    position: relative;
}
.footer-bottom p {
    font-size: 14px;
    color: var(--dark-gray);
    margin: 0;
}

.footer-credits a {
    color: var(--orange);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}
.footer-social-mobile {
    display:none;
}
/* Carousel Styles */
.owl-stage {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    height: auto;
    padding-bottom: 20px;
}
.owl-item {
    display: flex;
}
.owl-carousel {
    padding: 0 60px;
}
.carousel {
    background-color: var(--light-gray);
    padding: 80px 0;
    overflow: hidden;
}
.carousel h2 {
    text-align: center;
    margin-bottom: 50px;
    padding-right: 20px;
}
.carousel-card {
    background: var(--white);
    overflow: hidden;
    transition: transform 0.3s ease;
    margin: 10px;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.carousel-card:hover {
    transform: translateY(-10px);
}
.carousel-card img {
    width: 100%;
    max-height: 220px;
    object-fit: cover;
    aspect-ratio: 6 / 4;
}
.carousel-content {
    padding: 10px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.carousel-content h4 {
    margin-bottom: 15px;
    color: var(--orange);
}

.carousel-content p {
    color: var(--dark-gray);
    line-height: 21px;
    margin-bottom: 0;
    font-size: 15px;
    font-weight: 300;
}
.carousel-image {
    position: relative;
}
.carousel-image-text {
    position: absolute;
    right: 0;
    background: var(--yellow);
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 10px;
    font-family: 'Nata Sans', sans-serif;
    font-size: 42px;
    font-weight: 900;
    line-height: 42px;
}
.carousel-image-text span:nth-child(2) {
    font-size: 14px;
    font-weight: 400;
    line-height: 14px;
}
.carousel-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.carousel-details .status {
    background-color: var(--orange);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.carousel-details .apartments {
    color: var(--gray);
    font-weight: 500;
    font-size: 14px;
}
.carousel-item a {
    text-decoration: none;
    color: var(--dark-gray);
    font-size: 20px;
    line-height: 26px;
}
/* Owl Carousel Custom Styles */
.owl-carousel .owl-nav {
    margin-top: 30px;
}

.owl-carousel .owl-nav button.owl-next, .owl-carousel .owl-nav button.owl-prev {
    color: var(--yellow) !important;
    width: 50px !important;
    height: 50px !important;
    transition: all 0.3s ease !important;
    margin: 0 !important;
    background: none !important;
    position: absolute !important;
    top: calc(50% - 15px) !important;
    transform: translateY(-50%) !important;
    z-index: 10 !important;
    font-size: 42px !important;
}
.reviews .owl-carousel .owl-nav button.owl-next, .reviews .owl-carousel .owl-nav button.owl-prev {
    top: calc(50% - 30px) !important;
    transform: translateY(-50%) !important;
}
.owl-carousel .owl-nav button.owl-next:hover, .owl-carousel .owl-nav button.owl-prev:hover {
    color: var(--orange) !important;
}

.owl-carousel .owl-nav button.owl-next {
    right: 0px !important;
}

.owl-carousel .owl-nav button.owl-prev {
    left: 0px !important;
}

.owl-carousel .owl-dots {
    text-align: center;
    margin-top: 25px;
}

.owl-carousel .owl-dots .owl-dot {
    display: inline-block;
    margin: 0 5px;
}
.owl-carousel .owl-dots .owl-dot span {
    background: var(--light-gray-2) !important;
    width: 12px !important;
    height: 12px !important;
    border-radius: 0% !important;
    transition: all 0.3s ease !important;
}

.owl-carousel .owl-dots .owl-dot.active span,
.owl-carousel .owl-dots .owl-dot:hover span {
    background: var(--yellow) !important;
    transform: scale(1.2) !important;
}
/* Custom block styles */
.three-column-boxes .col-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}
/*.three-column-boxes .section-header h2 {*/
.two-column-boxes .section-header h2 + h3,
.three-column-boxes .section-header h2 + h3,
.faq-content h2 + h3,
.carousel-gallery h2 + h3 {
	margin-top: 0px;
}
.two-column-boxes .col-group,
.three-column-boxes .col-group {
    margin-top: 35px;
}
.three-column-boxes img, .two-column-boxes img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    width: 100%;
    margin-bottom: 20px;
}
.three-column-boxes p, .two-column-boxes p {
    margin: 10px 0;
}
.two-column-boxes p {
	font-size: 15px;
}
.three-column-boxes {
    margin: 70px 0;
}
.two-column-boxes .col-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}
.three-column-boxes h4 a {
	color: inherit;
}
.three-column-boxes h4 a:hover {
	color: var(--orange);
}
@media (min-width: 992px) {
	.two-column-boxes .col-group {
		gap: 50px;
		padding-right: 35px;
	}	
}
.two-column-boxes {
    margin-bottom: 70px;
}
.faq .collapse {
    position: relative;
}
.faq .accordion {
    background-color: var(--light-gray);
    color: var(--dark-gray);
    cursor: pointer;
    padding: 22px 20px 22px 0;
    width: 100%;
    border: none;
    text-align: left;
    font-size: 20px;
    outline: none;
    line-height: 1.4;
    transition: 0.4s;
    border-top: 1px solid #e7e7e7;
    position: relative;
}
.faq .accordion:after {
    content: '\002B';
    color: var(--orange);
    font-weight: bold;
    float: right;
    margin-left: 5px;
    position: absolute;
    right: 0;
    top: calc(50% - 15px);
}
.faq .accordion.active:after {
    content: "\2212";
}
button.accordion strong {
    display: inline-flex;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
button.accordion:hover strong {
    transform: translateX(10px);
}
.faq .panel {
    padding: 0px;
    background-color: var(--light-gray);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    font-size: 16px;
    line-height: 24px;
}
.faq .panel p {
    margin: 0;
    margin-bottom: 20px;
}
.text-image-block {
    display: flow-root;
    margin-bottom: 80px;
}
#feature_boxes {
    margin: 0;
}
.feature_box {
    float: left;
    width: 100%;
    position: relative;
}
.feature_box_left {
    position: absolute;
    left: 0;
    height: -webkit-fill-available;
    height: -moz-available;
    height: fill-available;
    z-index: -9;
    flex: 0 0 50%;
    width: 50%;
    background: no-repeat center / cover;
}
.feature_box.left .image_feature_box_right {
    left: 0;
}
.image_feature_box_right {
    position: absolute;
    right: 0;
    height: -webkit-fill-available;
    height: -moz-available;
    height: fill-available;
    flex: 0 0 50%;
    width: calc(50% - 100px);
    background: no-repeat center / cover;
    z-index: 99;
}
.feature_box.left .empty-space {
    width: 50%;
    float: left;
    min-height: 60vh;
}
.feature_box_row {
    display: flex;
    flex-wrap: nowrap;
    width: 50%;
    min-height: 60vh;
}
.feature_box .feature_box_text {
    display: flex;
    align-items: flex-start;
    align-content: flex-start;
    justify-content: center;
    flex-direction: column;
    padding: 60px 0 0;
    min-height: 400px;
    font-size: 18px;
    line-height: 28px;
    margin-bottom: 60px;
    word-wrap: break-word;
    width: 80%;
}
.feature_box .feature_box_text ol {
	margin-left: 25px;
}
.feature_box .feature_box_text li {
    list-style: none;
    margin: 10px 0 0;
}
#feature_boxes ul {
    line-height: 1.3;
}
.feature_box picture {
    display: inline-flex;
    width: 100%;
    height: -webkit-fill-available;
    height: -moz-available;
    height: fill-available;
}
.feature_box picture img {
    object-fit: cover;
}
.contact-modal {
    align-items: center;
    justify-content: center;
    display: none;
}
.feature_box_text h2, .feature_box_text h3 {
    margin-bottom: 30px;
}
.contact-modal.active {
    display: flex;
    align-items: center;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
	z-index: 999999;
}
.contact-modal .modal-background {
    position: fixed;
    background: #00000045;
    width: 100vw;
    height: 100vh;
    z-index: 1500;
    top: 0;
}
.contact-modal .form-box {
    width: 500px;
    background: #ffffff;
    position: fixed;
    z-index: 1505;
    padding: 20px 50px 40px;
    text-align: center;
    overflow-y: auto;
    max-height: calc(100vh - 60px);
}
.box-head {
    margin-bottom: 20px;
}
.box-head p {
    font-size: 20px;
}
.contact-form {
    text-align: left;
    width: 100%;
    margin-top: 30px;
}
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--light-gray);
    font-size: 16px;
    background: var(--white);
    color: var(--dark-gray);
    outline: none;
    font-family: "Nata Sans", sans-serif;
    height: 50px;
    max-width: 400px;
    margin-top: 5px;
}
.contact-form label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--gray);
    text-transform: uppercase;
    margin-bottom: 10px;
}
input[type="checkbox"] {
    width: 14px;
    display: inline-block;
    height: 14px;
    margin-right: 5px;
    vertical-align: text-bottom;
}
input.cta-button {
    background: var(--orange) !important;
    color: white !important;
    border: none !important;
}
input.cta-button:hover {
    background: var(--yellow) !important;
}
/* Special classes for blocks */
.gray-background {
    background-color: var(--light-gray);
}
.extra-padding {
    padding: 60px 0;
}
/* Apartment details table */
.table-apartment p {
    display: flex;
    justify-content: space-between;
	font-size: 15px;
}
.apartment-details .cta-button {
	padding: .5em 1em;
}
.apartment-details {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
}
.apartment-details td a {
    color: var(--orange);
    text-decoration: none;
    transition: all 0.3s ease;
}
.apartment-details td a:hover {
    color: var(--yellow);
}
.apartment-details td a i {
    margin-left: 7px;
}
.apartment-details td {
    padding: 8px 12px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: top;
}

.apartment-details tr:last-child td {
    border-bottom: none;
}

.apartment-details td:first-child {
    width: 40%;
    color: var(--dark-gray);
    padding-left: 0;
}
.apartment-details td:last-child {
    width: 60%;
    text-align: right;
    padding-right: 0;
}
.apartment-details #price-row {
    border-bottom: none !important;
    padding-bottom: 3px !important;
}
.apartment-description {
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}
.apartment-description p{
    font-size: 16px;
}
.contact-form textarea {
    min-height: 100px;
}
.contact-form input:focus, .contact-form textarea:focus {
    border: 1px solid var(--yellow);
}
button.close-modal {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--light-gray);
    border: none;
    outline: none;
    width: 40px;
    height: 40px;
    font-size: 24px;
    color: var(--dark-gray);
    cursor: pointer;
    transition: all 0.2s ease;
}
button.close-modal:hover {
    background: var(--yellow);
    color: white;
}
.fancybox__container {
    z-index: 1600 !important;
}
.gallery-item {
    width: 100%;
    background: var(--orange);
}
.gallery-item img {
    aspect-ratio: 5 / 6;
    max-height: 420px;
    object-fit: cover;
    cursor: pointer;
    height: auto;
    width: 100%;
    transition: all 0.3s ease;
}
.gallery-item img:hover {
    opacity: 0.5;
}
.fancybox__thumbs .carousel__slide .fancybox__thumb::after {
    border-color: var(--orange) !important;
}
.carousel-gallery .section-header {
    text-align: center;
    margin-bottom: 60px;
}
.carousel-gallery {
	padding: 1.5em 0;
    margin-bottom: 50px;
}
svg {
    width: 100%;
}
#mieszkanie-svg {
    margin-bottom: 80px;
}
svg#podhalanin a {
    opacity: 0;
}
svg#podhalanin a:hover {
    opacity: 1;
}
#podhalanin path {
    fill: rgba(242, 98, 37, 0);
}
#podhalanin path:hover {
    fill: rgba(242, 98, 37, 0.5);
}
.rzut .Rezerwacja {
    fill: rgba(255, 152, 0, 0.5);
}
.rzut .Wolne {
    fill: rgba(76, 175, 80, 0.4);
}
.rzut .Zarezerwowane {
    fill: rgba(255, 152, 0, 0.5);
}
.rzut .Wyłączone-ze-sprzedaży {
    /*
	fill: rgb(109 109 109 / 50%)
	*/
    fill: rgba(233, 30, 99, 0.6);
}
.rzut path {
    cursor: pointer;
    fill: none;
}
.rzut .Sprzedane {
    fill: rgba(233, 30, 99, 0.6);
}
.rzut path {
	transition: all .25s ease;
	position: relative;
}
.rzut path:hover {
	opacity: .75;
}


svg:not(:root) {
    overflow: hidden;
}
.apartment {
    width: 500px;
    background: #ffffff;
    position: fixed;
    z-index: 1600;
    padding: 0;
    text-align: center;
    top: 0;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.contact-modal.apartment {
    left: 0;
    display: none;
}
.contact-modal.apartment.active {
    display: flex;
    background: #00000000;
}
.contact-modal.apartment .form-box {
    text-align: left;
}
.contact-modal.apartment p {
    line-height: 1.5;
}
.contact-modal.apartment .cta-button {
    padding: 15px 20px;
    margin-top: 20px;
}
.box-head p {
    font-size: 18px;
    margin-bottom: 10px;
}
.investments .col-50:last-child {
    text-align: right;
}
.investments button {
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 10px;
}
.investments button.page-btn.active {
    color: var(--dark-gray);
    font-weight: 600;
    border: 1px solid rgb(221, 221, 221);
    background: rgb(249, 249, 249);
    padding: 8px 15px;
}
.investments-table {
    font-size: 12px;
    background: var(--light-gray);
    padding: 20px;
    border-radius: 4px;
}
.investments-table th {
    position: relative;
    padding-right: 20px;
    cursor: pointer;
}
.investments-table th i {
    color: #c7c7c7;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 10px;
}
.table-apartments {
    margin: 30px 0 50px;
}
.investments-table .row {
    display: inline-flex;
    margin-bottom: 15px;
    width: 100%;
    justify-content: space-between;
    gap: 20px;
}
.investments-table table {
    table-layout: fixed;
    width: 100%;
    min-width: 800px;
}
.investments-table th, .investments-table td {
    min-height: 20px;
    vertical-align: top;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.investments-table .first-row th {
    border: 2px solid #00000000;
    padding: 5px;
}
.investments-table .first-row th:hover {
    border: 2px solid #ebebeb;
}
.investments-table th:nth-child(1),
.investments-table td:nth-child(1) { width: calc(30px + 2%); min-width: 50px; }  /* Nr. */
.investments-table th:nth-child(2),
.investments-table td:nth-child(2) { width: calc(90px + 5%); min-width: 100px; } /* Piętro */
.investments-table th:nth-child(3),
.investments-table td:nth-child(3) { width: calc(100px + 6%); min-width: 120px; text-align: center; } /* Metraż */
.investments-table th:nth-child(4),
.investments-table td:nth-child(4) { width: calc(100px + 5%); min-width: 120px; text-align: center; }  /* Pokoje */
.investments-table th:nth-child(5),
.investments-table td:nth-child(5) { width: calc(300px + 20%); min-width: 300px; } /* Opis */
.investments-table th:nth-child(6),
.investments-table td:nth-child(6) { width: calc(140px + 3%); min-width:150px;} /* Cena */
.investments-table th:nth-child(7),
.investments-table td:nth-child(7) { width: calc(70px + 3%); min-width: 80px;} /* Wartość */
.investments-table th:nth-child(8),
.investments-table td:nth-child(8) { width: calc(170px + 5%); min-width: 180px; } /* Dostępność */
.investments-table th:nth-child(9),
.investments-table td:nth-child(9) { width: calc(50px + 5%); min-width: 80px; text-align: center; }  /* PDF */
.investments-table td:empty::after {
    content: "\00a0";
}
.investments-table a {
    color: var(--orange);
    transition: color 0.3s ease;
}
.investments-table a:hover {
    color: var(--yellow);
}
.investments-table input, .investments-table select {
    border: 1px solid #c7c7c7;
    padding: 0 4px;
    height: 25px;
    font-size: 11px;
    border-radius: 4px;
    color: #696969;
}
.investments-table input:focus, .investments-table select:focus {
    border: 1px solid var(--orange);
    outline: none;
}
#mieszkaniaTable tr {
    line-height: 30px;
    display: inline-flex;
    width: 100%;
}
.apartments-table-body tr:hover {
    background: #fff;
}
tbody.apartments-table-body td:first-child {
    text-align: right;
    padding-right: 20px;
}
    /* Interactive block */
    .interactive-block.text-image-block {
        width: 100%;
        margin-bottom: 0;
        background: var(--light-gray);
    }
    .interactive-block .image_feature_box_right {
        width: 50%;
    }
    .interactive-block .feature_box_row {
        padding-left: 50px;
        min-height: unset;
    }
    .interactive-block .feature_box.left .empty-space {
        min-height: unset;
    }
    .interactive-block .image_feature_box_right {
        display: inline-flex;
        align-items: center;
        height: 100%;
    }
    .interactive-block .feature_box .feature_box_text {
        margin-bottom: 0;
        min-height: unset;
        margin-top: 0;
        padding-top: 0;
    }
    .interactive-block .feature_box_text ol li {
        list-style: decimal !important;
    }
    .interactive-block .feature_box_text ol li::marker {
        font-weight: 700;
    }
    .table-apartments {
        margin: 0px 0 50px;
        float: left;
        width: 100%;
        background: var(--light-gray);
    }
/* Scrollbar styling for table wrapper */
.table-wrapper::-webkit-scrollbar {
    height: 8px;
}
.table-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}
.table-wrapper::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}
.table-wrapper::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Price display styles for new and old prices */
.price-cell .new-price {
    margin-right: 5px;
}

.price-cell .old-price {
    color: var(--gray);
    text-decoration: line-through;
    font-weight: normal;
}

#global-price-tooltip {
    position: absolute; /* Changed from fixed to absolute for correct positioning */
    display: none;
    background-color: var(--dark-gray);
    color: var(--white);
    text-align: center;
    padding: 6px 10px;
    border-radius: 6px;
    z-index: 1000; /* Ensure it's on top */
    white-space: nowrap;
    font-size: 12px;
    pointer-events: none; /* Prevent it from capturing mouse events */
}

.price-content {
    display: inline-flex;
    align-items: center;
}

.price-info-icon {
    color: var(--gray);
    font-size: 12px;
    margin-left: 5px;
}

/* Styles for price in modal */
.apartment-details .new-price {
    margin-right: 5px;
}

.apartment-details .old-price {
    color: var(--gray);
    text-decoration: line-through;
    font-weight: normal;
}
.apartment-details .price-disclaimer {
    font-size: 12px;
    color: var(--gray);
}

.price-disclaimer-cell {
    font-size: 12px;
    color: var(--gray) !important;
    padding: 0 0 8px !important;
}
.two-column-contact {
    padding: 0 !important;
}
.two-column-contact .col-50:first-child {
    margin-top: 90px;
}
.two-column-contact .contact-form {
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.two-column-contact li {
    display: flex;
    flex-direction: column;
    list-style: none;
    margin: 15px 0;
}
.list-header p {
    font-size: 20px;
    margin: 40px 0 20px;
    font-weight: 500;
}
.two-column-contact strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray);
    text-transform: uppercase;
    margin-bottom: 5px;
}
.two-column-contact .col-50 {
    display: flex;
    flex-direction: column;
}
.two-column-contact .col-60 {
    padding-right: 30px;
}
.two-column-contact .contact-list{
    padding-right: 30px;
    padding-bottom: 60px;
}
.two-column-contact li a {
    transition: color 0.3s ease;
    font-weight: 700;
    color: var(--dark-gray);
    text-decoration: none;
}
.two-column-contact li a:hover {
    color: var(--orange);
}
.two-column-contact li a i {
    margin-right: 10px;
    color: var(--orange);
}
.contact-list .phone-numbers ul {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 40px;
}
.contact-list .details ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 40px;
}
.contact-list .phone-numbers {
    border-bottom: 1px solid var(--light-gray);
    padding-bottom: 20px;
}
.two-column-contact .col-50:nth-child(2) {
    background: var(--light-gray);
}
.two-column-contact form {
    margin: 30px 0;
    width: 400px;
}
.rodo-label {
    margin-top: 20px;
}
.rodo-label span{
    margin-top: 10px;
    margin-left: 0;
}
.gallery-grid img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    width: 100%;
    height: 100%;
    display: block;
    transition: opacity 0.3s ease;
}
.gallery-grid {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}
.gallery-grid a {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 30%;
    color: white;
    flex: 1;
    background: var(--orange);
    cursor: pointer;
}
.gallery-grid img:hover {
    opacity: 0.5;
}
.gallery-title {
    margin-bottom: 20px;
}
.gallery-page .grid-gallery {
    padding-bottom: 0px;
    margin-top: 70px;
    margin-bottom: 0px;
}
.gallery-page .grid-gallery:last-child {
    margin-bottom: 70px;
}
.grid-features {
    margin-bottom: 70px;
}
.grid-features .section-header {
    margin-bottom: 50px;
}
.grid-features .section-header h2 {
    margin-bottom: 50px;
}
.grid-features .col-group {
    gap: 40px;
    display: grid;
}
.grid-features .col-group.two {
    grid-template-columns: repeat(2, 1fr);
}
.grid-features .col-group.three {
    grid-template-columns: repeat(3, 1fr);
}
.grid-features .col-flex {
    display: inline-flex;
    gap: 20px;
    align-items: flex-start;
}
.grid-features .col-flex p {
    font-size: 15px;
}
.grid-features .col-flex p strong {
    font-size: 18px;
	color: var(--orange);
}
.grid-features .col-flex img {
    width: 60px;
    height: 60px;
    margin-top: 5px;
    border: 2px solid var(--orange);
    padding: 8px;
}
.results-section {
    text-align: center;
    padding-bottom: 50px;
}
ul.search-results-list {
    list-style: none;
    gap: 30px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}
.results-section .col-group{
    justify-content: center;
}
iframe#gmap_canvas {
    margin-bottom: -6px;
}
.about-page .reviews .section-header {
    text-align: center;
}
.page-btn {
    padding: 6px 12px;
    margin: 0 2px;
    border: 1px solid #ddd;
    background: #f9f9f9;
    cursor: pointer;
    color: #333;
}
.page-btn:hover {
    background: #e9e9e9;
}
.page-btn.active {
    background: var(--orange);
    color: white;
    border-color: var(--orange);
}
#paginationControls span {
    margin: 0 5px;
    color: #666;
}
.search-result-item li {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: left;
}
.search-result-item {
    padding: 20px;
    text-align: left;
    background: #FFF;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.search-result-item .box-head {
	
}
.search-result-item h4 {
    margin-bottom: 30px;
    margin-top: 10px;
    font-weight: 600;
    font-size: 20px;
}
ul.btn-group {
    list-style: none;
    display: inline-flex;
    gap: 20px;
}



/* Touch scrolling for mobile */
@media (max-width: 768px) {
    .table-wrapper {
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: #c1c1c1 #f1f1f1;
    }
}

/* Responsive Design */
@media screen and (max-width: 1280px) {
    .header-contact {
        display: none;
    }
    .nav-container {
        padding: 0 20px;
    }
    .nav-container.gray-line {
        width: calc(100% - 20px);
        left: 00px;
        position: relative;
    }

}


@media screen and (max-width: 992px) {
    .cta-image-block .bg-image {
        transform: translateY(0%) !important;
        width: calc(100% - 40px) !important;
        max-width: unset !important;
        height: unset !important;
    }
    .menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 100px 20px;
        height: 100vh;
        gap: 0;
    }
    .header__menu a {
        padding: 20px;
        display: inline-flex;
        width: 100%;
        font-size: 16px;
        text-align: left;
    }
    .sub-menu a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    ul#menu-nawigacja {
        gap: 0px;
    }
    /* Mobile dropdown styles */
    .menu-item-has-children:hover .sub-menu {
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
    }
    .menu-item-has-children .sub-menu {
        opacity: 0;
        visibility: hidden;
        display: none;
    }
    .menu-item-has-children.active .sub-menu {
        opacity: 1 !important;
        visibility: visible;
        transform: translateY(0);
        position: static;
        box-shadow: none;
        background: var(--light-gray);
        border-radius: 5px;
        display: none;
    }
    /* tylko pierwszy poziom submenu */
    .menu > .menu-item-has-children.active > .sub-menu {
        display: block !important;
    }
    .sub-menu .sub-menu.active-sub {
        display: block;
        margin-top: 0;
        padding-top: 0;
    }
    .menu-item-has-children.active .header__menu a i {
        transform: rotate(180deg) !important;
    }
    .menu-item-has-children .header__menu a i {
        transform: rotate(0deg) !important;
    }
    .menu.active {
        left: 0;
        overflow-y: scroll;
    }
    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
        display: flex;
        margin-top: 1px;
    }
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }
	.owl-carousel .owl-dots .owl-dot {
		margin: 0 2px;
	}
	.owl-theme .owl-dots .owl-dot span {
		width: 6px !important;
		height: 6px !important;
		
	}

    .services-grid {
        grid-template-columns: 1fr;
    }

    /* Search section responsive */

    .search-section h3 {
        font-size: 32px;
        line-height: 36px;
    }

    .search-form {
        padding: 0;
        background: none;
    }
    .search-row {
        flex-direction: column;
        gap: 20px;
    }

    /* Why Bongo responsive */
    .stats-section {
        padding: 60px 0 20px;
		margin-bottom: 50px;
    }

    .stats-section .col-group {
        flex-direction: column;
    }

    .stats-section .col-50 {
        width: 100%;
    }

    .stats-section h2 {
		/*
        text-align: center;
		*/
    }
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        margin: 80px 25px;
    }
    .home .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    .stats-section-image img {
        transform: translateY(0);
    }

    /* Reviews responsive */
    .reviews {
        padding: 50px 0;
    }

    #reviewsCarousel .owl-nav button.owl-next,
    #reviewsCarousel .owl-nav button.owl-prev {
        display: none !important;
    }

    /* Contact CTA responsive */
    .cta-block .col-group {
        flex-direction: column;
        gap: 30px;
        text-align: left;
        display: flex;
        align-items: flex-start;
    }
    .cta-block .col-40:last-child {
        display: flex;
        justify-content: flex-start;
        width: 100%;
    }
    .cta-block .col-50,
    .cta-block .col-20,
    .cta-block .col-30 {
        width: 100%;
    }
    .contact-specialist {
        justify-content: flex-start;
    }

    /* Footer responsive */
    .footer .col-group {
        flex-direction: column;
    }

    .footer .col-30 {
        width: 100%;
        margin-bottom: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    .footer-social {
        display: none;
    }
    .footer-social-mobile {
        display: flex;
        justify-content: flex-start;
        margin-top: 30px;
    }
    .col-25 {
        width: 100%;
        flex: 0 0 100%;
    }
    .col-40 {
        width: 100%;
        flex: 0 0 100%;
    }
    .col-50 {
        width: 100%;
        flex: 0 0 100%;
    }
    .footer-credits {
        text-align: center;
    }
    .nav-toggle {
        position: absolute;
        top: 0;
        bottom: 0;
        justify-content: center;
        right: 20px;
    }
    .header.small .nav-toggle {
        top: 0;
    }
    .header-contact {
        margin-right: 60px;
    }
    .hero_box_row {
        width: 100%;
        min-height: 40vh;
        margin-bottom: 30px;
    }
    .hero-box {
        display: flex;
        flex-direction: column-reverse;
        margin-top: 110px;
    }
    .hero_box_right {
        position: relative;
        z-index: 9999;
        width: calc(100% - 40px);
        left: 20px;
    }
    .hero_bottom_text{
        display: none;
    }
    .search-input, .search-field {
        width: 100%;
    }
    .text-section .col-50 {
    width: 100%;
    flex: 0 0 calc(100%);
}
    h1 {
        font-size: 42px;
        line-height: 42px;
    } 
    h2 {
        font-size: 26px;
        line-height: 32px;
    }
    h3 {
        font-size: 24px;
        line-height: 28px;
    }
	h2 + h3 {
		font-size: 22px;
		line-height: 26px;
	}
    h4{
        font-size: 18px;
        line-height: 24px;
    }
	.hero_box_text p {
		width: 100%;
	}
    p, .text-section p, .hero_box_text p, .text-image-block li {
        font-size: 14px;
        line-height: 1.5;
    }
	.grid-features .col-flex p {
		font-size: 12px;
	}
    .box-head p {
        font-size: 18px !important;
    }
    .text-section li {
        font-size: 14px;
    }
    .hero_box_text h2 {
        font-size: 26px;
        line-height: 26px;
    }
    .hero_box_text .page-excerpt {
        font-size: 18px;
    }
    .footer-contact {
        border-top: 1px solid #e3e2e0;
        border-bottom: 1px solid #e3e2e0;
        padding: 15px 0;
    }
    .reviews .container, .carousel .container{
        padding-right: 0;
        overflow: hidden;
    }
    .stats-grid {
        gap: 20px;
        margin: 40px 0;
    }
    .stats-section.light .stats-grid{
        gap: 40px 0px;
    }

	.stats-btn {
		margin-bottom: 20px;
	}
	.stats-btn a {
		margin-bottom: 10px;
	}
    .review-card, .carousel-card {
        margin: 0;
        padding: 15px 15px;
    }
    .review-content p {
        font-size: 14px;
    }
    .owl-nav {
        display: none;
    }
    .cta-button {
        padding: 18px 20px;
    }
    .carousel .owl-stage-outer {
        overflow: visible !important;
    }
    .owl-carousel {
        padding: 0px;
    }
    footer.footer .col-25:nth-child(4) {
        margin-top: 30px !important;
    }
    .menu-item-has-children a:after {
        display: none!important;
    }
    .menu-item-has-children.active a:after {
        rotate: 180deg !important;
    }
    .text-section .grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    .three-column-boxes .col-group {
        grid-template-columns: repeat(1, 1fr);
    }
    .image_feature_box_right {
        position: relative;
        display: block;
        height: 350px;
        width: calc(100% - 40px);
        margin: 0 20px;
    }
    .feature_box.left .empty-space {
        min-height: auto !important;
    }
    .feature_box_row {
        min-height: auto !important;
        display: inline-block;
        width: 100%;
        margin-bottom: 50px;
    }
    .feature_box.left .feature_box_text, .feature_box .feature_box_text {
        margin: 0;
        padding: 40px 0 0px;
        min-height: auto !important;
    }
    .contact-modal .form-box {
        width: calc(100% - 40px);
        padding: 50px 20px;
        max-height: calc(100vh - 40px);
        overflow-y: auto;
        transform: none;
        top: 20px;
    }
    .contact-form input, .contact-form textarea {
        max-width: 100%;
    }
    .header__menu .menu-item-has-children .menu-item-has-children > a::after {
        display: none;
      }
      .menu-item-has-children > a {
        position: relative;
        padding-right: 60px;
    }
      .submenu-toggle {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        cursor: pointer;
        border: 1px solid;
        border-radius: 4px;
    }
    .submenu-toggle::before {
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        font-size: 12px;
        content: "\f078";
        height: 30px;
        width: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .first-child-row .submenu-toggle:before ,.second-child-row .submenu-toggle:before {
        transition: all 0.3s ease;
    }
/* tylko toggle wewnątrz li z odpowiednią klasą i aktywnym submenu */
.first-child-row.active > a > .submenu-toggle::before,
.second-child-row.active > a > .submenu-toggle::before {
    transform: rotate(180deg); /* zamiast rotate, pełna transformacja */
    transition: transform 0.3s ease;
}  
#paginationControls{
    display: flex!important;
    flex-direction: column;
    gap: 20px;
}
.hero-carousel-item {
    min-height: auto;
}
#menu-nawigacja > li > a {
    font-size: 18px !important;
}
.hero-header {
    min-height: 30vh;
}
.two-column-contact .col-group {
    flex-direction: column-reverse;
    transform: translateY(-40px);
}
.gallery-grid a {
    min-width: 40%;
}
.wp-block-spacer {
    max-height: 60px;
}
.hero-header .hero_box_text {
    max-width: 70%;
}
.grid-features .col-group, .two-column-boxes .col-group {
    grid-template-columns: repeat(1, 1fr);
    gap: 40px;
}
.grid-features .col-group.two, .grid-features .col-group.three  {
    grid-template-columns: repeat(1, 1fr);
}
.faq .accordion {
    font-size: 16px;
}
.hero-box .hero_box_text {
    margin-bottom: 0;
    margin-top: 20px;
}
.hero-carousel-item img, .hero-carousel-item video {
    aspect-ratio: 1 / 1;
    min-height: auto;
    padding-bottom: 20px;
}
ul.search-results-list {
    grid-template-columns: repeat(2, 1fr);
}
.range {
    margin: 0px auto;
}
.range-labels p {
    margin-bottom: 0 !important;
    font-size: 15px !important;
}
.search-section {
    padding: 0 0 50px 0;
}
.search-section p {
    margin-bottom: 25px;
    font-size: 15px;
}
.carousel {
    padding: 50px 0;
}
.carousel-content {
    padding: 10px 0;
}
.cta-image-block picture {
    padding: 0 20px 20px;
}
.cta-image-block picture img {
    -webkit-mask-image: none !important;
    mask-image: none !important;
}
.cta-image-block.container .col-60 {
    width: 100%;
}
.cta-image-block .cta-block {
    padding-top: 50px!important;
}
.cta-image-block.container {
    padding: 0;
}
.map-section .container {
    padding: 0;
}
.map-section .section-header {
    padding: 30px 20px;
}
.map-section .map-container {
    padding: 0 20px;
}
.stats-section .col-50:first-child {
    padding-right: 0;
}
header.small .nav-logo img {
    width: 60%;
}
.interactive-block .image_feature_box_right {
    width: auto !important;
}
.interactive-block .feature_box_row {
    padding-left: 0 !important;
}
.gallery-page .text-image-block, .gallery-page .grid-gallery, .cta-image-block, .investments .text-image-block {
    margin-top: 50px !important;
}
.text-image-block, .gallery-page .grid-gallery:last-child, .homepage .stats-section, .cta-image-block, .reviews, .grid-features {
    margin-bottom: 50px!important;
}
.homepage .cta-image-block {
    margin-bottom: 0px !important;
    margin-top: 0 !important;
}
.cta-block {
    padding: 50px 0;
}
.stats-section-image {
        position: relative;
        left: 0 !important;
    }
}
@media screen and (max-width: 768px) {
    ul.search-results-list {
        grid-template-columns: repeat(1, 1fr);
    }
    ul.btn-group {
        display: flex;
        gap: 0px;
        flex-direction: column;
    }
    .cta-image-block.container .col-40 {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    .interactive-block .image_feature_box_right {
        width: auto;
    }
    .interactive-block .feature_box_row {
        padding-left: 0;
    }
}
@media screen and (max-width: 480px) {
    .hero-box .cta-button {
        width: 100%;
        text-align: center;
        padding-right: 10px;
        padding-left: 10px;
        letter-spacing: 0;
    }
    .range {
        width: 100%;
    }
    h1 {
        font-size: 28px;
        line-height: 32px;		
    }
	.hero-header h1 {
		margin-bottom: 10px;
	}
    .hero_box_row {
        min-height: 30vh;
    }
    .feature_box.left .feature_box_text, .feature_box .feature_box_text {
        width: 100%;
    }
    .contact-modal .form-box {
        width: calc(100% - 20px);
        padding: 60px 15px 30px;
    }
    .investments-table .row {
        justify-content: space-between;
        gap: 10px;
        flex-direction: column;
        align-items: flex-start;
    }
    .two-column-contact form {
        width: auto;
        margin-bottom: 0;
    }
    .contact-list .phone-numbers ul, .contact-list .details ul {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    .two-column-contact .col-50:first-child {
        margin-top: 50px;
    }
    .two-column-contact .contact-list {
        padding-right: 0;
        padding-bottom: 0;
    }
    .two-column-contact .contact-form {
        padding: 40px 20px;
        margin-top: 0;
    }
    .gallery-grid {
        gap: 20px;
    }
    .gallery-grid a {
        min-width: 100%;
    }
    .hero-header .hero_box_text {
        max-width: calc(100% - 40px);
    }
    .stat-number {
        font-size: 46px;
    }
	.stat-number.long {
		font-size: 32px;
	}
}
@media screen and (max-width: 320px) {
    .stat-number {
        font-size: 48px;
    }
    .stats-grid {
        gap: 10px;
    }
    h1 {
        font-size: 30px;
        line-height: 30px;
    }
}

/* Custom styling for pages */
.nowe.mieszkania .text-image-block {
    margin-top: 80px;
    margin-bottom: 20px;
}
.homepage .text-image-block {
    margin-bottom: 0 !important;
    margin-top: 0;
}
.homepage .stats-section {
    margin-bottom: 80px;
}
.about-page .text-image-block {
    margin-top: 80px;
    margin-bottom: 80px;
}
.gallery-page .text-image-block {
    margin-top: 80px;
}
.header.small .gray-line {
    height: 5px;
}
.investments .text-image-block {
    margin-top: 80px;
}
.single-investment .hero_bottom_text {
    display: none;
}
.single-investment .hero-box .hero_box_text {
    margin-bottom: 30px;
}
@media (max-width: 992px ) {
	.single-investment .hero-box .hero_box_text {
		margin-bottom: 5px;
	}
}
.no-margin {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
.no-margin-top {
    margin-top: 0 !important;
}
.no-margin-bottom {
    margin-bottom: 0 !important;
}


