.midco-overflow-hidden {
	position: relative;
	overflow-x: hidden !important;	
}

.hfe-nav-menu {
	display: inline-flex;
	align-items: center;
}

.midco-footer-nav .hfe-nav-menu {
	display: block;
}

.midco-footer-nav .hfe-nav-menu li {
	margin: 0 !important;
}

.midco-footer-nav .hfe-nav-menu {
    display: flex;
    row-gap: 30px;
    column-gap: 20px;
    align-items: center;
    width: 90%;
}

.midco-footer-nav .hfe-nav-menu:before {
    display: none;
}

.midco-header-top p a, .midco-header-top p a:hover {
	font-size: 12px;
	line-height: 1em;
}

.midco-hero-btn .elementor-button-content-wrapper .elementor-button-text {
	display: flex;
	align-items: center;
	gap: 8px;
}

.midco-hero-btn .elementor-button-text::after {
	content: '';
	display: inline-block;
	width: 16px;
	height: 20px;
	background-image: url('/wp-content/uploads/2026/05/hero-loc-img.svg');
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
	flex-shrink: 0;
}

.midco-hero-slider img.swiper-slide-image {
	max-width: 182px;
	width: 100%;
}

.midco-hero-slider-sec {
	max-height: 70px;
}

.midco-stat-sec h2.elementor-image-box-title {
	margin-top: 0;
}

.midco-services-cards h3.elementor-image-box-title {
	margin: 24px 0 16px 0 !important;
}

.midco-services-cards .elementor-image-box-content div {
	margin-top: 24px;
	display: flex;
	align-items: center;
}

.midco-services-cards .elementor-image-box-content div a {
	color: #0058BE;
	font-weight: 600;
	font-size: 14px;
	line-height: 1em;
	letter-spacing: 0.28px;
}

.midco-services-cards .elementor-image-box-content div::after {
	content: "";
	display: inline-block;
	width: 7px;
	height: 12px;
	margin-left: 8px;
	background: url('/wp-content/uploads/2026/05/explore-arrow.svg') no-repeat center;
	background-size: contain;
	vertical-align: middle;
}

.midco-services-cards.midco-sp .elementor-image-box-wrapper {
	position: relative;
}

.midco-services-cards.midco-sp .elementor-image-box-wrapper:before {
	content: "SPECIALTY";
	display: inline-block;
	padding: 4px 8px;
	font-size: 10px;
	line-height: 15px;
	font-weight: 700;
	text-transform: uppercase;
	position: absolute;
	right: 0;
	top: 0;
	background-color: #FFDDB8;
	color: #2A1700;
	letter-spacing: 0;
	font-family: "Inter", Sans-serif;
}

.midco-le-cards h3.elementor-image-box-title {
	margin: 0;
}

.midco-tlx-img::before {
	content: "";
	position: absolute;
	width: 128px;
	height: 128px;
	background: #0058BE1A;
	border-radius: 12px;
	left: -24px;
	top: -24px;
	z-index: 0;
}

.midco-tlx-img-right::after {
    content: "";
    position: absolute;
    width: 128px;
    height: 128px;
    background: #0058BE1A;
    border-radius: 12px;
    right: -24px;
    top: -24px;
    z-index: 0;
}

.midco-steps h3.elementor-image-box-title {
	margin-top: 0;
}

.midco-steps figure.elementor-image-box-img {
	background: #fff;
	width: 128px !important;
	height: 128px;
	position: relative;
	z-index: 0;
	padding: 40px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto !important;
	margin-bottom: 24px !important;
	border: 2px solid #0058BE;
	box-shadow:
		0px 2px 4px -2px #0000001A,
		0px 4px 6px -1px #0000001A;
}

.midco-steps figure.elementor-image-box-img img {
	min-width: 36px;
	width: 36px;
	position: relative;
	z-index: 1;
}

.specialty-card {
	position: relative;
	overflow: hidden;
}

.specialty-card::after {
	content: '';
	position: absolute;
	top: -64px;
	right: -64px;
	width: 128px;
	height: 128px;
	border-radius: 12px;
	background: rgba(0,88,190,.2);
}

.midco-list span.elementor-icon-list-text {
	padding: 0 !important;
}

.swiper-button-prev:after,
.swiper-button-next:after {
	display: none !important;
}

