/* Fold */

.fold {
    width: 100%;

    align-items: center;
    gap: 20px;
}

.fold-heading {
    text-align: center;
}

.fold-heading-highlight {
    color: var(--primary-color);

    font-family: Bokonique, NotoSans, Helvetica, Arial, sans-serif;
    font-size: 48px;
    font-weight: 600;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    white-space: nowrap;
}

.fold-heading-icon-container {
    width: 48px;
    height: 48px;

    border-radius: 50%;

    background-color: rgba(255, 181, 23, 0.4);

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;
}

.fold-heading-icon {
    width: 24px;
    height: 24px;

    color: var(--primary-color);
}

.parcel-search-form {
    width: 50%;

    display: flex;
    gap: 20px;
}

.parcel-search-tracking-number-input {
    width: calc(100% - 71px);
}

.parcel-search-btn-label {
    width: 51px;
    height: 51px;
    
    border-radius: var(--border-radius);

    background-color: #181818;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    transition: 0.4s;
    -webkit-transition: 0.4s;
}

.parcel-search-btn-label:hover {
    transform: scale(0.94);
    -webkit-transform: scale(0.94);
}

.parcel-search-btn-label > img {
    width: 24px;
    height: 24px;
}

.parcel-search-response {
    display: none;
}

.parcel-search-response._active {
    display: flex;
}

.parcel-search-response._active._success {
    color: var(--success-color);
}

.parcel-search-response._active._failure {
    color: var(--failure-color);
}

.parcel-search-response._primary {
    align-items: center;
    gap: 20px;
}

.parcel-search-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.parcel-search-info-block {
    display: flex;
    gap: 5px;
}

.parcel-search-info-value {
    color: var(--primary-color);
}

