html,
body {
  font-family: 'Open Sans', sans-serif !important;
  font-size: 15px;
  margin: 0 auto;
  padding: 0;
  color: #374957;
  background-color: #fff !important;
}

a:visited,
a:hover,
a:link {
  text-decoration: none !important;
  color: #777e90;
}

.clearfix:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
}

h1,
h2,
h3 {
  margin: 0;
}

ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

p {
  margin: 0 0 10px;
}

.clfff {
  color: #fff !important;
}

.clred {
  color: #8D021F;
}

.fs-14 {
  font-size: 14px;
}

.fs-16 {
  font-size: 16px;
}

.fw-bold {
  font-weight: 500;
}

.under {
  text-decoration: underline !important;
}

.container {
  max-width: 1140px !important;
  margin: 0 auto;
}

.pad20 {
  padding: 20px;
}

img {
  max-width: 100%;
}

html:not(.tab-outline) *:focus {
  outline: none;
}

input[type="search"]::-webkit-search-cancel-button {
  display: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}

/*-------------header----------------*/
header {
  background: #0107ed;
  position: relative;
}

.main_nav {
  position: relative;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 0;
}

.right-menu {
  display: flex;
  align-items: center;
  color: #fff;
  font-size: 16px;
}

.nav-menu {
  margin-right: 40px;
  cursor: pointer;
}

.menu-warper.show {
  transform: scale(1);
  visibility: visible;
  opacity: 1;
}

.menu-warper {
  position: absolute;
  background: #fff;
  min-width: 565px;
  visibility: hidden;
  opacity: 0;
  z-index: 1;
  top: 105px;
  right: 108px;
  border-radius: 12px;
  padding: 20px 20px 0;
  border: 1px solid #E3E5E6;
  display: flex;
}

.menu-warper ul.list {
  width: 50%;
  margin-bottom: 0;
}

.menu-warper ul.list li,
.nav-drill ul.list li {
  margin-bottom: 15px;
}

.menu-warper ul.list a,
.nav-drill ul.list a {
  color: #374957;
  font-size: 14px;
  font-weight: 500;
}

.listsub,
.nav-drill .listsub {
  padding-left: 37px;
  margin-top: 10px;
}

.menu-warper ul.list .listsub li,
.nav-drill ul.list .listsub li {
  margin-bottom: 5px;
}

.menu-warper ul.list .listsub a,
.nav-drill ul.list .listsub a {
  color: #7F8890;
  font-size: 12px;
}

.language {
  cursor: pointer;
}

.language .tool {
  display: flex;
  align-items: center;
}


.hamburger {
  display: none;
}

.hamburger img {
  width: 24px;
  height: 24px;
}


/*----------menu------------*/

.hamburger {
  display: none;
}

.hamburger img {
  width: 24px;
  height: 24px;
}

.nav-drill {
  background-color: #fff;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  -webkit-transition: 0.45s;
  transition: 0.45s;
  height: 0;
}


.nav-is-toggled .nav-drill {
  transform: translateY(0);
  height: 100%;
}

.nav-is-toggled::after {
  opacity: 1;
  visibility: visible;
}

.nav-drill ul.nav li.active a::before {
  content: none;
}

.nav-drill ul.nav a.active {
  font-weight: 700;
  border-bottom: none;
}


.branding-title {
  display: flex;
  align-items: center;
  width: 100%;
  margin-bottom: 20px;
  border-bottom: 1px solid #E5E7E8;
  padding-bottom: 20px;
}

.branding-title img {
  width: 120px;
}

.closemenu {
  margin-left: auto;
  width: 28px;
}

.closemenu img {
  margin-right: -15px;
  width: 30px;
}

.border-style {
  padding: 60px 10px;
  text-align: center;
}

.first-section {
  position: relative;
  background: #efeff5;
  padding-bottom: 2rem;
}

.first-section .title {
  font-weight: 500;
  font-size: 36px;
  margin-bottom: 10px;
  color: #374957;
  line-height: 36px;
  display: inline-block;
}

.first-section p.sub_header {
  font-size: 14px;
  margin-bottom: 0;
  line-height: 24px;
}

