:root {
  --black-txt: #111111;
  --gray-txt: #494949;
  --primary-color: #0086e7;
  --white: #ffffff;
}

body,
html {
  margin: 0;
  padding: 0;
  font-family: roboto, sans-serif;
  color: var(--black-txt);
  font-size: 14px;
  line-height: normal;
  font-weight: 400;
  box-sizing: border-box;
}
a {
  text-decoration: none;
  color: var(--primary-color);
}

.container {
  max-width: 630px;
  margin: 0 auto;
  /* padding: 0 15px; */
}

.language-btn::after {
  display: inline-block;
  content: "\25BE";
  color: #777d86;
  font-size: 20px;
  height: 20px;
  line-height: 20px;
  transition: rotate 180ms ease;
}

.site-header {
  position: relative;
}

.site-header > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  padding: 12px 0;
  box-sizing: border-box;
}

.site-header > .container > a {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
}

.nav-logo > .container > a svg {
  display: block;
  width: 144px;
  height: auto;
}

.site-header nav > ul {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-header nav > ul > li {
  position: relative;
  list-style: none;
}

.site-header nav > ul > li > a {
  color: var(--gray-txt);
  text-decoration: none;
}

.active-link {
  color: var(--primary-color);
}

.nav-logo .container {
  display: flex;
  justify-content: center;
  padding: 0 0 10px 0;
}

.site-header nav .language-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gray-txt);
  font: inherit;
  font-weight: 500;
  padding: 7px 11px;
  border: 1px solid #dfe3e8;
  border-radius: 6px;
  background: var(--white);
  cursor: pointer;
  box-sizing: border-box;
}

.site-header nav a:hover,
.site-header nav a:focus-visible,
.site-header nav .language-btn:hover,
.site-header nav .language-btn:focus-visible {
  color: var(--primary-color);
}

.site-header nav .language-btn:hover,
.site-header nav .language-btn:focus-visible {
  border-color: var(--primary-color);
}

.site-header nav .language-btn svg {
  flex: 0 0 auto;
}

.site-header nav .language-btn::after {
  margin-left: 1px;
}

.site-header nav .language-btn[aria-expanded="true"] {
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
}

.site-header nav .language-btn[aria-expanded="true"]::after {
  color: var(--primary-color);
  rotate: 180deg;
}
.site-header nav .language-btn:hover::after,
.site-header nav .language-btn:focus-visible::after {
  color: var(--primary-color);
}

