.flag-icon {
  background-position: unset;
  vertical-align: middle;
}

.currency-section {
  padding: 10px 0 6px;
  background-color: #ddefff;
}

.owl-stage {
  -webkit-transition-timing-function: linear !important;
  transition-timing-function: linear !important;
}

.news .time {
  vertical-align: middle;
  width: 15%;
}

.modal-title-wrapper {
  padding: 10px;
  text-align: center;
}

.faq-tabs .tabs-content .tab {
  overflow: auto;
}

.list-style-one li {
  color: #fff;
}

.service-single h2 {
  font-size: 28px;
}

.service-single .advantages h2 {
  text-transform: none;
}

.styled-list,
.styled-list li {
  list-style: square;
}

.styled-list {
  margin-left: 20px;
}

.spaced-list > li {
  margin-bottom: 10px;
}

.step-mark {
  display: inline;
}

.fee-table thead {
  background-color: #00325d;
  color: #fff;
}

.fee-table-new {
  margin-top: 20px;
}

.fee-table-new,
.fee-table-new th,
.fee-table-new td {
  text-align: center;
  vertical-align: middle !important;
}

.fee-table-new thead *,
.fee-table-new .table-bordered,
.fee-table-new .table-bordered th {
  border: none !important;
}

.fee-table-new .table-bordered td {
  border: 1px solid #ddd;
}

.info-table th {
  background-color: #00325d;
  color: #fff;
  font-weight: 500;
}

.red_10_b {
  color: red;
  font-style: italic;
}

.country-table {
  width: 80%;
  margin: 0 auto;
}

.content-block > h2 {
  text-transform: uppercase;
}

.information {
  height: 280px;
}

.service-single .recent-work .images-outer .image-box img,
.service-single .two-column .image-column img {
  width: unset;
  margin: 0 auto;
}

.main-header .options-box .lang-box .dropdown-menu > li {
  background: #f1f1f1;
}

.sponsors-section li img {
  border-radius: 2px;
}

ol > li {
  list-style: decimal;
  margin: 0 0 0 25px;
}

#news-time {
  float: right;
  display: block;
  height: 0;
  font-style: italic;
  color: gray;
}

#news-content {
  margin-top: 20px;
  overflow-wrap: break-word;
}

.modal-footer {
  padding: 15px;
  text-align: center;
  border-top: 1px solid #e5e5e5;
  font-size: 0.8em;
  color: #000;
}

.auto-container {
  max-width: 1000px;
}

.main-header .header-top .info li {
  margin-right: 30px;
}

.service-single .nav-side ul li a {
  padding-left: 30px;
}

.faq-tabs .tab-buttons .tab-btn:before {
  content: unset;
}

.page-wrapper {
  background-color: #fff;
  box-shadow: 0 0 8px 2px #d3d3d3;
}

.main-footer .info-widget li strong {
  font-weight: 500;
  padding-right: 5px;
}

.faqs-section {
  overflow: -webkit-paged-x;
}

body {
  background-image: url(/img/background.jpg);
}

.fx-block {
  display: inline-block;
}

.fx-block img {
  width: 20px !important;
  display: inline !important;
  margin-bottom: 3px;
}

.page-title {
  padding: 60px 0;
}

.main-footer .info-widget li strong {
  width: 28%;
}

.main-footer .info-widget li .txt {
  width: 72%;
}

.main-footer .footer-upper {
  padding: 60px 0 40px;
}

.news-section {
  padding: 60px 0 80px;
}

.news-section-header {
  margin: 0 0 30px;
  color: #00325d;
  font-size: 26px;
  font-weight: 700;
}

.main-footer .footer-upper h3 {
  margin-bottom: 0;
}

.info-list {
  display: block !important;
  margin-bottom: 15px;
}

.main-footer .info-widget li {
  margin-bottom: 5px;
}

.main-footer .footer-upper .about-widget .logo {
  margin: -20px 0 20px;
}

.about-four {
  margin: 70px auto;
  background: #fff;
}

.about-four .content-column .inner {
  padding: 30px;
}

.about-four .content-column h1 {
  font-size: 30px;
  color: #083965;
}

.about-four .content-column .text {
  font-size: 20px;
  font-family: Times, sans-serif;
  font-style: italic;
  text-align: justify;
}

