@media(max-width: 1400px) {
	.about-photo {
		bottom: 10rem;
		margin-bottom: -5rem;
	}

	#reviews-slider .splide__arrows {
		right: 0;
	}
}

@media(max-width: 1200px) {
	.about-photo {
		bottom: 0;
		margin-bottom: 0;
	}

	.about-text {
		height: 100%;
		justify-content: center;
	}

	.contact-page,
	.about {
		padding: 40px 0;
	}

	.agent-banner-img {
		right: 1rem;
	}
}

@media screen and (max-width: 991px) {
	.btn-contact {
		font-size: 24px;
	}

	.navbar li a {
		font-size: 2rem !important;
		color: var(--white) !important;
	}

	.navbar-toggler {
		border-radius: 0;
		border: none;
	}

	.navbar-toggler:focus {
		outline: none;
		box-shadow: none;
	}

	.navbar-collapse {
		display: flex;
		align-items: center;
		justify-content: center;
		padding: 8rem 4rem 2rem !important;
		position: fixed;
		right: -100%;
		background-color: #222;
		top: 0;
		bottom: 0;
		width: 100%;
		height: 100%;
		padding: 100px 0;
		overflow: auto;
		transition: 0.2s;
		flex-direction: column;
		z-index: 9;
	}

	.navbar-collapse.show {
		right: 0;
		height: 100vh;
		justify-content: start;
	}

	.navbar .navbar-toggler,
	.navbar-brand {
		z-index: 10;
	}

	.navbar-toggler span {
		background-color: var(--white);
		position: relative;
		width: 24px;
		height: 2px;
		display: block;
		margin-bottom: 6px;
		transition: 0.5s;
	}

	.navbar-toggler.open span:first-child {
		background-color: var(--white);
		top: 5px;
		transform: rotate(45deg);
	}

	.navbar-toggler.open span:nth-child(2) {
		display: none;
	}

	.navbar-toggler.open span:last-child {
		background-color: var(--white);
		top: -3px;
		transform: rotate(-45deg);
	}

	.navbar-toggler.open span {
		background-color: var(--black);
	}

	.navbar-toggler span:last-child {
		margin-bottom: 0;
	}

	.header.header-dark .navbar-toggler span {
		background-color: var(--black);
	}


	.contact-link {
		display: none;
	}

	.navbar-toggler {
		border-radius: 0;
		border: none;
	}

	.navbar-toggler:focus {
		outline: none;
		box-shadow: none;
	}

	.navbar-collapse {
		display: flex;
		align-items: center;
		justify-content: center;
		padding: 8rem 4rem 2rem !important;
		position: fixed;
		right: -100%;
		background-color: #222;
		top: 0;
		bottom: 0;
		width: 100%;
		height: 100%;
		overflow: auto;
		transition: 0.2s;
		flex-direction: column;
		z-index: 9;
	}

	.navbar-collapse.show {
		right: 0;
		height: 100vh;
	}

	.navbar .navbar-toggler,
	.navbar-brand {
		z-index: 10;
	}

	.navbar-toggler span {
		background-color: var(--white);
		position: relative;
		width: 24px;
		height: 2px;
		display: block;
		margin-bottom: 6px;
		transition: 0.5s;
	}

	.navbar-toggler.open span:first-child {
		background-color: var(--white);
		top: 5px;
		transform: rotate(45deg);
	}

	.navbar-toggler.open span:nth-child(2) {
		display: none;
	}

	.navbar-toggler.open span:last-child {
		background-color: var(--white);
		top: -3px;
		transform: rotate(-45deg);
	}

	.navbar-toggler.open span {
		background-color: var(--black);
	}

	.navbar-toggler span:last-child {
		margin-bottom: 0;
	}

	.header.header-dark .navbar-toggler span {
		background-color: var(--black);
	}

	.navbar-toggler.dark-toggler span {
		background: #000 !important;
	}

	.navbar-toggler.dark-toggler.open span:first-child,
	.navbar-toggler.dark-toggler.open span:last-child {
		background: white !important;
	}

	/* .navbar-toggler{
        outline: none;
        border: none;
    }

    .navbar-toggler:focus {
        outline: none;
        box-shadow: none;
    }


    .navbar-toggler span {
        background-color: var(--white);
        position: relative;
        width: 24px;
        height: 2px;
        display: block;
        margin-bottom: 6px;
        transition: 0.5s;
    } */

	.interior-background {
		margin-top: 5rem;
	}

	.hero-sidecard {
		display: none;
	}

	.about-photo {
		aspect-ratio: 16/9;
	}


	.about-text {
		margin-top: 0px !important;
	}

	.splide__arrows {
		position: absolute;
		bottom: -35px;
		right: 0;
	}

	.realizacie-grid {
		grid-template-columns: 1fr;
	}

	.grid-right {
		grid-template-rows: none;
		grid-template-columns: 1fr 1fr;
		height: auto;
	}

	.grid-right .grid-item {
		height: auto;
	}

	.grid-right .grid-item img {
		max-height: none;
	}

	#reviews-slider .splide__arrows {
		right: 0;
	}

	.partners::after {
		display: none;
	}

	.poradca-box {
		position: relative;
		margin-top: 0;
	}

	.hormann-logo {
		right: 1rem;
	}

	.my-slider-progress {
		width: 100%;
	}

	.reviews-wrapper {
		padding: 1.75rem;
	}

	.contact-map {
		height: 350px;
	}

	.contact-page,
	.about {
		padding: 30px 0;
	}

	.agent-banner-img {
		position: relative;
		right: unset;
	}

	.agent-banner-img::before {
		right: 50%;
		transform: translateX(50%);
	}

	.agent-banner-content {
		padding: 30px;
	}

	.agent-banner-img img {
		justify-self: center;
		display: block;
	}

	/* mobile dropdown */
	.mobile-dropdown {
		position: relative;
		display: block;
		width: 100%;
	}

	.dropdown-checkbox {
		display: none;
	}

	.dropdown-label {
		font-size: 2rem;
		color: white;
		background: transparent;
		cursor: pointer;
		display: flex;
		align-items: center;
	}

	.dropdown-content {
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.3s ease;
		background: transparent;
	}

	.dropdown-content a {
		display: block;
		padding: 0.75rem 1rem;
		font-size: 1.25rem;
		color: white;
		text-decoration: none;
	}

	.dropdown-content a:hover {
		background: transparent;
	}

	.dropdown-checkbox:checked+.dropdown-label+.dropdown-content {
		max-height: 500px;
	}

	.dropdown-label svg {
		transition: transform 0.3s ease;
		display: inline-block;
		vertical-align: middle;
		margin-left: 0.5rem;
	}

	.dropdown-checkbox:checked+.dropdown-label svg {
		transform: rotate(-180deg);
	}

	.agent-banner {
		padding: 30px 0;
	}

	.hero h1 {
		font-size: 3rem;
	}

	.navbar-logo {
		position: relative;
		z-index: 9;
	}
    .reviews h2{
        font-size: 3rem;
    }
}