.site-header nav .langMenu {
  position: absolute;
  top: calc(100% + 9px);
  right: 0;
  z-index: 1000;
  display: none;
  flex-direction: column;
  gap: 0;
  width: 200px;
  max-height: min(520px, calc(100vh - 120px));
  margin: 0;
  padding: 42px 10px 10px;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  border: 1px solid #e1e5e9;
  border-radius: 9px;
  background: linear-gradient(to bottom, var(--white), #f4f4f4);
  box-shadow: 0 5px 12px rgb(17 24 39 / 16%);
  box-sizing: border-box;
  list-style: none;
}

.site-header nav .langMenu::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.site-header nav .langMenu::before {
  position: absolute;
  top: 14px;
  left: 12px;
  content: "LANGUAGE";
  font-size: 12px;
  font-weight: 700;
}

.site-header nav .langMenu li {
  width: 100%;
  list-style: none;
}

.site-header nav .langMenu a {
  display: block;
  padding: 10px;
  border-radius: 5px;
  color: var(--gray-txt);
  text-decoration: none;
}

.site-header nav .langMenu a[data-lang="en"] {
  background: #e9edf1;
  color: var(--primary-color);
}

.site-header nav .langMenu a:hover,
.site-header nav .langMenu a:focus-visible {
  outline: none;
  background: #eef3f8;
  color: var(--primary-color);
}

.site-header nav > ul > li.is-open > .langMenu {
  display: flex;
}

.search-container {
  width: 100%;
  margin: 20px auto 0;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--gray-txt);
  background: linear-gradient(to bottom, var(--white), #f4f4f4);
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  box-sizing: border-box;
}

.search-container > label {
}

.search-box {
  width: 100%;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px;
  gap: 12px;
  align-items: center;
}

.search-input-wrap {
  position: relative;
  width: 100%;
  min-width: 0;
}

.search-input {
  width: 100%;
  height: 50px;
  border-radius: 8px;
  border: 1px solid var(--primary-color);
  background-color: rgba(248, 250, 252, 0.5);
  padding: 0 58px 0 16px;
  font-size: 1rem;
  color: inherit;
  outline: none;
  transition: all 0.15s ease;
  box-sizing: border-box;
}

.search-input::placeholder {
  color: #9ca3af;
  opacity: 1;
}

.search-input-action {
  position: absolute;
  top: 50%;
  right: 12px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  padding: 0;
  transform: translateY(-50%);
  border: 0;
  border-radius: 6px;
  background: #bedcfb80;
  cursor: pointer;
}

.search-input-action svg {
  width: 17px;
  height: 17px;
}

.clear-icon {
  width: 25px !important;
  height: 25px !important;
}
.search-input-action .clear-icon {
  display: none;
}

.search-input-wrap.has-value .search-input-action .clear-icon {
  display: block;
}

.search-input-wrap.has-value .search-input-action .paste-icon {
  display: none;
}

.search-input-action svg[hidden] {
  display: none;
}

.download-button {
  height: 50px;
  border: 0;
  border-radius: 8px;
  background: var(--primary-color);
  color: var(--white);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}

.download-button:hover {
  background: var(--black-txt);
}

.terms-txt {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  column-gap: 3px;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  text-align: start;
  font-size: 13px;
  line-height: 20px;
}

.label {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: center;
  column-gap: 2px;
  color: var(--gray-txt);
  font-weight: 700;
  line-height: 20px;
}

.label-icon {
  width: 18px;
  height: 24px;
  align-self: baseline;
  color: var(--primary-color);
}

.terms-icon {
  /* width: 14px; */
  height: 18px;
  /* align-self: baseline; */
  /* padding: 4px; */
  border-radius: 50%;
  color: var(--primary-color);
}

.terms-txt a {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgb(0 107 214 / 35%);
  text-underline-offset: 2px;
}

h1 {
  color: var(--black-txt);
  text-align: center;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 32px;
  margin-bottom: 15px;
  margin-top: 30px;
}
h2 {
  color: var(--black-txt);
  text-align: center;
  font-size: 22px;
  font-style: normal;
  font-weight: 500;
  line-height: 30px;
  margin-bottom: 15px;
  margin-top: 30px;
}
h3 {
  color: var(--black-txt);
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 26px;
  margin-bottom: 10px;
}
.txt-center {
  text-align: center;
}

.content-section p,
span {
  color: var(--gray-txt);
  line-height: 24px;
  /* text-align: justify; */
}

.content-section ul {
  color: var(--gray-txt);
  list-style-type: disc;
  margin-block-start: 1em;
  margin-block-end: 1em;
  margin-inline-start: 0;
  margin-inline-end: 0;
  padding-inline-start: 40px;
}

.content-section li {
  margin-bottom: 15px;
  line-height: 24px;
}

.list_box {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 0;
  margin: 20px 0;
}

.list_box li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  list-style: none;
  margin: 0;
}

.step-number {
  display: grid;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  place-items: center;
  margin-top: 1px;
  border-radius: 50%;
  background-color: rgb(0 135 231 / 0.1);
  color: var(--primary-color);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.step-content {
  flex: 1;
  min-width: 0;
}

.step-content h3 {
  margin: 0 0 8px;
}

ol li {
  list-style: decimal;
  color: var(--gray-txt);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
}

.table-wrap {
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.quality-table {
  width: 100%;
  min-width: 490px;
  border-collapse: collapse;
  font-size: 14px;
}
.quality-table th {
  background: #eef6ff;
  color: #27547e;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid #e8e8e8;
}
.quality-table td {
  padding: 13px 16px;
  border-bottom: 1px solid #e8e8e8;
  vertical-align: middle;
}
/* .quality-table tbody tr:nth-child(even) {
  background: #fafcff;
}
.quality-table tbody tr:hover {
  background: #f1f7ff;
} */
.quality-table td:first-child {
  width: 27%;
  color: #163e67;
  white-space: nowrap;
}
.quality-table td:first-child strong {
  font-weight: 700;
}
.quality-table td:last-child {
  color: var(--gray-txt);
}
.quality-table tbody tr:last-child td {
  border-bottom: 0;
}
.b-gray {
  background: #f0f3f6;
  color: #4d5a68;
}
.b-blue {
  background: #e6f2ff;
  color: #1761a5;
}
.b-teal {
  background: #e4f6f4;
  color: #08776c;
}

.b-green {
  background: #eaf6e3;
  color: #3e7225;
}

.b-purple {
  background: #f0edff;
  color: #574aa0;
}

.b-amber {
  background: #fff3df;
  color: #805310;
}
.badge {
  display: inline-block;
  padding: 4px 10px;
  border: 0;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.first-row-features {
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-card-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.feature-card-wrapper svg {
  height: 45px;
  width: 45px;
}
.feature-card-wrapper > div h3 {
  margin: 10px 0 6px;
  line-height: 1.3;
  /* min-height: 2.6em; */
}
.feature-card-wrapper > div p {
  margin: 8px 0 0;
  line-height: 1.55;
}

#faq {
  display: grid;
  gap: 16px;
}

.faq-item {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  transition:
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.faq-item.is-open {
  border-color: #d5e1ee;
}

.faq-item h3 {
  margin: 0;
}

.faq-toggle {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 51px;
  color: var(--black-txt);
  padding: 10px 48px 10px 16px;
  border: 0;
  background: #fcfcfc;
  font: inherit;
  font-size: 16px;
  /* font-weight: 600; */
  line-height: 1.45;
  text-align: left;
  cursor: pointer;
}

.faq-toggle:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: -3px;
}

/* plus / minus icon */
.faq-toggle::before,
.faq-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 16px;
  width: 10px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--primary-color);
}

.faq-toggle::before {
  transform: rotate(90deg);
  transition: transform 0.22s ease;
}

.faq-item.is-open .faq-toggle::before {
  transform: rotate(0);
}

/* smooth open/close without max-height hacks */
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  color: #475467;
  transition:
    grid-template-rows 0.3s ease,
    opacity 0.22s ease;
}