.about-four .content-column .name {
  text-align: right;
}

.about-four .content-column {
  float: left;
}

.about-four .image-column {
  width: 40%;
}

.about-four .content-column .inner {
  max-width: unset;
}

.about-four .content-column {
  color: #08398e;
}

.dark-button {
  background: #00325d;
  color: #fff;
  box-shadow: 1px 1px 5px grey;
}

.light-button {
  background: #fff;
  color: #00325d;
  box-shadow: 1px 1px 5px;
}

.premier-card-title {
  text-align: center;
  line-height: 30px;
  padding: 15px 10px 12px;
  border-radius: 10px;
  transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  width: 92%;
  margin: 25px auto 25px;
  border: 1px solid #8baad6;
}

.premier-card p {
  text-align: justify;
  padding: 10px 4%;
}

.premier-card {
  text-align: center;
}

.main-menu .navigation > li {
  position: relative;
  float: left;
  margin-right: 30px;
}

.policy-content {
  text-align: justify;
  padding: 0 30px;
}

.mt-20 {
  margin-top: 20px;
}

.arrow-list li {
  list-style: disclosure-closed;
}

.blue_10_b {
  color: #00325d;
  font-weight: 600;
  margin: 0 !important;
}

.mb020p {
  margin-bottom: 20px;
}

.about-four .image-column .image-layer {
  margin: 0 25px;
  width: 95%;
  height: 95%;
}

.about-four .image-column {
  display: block;
}

.guide-step {
  border: 1px solid;
  border-radius: 2px;
  margin-bottom: 30px;
}

.guide-step-title {
  background-color: #00325d;
  color: #fff;
  padding: 5px 15px;
}

.guide-step-content {
  padding: 15px;
}

.services-section {
  padding: 60px 0 20px;
}

.service-single {
  padding: 85px 0 50px;
}

.flags-grid {
  margin-top: 10px;
  float: right;
}

.flags-grid img {
  width: 70px;
  border: 1px solid #d3d3d3;
  float: right;
  margin-left: 5px;
}

.fee-rate-blocks h2 {
  margin-bottom: 0;
}

.fee-rate-blocks .flags-grid {
  margin-bottom: 25px;
}

@media only screen and (max-width: 1367px) {
  .sponsors-section {
    padding: 30px 0;
  }
  .news-section {
    padding: 40px 0 30px;
  }
  .news .time {
    width: 15%;
  }
  .information {
    height: 380px;
  }
  .main-header .header-top .info li {
    margin-right: 30px;
  }
  .service-single {
    padding: 60px 0 90px;
  }
}

@media only screen and (max-width: 1200px) {
  .main-menu .navigation > li {
    margin-right: 20px;
  }
  .main-header .header-top .top-right {
    display: block !important;
  }
  .main-header .main-box .logo-box {
    max-width: 25%;
  }
  .header-style-two .main-box .nav-outer {
    max-width: 80%;
  }
  .main-box .main-menu {
    float: right;
  }
  .about-four .content-column .inner {
    padding: 0;
  }
}

@media only screen and (max-width: 900px) {
  .main-menu .navigation > li > a {
    font-size: 14px;
  }
  .main-header .main-box .logo-box {
    max-width: 150px;
  }
  .header-style-two .main-box .nav-outer {
    max-width: 75%;
  }
  .main-slider {
    margin: 0 !important;
    padding: 20px 0;
  }
}

.advantages .image-column {
  padding-top: 45px;
}

@media only screen and (max-width: 800px) {
  .mobile-container {
    width: 100%;
    padding: 0;
  }
  .main-menu .navigation > li {
    margin-right: 20px;
  }
  .about-four .image-column .image-layer {
    background-position: -197px 0;
  }
}