.search-form {
  margin: 35px auto 0;
  display: flex;
  max-width: 794px;
  position: relative;
}

.search-form input {
  width: 100%;
  box-sizing: border-box;
  border-radius: 8px;
  height: 60px;
  padding: 0 20px 0 20px;
  font-size: 14px;
  border: 3px solid #0107ed;
  background: #fff;
}

.search-form input::placeholder {
  font-size: 14px;
}

.btn-red {
  background: #0107ed;
  display: flex;
  border: none;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  align-items: center;
  justify-content: center;
  border-radius: 0 8px 8px 0;
  height: 100%;
  width: 102px;
  position: absolute;
  right: 0;
  top: 0;
}

.first-section .alert-danger {
  color: #CB0E35;
  font-size: 18px;
  background: #FEF2F5;
  border: 1px solid #CB0E35;
  margin-bottom: 0;
  padding: 14px 10px;
  box-shadow: 0 4px 24px rgb(135 135 135 / 8%);
  border-radius: 8px;
}

.btn-red:hover {
  background: #1317b1;
  color: #fff;
  box-shadow: none;
}

.sub-language.show-language .sub_menu {
  transform: scale(1);
  visibility: visible;
  opacity: 1;
}

.sub_menu {
  position: absolute;
  background: #fff;
  width: 230px;
  visibility: hidden;
  opacity: 0;
  z-index: 1;
  top: 115px;
  right: 0px;
  box-shadow: 0px 4px 18px rgba(0, 0, 0, 0.14);
  border-radius: 5px;
  padding: 5px 0;
}

.sub_menu li a {
  display: block;
  padding: 10px 20px;
  color: #374957;
  text-align: left;
}

.sub_menu a:hover {
  color: #8D021F;
  font-weight: 500;
}

.titles {
  font-size: 24px;
  font-weight: 500;
  position: relative;
  margin-bottom: 34px;
  color: #374957;
}

.w-65 {
  max-width: 65%;
}

.howdown,
.question {
  background: rgb(6 35 121 / 5%);
  padding: 50px 0;
  margin-top: 5px;
}

.title {
  font-size: 36px;
  font-weight: 500;
  margin-bottom: 30px;
  text-align: center;
}

.howdown .title {
  color: #8D021F;
  font-size: 26px;
}

.howdown .list li,
.howdown .decrip {
  margin-bottom: 35px;
  color: #374957;
  font-size: 16px;
  position: relative;
  padding-left: 25px;
}

.howdown .list li::before {
  content: "";
  display: inline-block;
  background: #8D021F;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  position: absolute;
  top: 6px;
  left: 0;
}

.our-tool span {
  color: #374957;
  font-size: 18px;
  font-weight: 500;
  margin-top: 30px;
  display: block;
}

.our-tool img {
  max-width: 80px;
  max-height: 80px;
}

.popular-down h3 {
  color: #374957;
  font-size: 24px;
  font-weight: 500;
  text-align: center;
  margin: 90px 0 30px;
}

.popular-down ul.list {
  display: grid;
  align-items: center;
  grid-template-columns: 32% 32% 32%;
  gap: 20px;
}

.popular-down ul.list li {
  border: 1px solid #E5E7E8;
  border-radius: 8px;
  padding: 15px;
  display: flex;
  transition: all 0.3s;
}

.popular-down span {
  color: #374957;
  font-size: 16px;
  margin: 0 0 0 15px;
}

.popular-down ul.list li:hover {
  cursor: pointer;
  border: 1px solid #8D021F;
  background: #FFEBEF;
}

.no-bor {
  border: none !important;
}

.whyshould {
  padding: 90px 0;
}

.timeline {
  position: relative;
}

.timeline h3 {
  font-weight: 500;
  font-size: 18px;
  color: #374957;
  margin-bottom: 12px;
}

.timeline p {
  color: #7F8890;
  margin-bottom: 0;
}

.timeline::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 50%;
  width: 0;
  border-left: 2px dashed #7F8890;
  height: 100%;
  z-index: 0;
  transform: translateX(-50%);
}

.icon-language {
  display: none;
}

.listnumber {
  list-style-type: decimal;
  padding-left: 15px;
}

