@media screen and (min-width: 1000px) and (max-width: 1300px) {
    .pbox h4 {
        font-size: 30px;
        line-height: 34px;
        margin-bottom: 45px;
    }
    .pbox p {
        font-size: 18px;
        line-height: 25px;
    }
    .pbox {
        padding: 20px;
    }
    .why-box p br {
        display: none;
    }
    .why-box h4,
    #home-contact h4,
    .footer-text,
    #resenja h5,
    .gray-box h4 {
        font-size: 30px;
        line-height: 34px;
    }
    #why-us .why-box p {
        min-height: 100px;
    }
    .cover-content p br {
        display: none;
    }
    .off-prod .title h6 {
        font-size: 20px;
        line-height: 20px;
    }
    .off-prod .title h6 span {
        font-size: 14px;
        line-height: 20px;
    }
    .off-prod .title h6 span br {
        display: none;
    }
    .offer-block p br {
        display: none;
    }

    .about-row .section-title {
        font-size: 40px;
    }
    #o-nama .about-row .text p br {
        display: none;
    }
    .cover-content h2 {
        font-size: 40px;
    }
    .gray-box {
        padding-bottom: 40px;
    }
    .gray-box p {
        min-height: 105px;
    }
    .gray-box p br {
        display: none;
    }
    #why-prod p br {
        display: none;
    }
    #how-profilgate-works .pbox p {
        margin-top: 120px;
    }
    #gde-se-koristi-pg .gray-box p {
        font-size: 20px;
        line-height: 24px;
    }
}