@media only screen and (max-width: 767px) {
  /* .section-amount{
        display:block !important;
    } */
  .cooper-section {
    flex-wrap: wrap;
  }
  .converter-row select {
    width: 100% !important;
  }
  .converter-row input {
    width: 100% !important;
  }
  .trans-amount {
    margin: 0 !important;
    max-width: 70vw;
  }
  .soDo-img {
    min-width: 90%;
    max-height: 250px;
    margin: 30px 10px;
  }
  .main-header .header-top .top-right {
    display: none !important;
  }
  .sponsors-section {
    padding: 30px 0;
  }
  .news-section {
    padding: 40px 0 30px;
  }
  .news .time {
    width: 30%;
  }
  .news .recap {
    display: none;
  }
  .information {
    height: 380px;
  }
  .service-single {
    padding: 40px 0 90px;
  }
  .currency-section {
    padding: 3px 0 3px;
  }
  .main-slider {
    margin-top: 65px;
  }
  .country-table {
    width: 100%;
  }
  .about-four .content-column {
    width: 100%;
  }
  .about-four .image-column {
    width: 100%;
  }
}

.animated {
  -webkit-transition: 0.9s ease-out;
  -moz-transition: 0.9s ease-out;
  -ms-transition: 0.9s ease-out;
  -o-transition: 0.9s ease-out;
  transition: 0.9s ease-out;
}

.flipped-horizontal-right {
  -webkit-transform: rotateY(360deg);
  -moz-transform: rotateY(360deg);
  -ms-transform: rotateY(360deg);
  -o-transform: rotateY(360deg);
  transform: rotateY(360deg);
}

.flipped-horizontal-left {
  -webkit-transform: rotateY(-360deg);
  -moz-transform: rotateY(-360deg);
  -ms-transform: rotateY(-360deg);
  -o-transform: rotateY(-360deg);
  transform: rotateY(-360deg);
}

.flipped-vertical-top {
  -webkit-transform: rotateX(360deg);
  -moz-transform: rotateX(360deg);
  -ms-transform: rotateX(360deg);
  -o-transform: rotateX(360deg);
  transform: rotateX(360deg);
}

.flipped-vertical-bottom {
  -webkit-transform: rotateX(-360deg);
  -moz-transform: rotateX(-360deg);
  -ms-transform: rotateX(-360deg);
  -o-transform: rotateX(-360deg);
  transform: rotateX(-360deg);
}

.fx-block-flip {
  margin: 0 auto;
}

.fx-block-flip div {
  display: inline-block;
  padding: 0 15px;
}

.fx-block-flip img {
  width: 20px !important;
  display: inline !important;
  margin-bottom: 3px;
}
.banner-index {
  background-image: url("../asset4/images/bannerIndex.png") !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: cover !important; /* Phóng to ảnh để lấp đầy */
  z-index: 0 !important;
  height: 205px;
  display: flex;
  align-items: center !important;
}
.currency-section {
  min-height: 110px;
  background-color: white;
  color: #00325d;
  font-size: 24px;
}
.auto-container ul {
  /* margin-top: 27px;margin-left: 50px; */
  display: flex;
  gap: 1%;
}
.info-list {
  margin: 0 !important;
}
.section-amount {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
  background-color: #002f89;
}
.trans-amount {
  background-color: white;
  border-radius: 5px;
  margin: 50px 0;
  margin-right: 20px;
}
.trans-amount h2 {
  font-size: 24px;
  margin-top: 20px;
  margin-left: 20px;
}
.converter-row select {
  width: 70%;
}
.converter-row input {
  width: 90%;
}
.currency-converter-box {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  padding-inline: 24px;
  max-width: 420px;
  margin: 24px auto;
  font-family: inherit;
}

.converter-row {
  display: flex;
  align-items: center;
  gap: 18px;
}

.converter-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.converter-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
}

.currency-converter-box label {
  font-weight: 500;
  margin-bottom: 2px;
}

.currency-converter-box select,
.currency-converter-box input {
  padding: 6px 10px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-size: 15px;
}

.currency-converter-box input[readonly] {
  background: #f3f4f6;
}

#convert-btn {
  margin-top: 18px;
  background: #5c4efc;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 8px 28px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}