.howdown .list.listnumber li {
  padding: 0;
  margin-bottom: 10px;
}

.howdown .list.listnumber li::before {
  content: none;
}

.question .card {
  border: none;
}

.question .card-header {
  background: none;
  border: none;
  padding: 0;
}

.question .accordion .card .card-header .card-link {
  display: block;
  color: #374957;
  font-size: 18px;
  font-weight: 500;
  padding-right: 20px;
}

.question .accordion .card .card-header .card-link:before {
  background: url(../image/minus.svg) no-repeat 0 0;
  width: 24px;
  height: 24px;
  content: "";
  position: absolute;
  top: 20px;
  right: 20px;
}

.question .accordion .card .card-header .card-link.collapsed:before {
  background: url(../image/plus.svg) no-repeat 0 0;
}

.question .accordion .card .card-body {
  padding: 10px 0 0;
  color: #7F8890;
  font-size: 14px;
}

.question .accordion .card {
  border: 1px solid #E5E7E8 !important;
  padding: 14px 24px;
  margin-bottom: 16px;
  border-radius: 8px !important;
}

.loading img {
  max-width: 120px;
}

.loading p {
  color: #374957;
  font-size: 14px;
}

.tab-video .nav {
  background: #F2F3F4;
  border-radius: 20px;
  margin-bottom: 15px;
}