.testimonial-card {
	background-color: #fff;
	padding: 40px;
	border-radius: 8px;
	border: 1px solid #C4C6CE;
	box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.testimonial-card p.testimonial-text {
	color: #43474D;
	size: 16px;
	font-style: Italic;
	line-height: 24px;
	font-weight: 400;
	font-family: "Inter", Sans-serif;
}

.testimonial-card .testimonial-author {
	margin-top: 32px;
	display: flex;
	align-items: center;
	gap: 16px;
}

.testimonial-card .author-name {
	color: #000F22;
	font-weight: 700;
	font-size: 16px;
	line-height: 24px;
	font-family: "Inter", Sans-serif;
}

.testimonial-card .author-role {
	color: #74777E;
	font-weight: 400;
	font-size: 12px;
	line-height: 18px;
	font-family: "Inter", Sans-serif;
}

.testimonial-card .author-avatar img {
	width: 48px;
	min-width: 48px;
	display: flex;
}

.testimonials-slider .swiper-wrapper {
	align-items: stretch;
}

.testimonials-slider .swiper-slide {
	height: auto;
}

.testimonials-slider .testimonial-card {
	height: 100%;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.midco-solution-cards h3.elementor-image-box-title {
	margin: 0;
}

.midco-faq .e-n-accordion-item div[role="region"] p {
	padding: 24px 32px;
}

.midco-faq .e-n-accordion-item[open] summary {
	border-bottom: 0;
}

span.e-opened svg {
	transform:  rotate(180deg);
	transition: transform 0.3s ease;
}

/*Sticky menu*/
div#navbar.sticky {
	position:  fixed;
	top:       0;
	width:     100%;
	z-index:   999;
	animation: midco-slide-down 0.3s ease;
}

@keyframes midco-slide-down {
	from { transform: translateY(-100%); }
	to   { transform: translateY(0); }
}

/*nav.hfe-nav-menu__layout-horizontal.hfe-nav-menu__submenu-arrow.hfe-dropdown.menu-is-active {
width: 100% !important;
left: 0 !important;
}*/

.footer-socials {
	display: flex;
	gap: 16px;
}

.footer-social {
	width: 40px;
	height: 40px;
	border-radius: 12px;
	border: 1px solid rgba(255,255,255,.18);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: border-color var(--transition), background var(--transition);
}

.footer-social svg {
	fill: white;
}

.footer-social a {
	display: flex;
}

.footer-social:hover {
	border-color: rgba(255,255,255,.5);
	background: rgba(255,255,255,.08);
}

.midco-footer-list span.elementor-icon-list-text {
	padding-left: 0 !important;
}

.midco-footer-cf input.wpcf7-submit {
	position: absolute;
	top: 50%;
	right: 0;
	transform: translate(-50%, -50%);
}

.midco-footer-cf .wpcf7 form .wpcf7-response-output {
	margin: 25px 0 0 0;
	padding: 5px;
	position: absolute;
	font-size: 12px;
	color: #fff;
}

.midco-footer-cf span.wpcf7-spinner {
	position: absolute;
	left: 0;
	bottom: -25px;
}

.midco-footer-cf .wpcf7-not-valid-tip {
	font-size: 12px;
	position: absolute;
}

.midco-footer-cf .wpcf7-submit {
	color: transparent !important;
	font-size: 0 !important;
	width: 19px;
	height: 16px;
	background-color: transparent;
	background-image: url('/wp-content/uploads/2026/06/news-sent.svg');
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	border: none;
	cursor: pointer;
	padding: 0;
}

.midco-footer-cf input.wpcf7-email {
	background-color: #FFFFFF0D;
	border: 1px solid #FFFFFF1A;
	padding: 15px 17px;
	font-size: 16px;
	line-height: 1em;
	color: #fff;
}

.midco-footer-cf .wpcf7-submit:hover {
	background-color: transparent;
}

.contactus .wpcf7-text, 
.contactus select {
    display: block;
    width: 100%;
    height: calc(2.2em + .75rem + 2px);
    padding: .375rem .75rem;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    font-family: "Inter", Sans-serif;
}

.contactus .wpcf7-text:focus-visible {
	outline: none;
}

.contactus textarea.wpcf7-textarea {
	height: 200px;
	font-size: 15px;
	padding: .375rem .75rem;
	width: 100%;
	border: 1px solid #ced4da;
	border-radius: .25rem;
	font-family: "Inter", Sans-serif;
}

.contactus textarea.wpcf7-textarea:focus-visible {
	outline: none;
}

.contactus input.wpcf7-submit {
	color: #fff;
	background-color: #000F22;
	font-family: "Inter", Sans-serif;
	display: block;
	text-align: center;
	width: 200px !important;
	padding: 12px 24px 12px 24px;
	border-radius: 4px;
	border: none;
	font-size: 15px;
	line-height: 1em;
	text-transform: uppercase;
	letter-spacing: 0.28px;
	font-weight: 600;
	transition: 0.5s;
}

.contactus input.wpcf7-submit:hover {
	background-color: #F59E0B;
	color: #FFFFFF;
	transition: 0.5s;
}

.contactus .form-group {
	margin-bottom: 20px;
}

.contactus .wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
	border-color: #ffb900;
	margin: 0em 0 0 0;
	text-align: center;
	font-size: 12px;
	border-radius: 50px;
}