#convert-btn:hover {
  background: #4338ca;
}
.col-md-12 {
  margin-top: 25px;
}
.cooper-section {
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.cooper-section img {
  max-width: 53, 5%;
}
.cooper-content {
  margin-left: 3%;
}

.soDo-img {
  background: linear-gradient(135deg, #1e4db8 0%, #2563eb 100%);
  color: white;
  padding: 20px;
  border-radius: 12px;
  position: relative;
  height: 320px;
  width: 55%;
  overflow: hidden;
}

.chart-header {
  margin-bottom: 10px;
}

.currency-label {
  font-size: 12px;
  font-weight: 500;
  margin-left: 6%;
  margin-top: -4%;
}

.rate-value {
  font-size: 16px;
  font-weight: bold;
  margin-left: 6%;
  margin-bottom: 5px;
}

.rate-unit {
  font-size: 14px;
  opacity: 0.8;
}

.chart-canvas {
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
  height: 120px;
}

.month-labels {
  position: absolute;
  bottom: 10px;
  left: 20px;
  right: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  opacity: 0.7;
}
/* ========== Base tweaks cho responsive tốt hơn ========== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

img,
canvas,
video {
  max-width: 85%;
  height: auto;
}

/* Giảm phụ thuộc height cố định để tránh tràn trên mobile */
.information {
  height: auto;
}

/* Dùng clamp() để chữ co giãn hợp lý */
.currency-section {
  font-size: clamp(18px, 2.4vw, 24px);
}

/* Card biểu đồ: sắp xếp header gọn trên mọi kích thước */
.chart-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.currency-label {
  margin: 0;
  font-size: clamp(16px, 2vw, 18px);
}
.rate-value {
  margin: 0;
  font-size: clamp(14px, 1.8vw, 16px);
}

/* ========== Breakpoint ≥ 1200px (desktop lớn) ========== */
@media (min-width: 1200px) {
  .auto-container {
    max-width: 1200px;
  }
}

/* ========== Breakpoint ≤ 1024px (tablet ngang) ========== */
@media (max-width: 1024px) {
  .cooper-section {
    gap: 20px;
  }
  .soDo-img {
    width: 60%;
    height: 300px;
  }
  .chart-canvas {
    height: 140px;
  }
  .currency-converter-box {
    max-width: 520px;
  }
}

/* ========== Breakpoint ≤ 900px (tablet) ========== */
@media (max-width: 900px) {
  .main-header .main-box .logo-box {
    max-width: 160px;
  } /* giữ ổn định */
  .cooper-section {
    gap: 16px;
  }
  .news-section {
    padding: 32px 0 24px;
  }
}

/* ========== Breakpoint ≤ 768px (mobile) ========== */
@media (max-width: 768px) {
  /* Stack thay vì nằm ngang */
  .cooper-section {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding-inline: 12px;
  }

  /* Box biểu đồ full width, cao tự động theo nội dung */
  .soDo-img {
    width: 100%;
    height: auto; /* bỏ cố định */
    padding: 16px;
  }
  .chart-canvas {
    position: relative; /* giúp chiều cao ăn theo container */
    height: 160px; /* cao hơn chút cho ngón tay */
  }

  /* Box chuyển đổi full width, dễ bấm */
  .currency-converter-box {
    max-width: none;
    width: 100%;
    margin: 16px 0;
    padding: 16px;
  }
  .converter-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .converter-row select,
  .converter-row input {
    width: 100% !important;
  }
  #convert-btn {
    width: 100%;
    padding: 10px 16px;
    font-size: 15px;
  }

  /* Danh sách tỉ giá hiển thị dễ đọc */
  .auto-container ul {
    flex-wrap: wrap;
    gap: 8px 12px;
  }

  /* Giảm padding/spacing các section lớn */
  .page-title {
    padding: 32px 0;
  }
  .services-section {
    padding: 36px 0 16px;
  }
  .service-single {
    padding: 48px 0 48px;
  }

  /* Footer & info list gọn */
  .main-footer .footer-upper {
    padding: 36px 0 28px;
  }
  .info-list {
    margin-bottom: 10px !important;
  }
}

/* ========== Breakpoint ≤ 480px (mobile nhỏ) ========== */
@media (max-width: 480px) {
  .currency-label {
    font-size: 12px;
  }
  .rate-value {
    font-size: 14px;
  }
  .chart-canvas {
    height: 140px;
  }

  .flags-grid img {
    width: 56px;
  }
  .premier-card-title {
    width: 96%;
    margin: 16px auto;
  }
  .trans-amount {
    margin: 20px 0;
  }
}
