/* ==================== hero section ====================== */
.imex-hero {
    position: relative;

    width: 100%;
    height: 360px;

    overflow: hidden;

    display: flex;
    align-items: center;
}

.imex-hero-img {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    overflow: hidden;

    z-index: 0;
}

.imex-hero-img img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;
}

.imex-overlay {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    background: linear-gradient(to right,
            rgba(58, 71, 114, 0.88) 0%,
            rgba(64, 82, 140, 0.72) 38%,
            rgba(22, 39, 94, 0.35) 50%,
            rgba(22, 39, 94, 0.05) 75%,
            rgba(22, 39, 94, 0) 100%);

    z-index: 1;
}

.imex-hero-content {
    z-index: 999;
    padding: 2rem;
}

.imex-hero-text {
    display: flex;
    /* justify-content: center; */
    align-items: center;
    gap: 1rem;
}

.content-para {

    padding: 0.5rem 0;
    color: #fff;
}

.content-para p {
    font-weight: 500;
}

.flag .fi {
    width: 4rem;
    height: 4rem;
}

p {
    color: #fff;
}

@media (max-width: 767px) {
    .content-para h3{
        font-size: 1.5rem;
        margin-top: 15px;
    }
    .content-para p{
        font-size: 0.8rem;
        margin-top: 0;
    }
}

/* =========================================================
   COUNTRY TRADE DETAILS SECTION
========================================================= */

.country-trade-section {
    width: 100%;
    padding: 25px 20px 40px;

    background: #ffffff;

    box-sizing: border-box;
}


.country-trade-container {
    width: 100%;
    max-width: 1400px;

    margin: 0 auto;

    display: grid;
    grid-template-columns: minmax(0, 1fr) 265px;

    gap: 25px;

    box-sizing: border-box;
}


/* =========================================================
   LEFT MAIN AREA
========================================================= */

.country-trade-main {
    width: 100%;
    min-width: 0;
}


/* =========================================================
   IMPORT / EXPORT TABS
========================================================= */

.trade-mode-tabs {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    margin-bottom: 27px;
    box-sizing: border-box;
}

.trade-mode-btn {
    width: 100%;
    height: 61px;

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

    gap: 13px;

    padding: 0 18px;

    border: 1px solid #9ca6b8;
    border-radius: 14px;

    background: #ffffff;
    color: #283570;

    font-family: inherit;

    font-size: 16px;
    font-weight: 500;

    cursor: pointer;

    box-sizing: border-box;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

.trade-mode-btn i {
    font-size: 22px;
}

.trade-mode-btn.active {
    background: #283570;
    border-color: #283570;
    color: #ffffff;
}

.trade-mode-btn:hover:not(.active) {
    border-color: #283570;
}

/* =========================================================
   MODE CONTENT
========================================================= */

.trade-mode-content {
    display: none;
    width: 100%;
}


.trade-mode-content.active {
    display: block;
}


.trade-mode-content h2 {
    margin: 0 0 25px;

    color: #283570;

    font-size: 17px;
    line-height: 1.3;

    font-weight: 700;
}


/* =========================================================
   DOCUMENT GRID
========================================================= */

.trade-document-grid {
    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 10px;

    padding: 16px;

    background: #f1f6fc;

    border-radius: 14px;

    box-sizing: border-box;
}


/* =========================================================
   DOCUMENT CARD
========================================================= */

.trade-document-card {
    position: relative;

    width: 100%;
    height: 207px;

    padding: 10px 9px 9px;

    display: flex;
    flex-direction: column;

    background: #ffffff;

    border: 1px solid #b8b8b8;

    border-radius: 14px;

    box-shadow:
        3px 4px 4px rgba(0, 0, 0, 0.20);

    box-sizing: border-box;

    overflow: hidden;
}


/* =========================================================
   ICON
========================================================= */

.trade-document-icon {
    width: 41px;
    height: 41px;

    flex: 0 0 41px;

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

    margin-bottom: 8px;

    border-radius: 50%;

    background: #283570;
    color: #ffffff;
}


.trade-document-icon i {
    font-size: 22px;
    line-height: 1;
}


/* =========================================================
   CARD TITLE
========================================================= */

.trade-document-card h3 {
    margin: 0 0 6px;

    color: #283570;

    font-size: 12px;
    line-height: 1.2;

    font-weight: 700;
}


/* =========================================================
   CARD LIST
========================================================= */

.trade-document-card ul {
    margin: 0;
    padding-left: 14px;

    color: #283570;

    font-size: 11px;
    line-height: 1.45;

    font-weight: 400;
}


.trade-document-card li {
    margin-bottom: 1px;
}


/* =========================================================
   CARD LINK
========================================================= */

.trade-card-link {
    width: 100%;

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

    gap: 5px;

    margin-top: auto;

    color: #283570;

    text-decoration: none;

    font-size: 10px;
    line-height: 1.2;

    font-weight: 700;

    white-space: nowrap;
}


.trade-card-link i {
    flex-shrink: 0;

    font-size: 13px;
}


.trade-card-link:hover {
    color: red;
}


/* =========================================================
   RIGHT COUNTRY OVERVIEW
========================================================= */

.country-overview-card {
    width: 100%;

    min-height: 440px;

    padding: 15px 14px 14px;

    background: #f1f6fc;

    border-radius: 14px;

    box-sizing: border-box;
}


/* =========================================================
   OVERVIEW HEADER
========================================================= */

.country-overview-header {
    display: flex;
    align-items: center;

    gap: 10px;

    margin-bottom: 35px;
}


.country-overview-header .country-flag {
    width: 44px;
    height: 44px;

    flex: 0 0 44px;

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

    overflow: hidden;

    border-radius: 50%;

    background: #ffffff;

    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.25);
}


