/* Home page redesign. All overrides are scoped to this page. */
.mg-site {
  --mg-blue: #0c538b;
  --mg-ink: #102e46;
  --mg-orange: #ed6b00;
  background: #fff;
  color: var(--mg-ink);
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
.mg-site *, .mg-site *::before, .mg-site *::after { box-sizing: border-box; }
.mg-site :focus-visible { outline: 3px solid var(--mg-orange); outline-offset: 6px; }
.mg-site .container, .mg-inner { width: min(1280px, calc(100% - 96px)); margin-inline: auto; }
.mg-site .top-navigation-4 { position: sticky; top: 0; z-index: 1000; background: #fff; }
.mg-site .top-navigation-4 .main_menu,
.mg-site .top-navigation-4 .main_menu.fixed {
  position: relative; inset: auto; background: rgba(255,255,255,.98);
  border: 0; border-bottom: 1px solid #e7edf2; box-shadow: 0 4px 24px #102e4605;
}
.mg-site .nav-home-four .container > .row { display: flex; align-items: center; justify-content: space-between; min-height: 104px; margin: 0; }
.mg-site .nav-home-four .container > .row::before,
.mg-site .nav-home-four .container > .row::after { display: none; }
.mg-site .nav-home-four .row > div { float: none; width: auto; padding: 0; }
.mg-site .top-navigation-4 .main_menu .logo,
.mg-site .top-navigation-4 .main_menu.fixed .logo { width: auto; margin: 0; padding: 0; text-align: left; }
.mg-site .top-navigation-4 .main_menu .logo img { width: auto; height: 62px; max-width: 220px; object-fit: contain; }
.mg-site .nav-home-four .nav-menu { width: auto; }
.mg-site .nav-home-four .nav-t-holder { margin: 0; }
.mg-site .top-navigation-4 .nav-t-holder .nav-t-footer ul.nav > li > a {
  background: transparent; color: var(--mg-ink); padding: 13px 17px; line-height: 24px;
  border: 0; font: 600 14px/24px 'Open Sans', Arial, sans-serif; text-transform: none;
}
.mg-site .nav-t-footer ul.nav > li:first-child > a { color: var(--mg-blue) !important; }
.mg-site .nav-t-footer ul.nav > li:first-child > a::after { content: ''; position: absolute; bottom: 3px; left: 17px; width: 22px; height: 3px; background: var(--mg-orange); }
.mg-site .nav-t-holder .nav-t-footer ul.nav > li:hover > a { color: var(--mg-orange); }
.mg-site .nav-t-holder .nav-t-footer ul.nav > li:empty { display: none !important; }
.mg-site .nav-t-holder .nav-t-footer ul.nav > li ul.submenu { background: #fff; border-top: 3px solid var(--mg-orange); box-shadow: 0 16px 40px #102e461a; }
.mg-site .nav-t-holder .nav-t-footer ul.nav > li ul.submenu li a { color: var(--mg-ink); font-size: 14px; text-transform: none; }
.mg-site .nav-t-holder .nav-t-footer ul.nav > li ul.submenu li:hover > a { color: var(--mg-orange); background: #f1f6fa; }
.mg-site .nav-t-holder .nav-t-footer ul.nav > li:focus-within > .submenu { opacity: 1; visibility: visible; }
.mg-home { overflow: clip; }
.mg-hero { display: grid; grid-template-columns: 1.03fr 1fr; align-items: center; gap: 65px; padding: 36px 0 105px; position: relative; }
.mg-hero::before { content: ''; position: absolute; width: 450px; height: 450px; border: 1px solid #e3edf4; border-radius: 50%; top: -190px; right: -260px; z-index: -1; box-shadow: 0 0 0 60px #f6f9fc, 0 0 0 61px #edf3f7; }
.mg-home h1 { font: 600 clamp(38px, 4vw, 58px)/1.16 'Raleway', Arial, sans-serif; letter-spacing: -2px; color: var(--mg-ink); margin: 0 0 26px; max-width: 640px; }
.mg-emphasis { color: var(--mg-blue); }
.mg-line { width: 62px; height: 4px; background: var(--mg-orange); margin: 0 0 26px; }
.mg-home .lead { font-size: 16px; line-height: 1.95; font-weight: 400; color: #5c6e7c; margin: 0; max-width: 580px; }
.mg-collage { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; position: relative; padding: 0 0 28px; }
.mg-collage::before { content: ''; position: absolute; width: 110px; height: 110px; left: -28px; bottom: -5px; background-image: radial-gradient(#9eb8cb 1.6px, transparent 1.6px); background-size: 12px 12px; z-index: -1; }
.mg-collage figure { margin: 0; height: 174px; position: relative; overflow: hidden; border-radius: 5px; background: #e7eef3; }
.mg-collage figure:nth-child(even) { transform: translateY(34px); }
.mg-collage figure:first-child { border-top-left-radius: 65px; }
.mg-collage figure:last-child { border-bottom-right-radius: 65px; }
.mg-collage figure::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, #071f39c9); pointer-events: none; }
.mg-collage .mg-industry-link { display: block; width: 100%; height: 100%; touch-action: manipulation; }
.mg-collage .mg-industry-link:focus-visible { outline: 3px solid var(--mg-orange); outline-offset: -3px; }
.mg-collage figure:focus-within { box-shadow: 0 0 0 3px var(--mg-orange); }
.mg-collage figcaption { pointer-events: none; }
.mg-collage img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .65s ease; }
.mg-collage figure:first-child img { object-position: 64% center; }
.mg-collage img.mg-tourism-image { object-position: 70% center; }
.mg-collage img.mg-distributor-image { object-position: center 80%; }
.mg-collage figure:hover img { transform: scale(1.05); }
.mg-collage figcaption { position: absolute; z-index: 1; bottom: 22px; left: 22px; right: 12px; color: #fff; font-size: 14px; font-weight: 600; letter-spacing: .3px; }
.mg-collage figcaption::before { content: ''; display: block; height: 3px; width: 24px; background: #ff8d38; margin-bottom: 10px; }
.mg-about { position: relative; background: #0c2e49; color: #fff; padding: 88px 0; }
.mg-about::after { content: ''; position: absolute; right: -170px; bottom: -220px; width: 520px; height: 520px; border: 1px solid #ffffff0d; border-radius: 50%; pointer-events: none; box-shadow: 0 0 0 55px #ffffff03, 0 0 0 110px #ffffff02; }
.mg-about-layout { display: grid; grid-template-columns: .95fr 1.05fr; gap: 85px; align-items: center; position: relative; z-index: 1; }
.mg-about-visual { position: relative; padding: 0 24px 24px 0; }
.mg-about-visual::before { content: ''; position: absolute; bottom: 0; right: 0; width: 70%; height: 70%; border: 1px solid #7196b1; border-radius: 4px; }
.mg-about-visual > img { position: relative; width: 100%; height: 360px; object-fit: cover; display: block; border-radius: 5px; }
.mg-visual-mark { position: absolute; bottom: 7px; left: -17px; width: 84px; height: 84px; display: flex; justify-content: center; align-items: center; gap: 6px; background: var(--mg-orange); border-radius: 4px; }
.mg-visual-mark span { width: 5px; height: 20px; background: white; transform: skewY(-25deg); }
.mg-visual-mark span:nth-child(2) { height: 32px; }
.mg-visual-mark span:nth-child(3) { height: 44px; }
.mg-sub { font: 600 clamp(32px, 3vw, 43px)/1.2 'Raleway', Arial, sans-serif; letter-spacing: -1px; margin: 0 0 34px; color: #fff; }
.mg-sub::before { content: ''; display: block; width: 46px; height: 3px; background: var(--mg-orange); margin-bottom: 22px; }
.mg-cards { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid #ffffff29; gap: 24px; }
.mg-card { appearance: none; background: transparent; border: 0; border-bottom: 3px solid transparent; border-radius: 0; cursor: pointer; color: #afc4d5; padding: 12px 0 17px; text-align: left; font: 600 18px/1.4 'Open Sans', Arial, sans-serif; margin-bottom: -1px; transition: color .2s, border-color .2s; }
.mg-card:hover { color: #fff; }
.mg-card.active { color: #fff; border-bottom-color: #ff8730; }
.mg-panel { padding-top: 27px; min-height: 210px; color: #d0dce6; font-size: 17px; line-height: 1.9; }
.mg-panel .pane { margin: 0; }
.mg-panel .pane[hidden] { display: none; }
.mg-panel .pane.show { animation: mgFade .35s ease both; }
.mg-panel ul { padding: 0; list-style: none; }
.mg-panel li { position: relative; padding-left: 23px; }
.mg-panel li::before { content: ''; position: absolute; top: .85em; left: 1px; width: 6px; height: 6px; background: #ff8730; border-radius: 50%; }
.mg-site .footer-bg3 { background: #f5f8fb; border: 0; padding: 70px 0 56px; min-height: 0; }
.mg-site .footer-bg3 > .container > .row { display: grid; grid-template-columns: 1.3fr 1fr .85fr 1.3fr; gap: 38px; margin: 0; }
.mg-site .footer-bg3 > .container > .row::before, .mg-site .footer-bg3 > .container > .row::after { display: none; }
.mg-site .footer-bg3 .widget { width: auto; float: none; margin: 0; padding: 0; min-width: 0; }
.mg-site .footer-bg3 .about-us-widget > a > img { max-width: 190px; max-height: 68px; object-fit: contain; margin-bottom: 16px; }
.mg-site .footer-bg3 .about-us-widget p { font: 400 16px/1.9 'Open Sans', Arial, sans-serif !important; color: #5c6e7c !important; padding: 0 !important; }
.mg-site .footer-bg3 h4.widget_title { font: 600 18px/1.5 'Open Sans', Arial, sans-serif; color: var(--mg-ink) !important; margin: 0 0 22px; padding: 0; }
.mg-site .footer-bg3 h4.widget_title::after { display: none; }
.mg-site .footer-bg3 .widget-contact-list { font: 400 16px/1.9 'Open Sans', Arial, sans-serif !important; }
.mg-site .footer-bg3 .widget-contact-list li { margin-bottom: 9px; }
.mg-site .footer-bg3 a { color: var(--mg-blue); font-size: 16px; }
.mg-site .footer-bg3 a:hover { color: var(--mg-orange); }
.mg-site .footer-bg3 .widget-contact-list .fleft { float: none; color: #5c6e7c; padding-left: 28px; width: auto; }
.mg-site .footer-bg3 .widget-contact-list i { color: var(--mg-blue); font-size: 17px; line-height: 1.6; }
.mg-site .footer-bg3 .about-us-widget > a:not(:first-child) { display: inline-block; margin-top: 14px; font-weight: 600; }
.mg-site .footer-bg3 .about-us-widget ul.nav { margin-top: 18px; }
.mg-site .footer-bg3 .about-us-widget ul.nav li a { background: transparent; border: 1px solid #d6e1ea; border-radius: 50%; color: var(--mg-blue); }
.mg-site .footer-bottom3 { padding: 22px 0; background: #09263d !important; border: 0; }
.mg-site .footer-bottom3 .fo-txt p, .mg-site .footer-bottom3 .fo-txt p a { font: 400 14px/1.8 'Open Sans', Arial, sans-serif; }
.mg-site #sticky-logo { border-radius: 8px; padding: 4px; right: 18px; bottom: 24px; box-shadow: 0 4px 24px #102e4626; }
.mg-fade { animation: mgFade .65s ease both; }
@keyframes mgFade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@media (min-width: 992px) {
  .mg-site .nav-t-holder .nav-t-footer { display: block !important; }
  .mg-site .nav-t-holder .nav-t-header { display: none; }
}
@media (max-width: 1199px) {
  .mg-site .container, .mg-inner { width: calc(100% - 64px); }
  .mg-hero { gap: 36px; padding-block: 32px 85px; }
  .mg-collage figure { height: 180px; }
  .mg-about-layout { gap: 45px; }
  .mg-site .top-navigation-4 .nav-t-holder .nav-t-footer ul.nav > li > a { padding-inline: 11px; }
  .mg-site .footer-bg3 > .container > .row { gap: 25px; }
}
@media (max-width: 991px) {
  .mg-site .nav-home-four .container > .row { min-height: 86px; }
  .mg-site .top-navigation-4 .main_menu .logo img { height: 54px; }
  .mg-site .nav-home-four .nav-menu { position: static; }
  .mg-site .nav-home-four .nav-t-holder { position: static; width: auto; }
  .mg-site .nav-t-holder .nav-t-header { padding: 0; }
  .mg-site .nav-t-holder .nav-t-header button { color: var(--mg-blue); background: #f0f5f9; border: 1px solid #dce6ee; border-radius: 5px; width: 44px; height: 44px; font-size: 21px; }
  .mg-site .nav-t-holder > .nav-t-footer { top: 100%; background: #fff; border-bottom: 1px solid #dce6ee; padding: 12px 24px; max-height: calc(100dvh - 86px); overflow-y: auto; box-shadow: 0 15px 25px #102e4612; }
  .mg-site .top-navigation-4 .nav-t-holder .nav-t-footer ul.nav > li > a { padding: 12px 16px; border-bottom: 1px solid #e7edf2 !important; }
  .mg-site .nav-t-footer ul.nav > li:first-child > a::after { display: none; }
  .mg-site .nav-t-holder .nav-t-footer ul.nav > li ul.submenu { box-shadow: none; border-top: 0; }
  .mg-site .nav-t-footer ul.nav li > a > button { color: var(--mg-blue); }
  .mg-hero { grid-template-columns: 1fr; gap: 40px; padding-block: 55px 78px; }
  .mg-home h1 { max-width: 700px; font-size: 48px; }
  .mg-home .lead { max-width: 100%; }
  .mg-collage { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .mg-collage figure { height: 190px; }
  .mg-collage figure:nth-child(even) { transform: none; }
  .mg-collage figure:first-child { border-top-left-radius: 36px; }
  .mg-collage figure:last-child { border-bottom-right-radius: 36px; }
  .mg-collage figcaption { left: 13px; bottom: 18px; font-size: 13px; }
  .mg-about { padding-block: 65px; }
  .mg-about-layout { grid-template-columns: .85fr 1.15fr; gap: 35px; }
  .mg-about-visual > img { height: 340px; }
  .mg-cards { gap: 16px; }
  .mg-panel { font-size: 16px; min-height: 230px; }
  .mg-site .footer-bg3 > .container > .row { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 600px) {
  .mg-site .container, .mg-inner { width: calc(100% - 40px); }
  .mg-hero { padding-block: 40px 64px; gap: 30px; }
  .mg-home h1 { font-size: clamp(34px, 8.8vw, 45px); letter-spacing: -1.2px; margin-bottom: 22px; }
  .mg-home .lead { font-size: 16px; line-height: 1.85; }
  .mg-collage { grid-template-columns: 1fr 1fr; gap: 12px; }
  .mg-collage figure { height: 190px; }
  .mg-collage figure:nth-child(even) { transform: translateY(22px); }
  .mg-collage figcaption { font-size: 14px; }
  .mg-about { padding-block: 48px; }
  .mg-about-layout { grid-template-columns: 1fr; gap: 38px; }
  .mg-about-visual { margin-left: 12px; padding: 0 16px 16px 0; }
  .mg-about-visual > img { height: 250px; }
  .mg-visual-mark { width: 65px; height: 65px; left: -12px; }
  .mg-sub { margin-bottom: 22px; }
  .mg-card { font-size: 17px; }
  .mg-panel { min-height: 225px; padding-top: 22px; }
  .mg-site .footer-bg3 { padding-block: 45px; }
  .mg-site .footer-bg3 > .container > .row { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .mg-site .footer-bg3 .about-us-widget, .mg-site .footer-bg3 .widget-contact { grid-column: 1 / -1; }
  .mg-site .footer-bg3 h4.widget_title { margin-bottom: 16px; font-size: 18px; }
  .mg-site .footer-bottom3 .container { display: flex; flex-wrap: wrap; gap: 8px 22px; }
  .mg-site #sticky-logo { right: 12px; bottom: 12px; }
  .mg-site #sticky-logo img { width: 64px !important; }
}
@media (prefers-reduced-motion: reduce) {
  .mg-site *, .mg-site *::before, .mg-site *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
