/* Nunito Sans — Light (200) */
@font-face {
  font-family: 'Nunito Sans';
  src: url('/fonts/nunito-sans/NunitoSans-ExtraLight.woff2') format('woff2'),
       url('/fonts/nunito-sans/NunitoSans-ExtraLight.woff') format('woff');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Nunito Sans';
  src: url('/fonts/nunito-sans/NunitoSans-ExtraLightItalic.woff2') format('woff2'),
       url('/fonts/nunito-sans/NunitoSans-ExtraLightItalic.woff') format('woff');
  font-weight: 200;
  font-style: italic;
  font-display: swap;
}

/* Nunito Sans — Regular (400) */
@font-face {
  font-family: 'Nunito Sans';
  src: url('/fonts/nunito-sans/NunitoSans-Regular.woff2') format('woff2'),
       url('/fonts/nunito-sans/NunitoSans-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Nunito Sans';
  src: url('/fonts/nunito-sans/NunitoSans-Italic.woff2') format('woff2'),
       url('/fonts/nunito-sans/NunitoSans-Italic.woff') format('woff');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* Nunito Sans — SemiBold (600) */
@font-face {
  font-family: 'Nunito Sans';
  src: url('/fonts/nunito-sans/NunitoSans-SemiBold.woff2') format('woff2'),
       url('/fonts/nunito-sans/NunitoSans-SemiBold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Nunito Sans';
  src: url('/fonts/nunito-sans/NunitoSans-SemiBoldItalic.woff2') format('woff2'),
       url('/fonts/nunito-sans/NunitoSans-SemiBoldItalic.woff') format('woff');
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

/* Nunito Sans — Bold (700) */
@font-face {
  font-family: 'Nunito Sans';
  src: url('/fonts/nunito-sans/NunitoSans-Bold.woff2') format('woff2'),
       url('/fonts/nunito-sans/NunitoSans-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Nunito Sans';
  src: url('/fonts/nunito-sans/NunitoSans-BoldItalic.woff2') format('woff2'),
       url('/fonts/nunito-sans/NunitoSans-BoldItalic.woff') format('woff');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* Nunito Sans — Black (900) */
@font-face {
  font-family: 'Nunito Sans';
  src: url('/fonts/nunito-sans/NunitoSans-Black.woff2') format('woff2'),
       url('/fonts/nunito-sans/NunitoSans-Black.woff') format('woff');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Nunito Sans';
  src: url('/fonts/nunito-sans/NunitoSans-BlackItalic.woff2') format('woff2'),
       url('/fonts/nunito-sans/NunitoSans-BlackItalic.woff') format('woff');
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

* {
    font-family: 'Nunito Sans', Inter, sans-serif;
    font-size: 16px;
}

.main {
    padding: 50px;
}

.red-line {
    border-bottom: 5px solid var(--bs-primary);
    width: 180px;
}

/* CONTAINER */

/* HERO */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url("../../../pictures/tabSections/aboutUs/Background_About_Us.png");
    background-size: cover;
    background-position-y: 100%;
    height: 400px;

}

.hero .container {
    max-width: 1440px;
    padding: 0px;
}

.hero .header-presco {
    font-size: calc(1.775rem + 1.5vw) !important;
    text-shadow: white 1px 0.5px;
}

.hero .text-white {
    text-shadow: 0 0 10px black;
}

/* HERO */
.sub-header {
    /*background: linear-gradient(#F01A26, #F34951);*/
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
    display: flex;
    justify-content: center;
    color: var(--bs-primary);
    font-weight: 600;
}
.hero + .why-delivery .sub-header {
    padding-top: 1rem !important;
}

.circle {
    width: 70px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: 600;
    position: relative;
    z-index: 2 !important;
}

.inner-circle {
    width: 70px;
    height: 70px;
    background-color: var(--bs-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
}

.circle .sub-circle {
    position: absolute;
    width: 70px;
    height: 70px;
    background-color: #D9D9D9;
    border-radius: 50%;
    z-index: -1;
    transform: translate(-8px, -8px);
}

/* WHY PRESCO DELIVERY? */
.why-delivery .text-max-w {
    max-width: 360px;
}

.why-delivery .block-max-w {
    max-width: 1200px;
}
.why-delivery .block-max-w > div {
    max-width: 49%;
    min-width: 49%;
}
.why-delivery .block-max-w > div:nth-child(2) > div:nth-child(2){
    width: 100%;
}


/* WHY PRESCO DELIVERY? */

/* NATIONAWIDE DELIVERY */
.nationalwide-delivery .red-line:nth-child(1) {
    max-width: 240px;
    width: 100%;
}

.nationalwide-delivery .red-line:nth-child(3) {
    max-width: 140px;
    width: 100%;
}

/* NATIONAWIDE DELIVERY */

/* OUR SERVICES */
.our-services {
    /*background-color: #D9D9D9;*/
}

.our-services .container {
    max-width: 1440px;
}

.our-services .img-holder-1 .image, .our-services .img-holder-2 .image {
    width: 100%;
    height: 320px;

}

.our-services .img-holder-1 .image {
    background-image: url("../../../pictures/tabSections/aboutUs/Our_Services_Parcel_Machine.png");
    background-size: cover;
    background-position-x: 100%;
    background-position-y: 0%;
    border-radius: 70px;
}

.our-services .img-holder-2 .image {
    background-image: url("../../../pictures/tabSections/aboutUs/Our_Services_Delivering_Parcel.png");
    background-position-x: 100%;
    background-size: cover;
    border-radius: 70px;
}

.our-services .img-holder-1 .sub-image {
    position: absolute;
    width: 100%;
    height: 320px;
    background-color: var(--bs-primary);
    border-radius: 70px;
    z-index: 0;
    top: 0;
    transform: translate(-20px, -18px);
}

.our-services .img-holder-2 .sub-image {
    position: absolute;
    width: 100%;
    height: 320px;
    background-color: var(--bs-primary);
    border-radius: 70px;
    z-index: 0;
    top: 0;
    transform: translate(20px, -18px);
}

.our-services .block-max-w {
    max-width: 400px;
}

/* OUR SERVICES */

/* OUR SERVICES-2 */

.our-services-2 .img-holder-1 .image, .our-services-2 .img-holder-2 .image {
    width: 70%;
    height: 320px;
}

.our-services-2 .img-holder-1 .image {
    background-image: url("../../../pictures/tabSections/aboutUs/Our_Service_2_Man_Works.png");
    background-size: cover;
    background-position-x: 100%;
    background-position-y: 70%;
    border-radius: 70px;
}

.our-services-2 .img-holder-1 .sub-image {
    position: absolute;
    width: 70%;
    height: 320px;
    background-color: var(--bs-primary);
    border-radius: 70px;
    z-index: 0;
    top: 0;
    transform: translate(-20px, -18px);
}

.our-services-2 .img-holder-2 .image {
    background-image: url("../../../pictures/tabSections/aboutUs/Our_Service_2_Box.png");
    background-size: cover;
    background-position-x: 60%;
    background-position-y: 70%;
    border-radius: 70px;
}

.our-services-2 .img-holder-2 .sub-image {
    position: absolute;
    width: 70%;
    height: 320px;
    background-color: var(--bs-primary);
    border-radius: 70px;
    z-index: 0;
    top: 0;
    transform: translate(20px, -18px);
}

.pointer {
    cursor: pointer;
}
.break{
    display: none;
}
/* OUR SERVICES-2 */
@media all and (min-width: 1400px) {
    .hero {
        background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url("../../../pictures/tabSections/aboutUs/Background_About_Us.png");
        background-size: cover;
        height: 500px;
        background-position-y: 100%;
    }
}
@media all and (max-width: 1200px){
    .why-delivery .container{
        max-width: 1000px;
    }
}
@media all and (max-width: 1000px){
    .why-delivery .container{
        max-width: 780px;
    }
}
@media all and (max-width: 992px) {
    .hero{
        background-position-x: 100%;
    }
    .sub-header{
        padding: 0 2rem;
        text-align: center !important;
    }
    .why-delivery .block-max-w > div {
        width: 100%;
    }

    .why-delivery .block-max-w .fw-bold {
        font-size: 1.25rem !important;
    }

    .our-services .container div {
        flex-direction: column !important;
    }

    .our-services [class*=img-holder] .image, .our-services [class*=img-holder] .sub-image {
        height: 160px !important;
        width: 475px !important;
        border-radius: 24px !important;
    }

    .our-services [class*=img-holder] {
        width: auto !important;
    }

    .our-services [class*=img-holder] .image {
        background-position-y: 60%;
    }

    .our-services [class*=img-holder] {
        margin-top: 18px;
    }

    .our-services .text-mobile{
        display: block !important;
    }
    .our-services ul + div{
        display: none;
    }

    .our-services-2 .image, .our-services-2 .sub-image {
        height: 200px !important;
        border-radius: 24px !important;
    }

    .our-services-2 [class*=img-holder] {
        margin-top: 18px;
    }
    .our-services-2 .fw-bold{
        font-size: 1.125rem !important;
    }
    .our-services-2 .fw-bold + div{
        font-size: 1rem !important;
    }

    /* Blocks with photo */
    .d-flex.align-items-center.justify-content-center:last-child {
        margin-top: 1.5rem;
    }

    .why-delivery .block-max-w {
        gap: 1rem !important;
    }

    .why-delivery .circle, .why-delivery .inner-circle, .why-delivery .sub-circle {
        width: 60px !important;
        height: 60px !important;
    }
}


@media all and (max-width: 768px) {
    .hero{
        height: 300px;
    }
    .hero .d-inline-flex {
        width: 100% !important;

    }
    .hero .d-inline-flex > div {
        justify-content: center !important;
    }
    .hero .ps-5{
        padding: 0 1rem !important;
        align-items: center !important;
    }
    .hero .text-white{
        text-align: center !important;
        width: 85% !important;
    }
    .hero .header-presco{
        text-align: center !important;
    }
    .why-delivery .block-max-w {
        flex-direction: column !important;
    }

    .why-delivery .block-max-w > div {
        justify-content: center !important;
        width: 100%;
        max-width: none !important;
    }
    .why-delivery .block-max-w > div > div {
        justify-content: center !important;
        width: 100%;
        max-width: 360px !important;
    }

    .why-delivery .circle {
        margin-bottom: 0 !important;
    }

    .why-delivery .block-max-w:last-child .circle:first-child + div {
        width: 360px !important;
    }

    .nationalwide-delivery div:not(.sub-header) {
        text-align: justify !important;
    }

    .our-services [class*=img-holder] .image, .our-services [class*=img-holder] .sub-image,
    .our-services-2 [class*=img-holder] .image, .our-services-2 [class*=img-holder] .sub-image {
        height: 180px !important;
        width: 360px !important;
        border-radius: 16px !important;
    }

    .our-services .block-max-w {
        text-align: justify !important;
    }

    .our-services-2 .container > div {
        flex-direction: column !important;
        gap: 1.5rem;
    }
    .our-services-2 .d-flex.align-items-center.justify-content-center:last-child > .img-holder-2 {
        order: -1 !important;
    }
    .our-services-2 [class*=img-holder] .image{
        background-position-y: 10% !important;
    }
    .our-services-2 .fs-5{
        text-align: justify !important;
    }
    .our-services-2 .btn{
        text-align: center !important;
        width: 100% !important;
    }
    .our-services-2 .img-holder-1 + div .btn{
        margin-bottom: 1.5rem;
    }

}

@media all and (max-width: 576px) {
    .our-services [class*=img-holder] .image, .our-services [class*=img-holder] .sub-image,
    .our-services-2 [class*=img-holder] .image, .our-services-2 [class*=img-holder] .sub-image{
        height: 160px !important;
        width: 290px !important;
        border-radius: 16px !important;
    }
    .why-delivery .container {
        max-width: none !important;
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }
}
@media all and (max-width: 490px){
    .break{
        display: block;
        height: 0.1px;
    }
}
@media all and (max-width: 426px) {
    .hero {
        background-position-x: 90% !important;
    }
    .hero .text-white{
        width: 95% !important;
        font-size: 1.25rem !important;
    }
    .our-services [class*=img-holder] .image,
    .our-services-2 [class*=img-holder] .image{
        height: 140px !important;
        width: 270px !important;
        border-radius: 16px !important;
    }
    .our-services [class*=img-holder] .sub-image,
    .our-services-2 [class*=img-holder] .sub-image{
        height: 100% !important;
        width: 100% !important;
        max-width: 270px;
    }
    .our-services [class*=img-holder] {
        width: 100% !important;
    }
    .our-services [class*=img-holder] .image{
        width: 100% !important;
        max-width: 270px;
    }
}
/*ADDITIONAL FOOTER SETTINGS*/
footer .container{
    max-width: 1440px !important;
}