.faq-answer p {
  min-height: 0;
  margin: 0;
  padding: 0 20px;
  overflow: hidden;
  line-height: 1.6;
  transition: padding 0.3s ease;
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
  opacity: 1;
}

.faq-item.is-open .faq-answer p {
  padding: 10px 16px 10px 16px;
  border-top: 1px solid #e8e8e8;
}

@media (prefers-reduced-motion: reduce) {
  .faq-item,
  .faq-toggle::before,
  .faq-answer,
  .faq-answer p {
    transition: none;
  }
}

.content-section {
  margin-bottom: 30px;
}

.copyright p {
  margin-top: 0;
  color: var(--gray-txt);
  margin-bottom: 15px;
}

.copyright {
  text-align: center;
  border-top: 2px solid #f4f4f4;
  padding-top: 15px;
}

footer a {
  color: var(--gray-txt);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 18px;
}

.footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 5px 20px;
  padding: 0 0 15px 0;
}

.suggestions-dropdown {
  position: absolute;
  left: 0;
  width: 100%;
  max-height: 250px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border-radius: 4px;
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 10;
  box-sizing: border-box;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.suggestions-dropdown::-webkit-scrollbar {
  display: none;
}

.result_box {
  border: 1px solid #e8e8e8;
  padding: 8px 0;
  padding: 0;
  border-radius: 8px;
  list-style: none;
  margin: 0;
}

.suggestion-item {
  padding: 8px 12px;
  margin: 0;
  cursor: pointer;
  font-size: 14px;
  line-height: normal;
}

.suggestion-item:hover,
.suggestion-item.selected {
  background-color: #e9edf1;
}

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

.skeleton-grid {
  /* padding: 0 20px; */
  margin-top: 20px;
}

.skeleton-card:first-child {
  margin-top: 0;
}

.skeleton-card {
  display: flex;
  align-items: center;
  background: #f1f1f18a;
  border-radius: 16px;
  overflow: hidden;
  cursor: default;
  pointer-events: none;
  padding: 12px;
  margin-top: 15px;
  gap: 8px;
}

.skeleton-thumb {
  background: #c9c7c2;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.skeleton-line {
  display: block;
  height: 12px;
  border-radius: 16px;
  background: #c9c7c2;
  overflow: hidden;
}

.vid-details {
  display: flex;
  align-items: center;
  width: 100%;
  flex-direction: column;
  gap: 12px;
}

.skeleton-line-lg {
  width: 80%;
}

.skeleton-line-md {
  width: 30%;
}

.skeleton-card .skeleton-thumb {
  background: linear-gradient(90deg, #d7d7d7 25%, #c7c7c7 50%, #d7d7d7 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s linear infinite;
  width: 100%;
  height: 110px;
  max-width: 170px;
  border-radius: 12px;
  object-fit: cover;
}

.skeleton-card .skeleton-line {
  background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
  background-size: 200% 100%;
  height: 13px;
  animation: shimmer 1.5s linear infinite;
}

.skeleton-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-box {
  width: 118px;
  height: 42px !important;
  border-radius: 8px;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }

  to {
    background-position: 200% 0;
  }
}

#videoList {
  margin-top: 20px;
  color: var(--primary-color);
}

#videoList .search-item {
  background: linear-gradient(to bottom, var(--white), #f4f4f4);
  text-align: center;
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  margin-bottom: 15px;
  padding: 12px;
  gap: 10px;
  display: flex;
}

