.track_response {
    margin: 10px 0;
    color: white;
    display: flex;
    align-items: center;
    font: 12px "BPG Mrgvlovani";
}

.track_response p {
    margin-right: 5px;
}

.hidden-div {
    display: none;
}

main {
    background-image: url(../images/main-page-bg.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 494px;
    position: relative;
    width: 100%;
}

main > * {
    z-index: 3;
}

main::after, main::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

main::before {
    background: rgba(0, 0, 0, 0.53);
    background: linear-gradient(180deg, 
              rgba(0,0,0,0 ) 0.00%, 
              rgba(0,0,0,0.42 ) 56.89%, 
              black 100.00%);
    z-index: 1;
}

main::after {
    background: rgba(0, 0, 0, 0.53);
    position: absolute;
    z-index: 2; 
}

.main-title {
    color: white;
    font: 40px "Gilroy GEO";
    line-height: 47px;
    margin: 57px 0 37px;
}

.main-title > span {
    color: var(--primary-color);
}

.div-container > p:first-child {
    color: white;
    font-family: "BPG Mrgvlovani";
    margin-bottom: 19px;
    margin-left: 20px;
}

.tracking-box{
    display: flex;
}

@media screen and (max-width: 900px) {
    .tracking-box {
        flex-direction: column;
    }

    .div-container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .div-container > p:first-child {
        margin-left: 0 !important;
    }

    .tracking-container {
        margin-right: 0 !important;
    }
}

.tracking-container {
    margin-right: 20px; 
    position: relative;
    max-width: 90%;
    margin-bottom: 70px;
    width: 350px;
}

@media screen and (max-width: 350px) {
    .tracking-container {
        width: 310px;
    }

    .track_response {
        font-size: 10px;
    }
}

.tracking-container input {
    background-color: transparent;
    border: 1px solid white;
    border-radius: 20px;
    color: #D2D2D2;
    padding: 1rem 2rem;
    font-family: "BPG Mrgvlovani";
    width: 100%;
    height: 39px;
}

.tracking-container button {
    background-color: var(--secondary-color);
    border: none;
    border-radius: 20px;
    color: white;
    cursor: pointer;
    font-family: "BPG Mrgvlovani";
    position: absolute;
    top: 0;
    right: -1px;
    width: 105px;
    height: 39px;
    transition: background-color 0.5s ease;
}

.tracking-content {
    /* height: 100%; */
    display: none;
    align-items: center;
    position: relative; 
    margin-top: 20px;
}

.tracking-content.visible {
    display: flex;
}

.tracking-design {
    background: var(--primary-color);
    border-radius: 6px;
    width: 5px;
    height: 100%;
    position: absolute;
    left: -1px;
    display: none;
}

.tracking-design.visible {
    display: inline-block;
}

.track_response::before {
    content: "";
    display: inline-block;
    width: 3px; 
    height: 3px; 
    background: white;
    border-radius: 50%; 
    margin-right: 10px;
    visibility: hidden;
    transform: translateY(-15%); 
}

.track_response.visible::before {
    visibility: visible;
}


/* Info Panel Styles */
.info-panel {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 98%;
    width: 835px;
    margin-bottom: 20px;
}

.delivery-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 239px;
}

.delivery-info-details {
    color: white;
}

.delivery-info-details > p:first-child {
    font-family: "BPG Mrgvlovani Caps 2010";
}

.delivery-info-details > p:last-child {
    font-family: "Gilroy GEO";
}

.weather-forecast {
    width: 223px;
}

.weather-forecast-header {
    color: black;
    display: flex;
    font-family: "BPG Arial";
    justify-content: center;
    margin-bottom: 17px;
}

.weather-forecast-details {
    display: flex;
    gap: 26px;
}

.single-day-forecast {
    color: black;
    display: flex;
    flex-direction: column;
    font-family: "BPG Arial";
    align-items: center;
    row-gap: 5px;
}

.currency-exchange > p:first-child {
    color: black;
    font-family: "BPG Arial";
    margin-bottom: 20px;
}

.currency-exchange-info {
    align-items: flex-end;
    display: flex;
    font-family: "BPG Arial";
    justify-content: space-between;
    width: 165px;
}