.country-overview-header .country-flag .fi {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}


.country-overview-header h2 {
    margin: 0;

    color: #283570;

    font-size: 16px;
    line-height: 1.2;

    font-weight: 500;
}


/* =========================================================
   COUNTRY INFORMATION
========================================================= */

.country-overview-info {
    width: 100%;
}


.country-info-row {
    display: grid;

    grid-template-columns: 90px minmax(0, 1fr);

    gap: 10px;

    margin-bottom: 17px;

    color: #283570;

    font-size: 10px;

    line-height: 1.4;
}


.country-info-row strong {
    font-weight: 700;
}


.country-info-row span {
    font-weight: 400;
}


/* =========================================================
   NOTICE
========================================================= */

.country-overview-notice {
    width: 100%;

    min-height: 73px;

    display: flex;
    align-items: flex-start;

    gap: 12px;

    margin-top: 28px;

    padding: 15px 14px;

    border: 1px solid #78b8ff;

    border-radius: 14px;

    box-sizing: border-box;
}


.country-overview-notice i {
    flex-shrink: 0;

    margin-top: 1px;

    color: #283570;

    font-size: 13px;
}


.country-overview-notice p {
    margin: 0;

    color: #283570;

    font-size: 9px;
    line-height: 1.45;

    font-weight: 400;
}


/* =========================================================
   CONTACT BUTTON
========================================================= */

.country-contact-btn {
    width: 100%;
    height: 49px;

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

    gap: 5px;

    margin-top: 20px;

    padding: 0 12px;

    border-radius: 14px;

    background: #283570;
    color: #ffffff;

    text-decoration: none;

    font-size: 10px;
    font-weight: 700;

    box-sizing: border-box;

    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}


.country-contact-btn:hover {
    background: #1f275c;
    color: #ffffff;

    transform: translateY(-1px);
}


.country-contact-btn i {
    font-size: 13px;
}


/* =========================================================
   TABLET
   769px - 1100px
========================================================= */