@media screen and (max-width: 768px) {

	.grid-item .caption {
		gap: 10px !important;
	}

	.reviews-wrapper {
		padding: 1.5rem;
	}

	.form-btn {
		justify-content: flex-start;
	}

	.prace-header {
		text-align: center;
	}

	.nav-pills {
		justify-content: center;
	}

	.content-img-badge {
		bottom: .5rem;
		left: .5rem;
		display: -webkit-box;
		-webkit-line-clamp: 1;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}

	.content-img-badge h4 {
		font-size: 1rem;
	}

	.prace {
		margin-top: 7rem;
	}

	.work-detial-img-two,
	work-detial-img-one {
		aspect-ratio: 16/9;
	}

	.card-slide img {
		max-height: 450px;
	}

	.stolarska-sekcia {
		padding-bottom: 4rem !important;
	}

	.interior p,
	.stolarska-sekcia {
		width: 100%;
	}

	.metrics-background,
	.contact-background,
	.interior-background {
		height: 30rem;
	}

	.poradca-box {
		max-width: unset;
	}

	#reviews-slider .splide__arrows {
		top: -300px;
	}

	.mobile-contact {
		flex-direction: column;
		gap: .5rem;
	}

	.btn-contact {
		color: var(--black);
		padding: 10px 16px;
		border-radius: 24px;
		background: var(--white);
		border: 1px solid var(--white);
		justify-content: center;
	}
    .poradca-box img{
        width: 100px;
        height: 100px;
    }
}