.contactus .wpcf7-spinner {
	position: absolute;
	right: 0;
}

.contactus .wpcf7-not-valid-tip {
	font-size: 12px;
}

.contactus .wpcf7 form.sent .wpcf7-response-output {
	border-color: #46b450;
	text-align: center;
	font-size: 12px;
	border-radius: 50px;
	margin: 0;
}

.custom-row {
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	margin-right: -15px;
	margin-left: -15px;
}

.custom-col-6 {
	-ms-flex: 0 0 50%;
	flex: 0 0 50%;
	max-width: 50%;
	position: relative;
	width: 100%;
	padding-right: 15px;
	padding-left: 15px;
}

.custom-col-12 {
	-ms-flex: 0 0 50%;
	flex: 0 0 100%;
	max-width: 100%;
	position: relative;
	width: 100%;
	padding-right: 15px;
	padding-left: 15px;
}

.custom-row textarea {
	width: 100%;
}

.custom-row input {
	width: 100%;
}

.contactus .form-group {
	margin-bottom: 1rem;
}

.midco-agent-cards h3:before {
    content: "(AIR CARGO)";
    display: block;
    padding: 4px 8px;
    font-size: 10px;
    line-height: 15px;
    font-weight: 700;
    text-transform: uppercase;
    position: absolute;
    right: 0;
    top: 0;
    background-color: #FFDDB8;
    color: #2A1700;
    letter-spacing: 0;
    font-family: "Inter", sans-serif;
    white-space: nowrap;
}

.midco-agent-cards.midco-seacargo h3:before {
    content: "(SEA CARGO)";
}

.midco-agent-cards.midco-seaaircargo h3:before {
    content: "(SEA/AIR CARGO)";
}

/* ============================================================
   MIDCO History Timeline
   ============================================================ */

/* ── Reset ──────────────────────────────────────────────── */
.midco-tl-wrap *,
.midco-tl-wrap *::before,
.midco-tl-wrap *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ── Outer wrapper ──────────────────────────────────────── */
.midco-tl-wrap {
    font-family: 'Inter', sans-serif;
}

/* ── Timeline track ─────────────────────────────────────── */
.midco-tl-track {
    position: relative;
    max-width: 860px;
    margin: 0 auto;
}

/* Centre spine — desktop */
.midco-tl-track::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #F59E0B, #162E46);
    transform: translateX(-50%);
}

/* ── Timeline item ──────────────────────────────────────── */
.midco-tl-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 48px;
    position: relative;
}

.midco-tl-item:nth-child(odd)  { flex-direction: row; }
.midco-tl-item:nth-child(even) { flex-direction: row-reverse; }