@media (min-width: 769px) and (max-width: 1100px) {

    .country-trade-section {
        padding: 25px 15px 35px;
    }

    .country-trade-container {
        grid-template-columns: minmax(0, 1fr) 240px;
        gap: 18px;
    }

    .trade-mode-tabs {
        gap: 18px;
    }

    .trade-mode-btn {
        font-size: 14px;
    }

    .trade-document-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   MOBILE
   768px and below
========================================================= */

@media (max-width: 768px) {

    .country-trade-section {
        padding: 25px 12px 35px;
    }


    .country-trade-container {
        display: flex;
        flex-direction: column;

        gap: 18px;
    }


    /* TABS */

    .trade-mode-tabs {
        gap: 10px;

        margin-bottom: 20px;
    }

    .trade-mode-btn {
        height: 52px;

        gap: 8px;

        padding: 0 12px;

        border-radius: 12px;

        font-size: 12px;
    }

    .trade-mode-btn i {
        font-size: 18px;
    }


    /* TITLE */

    .trade-mode-content h2 {
        margin-bottom: 18px;

        font-size: 16px;
    }


    /* DOCUMENTS */

    .trade-document-grid {
        grid-template-columns: 1fr;

        gap: 12px;

        padding: 12px;

        border-radius: 12px;
    }


    .trade-document-card {
        height: 205px;

        padding: 11px;
    }


    /* COUNTRY OVERVIEW */

    .country-overview-card {
        min-height: auto;

        padding: 18px 16px;

        border-radius: 14px;
    }


    .country-overview-header {
        margin-bottom: 25px;
    }

}
/* =========================================================
   AVAILABLE SHIPPING ROUTES
========================================================= */

.shipping-routes-section {
    width: 100%;

    padding: 25px 10px 30px;

    background: #ffffff;

    box-sizing: border-box;
}


/* =========================================================
   CONTAINER
========================================================= */

.shipping-routes-container {
    width: 100%;

    max-width: 1400px;

    margin: 0 auto;

    box-sizing: border-box;
}


/* =========================================================
   HEADER
========================================================= */

.shipping-routes-header {
    width: 100%;

    padding: 0 12px 25px;

    box-sizing: border-box;
}


.shipping-routes-header h2 {
    margin: 0;

    color: #283570;

    font-size: 18px;

    line-height: 1.3;

    font-weight: 700;
}


/* =========================================================
   SHIPPING ROUTES BACKGROUND
========================================================= */

.shipping-routes-grid {
    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 17px;

    padding: 15px 17px;

    background: #f1f6fc;

    border-radius: 14px;

    box-sizing: border-box;
}


/* =========================================================
   ROUTE CARD
========================================================= */

.shipping-route-card {
    width: 100%;

    height: 222px;

    display: flex;

    flex-direction: column;

    background: #ffffff;

    border: 1px solid #b8b8b8;

    border-radius: 14px;

    box-shadow:
        3px 4px 4px rgba(0, 0, 0, 0.20);

    overflow: hidden;

    box-sizing: border-box;
}


/* =========================================================
   IMAGE
========================================================= */

.shipping-route-image {
    position: relative;

    width: 100%;

    height: 95px;

    flex: 0 0 95px;

    overflow: visible;
}


.shipping-route-image img {
    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;
}


/* =========================================================
   ROUND ICON
========================================================= */

.shipping-route-icon {
    position: absolute;

    left: 0;

    bottom: -25px;

    width: 52px;
    height: 52px;

    display: flex;

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

    background: #283570;

    border-radius: 50%;

    color: #ffffff;

    border: 3px solid #ffffff;

    box-sizing: border-box;

    z-index: 5;
}


.shipping-route-icon i {
    font-size: 25px;

    line-height: 1;
}


/* =========================================================
   CONTENT
========================================================= */

.shipping-route-content {
    width: 100%;

    flex: 1;

    display: flex;

    flex-direction: column;

    padding: 30px 13px 9px;

    box-sizing: border-box;
}


/* =========================================================
   TITLE
========================================================= */

.shipping-route-content h3 {
    margin: 0 0 4px;

    color: #283570;

    font-size: 12px;

    line-height: 1.2;

    font-weight: 700;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.shipping-route-content p {
    margin: 0;

    color: #283570;

    font-size: 10px;

    line-height: 1.4;

    font-weight: 400;
}


/* =========================================================
   VIEW DETAILS
========================================================= */

.shipping-route-link {
    width: 100%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 8px;

    margin-top: auto;

    color: #283570;

    text-decoration: none;

    font-size: 11px;

    line-height: 1.2;

    font-weight: 700;

    box-sizing: border-box;
}


.shipping-route-link i {
    flex-shrink: 0;

    font-size: 14px;
}


.shipping-route-link:hover {
    color: red;
}


/* =========================================================
   TABLET
   769px - 1100px
========================================================= */

@media (min-width: 769px) and (max-width: 1100px) {

    .shipping-routes-section {
        padding: 25px 15px 30px;
    }

    .shipping-routes-grid {
        gap: 12px;

        padding: 13px;
    }

    .shipping-route-card {
        height: 220px;
    }

}


/* =========================================================
   MOBILE
   768px and below
========================================================= */

@media (max-width: 768px) {

    .shipping-routes-section {
        padding: 25px 12px 30px;
    }


    .shipping-routes-header {
        padding: 0 8px 18px;
    }


    .shipping-routes-header h2 {
        font-size: 17px;
    }


    .shipping-routes-grid {
        grid-template-columns: 1fr;

        gap: 14px;

        padding: 12px;

        border-radius: 12px;
    }


    .shipping-route-card {
        height: 220px;
    }

}

/* ============ service process section ============= */

.service-process-section{
    /* background-color: red; */
    padding: 25px 10px 30px;
    width: 100%;
}

.service-container{
    /* background-color: blue; */
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    background-color: #f0f6fd;
    border-radius: 1rem;
}

.service-header{
    padding: 2rem 2rem 0;
    color: #283570;
}

.service-header h3{
    font-size: 1.4rem;
    font-weight: 800;
}

.service-header p{
    color: #283570;
}

.service-card{
    display: grid;
    grid-template-columns: repeat(7,1fr);
    gap: 0.5rem;
    padding: 1rem;
}

.service-icon-step{
    text-align: center;
    padding: 1rem;
    /* background-color: pink; */
    color: #283570;
}

.service-icon{
    background-color: #283570;
    width: 5rem;
    height: 5rem;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-icon i{
    font-size: 2rem;
    border-radius: 50%;
    /* background-color: #283570; */
    padding: 0.5rem;
}

.service-process-line{
    background-color: #283570;
    margin-top: 3.5rem;
    height: 0.1rem;
    box-sizing: border-box;  
}

.service-info h4{
    font-size: 1.2rem;
    font-weight: 700;
}

.service-info p{
    color: #283570;
    font-size: 0.8rem;
}

@media (max-width: 1000px){
    .service-container {
        overflow-x: auto;

        scrollbar-width: auto;
        /* scrollbar-color: #f1f6fc; */
    }

    .service-container::-webkit-scrollbar {
        height: 3px;
    }

    .service-container::-webkit-scrollbar-thumb {
        background: #283570;
        border-radius: 5px;
    }

    .service-card {
        width: 850px;
        min-width: 850px;

        grid-template-columns: repeat(7, 1fr);
    }
}

.trade-quotation{
    padding: 2rem;
    line-height: 2rem;
    text-align: center;
    border: 2px solid #f5f8ff;
    background-color: #f8fafc;
    /* box-shadow: 10px 10px; */
}


.trade-quotation h3{
    color: #283570;
    font-weight: 700;
}

.trade-quotation p{
    color: #283570;
    font-weight: 500;
}

.trade-quotation button{
    background-color: #283570;
    border: none;
    border-radius: 1rem;
    padding: 0.5rem 1rem;
}

.trade-quotation button:hover{
    background-color: #4f60e4;
}

.trade-quotation a{
    text-decoration: none;
    color: #fff;
    
}

/* =========================================================
   CONTACT DIALOG
========================================================= */

.contact-dialog {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.contact-dialog.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Background */
.contact-dialog-overlay {
    position: absolute;
    inset: 0;
    background: rgba(20, 27, 50, 0.65);
    backdrop-filter: blur(2px);
}

/* Dialog */
.contact-dialog-box {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 500px;
    padding: 35px 35px 34px;
    background: #ffffff;
    border-radius: 22px;
    box-sizing: border-box;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.25);
    transform: translateY(15px) scale(0.98);
    transition: transform 0.25s ease;
}

.contact-dialog.active .contact-dialog-box {
    transform: translateY(0) scale(1);
}

/* Close X */
.contact-dialog-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: #f1f4f8;
    color: #283570;
    font-size: 14px;
    cursor: pointer;
    transition: 0.2s ease;
}

.contact-dialog-close:hover {
    background: #e5e9f0;
}

/* Top icon */
.contact-dialog-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #283570;
    color: #ffffff;
    font-size: 29px;
}

/* Title */
.contact-dialog-box h2 {
    margin: 0 0 10px;
    color: #283570;
    font-size: 26px;
    line-height: 1.25;
    font-weight: 700;
    text-align: center;
}

/* Description */
.contact-dialog-description {
    max-width: 410px;
    margin: 0 auto 25px;
    color: #666666;
    font-size: 16px;
    line-height: 1.55;
    text-align: center;
}

/* Contact information */
.contact-dialog-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}