@media screen and (max-width: 576px) {
	h2 {
		font-size: 2rem;
	}

	.hero-sidecard {
		display: none;
	}

	.interior-background {
		margin-top: 3rem;
		display: flex;
		justify-content: center;
		align-items: center;
		text-align: center;
	}

	.splide__arrows {
		position: absolute;
		bottom: -35px;
		right: 0;
	}

	.grid-right {
		grid-template-columns: 1fr;
	}

	#splide-stolarske .splide__arrows {
		bottom: -30px;
	}

	.grid-right .grid-item img {
		max-height: 350px;
	}

	.review-footer {
		flex-direction: column;
		gap: 20px;
		align-items: center !important;
	}

	.review-footer-rating {
		align-items: center;
	}

	#reviews-slider .splide__arrows {
		top: -17rem;
	}

	.hero-text {
		padding: 0 0.75rem 0;
	}

	#splide-stolarske .splide__track {
		clip-path: inset(-100vw -100vw -100vw -100vw);
	}

	.reviews-wrapper {
		padding: 1.25rem;
	}

	.review {
		padding: 0;
	}

	.contact-page,
	.about {
		padding: 20px 0;
	}

	.content-img-badge h4 {
		font-size: 20px;
	}

	.site-footer-left {
		justify-self: center;
	}

	.reviews-text,
	.stolarska-sekcia-text,
	.about-text,
	.site-footer,
	.review {
		text-align: center;
	}

	.footer-heading {
		margin-bottom: 1rem;
	}

	.footer-links li {
		margin-top: 0;
	}

	.footer-socials a {
		justify-content: center;
	}

	.agent-banner-img {
		overflow: hidden;
	}

	.agent-banner-content {
		text-align: center;
		align-items: center;
	}

	.agent-banner-img img {
		width: 350px;
	}

	.agent-banner-img::before {
		width: 350px;
		height: 350px;
	}

	.custom-link {
		justify-content: center;
	}

	.stolarska-sekcia h4,
	.about-text h4 {
		font-size: 18px;
	}

	.stolarska-sekcia p,
	.hormann p,
	p {
		font-size: 14px;
		line-height: normal;
	}

	.material-content h2,
	.hormann h3 {
		font-size: 1.75rem !important;
		line-height: normal;
	}

	.agent-banner {
		padding: 20px 0;
	}

	.prace-header h2 {
		font-size: 2.5rem !important;
	}

	.prace-header p {
		font-size: 1rem;
	}

	.hero h1 {
		font-size: 2.5rem;
	}

	.work-detail-content h2 {
		font-size: 1.5rem !important;
		line-height: normal;
	}

	.work-detail-content {
		margin-bottom: 0;
	}

	.stolarska-sekcia h2 {
		text-align: center !important;
	}

	.stolarska-sekcia-text {
		gap: 10px;
	}
    .reviews h2{
        font-size: 2.5rem;
    }
    .poradca-text h5{ margin: 0 !important;}
    .poradca-box{
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    .poradca-box img{
        margin-right: 0;
    }
}

@media screen and (max-width: 480px) {

	.hero-text h1 {
		font-size: 3rem;
	}

	.hero-sidecard {
		display: none;
	}

	.partners .splide__slide img {
		max-height: 35%;
		margin: auto;
	}

	.my-slider-progress {
		margin-top: 2rem;
		background: #ccc;
		max-width: 805px;
		width: 95%;
		position: relative;
	}


	.interior-background {
		margin-top: 3rem;
		display: flex;
		justify-content: center;
		align-items: center;
		text-align: center;
	}

	.poradca-contact a span {
		font-size: 14px;
	}

	.contact-buttons {
		flex-wrap: wrap;
		display: flex;
		justify-content: center;
	}

	.contact-buttons a {
		padding: 10px 25px;
	}

	.contact-buttons a span {
		font-size: 0.9rem;
	}

	.site-footer {
		display: flex;
		flex-direction: column;
		justify-content: center;
	}

	.about-text h2 {
		line-height: normal;
	}

}