/* ── Card ───────────────────────────────────────────────── */
.midco-tl-card {
    width: calc(50% - 40px);
    background: #162E46;
    border-radius: 4px;
    padding: 22px 26px;
    border: 1px solid rgba(232, 119, 34, 0.15);
    position: relative;
    transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.midco-tl-card:hover {
    box-shadow: 0 6px 28px rgba(232, 119, 34, 0.15);
    transform: translateY(-2px);
    border-color: rgba(232, 119, 34, 0.45);
}

/* Arrow — odd items (points right toward centre) */
.midco-tl-item:nth-child(odd) .midco-tl-card::after {
    content: '';
    position: absolute;
    top: 22px;
    right: -10px;
    border: 10px solid transparent;
    border-left-color: #162E46;
}

/* Arrow — even items (points left toward centre) */
.midco-tl-item:nth-child(even) .midco-tl-card::after {
    content: '';
    position: absolute;
    top: 22px;
    left: -10px;
    border: 10px solid transparent;
    border-right-color: #162E46;
}

/* ── Card text ──────────────────────────────────────────── */
.midco-tl-card__year {
    font-family: 'Inter';
    font-size: 14px;
    letter-spacing: 0.12em;
    color: #F59E0B !important;
    text-transform: uppercase;
    margin-bottom: 7px;
}

.midco-tl-card__text {
    font-size: 16px;
    line-height: 1.65;
    color: #fff;
}

/* ── Centre dot ─────────────────────────────────────────── */
.midco-tl-dot {
    position: absolute;
    left: 50%;
    top: 20px;
    width: 16px;
    height: 16px;
    background: #0D1B2A;
    border: 3px solid #F59E0B;
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 1;
    transition: background 0.2s ease, transform 0.2s ease;
}

.midco-tl-item:hover .midco-tl-dot {
    background: #F59E0B;
    transform: translateX(-50%) scale(1.3);
}

/* ── "Today" milestone ──────────────────────────────────── */
.midco-tl-item--today .midco-tl-dot {
    width: 20px;
    height: 20px;
    background: #F59E0B;
    border-color: #162e46;
    top: 18px;
}

.midco-tl-item--today .midco-tl-card {
    border-left: 3px solid #F59E0B;
}

.midco-tl-item--today .midco-tl-card__year {
    color: #ffffff;
}

.midco-tl-item:last-child {
    margin-bottom: 0;
}

/*Tabs*/

@media only screen and (max-width: 980px) {
	.midco-mob-menu a.hfe-menu-item.elementor-button {
		display: block;
		text-align: center;
		margin-top: 40px;
	}

	.midco-mob-menu .hfe-nav-menu {
		display: block;	
	}

	.midco-ftr-low .hfe-nav-menu {
		gap: 16px;
		margin: 0 auto;
	}
}

/*Mobiles*/
@media only screen and (max-width: 767px) {
	   /* Move spine to left */
    .midco-tl-track::before {
        left: 20px;
        transform: none;
    }

    /* All items flush left */
    .midco-tl-item,
    .midco-tl-item:nth-child(even) {
        flex-direction: row !important;
        padding-left: 56px;
    }

    /* Cards fill available width */
    .midco-tl-card {
        width: 100%;
    }

    /* Single arrow pointing left toward the spine */
    .midco-tl-item:nth-child(odd) .midco-tl-card::after,
    .midco-tl-item:nth-child(even) .midco-tl-card::after {
        top: 20px;
        left: -10px;
        right: auto;
        border: 10px solid transparent;
        border-right-color: #162E46;
        border-left-color: transparent;
    }

    /* Dot sits on the left spine */
    .midco-tl-dot {
        left: 20px;
        transform: translateX(-50%);
    }

    .midco-tl-item:hover .midco-tl-dot {
        transform: translateX(-50%) scale(1.3);
    }

    .midco-tl-item--today .midco-tl-dot {
        left: 20px;
    }

	.midco-footer-nav .hfe-nav-menu {
		display: flex;
		row-gap: 16px;
		column-gap: 0;
		align-items: flex-start;
		width: 100%;
		flex-direction: column;
	}
	
	.contactus input.wpcf7-submit {
		width: 100% !important;
	}

	.custom-col-6 {
		-ms-flex: 0 0 100%;
		flex: 0 0 100%;
		max-width: 100%;
		width: 100%;
	}

	.midco-ftr-low .hfe-nav-menu {
		display: block;
		margin: 0;
	}

	.midco-ftr-low .hfe-nav-menu li {
		padding-bottom: 16px;
		margin: 0 !important;
	}

	.midco-ftr-low .hfe-nav-menu li:last-child {
		padding-bottom: 0px;
	}

	/* Move spine to left */
    .tl-track::before {
        left: 20px;
        transform: none;
    }

    /* All items flush left */
    .tl-item,
    .tl-item:nth-child(even) {
        flex-direction: row !important;
        padding-left: 56px;
    }

    /* Cards fill available width */
    .tl-card {
        width: 100%;
    }

    /* Single arrow pointing left toward the spine */
    .tl-item:nth-child(odd) .tl-card::after,
    .tl-item:nth-child(even) .tl-card::after {
        top: 20px;
        left: -10px;
        right: auto;
        border: 10px solid transparent;
        border-right-color: #162E46;
        border-left-color: transparent;
    }

    /* Dot sits on the left spine */
    .tl-dot {
        left: 20px;
        transform: translateX(-50%);
    }

    .tl-item:hover .tl-dot {
        transform: translateX(-50%) scale(1.3);
    }

    .tl-item--today .tl-dot {
        left: 20px;
    }
}

@media only screen and (max-width: 600px) {
	.midco-header-top .elementor-image-box-wrapper {
		display: flex;
		align-items: center;
		gap: 8px;
	}
}

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

    .midco-tl-card {
        padding: 18px;
    }

    .midco-tl-card__text {
        font-size: 14px;
    }
}