.contact-dialog-item {
    min-height: 45px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 16px;
    background: #f4f6fa;
    border-radius: 11px;
    box-sizing: border-box;
    color: #333333;
    font-size: 14px;
}

.contact-dialog-item i {
    width: 18px;
    flex: 0 0 18px;
    color: #283570;
    font-size: 14px;
    text-align: center;
}

/* Buttons */
.contact-dialog-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.contact-dialog-contact,
.contact-dialog-close-btn {
    height: 47px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 10px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
}

.contact-dialog-contact {
    background: #283570;
    color: #ffffff;
    border: 1px solid #283570;
}

.contact-dialog-contact:hover {
    background: #1f275c;
    color: #ffffff;
}

.contact-dialog-close-btn {
    background: #ffffff;
    color: #283570;
    border: 1px solid #cfd5df;
}

.contact-dialog-close-btn:hover {
    background: #f4f6fa;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .contact-dialog {
        padding: 15px;
    }

    .contact-dialog-box {
        max-width: 100%;
        padding: 30px 20px 22px;
        border-radius: 20px;
    }

    .contact-dialog-icon {
        width: 58px;
        height: 58px;
        margin-bottom: 17px;
        font-size: 26px;
    }

    .contact-dialog-box h2 {
        font-size: 23px;
    }

    .contact-dialog-description {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .contact-dialog-item {
        min-height: 44px;
        padding: 0 13px;
        font-size: 13px;
    }

    .contact-dialog-actions {
        gap: 10px;
    }

    .contact-dialog-contact,
    .contact-dialog-close-btn {
        height: 45px;
        font-size: 13px;
    }
}