@media screen and (max-width: 767px) {

    html {
        font-size: 14px;
    }

    body {
        font-size: 1rem;
        line-height: 22px;
    }

    header {
        padding: 19px 7px;
    }

    .header-logo img {
        max-width: 87px;
    }

    #home-slider .slide {
        min-height: 85vh;
        padding: 0 7px;
    }

    .slide-title {
        font-size: 41px;
        line-height: 38px;
        margin-bottom: 70px;
    }

    .slide-text p {
        font-size: 14px;
    }

    #home-usluge {
        padding-top: 60px;
        padding-left: 7px;
        padding-right: 7px;
    }

    .section-title {
        margin-bottom: 30px;
        font-size: 36px;
        line-height: 54px;
    }

    #home-usluge .section-desc {
        padding-bottom: 40px;
    }

    .service-box.big {
        min-height: 485px;
    }

    .service-box {
        min-height: 194px;
        margin-bottom: 12px;
    }

    .service-box.big .num,
    .service-box .num {
        top: 15px;
        left: 10px;
        font-weight: 500;
        font-size: 24px;
        line-height: 34px;
    }

    .service-box.big h4 {
        font-size: 32px;
        line-height: 32px;
        left: 10px;
        bottom: 10px;
    }

    .service-box h4 {
        font-size: 24px;
        line-height: 24px;
        left: 10px;
        bottom: 10px;
        width: calc(100% - 85px);
    }

    .service-box.big .arrow {
        right: 15px;
        bottom: 64px;
        top: auto;
    }

    .service-box .arrow {
        top: 15px;
        right: 15px;
        /*padding: 10px 9px 9px;
        */
        bottom: auto;
    }

    .service-box .arrow img {
        max-width: 38px;
    }

    .cover-image.big {
        display: none;
    }

    #why-us {
        padding: 32px 7px 0;
    }

    #why-us .section-title {
        margin-bottom: 33px;
    }

    .why-box {
        padding: 20px 76px 15px 15px;
        min-height: 193px;
        justify-content: space-between;
        margin-bottom: 15px;
    }

    .why-box .icon {
        right: 10px;
        top: 20px;
        max-width: 40px;
    }

    .why-box p br {
        display: none;
    }

    .why-box h4 {
        margin-bottom: 72px;
        font-size: 24px;
    }

    #aktuelno {
        padding: 32px 7px 0;
    }

    #aktuelno .section-title {
        margin-bottom: 25px;
    }

    .slick-list {
        margin-right: -14px;
    }

    .slider-item {
        padding: 0 15px;
        height: 195px;
        margin-right: 14px;
    }

    .slider-item h3 {
        font-weight: 700;
        font-size: 24px;
        line-height: 54px;
    }

    .slider-info {
        padding-top: 10px;
    }

    .slider-counter {
        font-size: 15px;
    }

    .slider-nav img {
        width: 36px;
    }

    #vizija {
        padding: 50px 7px 0;
    }

    #vizija .section-title {
        margin-bottom: 23px;
    }

    .vizija {
        font-size: 18px;
        line-height: 30px;
        letter-spacing: -0.02em;
        padding: 0;
        margin: 0;
    }

    #clients {
        padding: 42px 7px 0;
    }

    #clients .section-title {
        margin-bottom: 12px;
    }

    .client-slide {
        display: flex;
        justify-content: center;
    }

    .client-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        width: 100%;
        aspect-ratio: 2 / 3; /* Odnos 2:3 za 2x3 mrežu */
        border: 1px solid #cbcbcb; /* Spoljni border */
    }

    .client-item {
        display: flex;
        justify-content: center;
        align-items: center;
        aspect-ratio: 1 / 1; /* Kvadratni elementi */
        border-right: 1px solid #cbcbcb;
        border-bottom: 1px solid #cbcbcb;
        min-height: auto;
    }

    /* Uklanjamo desni border poslednje kolone */
    .client-item:nth-child(2n) {
        border-right: none;
    }

    /* Uklanjamo donji border poslednjeg reda */
    .client-item:nth-last-child(-n+2) {
        border-bottom: none;
    }

    #home-contact {
        padding: 55px 7px 24px;
    }

    #home-contact h4 {
        font-size: 24px;
        letter-spacing: -0.01em;
        margin-bottom: 20px;
    }

    #home-contact h4 br {
        display: none;
    }

    input[type=submit] {
        font-weight: 700;
        font-size: 14px;
        padding: 15px 18px;
        display: block;
        margin: 0 auto;
    }

    footer {
        padding: 20px 7px 0;
    }

    .footer-text {
        font-size: 24px;
        line-height: 30px;
    }

    .footer-text br {
        display: none;
    }

    .footer-info ul {
        margin-bottom: 29px;
    }

    footer h5 {
        margin-bottom: 30px;
    }

    .footer-info p {
        font-size: 13px;
        margin-bottom: 37px;
    }

    .social {
        margin: 15px 0 36px;
    }

    .social ul {
        justify-content: center;
    }

    footer .copy, .footer-bottom-link {
        font-size: 12px;
    }

    .bottom-row .row {
        justify-content: space-between;
        height: 100%;
    }

    #regali {
        padding: 25px 7px 0;
    }

    #regali .section-title {
        line-height: 1em;
        letter-spacing: -0.03em;
        margin-bottom: 35px;
    }

    #regali .section-title br {
        display: none;
    }

    #regali .grey-bigger {
        margin-top: 20px;
        font-size: 16px;
        line-height: 1.5em;
        padding-right: 27px;
    }

    .grey-bigger br {
        display: none;
    }

    #regali .num-bullets {
        margin-top: 16px;
    }

    .num-bullets .row {
        padding-top: 19px;
        padding-bottom: 19px;
        min-height: 114px;
    }

    .num-bullets h5 {
        font-size: 14px;
        line-height: 22px;
        letter-spacing: -0.01em;
    }

    .num-bullets h5 br {
        display: none;
    }

    .num-bullets .num {
        font-size: 48px;
        line-height: 32px;
    }

    .regali .why-box, .hor-vert .why-box {
        min-height: 193px;
    }

    .regali .why-box {
        padding-right: 45px;
    }

    #resenja {
        padding: 42px 7px 50px;
    }

    #resenja p {
        font-size: 16px;
    }

    #resenja .section-title {
        line-height: 34px;
        margin-bottom: 23px;
    }

    #resenja h5 {
        font-size: 19px;
        line-height: 30px;
        margin-top: 5px;
    }

    #contact-cta {
        padding: 61px 7px 71px;
    }

    #contact-cta p {
        padding: 0 16px;
        margin-bottom: 30px;
    }

    #contact-cta h4 {
        font-size: 32px;
        line-height: 32px;
        margin-bottom: 30px;
    }

    #contact-cta a {
        font-size: 15px;
        width: 180px;
        padding: 14px 30px 15px;
    }

    .mobile-menus {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .lang {
        text-align: left;
    }

    .lang a {
        font-size: 14px;
        color: #ffffff;
    }


    .hamburger {
        width: 30px;
        height: 30px;
        display: flex;
       	align-items: center;
        justify-content: center;
        cursor: pointer;
    }
	.bar-holder {
		width: 17px;
		height: 11px;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
	}

    .bar {
        width: 100%;
        height: 1px;
        background-color: #ffffff;
        transition: 0.3s;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(5px) rotate(45deg);
    }

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

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-5px) rotate(-45deg);
    }


    .mobile-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 93vh;
        background: #000000;
        transition: 0.3s;
        padding: 90px 15px 35px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .mobile-menu.active {
        right: 0;
        z-index: 9;
    }

    #mobile-menu {
        list-style: none;
        padding: 0;
    }

    #mobile-menu > li {
        border-bottom: 1px solid #ffffff;
        padding: 14px 0;
    }

    #mobile-menu > li > a {
        text-decoration: none;
        color: #ffffff;
        font-size: 24px;
        line-height: 1em;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .sub-menu {
        display: none;
        list-style: none;
        padding-left: 0;
        padding-top: 14px;
    }

    .sub-menu li {
        padding: 8px 0 8px 16px;
        font-size: 14px;
    }

    .sub-menu > li > a {
        color: #ffffff;
        text-decoration: none;
    }

    .menu-item-has-children {
        position: relative;
    }

    .menu-item-has-children > a::after {
        content: "";
        display: inline-block;
        width: 18px;
        height: 17px;
        background: url('../img/arrow-down.svg') no-repeat center;
        background-size: contain;
        position: absolute;
        right: 0;
        top: 26px;
        transform: translateY(-50%);
        transition: transform 0.3s ease;
    }

    .menu-item-has-children.open > a::after {
        transform: translateY(-50%) rotate(180deg);
    }

    .social-icons {
        display: flex;
        gap: 19px;
        position: absolute;
        bottom: 35px;
    }

    .social-icons img {
        height: 20px;
    }

    .breadcrumbs {
        font-size: 12px;
    }

    .breadcrumbs .current {
        font-weight: 600;
    }

    #cover {
        padding: 78px 7px 120px;
        min-height: auto;
    }

    .cover-content {
        margin-top: 140px;
    }

    .cover-content .num {
        display: none;
    }

    .cover-content h1 {
        z-index: -9999;
        position: absolute;
        left: -999999px;
    }

    .cover-content h2 {
        font-size: 41px;
        line-height: 38px;
        letter-spacing: -0.02em;
        margin-bottom: 60px;
    }

    .cover-content h2 br {
        display: none;
    }

    .cover-content p {
        padding-right: 40px;
        line-height: 22px;
        margin-bottom: 40px;
    }

    .cover-content p br {
        display: none;
    }

    .cover-content a {
        font-size: 15px;
        padding: 14px 35px 15px;
    }

    #pristup {
        padding: 60px 7px 0;
    }

    #pristup .section-title {
        letter-spacing: -0.03em;
        line-height: 1em;
        margin-bottom: 45px;
    }

    .pbox {
        padding: 20px 25px;
    }

    .pbox .num {
        font-size: 24px;
        line-height: 20px;
    }

    .pbox .border {
        margin: 18px 0 20px;
        height: 2px;
    }

    .pbox h4 {
        font-size: 24px;
        line-height: 24px;
        min-height: 50px;
        margin-bottom: 35px;
    }

    .pbox p {
        font-size: 14px;
        line-height: 24px;
        padding-right: 22px;
    }

    .pbox p br {
        display: none;
    }

    #pristup .slick-list,
    #how-profilgate-works .slick-list {
        margin-right: 0;
    }

    #pristup .slick-slide,
    #how-profilgate-works .slick-slide {
        margin-right: 7px;
        margin-left: 7px;
    }

    #pristup .slick-dots {
        bottom: 20px;
    }

    #how-profilgate-works .slick-dots {
        bottom: 35px;
    }

    #pristup .slick-dots li,
    #how-profilgate-works .slick-dots li {
        width: auto;
        margin: 0;
    }

    #pristup .slick-dots li button,
    #how-profilgate-works .slick-dots li button {
        padding: 0;
    }

    #pristup .slick-dots li button:before,
    #how-profilgate-works .slick-dots li button:before {
        opacity: 1;
        font-size: 12px;
        line-height: 12px;
        color: #d9d9d9;
    }

    #pristup .slick-dots li.slick-active button:before,
    #how-profilgate-works .slick-dots li.slick-active button:before {
        opacity: 1;
        color: #000000;
    }

    .horiz-vert #cover .gradient {
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) -30%, rgba(19, 18, 27, 0.9) 82.77%);
    }

    #offer, #offer.regali-offer {
        padding: 60px 7px 0;
    }

    #offer .section-title {
        margin-bottom: 30px;
    }

    .offer-block {
        margin-bottom: 50px;
    }

    .offer-block h5 {
        font-size: 24px;
        line-height: 30px;
        margin-bottom: 24px;
    }

    .horiz-vert .offer-block p {
        padding-right: 15px;
    }

    .offer-block p br {
        display: none;
    }

    .offer-slider {
        margin-top: 30px;
    }

    .offer-slider .slick-list {
        margin-right: 0;
    }

    .offer-slider .slick-slide {
        margin: 0 7px;
    }

    .hor-vert .why-box {
        padding-right: 20px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    #why-us.hor-vert .why-box p {
        min-height: auto;
    }

    #why-us.hor-vert .why-box h4 {
        margin-bottom: 0;
    }

    #prednosti-hor-vert {
        padding: 70px 7px 55px;
    }

    #prednosti-hor-vert .section-title {
        line-height: 34px;
        margin-bottom: 5px;
        width: 80%;
    }

    .hor-vert-bullets .row h5 {
        margin-bottom: 20px;
    }

    .hor-vert-bullets .row h5,
    .hor-vert-bullets .row h5 .num {
        font-size: 24px;
        line-height: 30px;
        letter-spacing: -0.02em;
    }

    .hor-vert-bullets .row h5 .num {
        margin-right: 0;
    }

    .hor-vert-bullets .row {
        padding-bottom: 35px;
        padding-top: 35px;
    }

    #hor-vert-big-blue h4 {
        font-size: 18px;
        line-height: 30px;
        letter-spacing: -0.04em;
    }

    #hor-vert-big-blue {
        padding: 0 7px 60px;
    }

    .offer-products {
        margin-top: 30px;
    }

    .offer-block .op-title {
        margin-bottom: 5px;
    }

    .off-prod {
        min-height: 193px;
    }

    .off-prod .title {
        padding: 23px 25px 23px 10px;
    }

    .off-prod .title h6 {
        font-size: 16px;
        line-height: 18px;
    }

    .off-prod .title h6 span {
        font-size: 14px;
        line-height: 18px;
    }

    .off-prod .title h6 span br {
        display: none;
    }

    .offer-text-cta {
        padding-top: 25px;
        padding-bottom: 10px;
    }

    .offer-text-cta .bigger {
        font-size: 14px;
        line-height: 22px;
        margin-bottom: 30px;
    }

    .btn {
        font-size: 15px;
        width: 180px;
        padding: 14px 30px 15px;
    }

    .bravarski-radovi #why-us .why-box,
    .masinska-obrada #why-us .why-box {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: 20px 15px;
    }

    .bravarski-radovi #why-us .why-box h4,
    .masinska-obrada #why-us .why-box h4 {
        min-height: auto;
        margin: 0;
        padding-right: 60px;
    }

    .bravarski-radovi #why-us .why-box:not(.light-gray-bg) h4 br {
        display: none;
    }

    #contact-cta.brav-rad h4 br {
        display: none;
    }

    #contact-cta.brav-rad {
        padding-top: 214px;
        margin-top: -110px;
        padding-bottom: 36px;
    }

    .masinska-obrada #why-us .why-box p {
        min-height: auto;
    }

    #contact-cta.mas-obr {
        padding-top: 170px;
        margin-top: -110px;
        padding-bottom: 40px;
    }

    #contact-cta.mas-obr p, #contact-cta.mont-reg p {
        margin-bottom: 30px;
    }

    .montaza-reg-sis .cover-content {
        margin-top: 110px;
    }

    .montaza-reg-sis .cover-content h2 {
        margin-bottom: 35px;
    }

    .montaza-reg-sis #cover {
        padding-bottom: 73px;
    }

    .montaza-reg-sis .offer-block .bullet h5 {
        font-size: 14px;
        line-height: 22px;
        margin-bottom: 0;
    }

    .montaza-reg-sis .offer-block .bullet .num {
        font-size: 48px;
        line-height: 32px;
    }

    .montaza-reg-sis .offer-num-bullets .row {
        padding: 24px 0;
    }

    .montaza-reg-sis #why-us .why-box {
        min-height: 193px;
        justify-content: flex-end;
    }

    .montaza-reg-sis #why-us .why-box h4 {
        min-height: auto;
    }

    .montaza-reg-sis #why-us .why-box h4 br {
        display: none;
    }

    #contact-cta.mas-obr p br, #contact-cta.mont-reg p br {
        display: none;
    }

    #contact-cta.mont-reg h4 {
        letter-spacing: -0.02em;
    }

    #contact-cta.mont-reg {
        margin-top: -123px;
        padding-top: 183px;
        padding-bottom: 40px;
    }

    .contact-page {
        padding-top: 77px;
    }

    #kontakt {
        padding: 0 7px;
    }

    #all-contact {
        padding-top: 60px;
        padding-bottom: 5px;
    }

    #all-contact h1 {
        font-size: 36px;
    }

    #all-contact .text-gray {
        font-size: 16px;
        line-height: 24px;
    }

    #all-contact input[type=submit] {
        margin: 0;
    }

    .map iframe {
        margin-top: 10px;
        margin-bottom: 40px;
    }

    .cblock {
        margin-bottom: 30px;
    }

    .cblock h4 {
        font-size: 16px;
        line-height: 1.5em;
    }

    .cblock p {
        letter-spacing: -0.01em;
        margin-bottom: 30px;
    }

    .cblock p span {
        display: none;
    }

    .about #cover .gradient {
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) -60%, rgba(19, 18, 27, 0.95) 82.77%)
    }

    .about #cover h1 {
        z-index: 0;
        position: relative;
        left: auto;
        font-size: 41px;
        line-height: 38px;
        letter-spacing: -0.04em;
        margin-bottom: 45px;
    }

    #o-nama .about-row {
        margin-bottom: 80px;
    }

    #o-nama .about-row .section-title {
        font-size: 32px;
        line-height: 36px;
        letter-spacing: -0.03em;
        margin-bottom: 35px;
    }

    #o-nama {
        padding: 70px 7px 0;
    }

    #o-nama .about-row .text {
        margin-top: 30px;
    }

    #o-nama .about-row .text p {
        font-size: 14px;
        line-height: 22px;
        letter-spacing: -0.02em;
    }

    #o-nama .about-row .text p br {
        display: none;
    }

    .about #why-us .why-box h4 {
        min-height: auto;
        margin: 0;
        letter-spacing: -0.02em;
    }

    .about #why-us .why-box {
        padding-right: 60px;
    }

    #contact-cta.about-cta {
        margin-top: -109px;
        padding-top: 169px;
        padding-bottom: 40px;
    }

    #contact-cta.about-cta p br {
        display: none;
    }

    #contact-cta.about-cta p {
        margin-bottom: 39px;
    }

    #why-prod {
        margin-top: 60px;
        padding: 0 7px 40px;
    }

    .ampere-template #why-prod .section-title {
        margin-bottom: 40px;
        line-height: 34px;
    }

    #why-prod p {
        margin-top: 30px;
        font-size: 14px;
        line-height: 22px;
    }

    #why-prod p br {
        display: none;
    }

    .gray-boxes {
        margin-top: 40px;
    }

    .gray-box {
        padding: 15px;
        min-height: 193px;
    }

    .gray-box h4 {
        font-size: 24px;
        line-height: 27px;
        margin-bottom: 0;
    }

    .gray-box .num {
        font-size: 24px;
        line-height: 28px;
        margin-right: 10px;
        float: left;
    }

    .ampere-template #offer .section-title {
        line-height: 36px;
    }

    .ampere-template .gray-box p {
        font-size: 16px;
        min-height: auto;
        font-weight: 400;
        line-height: 22px;
        position: absolute;
        bottom: 15px;
        width: calc(100% - 30px);
    }

    .ampere-template .gray-box p br {
        display: none;
    }

    .off-block-prod-row:first-child {
        padding-top: 5px;
    }

    .off-block-prod-row .num {
        margin-right: 0;
    }

    .off-block-prod-row .num,
    .off-block-prod-row h4 {
        font-size: 24px;
        line-height: 30px;
        letter-spacing: -0.02em;
    }

    .off-block-prod-row .title {
        margin-bottom: 30px;
    }

    .off-block-prod-row ul {
        list-style-type: '- ';
        padding-right: 15px;
    }

    .ampere-template #cover .gradient,
    .profilgate #cover .gradient {
        background: #000000;
        opacity: 0.65;
    }

    .ampere-template .cover-content,
    .profilgate .cover-content {
        margin-top: 110px;
    }

    .ampere-template .cover-content h2,
    .profilgate .cover-content h2 {
        letter-spacing: -0.04em;
        margin-bottom: 50px;
    }

    .ampere-template .cover-content p {
        padding-right: 10px;
    }

    .ampere-template #cover,
    .profilgate #cover {
        padding-bottom: 90px;
    }

    .blue-lead {
        font-size: 18px;
        line-height: 30px;
        letter-spacing: -0.04em;
        margin-bottom: 75px;
    }

    #how-profilgate-works {
        padding: 0 7px 15px;
    }

    #how-profilgate-works .pbox p {
        margin-top: 130px;
        padding-right: 0;
    }

    #prednosti-pg {
        padding: 0 7px;
    }

    #prednosti-pg .section-title {
        line-height: 36px;
        margin-bottom: 25px;
    }

    .pred-pg {
        padding: 25px 0;
    }

    .pred-pg .num {
        float: left;
        margin-right: 10px;
    }

    .pred-pg .num,
    .pred-pg h4 {
        line-height: 35px;
        font-size: 24px;
        margin-bottom: 30px;
        letter-spacing: -0.03em;
    }

    .pred-pg h4 br {
        display: none;
    }

    .profilgate #why-us {
        margin-top: 28px;
    }

    .profilgate #why-us .section-title {
        line-height: 36px;
    }

    .profilgate #why-us .why-box {
        min-height: 193px;
        padding-right: 35px;
    }

    #gde-se-koristi-pg {
        margin-top: 60px;
        padding: 0 7px;
    }

    #gde-se-koristi-pg .section-title {
        line-height: 36px;
        margin-bottom: 30px;
    }

    #gde-se-koristi-pg .above-gray-boxes {
        font-size: 14px;
        padding-right: 30%;
    }

    #gde-se-koristi-pg .gray-box h4 {
        margin-bottom: 0;
    }

    #gde-se-koristi-pg .gray-box p {
        font-size: 16px;
        line-height: 22px;
        position: absolute;
        bottom: 15px;
        letter-spacing: -0.04em;
        min-height: auto;
        width: calc(100% - 28px);
    }

    #gde-se-koristi-pg .gray-box p br {
        display: none;
    }

    #contact-cta.prof-gate {
        margin-top: -100px;
        padding-top: 170px;
        padding-bottom: 60px;
    }
}