.parcel-search-response._not-found-error {
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* About */

.about {
    align-items: center;
}

.about-img {
    width: 50%;

    position: relative;

    z-index: 2;
}

.about-main {
    width: 100%;

    border-radius: 40px;

    background-color: #181818;

    display: flex;
    flex-direction: column;

    padding: 180px 80px 80px 80px;

    margin-top: -100px;

    overflow-y: clip;

    position: relative;
}

.c-blurred-circle._1 {
    width: 500px;

    top: -250px;
    left: 25%;
}

.c-blurred-circle._2 {
    width: 500px;

    bottom: -200px;
    right: -150px;
}

.about-stores {
    display: flex;
    justify-content: center;
    gap: 80px;

    margin-bottom: 80px;
}

.about-store-logo {
    height: 40px;

    filter: brightness(0%) invert(100%) grayscale(100%) contrast(20%);
    -webkit-filter: brightness(0%) invert(100%) grayscale(100%) contrast(20%);
}

.about-info {
    display: flex;
    gap: 80px;

    position: relative;

    z-index: 2;
}

.about-info-media {
    width: calc(50% - 40px);

    display: flex;
    flex-direction: column;
}

.about-info-media-item {
    border-radius: 40px;
}

.about-info-media-item._1 {
    width: 100%;

    margin-bottom: 20px;
}

.about-info-media-items-wrapper {
    display: flex;
    gap: 20px;
}

.about-info-media-item._2 {
    width: calc(100% - 140px);
    height: 120px;

    filter: grayscale(100%);
}

.about-info-media-item._3 {
    width: 120px;
    height: 120px;

    background-color: #181818;

    display: flex;
    align-items: center;
    justify-content: center;
}

.about-info-media-item._3 > img {
    width: 50px;
}

.about-info-textual {
    width: calc(50% - 40px);

    display: flex;
    flex-direction: column;
    gap: 40px;
}

.about-heading {
    color: #FFFFFF;
}

.about-p {
    color: #FFFFFF;
}

.about-btns-wrapper {
    display: flex;
    gap: 20px;
}

.about-btns-wrapper > .c-secondary-btn {
    border-color: #FFFFFF;

    color: #FFFFFF;
}

/* Stats */

.stats {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 120px;
    
    padding: 40px;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.stat-number {
    font-size: 48px;
    font-weight: 500;
}

.stat-description {
    text-align: center;
}

/* Delivery methods */

.delivery-methods {
    align-items: center;
    gap: 40px;
}

.delivery-methods-heading,
.delivery-methods-heading-highlight {
    text-align: center;
}

.delivery-methods-wrapper {
    width: 100%;

    display: flex;
    gap: 40px;

    position: relative;

    z-index: 0;
}

.delivery-method {
    width: calc(100% / 3 - (2 * 40px / 3));

    border: 1px solid var(--border-color);
    border-radius: 40px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;

    padding: 40px;
}

.delivery-method-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.delivery-method-icon {
    width: 24px;
    height: 24px;
}

/* Services */

.services {
    display: flex;
    gap: 40px;

    padding: 40px;
}

.services-container {
    width: calc(50% - 20px);

    display: flex;
    flex-direction: column;
    gap: 40px;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-header {
    display: flex;
    align-items: center;
}

.service-icon-container {
    width: 48px;
    height: 48px;

    border-radius: 50%;

    background-color: rgba(255, 181, 23, 0.4);

    display: flex;
    align-items: center;
    justify-content: center;

    margin-right: 20px;
}

.service-icon {
    width: 24px;
    height: 24px;

    color: var(--primary-color);
}

.service-name {
    width: calc(100% - 68px);
}

.services-media {
    width: calc(50% - 20px);

    display: flex;
    flex-direction: column;

    position: relative;

    z-index: 0;
}

.services-media-img {
    width: 100%;

    border-radius: 40px;
}

.c-blurred-circle._4 {
    width: 500px;

    bottom: -150px;
    left: -150px;

    z-index: -1;
}

/* World map */

.world-map {
    align-items: center;
    gap: 40px;
}

.world-map-heading {
    text-align: center;
}

.world-map-wrapper {
    width: 50%;
}

.world-map-wrapper > img {
    width: 100%;
}

/* Calculator */

.calculator {
    position: relative;
}

.c-blurred-circle._5 {
    width: 500px;

    top: -150px;
    left: -150px;

    z-index: 0;
}

.calculator-container {
    width: 100%;

    border-radius: 40px;

    display: flex;

    position: relative;

    overflow: hidden;
}

.calculator-bg-img {
    width: 100%;
    height: 100%;

    filter: brightness(60%) grayscale(100%);
    
    object-fit: cover;
    object-position: center;

    position: absolute;

    top: 0;
    left: 0;
}

.calculator-main {
    width: 100%;

    display: flex;
    gap: 80px;

    padding: 40px;

    position: relative;

    z-index: 1;
}

.calculator-heading-container {
    width: calc(50% - 40px);
}

.calculator-heading {
    color: #FFFFFF;
}

.calculator-form {
    width: calc(50% - 40px);

    border-radius: 40px;

    background-color: #FFFFFF;

    display: flex;
    flex-direction: column;
    gap: 20px;

    padding: 40px;
}

.calculator-form-fields-container {
    width: 100%;

    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.calculator-form-fields-container > .c-field {
    width: calc(50% - 10px);
}

.calculator-result {
    display: none;
}

.calculator-result._active {
    display: flex;
}

.calculator-submit-btn {
    display: none;
}

.calculator-submit-btn-label {
    width: 100%;

    text-align: center;
}

/* Steps */

.steps {
    gap: 40px;
}

.steps-wrapper {
    display: flex;
    gap: 40px;
}

.step {
    display: flex;
    flex: 1;
    align-items: center;
    gap: 20px;
}

.step-img-container {
    width: 120px;
    height: 120px;

    border-radius: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
}

.step-img-container > img {
    width: 100%;
    height: 100%;
    
    object-fit: cover;
    object-position: center;
}

.step-info {
    width: calc(100% - 140px);

    display: flex;
    flex-direction: column;
    gap: 10px;
}

.step-name {
    font-size: 20px;
}

@media only screen and (max-width: 1000px) {
    .about-stores {
        display: none;
    }

    .about-info-media-item._2 {
        width: 100%;
    }

    .about-info-media-item._3 {
        display: none;
    }
    
    .about-btns-wrapper {
        flex-direction: column;
    }
    
    .about-btns-wrapper > a {
        width: 100%;

        text-align: center;
    }

    .stats {
        gap: 80px;
    }

    .delivery-methods-wrapper {
        flex-direction: column;
    }

    .delivery-method {
        width: 100%;
    }

    .services {
        flex-direction: column;
    }

    .services-container {
        width: 100%;
    }

    .services-media {
        width: 100%;
    }

    .world-map-wrapper {
        width: 100%;
    }

    .step {
        flex-direction: column;
        align-items: flex-start;
    }

    .step-info {
        width: 100%;
    }
}

@media only screen and (max-width: 800px) {
    .fold-heading-highlight {
        font-size: 36px;
    }

    .parcel-search-form {
        width: calc(100% - 160px);
    }

    .parcel-search-response._primary {
        flex-direction: column;
    }

    .about-img {
        width: calc(100% - 160px);
    }

    .about-info {
        flex-direction: column-reverse;
    }

    .about-info-media {
        width: 100%;
    }

    .about-info-media-item._2 {
        width: calc(100% - 140px);
    }

    .about-info-media-item._3 {
        display: flex;
    }

    .about-info-textual {
        width: 100%;
    }

    .stats {
        flex-direction: column;
        gap: 20px;
    }

    .stat {
        width: 100%;
    }

    .calculator-main {
        flex-direction: column;
    }

    .calculator-heading-container {
        width: 100%;
    }

    .calculator-form {
        width: 100%;
    }

    .calculator-form-fields-container {
        flex-direction: column;
    }
    
    .calculator-form-fields-container > .c-field {
        width: 100%;
    }

    .steps-wrapper {
        flex-direction: column;
    }

    .step {
        flex-direction: initial;
        align-items: center;
    }

    .step-info {
        width: calc(100% - 140px);
    }
}

@media only screen and (max-width: 600px) {
    .fold-heading-highlight {
        font-size: 20px;
    }

    .parcel-search-form {
        width: 100%;
    }

    .parcel-search-response._primary {
        width: 100%;
    }

    .parcel-search-info {
        flex-direction: column;
    }

    .parcel-search-info-block {
        flex-direction: column;
        align-items: center;
    }

    .about-img {
        width: calc(100% - 40px);
    }

    .about-main {
        padding: 80px 20px 20px 20px;

        margin-top: -60px;
    }

    .about-info {
        gap: 40px;
    }
    
    .about-info-media-item._1 {
        margin: 0;
    }

    .about-info-media-item._2 {
        width: 100%;
    }

    .about-info-media-items-wrapper {
        display: none;
    }
    
    .delivery-method {
        padding: 20px;
    }

    .service-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .service-icon-container {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .calculator-main {
        gap: 40px;
        
        padding: 20px;
    }
}

@media only screen and (max-width: 400px) {
    .fold-heading-highlight {
        font-size: 20px;
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }

    .fold-heading-icon-container {
        width: 28px;
        height: 28px;
    }

    .fold-heading-icon {
        width: 14px;
        height: 14px;
    }
}