.tab-video .nav li {
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tab-video .nav li a {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #374957;
  padding: 10px;
}

.tab-video .nav li a.active {
  background: #8D021F;
  width: 100%;
  color: #fff;
  border-radius: 20px;
  margin: 4px;
}

.tab-video .nav li a.active img {
  filter: invert(96%) sepia(96%) saturate(18%) hue-rotate(281deg) brightness(105%) contrast(106%);
}
.box-imgvideo {text-align: center}
.box-imgvideo img {
  border-radius: 6px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: 350px;
  display: inline-block;
  aspect-ratio: 16/9;
}

.box-imgvideo h3 {
  font-size: 16px;
  color: #374957;
  font-weight: 500;
  margin: 20px 0 18px;
}

.modal-header {
  background: #8D021F;
}

.modal-header h3 {
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 0;
}

.modal img.img {
  max-width: 120px;
}

.modal .modal-footer {
  justify-content: space-between;
}

.modal .modal-footer span {
  color: #8D021F;
  font-size: 16px;
  font-weight: 500;
}
.social-icons a {
  width: 30px;
  margin-left: 10px;
}

.modal .btn {
  border-radius: 8px;
  color: #fff !important;
  width: 193px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.btn-reds {
  background: #8D021F !important;
}

.downfun {
  display: flex;
}

.select-box {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 auto;
  font-size: 14px;
  color: #374957;
}

.select-box select {
  width: 100%;
  height: 48px;
  border: none;
  padding: 10px;
  background: #F2F3F4;
  border-radius: 8px 0 0 8px;
}

.downfun .btn-reds {
  display: flex;
  align-items: center;
  padding: 0 60px;
  font-weight: 500;
  color: #fff !important;
  border-radius: 0 8px 8px 0;
}

/*----footer---*/
.footer-wap {
  border-top: 1px solid #B2B7B3;
  padding: 20px 0 30px;
}

.copyright {
  padding: 15px 10px;
  text-align: center;
  background: #0107ed;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
}

.footer-wap ul li a {
  color: #374957;
  font-size: 14px;
  display: block;
  margin-bottom: 10px;
  transition: all 0.3s;
}

.footer-wap ul li a:hover {
  color: #8D021F
}

.vtitle {
  font-size: 20px;
  padding-top: 13px;
  padding-bottom: 20px;
  text-align: center;
  font-weight: bold;
}
/* end footer */

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

  .mobile-nav-toggle,
  .mobile-nav {
    display: none;
  }

  .popular-down ul.list {
    grid-template-columns: 48% 48%
  }
}

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

  .hamburger,
  .icon-language {
    display: block;
  }

  .nav-menu,
  .tool-lang {
    display: none;
  }

  .sub_menu {
    top: 80px;
  }

  .logo {
    max-width: 120px;
  }

  .site-header {
    padding: 32px 0 16px;
  }
  .titles {
    font-size: 18px;
  }

  .w-65 {
    max-width: 100% !important;
  }

  .howdown .list {
    margin-top: 30px;
  }

  .first-section .title {
    font-size: 26px;
  }

  .popular-down ul.list li span {
    margin: 0 0 0 15px !important;
  }

  .timeline::before {
    content: none;
  }

  .timeline .col-md-5 {
    text-align: center !important;
  }

  .timeline .col-sm-1 {
    display: none;
  }

  .whyshould {
    padding: 30px 0;
  }

  .timeline .row:nth-child(2n) .col-md-5:last-child {
    order: 1;
  }

  .timeline .row:nth-child(2n) .col-md-5:first-child {
    order: 2;
  }

  h4 {
    font-size: 18px;
  }
}

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

  h1.title {
    font-size: 26px;
    margin-bottom: 10px;
  }
  .first-section {
    padding-bottom: 2rem;
  }

  .search-form {
    display: block;
  }

  .search-form input {
    height: 52px;
    padding: 0 10px 0 10px;
    border: 3px solid #ccc;
  }

  .btn-red {
    position: inherit;
    width: 100%;
    height: 52px;
    border-radius: 8px;
    margin-top: 12px;
  }
  .first-section .title {
    font-size: 23px;
  }
  .titles,
  .popular-down h3, h3.title,
  .howdown .title,
  .question .accordion .card .card-header .card-link {
    font-size: 20px;
  }

  .our-tool span {
    font-size: 14px;
    margin: 24px 0 32px;
  }

  .popular-down h3 {
    margin: 24px 0 30px;
  }

  .popular-down ul.list {
    grid-template-columns: 100%;
  }

  .our-tool .col-md-3 {
    width: 50%;
  }

  .popular-down ul.list li.no-bor {
    display: none;
  }

  .footer-wap {
    margin-top: 30px;
  }

  .footer-wap .col-md-4 {
    width: 50%;
  }

  .whyshould {
    padding: 30px 0;
  }

  .howdown .list li {
    margin-bottom: 15px;
  }

  .howdown {
    padding: 20px 0;
  }

  .timeline h3 {
    font-size: 14px;
  }

  .box-imgvideo {
    display: block;
    margin: 0 auto;
  }
  .social-icons {
    width: 100%;
    margin: 5px auto;
    text-align: center;
  }
  .social-icons a {
    width: 18%;
    margin:0;
    text-align: center;
  }
  .social-icons a img{
    max-width: 36px;
  }

}
.popular-down a.d-flex {
  width: 100%;
}
.text-white{
    color:#fff;
}


 .calculator-container {
    max-width: 440px;
    margin: 30px auto;
    padding: 25px 30px;
    background: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.1);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }

  h2 {
    font-weight: 700;
    text-align: center;
    color: #2c3e50;
    margin-bottom: 10px;
  }

  .description {
    color: #555;
    font-size: 1rem;
    line-height: 1.4;
    text-align: center;
    margin-bottom: 25px;
  }

  .input-row {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
  }

  label {
    width: 150px;
    font-weight: 600;
    color: #34495e;
    user-select: none;
  }

  .select-group {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
  }

  select, input[type=number] {
    border: 1.8px solid #ccc;
    border-radius: 6px;
    padding: 8px 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    min-width: 65px;
    cursor: pointer;
    background: white;
  }

  select:hover, input[type=number]:hover,
  select:focus, input[type=number]:focus {
    border-color: #4a7d1a;
    outline: none;
  }

  input[type=number] {
    width: 85px;
  }

  button {
    display: block;
    width: 100%;
    background-color: #4a7d1a;
    color: white;
    border: none;
    padding: 12px 0;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 8px;
    box-shadow: 0 5px 10px rgb(74 125 26 / 0.4);
    transition: background-color 0.25s ease;
  }

  button:hover, button:focus {
    background-color: #3a6213;
  }

  .result {
    margin-top: 25px;
    font-weight: 700;
    font-size: 1.15rem;
    text-align: center;
    color: #2c3e50;
    min-height: 28px;
  }