.currency, .exchange-rate {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.currency {
    color: black;
}

.exchange-rate {
    color: var(--primary-color);
}

/* Announcement Preview Style */
.announcement-container {
    padding: 47px 111px 15px;
}

.announcements > p {
    font: 20px "BPG Mrgvlovani Caps 2010";
    line-height: 27px;
    margin-bottom: 30px;
}

.announcement-grid {
    gap: 22px;
    margin-bottom: 40px;
}

.announcement-grid-item {
    max-width: 100%;
    height: 475px;
    width: 363px;
}

.image-container {
    border-radius: 10px 10px 0 0;
}

.announcement-item-content {
    background: #ffffff;
    border-radius: 0 0 10px 10px;
    display: flex;
    filter: drop-shadow(2px 2px 5px rgba(0,0,0,0.07));
    flex-direction: column;
    height: 228px;
    padding: 33px 0 18px 24px;
}

.announcement-date {
    color: var(--primary-color);
    margin-bottom: 22px;
}

.announcement-date span:first-child {
    font-size: 15px;
}

.announcement-date span:nth-child(2) {
    font-family: "BPG Mrgvlovani";
}

.announcement-title {
    font: 12px "BPG Mrgvlovani Caps 2010";
    width: 224px;
    margin-bottom: 19px;
}

.announcement-description {
    font: 10px "BPG Mrgvlovani";
    width: 301px;
    margin-bottom: 17px;
}

.announcement-title,
.announcement-description {
    color: var(--announcement);
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 3.6em;
    line-height: 1.2em;
}

.learn-more-container {
    display: flex;
    align-items: center;
    border-radius: 20px;
    cursor: pointer;
    width: 139px;
    height: 21px;
    position: relative;
    transition: all 0.3s ease;
}

.learn-more-container:hover {
    background-color: var(--secondary-color);
    color: white;
    width: 151px;
    padding: 0 1rem;
}

.learn-more-container p:first-child {
    font-family: "BPG Mrgvlovani";
    transition: all 0.3s ease;
}

.learn-more-container:hover p:first-child {
    font-size: 10px;
    line-height: 14px;
}

.learn-more-container p:nth-child(2) {
    position: absolute;
    right: 0;
    background-color: var(--secondary-color);
    border-radius: 11px;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 11px;
    width: 21px;
    height: 21px;
}

.show-more-announcements {    
    background: var(--secondary-color);
    border-radius: 30px;
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "BPG Arial";
    width: 182px;
    height: 45px;
    transition: background-color 0.5s ease;
}

.show-more-announcements:hover {
    background-color: var(--footer-overlay);
}

.fedex-logo {
    width: 300px;
    height: 130px;
    align-self: flex-end;
    margin-top: -40px;
    object-fit: contain;
}

/* services  */
.services {
    position: relative;
    z-index: 2;
}

.service-grid {
    column-gap: 22px;
    row-gap: 29px;
    margin-bottom: 45px;
}

.service-item {
    width: 363px;
}

.service-img-container {
    border-radius: 10px;
    margin-bottom: 20px;
}

.service-item p {
    color: var(--announcement);
    cursor: pointer;
    font: 16px "BPG Mrgvlovani Caps 2010";
    text-align: center;
    width: 257px;
    margin: 0 auto;
    height: 2.4em;
    line-height: 1.2em;
    overflow: hidden;
}
/* services  */


/* gallery */
.gallery {
    position: relative;
    z-index: 2;
}

.gallery-content {
    column-gap: 22px;
    row-gap: 30px;
    margin-bottom: 47px;
}

.gallery-content a {
    border-radius: 10px;
    width: 363px;
}
/* gallery */


/* about us */


.about-us {
    position: relative;
    z-index: 2;
}

.about-us-content {
    display: flex;
    gap: 63px;
    max-height: 887px;
}

.about-us-text {
    display: flex;
    flex-direction: column;
    width: 571px;
    max-width: 100%;
    row-gap: 40px;
}

.about-us-imgs {
    display: flex;
    flex-direction: column;
    row-gap: 22px;
}

.about-us-imgs div {
    width: 363px;
    border-radius: 10px;
}


/* about us */

/*announcements*/
.announcements {
    position: relative;
    z-index: 2;
}
/*announcements*/

.weather-currency-container {
    background: #f9f9f9;
    display: flex;
    justify-content: center;
    padding: 40px 20px;
}

.weather-currency-content {
    color: black;
    display: flex;
    gap: 30px;
}

.currency-exchange {
    border-left: 1px solid #CECECE;
    padding-left: 30px;
}