.vid-content {
  margin: auto;
  width: 70%;
}

a.dwn-format {
  border-width: 2px;
  border-style: outset;
  border-color: buttonborder;
  border-image: initial;
  appearance: auto;
  font-size: 12px;
}

#videoList .vid-title {
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
  overflow: hidden;
}

#videoList .contentDetails {
  font-size: 12px;
  width: 100%;
  margin: 4px auto 15px;
}

.search_form {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

#videoList .dwn-format {
  background: var(--primary-color);
  border: none;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  text-decoration: none;
  outline: none;
  padding: 11px 6px;
  width: 118px;
  text-align: center;
}

.vid-detail-sec {
  text-align: center;
  background: linear-gradient(180deg, #fff, #f4f4f4);
  border: 1px solid #f3f1f1;
  padding: 10px;
  border-radius: 16px;
}
.mp3-box iframe,
.mp4-box iframe,
.video-show iframe {
  border-radius: 16px;
}

#load img {
  width: 100px;
  height: 100px;
}

.vi_thumimage {
  width: 170px;
  height: 110px;
  border-radius: 12px;
  object-fit: cover;
  display: block;
}

.contact-form {
background: linear-gradient(to bottom, var(--white), #f4f4f4);
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  padding: 16px 32px;
  margin: 32px 0;
}
.contact-form label {
    color: var(--black-txt);
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 5px;
    display: block;
}

.contact-form input[type=text], .contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    margin-top: 6px;
    margin-bottom: 16px;
    resize: vertical;
}

.contact-form input[type=submit] {
    background-color: #04AA6D;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

@media (max-width: 700px) {
  .container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}

@media only screen and (max-width: 650px) {
  .skeleton-card .skeleton-thumb,
  .vi_thumimage {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .vid-content {
    width: 100%;
    margin: 10px 0;
  }

  .skeleton-card,
  #videoList .search-item {
    flex-direction: column;
  }

  .skeleton-card .skeleton-thumb {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .search-container {
    padding: 14px;
    border-radius: 12px;
  }

  .search-box {
    grid-template-columns: 1fr;
    gap: 8px;
  }

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

  .download-button {
    font-size: 14px;
  }

  .site-header > .container > a svg {
    width: 76px;
  }

  .site-header nav > ul {
    gap: 16px;
  }

  .site-header nav .language-btn {
    gap: 0;
    padding: 6px;
    font-size: 0;
  }
  .site-header nav .language-btn svg {
    width: 20px;
    height: 20px;
  }

  .site-header nav .language-btn::after {
    display: none;
  }
}

@media (max-width: 560px) {
  .nav-logo > .container > a svg {
    width: 100px;
  }

  .feature-card-wrapper svg {
    height: 36px;
    width: 36px;
  }
  .table-wrap {
    overflow: visible;
    border: 0;
  }

  .quality-table,
  .quality-table tbody {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .quality-table thead {
    display: none;
  }

  .quality-table tbody {
    display: grid;
    gap: 10px;
  }

  .quality-table tbody tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 14px 14px 13px 12px;
    border: 1px solid #e3eaf0;
    border-left: 3px solid #aeb8c3;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 2px 8px rgb(22 62 103 / 5%);
    box-sizing: border-box;
  }

  .quality-table tbody tr:nth-child(2) {
    border-left-color: #70a9df;
  }

  .quality-table tbody tr:nth-child(3) {
    border-left-color: #48aaa0;
  }

  .quality-table tbody tr:nth-child(4) {
    border-left-color: #78ae58;
  }

  .quality-table tbody tr:nth-child(5) {
    border-left-color: #8f83cf;
  }

  .quality-table tbody tr:nth-child(6) {
    border-left-color: #d39a39;
  }

  .quality-table td {
    min-width: 0;
    padding: 0;
    border: 0;
    overflow-wrap: anywhere;
  }

  .quality-table td:first-child {
    grid-column: 1;
    width: auto;
    color: #163e67;
    font-size: 16px;
  }

  .quality-table td:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
  }

  .quality-table td:nth-child(2)::before,
  .quality-table td:nth-child(3)::before {
    display: block;
    color: #737f8b;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
  }

  .quality-table td:nth-child(3) {
    grid-column: 1 / -1;
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding-top: 10px;
    border-top: 1px solid #edf0f3;
    color: #4d5965;
    line-height: 1.4;
  }

  .quality-table td:nth-child(3)::before {
    flex: 0 0 auto;
    color: #27547e;
    content: "Best for";
  }

  .quality-table .badge {
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
  }
}
