/* ---------- FONTS ---------- */
* {
    font-family: Mulish,'Lato', Roboto, sans-serif;
}
th, td {
  padding: 1rem;
}

#header-container {
    background-color: #1061ad;
}

#mainNavbar {
    background-color: #0071bc;
    border-bottom: .5em solid #b2d7ee;
    position: relative;
}

.nav-item.active {
    background-color: #b2d7ee;
}

.logo {
    height: 37px;
}

.banner {
    position: relative;
    overflow: hidden;
    background: white;
    color: white;
    padding: 5px 0;
    transition: transform 0.3s ease-in-out;
    will-change: transform, opacity;
    z-index: 1040;
}

.banner.hide {
    transform: translateY(-100%);
    opacity: 0;
}

.text-banner {
    color: #b2d7ee;
}
.emblem {
	height: 66px;
}
.navbar-custom {
    background-color: #007bc7;
    transition: transform 0.4s ease, top 0.4s ease;
    will-change: transform, top;
    z-index: 1050;
}

.fixed-top-placeholder {
    height: 60px;
    display: none;
}

.navbar-nav .nav-link {
    color: white !important;
}

.navbar-brand:hover,
.navbar-nav .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    transition: background-color 0.3s;
}

.nav-icons {
    color: white;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.8rem;
}

.navbar-subtitle {
    font-size: 0.8rem;
    margin-top: -0.5rem;
    color: #004b87;
}

.oswald-subtitle {
  font-family: "Oswald", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  color: #004b87;
  font-size: 2.0rem;
}
.oswald-title {
  font-family: "Oswald", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  color: #004b87;
  font-size: 1.0rem;
}

.breadcrumb-bar {
    background-color: #e9f2fa;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    color: #004b87;
}

.nav-tabs .nav-link {
    color: white;
    border: none;
    border-radius: 0;
    margin-bottom: 0;
}

.dropdown-toggle::after {
    margin-left: 0.4rem;
}

.nav .nav-item:hover {
    color: #154273 !important;
    background-color: #b2d7ee
}

.nav-item.active .bi {
    color: #154273 !important;
}

.scroll-to-top {
    position: fixed;
    top: 65%;
    right: 15px;
    color: white;
    background-color: #1061ad;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border-color: white;
    border-style: solid;
    border-width: 2px;
    display: none;
    z-index: 1000;
}

.scroll-to-top.show {
    display: block;
}

.zalo-chat-button {
    position: fixed;
    bottom: 0px;
    right: 0;
    transform: translateY(-50%);
    z-index: 9999;
    border-radius: 8px 0 0 8px;
    padding: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.zalo-chat-button img {
    width: 40px;
    height: 40px;
}

.zalo-chat-button:hover {
    right: 5px;
}
.footer {
    background-color: #e9f2fa;
    border-top: .5em solid #b2d7ee;
    position: relative;   
}

.dropdown-menu.mega-menu {
	width: 100%;
	left: 0;
	right: 0;
	padding: 2rem;
	border-radius: 0;
	border-top: 3px solid #007bc7;
}

.dropdown:hover .dropdown-menu {
	display: block;
}

.mega-menu h6 {
	font-weight: bold;
}

.mega-menu a {
	text-decoration: none;
}
.contact-header {
    background-color: #e5f1f9;
    color: #133777;
    padding: 3rem;
    text-align: center;
    border-radius: 7rem 0px 7rem 0
}
.contact-form-container {
    background-color: #FFFFFF;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-top: -3rem;
    position: relative;
    z-index: 1;
}
.form-container {
    padding: 1rem;
    border-radius: 0px 0px 8px 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

.form-control.input-validation-error {
	border-color: #dc3545;
	padding-right: calc(1.5em + 0.75rem);
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
	background-repeat: no-repeat;
	background-position: right calc(0.375em + 0.1875rem) center;
	background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.field-validation-error {
	color: #dc3545;
	font-size: 0.875em;
	margin-top: 5px;
}

.btn-submit {
    background-color: #1061ad;
    border: none;
    color: white;
}
.btn-submit:hover {
    background-color: #4c6fab;
    color: #FFFFFF;
}
.form-label {
    color: #333;
    font-weight: bold;
}
.form-control:focus {
    border-color: #a3bfee;
    box-shadow: 0 0 5px #e5f5ff;
}
ul.list-unstyled li a:before {
    content: "› ";
    clear: both;
    padding-left: 1em;
}

#desktopSidebar {
    background-color:#e5f1f9;
}

.image-process-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2rem 0;
}

.scroll-image-process {
  width: 70%;
  max-width: 1000px;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.scroll-image-process.show {
  opacity: 1;
  transform: translateY(0);
}

.scroll-image {
  max-width: 1000px;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
.scroll-image.show {
  opacity: 1;
  transform: translateY(0);
}

.search-bg {
	background-color: #e5f1f9;
}

.search-container {
    position: relative;
    color:#004b87;
}

.search-input::placeholder {
	font-style:italic;
}
.search-input {
    font-style:italic;
    height: 4rem;
	border-radius: 0.5rem;
    padding-left: 5rem;
    font-size: 1.2rem;
    border-color: darkblue;
    border: 2px solid darkblue;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.search-input:focus {
	border-color: darkblue;
	box-shadow: 0 0 0 0.2rem darkblue !important;
}

.search-icon {
    position: absolute;
    top: 50%;
    left: 2rem;
    font-size:1.5rem;
    transform: translateY(-50%);
    color: dark-blue;
}

.disclaimer-bg {
    padding-top: 30rem;
}

main {
    min-height: 70vh;
}

#banner {
    position: relative;
    overflow: hidden;
    z-index: 1;
    background-color: #9bbae9;
    background-image: linear-gradient(to right, transparent 0%, transparent 70%, white 100%);
}
#banner .container-fluid {
    position: relative;
    z-index: 2;
}
#banner::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    background-image: url('/media/u5ochqcm/mofa-banner-u.png');
    background-repeat: no-repeat;
    background-size: auto 128%;
    background-position: right center;
    z-index: -1;
}
@media (min-width: 992px) {
    #banner::before {
        width: 70%; 
        background-position: left center;
        -webkit-mask-image: linear-gradient(to right, 
           transparent 0%,
           transparent 0%,
           rgba(0,0,0,1) 20%, 
           rgba(0,0,0,1) 80%
        );
        mask-image: linear-gradient(to right, 
           transparent 0%, 
           transparent 0%, 
           rgba(0,0,0,1) 20%, 
           rgba(0,0,0,1) 80%
        );
    }
}

@media (max-width: 992px) {
    #banner::before {
        width: 100%;
        background-size: auto 100%;
        -webkit-mask-image: linear-gradient(to right, 
            transparent 0%, 
            transparent 0%, 
            black 100%
        );
        mask-image: linear-gradient(to right, 
            transparent 0%, 
            transparent 0%, 
            black 100%
        );
    }
}

@media (max-width: 767.98px) {
    .logo {
        height: 25px;
    }
    .emblem {
	    height: 40px;
    }
    .oswald-title {
      font-size: 0.8rem;
    }
    .oswald-subtitle {
      font-size: 1.4rem;
    }
    .scroll-image-process {
        width: 100%;
    }
    .search-input {
        padding-left: 3rem;
    }
    .search-icon {
    left: 1rem;
    }
    .form-container {
        padding:1rem;
    }
}