:root {
  --primary-color: #fbaf18;
  --secondary-color: #ff8a47;
  --header-bg: #ffffff;
  --footer-bg: #ff8a47;
  --text-dark: #222222;
  --text-light: #484848;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
ul,
li {
  padding: 0;
  margin: 0;
  list-style: none;
}
body {
  font-family: "Mulish", sans-serif;
  color: var(--text-light);
  line-height: 1.6;
  font-weight: 600;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-dark);
  font-weight: 700;
}

/* Header Styles */
.navbar {
  background: var(--header-bg) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--primary-color) !important;
}

.nav-link {
  font-weight: 600;
  color: var(--text-dark) !important;
  transition: color 0.3s;
  margin: 0 0.5rem;
}

.nav-link:hover {
  color: var(--primary-color) !important;
}

.navbar-nav .nav-link.active {
  color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
  background: url(../assets/images/bg.webp);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 70%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(37, 99, 235, 0.08) 0%,
    rgba(37, 99, 235, 0) 70%
  );
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-right: 9rem;
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: #fff;
}

.hero-title .h1-1 {
  font-size: 2rem;
}

.hero-title .h1-2 {
  font-size: 2.7rem;
}

.hero-title .h1-3 {
  font-size: 2rem;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 2.5rem;
  max-width: 600px;
}

/* Calculator Styles */
.calculator-container {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
}

.calculator-container::before {
  /* content: url(../assets/images/main-robot.png); */
  position: absolute;
  left: -156px;
  bottom: 15px;
  z-index: 9;
}

.calc-header {
  padding: 2rem;
  text-align: center;
  border-bottom: 1px solid #e5e7eb;
}

.calc-header-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}

.calc-body {
  padding: 2rem;
}

.slider-container {
  margin-bottom: 2rem;
}

.slider-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.amount-display {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

/* NoUiSlider Custom Styles */
.noUi-target {
  background: #f3f4f6;
  border: none;
  border-radius: 10px;
  box-shadow: none;
  height: 8px;
  margin: 15px 0;
}

.noUi-connect {
  background: var(--primary-color);
}

.noUi-handle {
  background: var(--primary-color);
  border: none;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  cursor: grab;
  width: 24px !important;
  height: 24px !important;
  right: -12px !important;
  top: -8px !important;
}

.noUi-handle:active {
  cursor: grabbing;
}

.noUi-handle:before,
.noUi-handle:after {
  display: none;
}

.noUi-handle:hover {
  transform: scale(1.1);
  transition: transform 0.2s;
}

/* Features Section */
.features-section {
  background: var(--footer-bg);
  color: white;
  padding: 2rem 0;
}

.feature-item {
  text-align: center;
  display: flex;
  align-items: center;
}

.feature-item i {
  display: inline-block;
  margin-bottom: 1rem;
  background-image: url(../assets/images/sprite.webp);
  background-position: -640px -359px;
  width: 54px;
  height: 54px;
  margin-right: 10px;
  flex-shrink: 0;
}
.feature-item .fa-bolt {
  background-position: -640px -521px;
}
.feature-item .fa-laptop {
  background-position: -640px -467px;
}
.feature-item .fa-shield-alt {
  background-position: -640px -413px;
}

/* Stats Section */
.stats-section {
}

.stat-item {
  text-align: center;
  padding: 1rem;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: #fff;
  font-size: 0.9rem;
}

/* Footer */
.footer {
  background: #111827;
  color: white;
  padding: 2rem 0 1rem;
}
.footer .uppercase {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer h5 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  color: #fff;
  margin-right: 20px;
}
.footer .phone {
  font-size: 1.6rem;
  margin-right: 20px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: white;
}

/* Form Styles */
.form-control {
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: all 0.3s;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(251, 175, 24, 0.1);
}

.btn-outline-primary {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  background: transparent;
}

.btn-outline-primary:hover,
.btn-check:checked + .btn-outline-primary {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

.section {
  padding: 60px 0;
}

.dark {
  background-color: var(--secondary-color);
  color: white;
}

.text-white {
  color: white !important;
}

/* Ai đủ điều kiện để vay Robocash? */
.i-want {
  background: url(../assets/images/gray-bg.webp) -30px;
  border-bottom: 1px solid #eff1f1;
}
.i-want h2 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
  padding: 20px 0;
}

.i-want .item {
  padding: 1rem 0 0.5rem 70px;
  border-bottom: 1px solid #e5e7eb;
  position: relative;
}

.i-want .item:last-child {
  border-bottom: none;
}
.i-want .item::before {
  content: "";
  position: absolute;
  left: 0;
  background-image: url(../assets/images/sprite.webp);
}
.i-want .item1::before {
  background-position: -301px -540px;
  width: 60px;
  height: 60px;
}
.i-want .item2:before {
  background-position: -181px -540px;
  width: 59px;
  height: 60px;
}
.i-want .item3:before {
  background-position: -241px -260px;
  width: 59px;
  height: 60px;
}

/* Đăng ký vay Robocash */
.heading-title {
  text-align: center;
  margin-bottom: 2rem;
  padding-top: 2rem;
}

.heading-title h2 {
  font-size: 2rem;
  color: var(--text-dark);
}

/* Bước đăng ký */
.row-step .step {
  text-align: center;
  padding: 1rem 1.5rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
  transition: transform 0.3s;
}

.row-step .step:hover {
  transform: translateY(-5px);
}

.row-step .step strong {
  color: var(--primary-color);
  font-size: 1.1rem;
}

.btn {
  background: var(--primary-color);
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s;
  color: white;
  text-decoration: none;
  display: inline-block;
}

.btn:hover {
  background: #e09a00;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(251, 175, 24, 0.3);
  color: white;
}

/* Thông tin vay */
.row-tt .col-inner {
  padding: 20px 0px 5px 0px;
  background-color: var(--secondary-color);
  border-radius: 15px;
  height: 100%;
}

.row-tt .uppercase {
  text-transform: uppercase;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  opacity: 0.8;
}

.row-tt .font-bold {
  font-weight: 700;
  font-size: 1.4rem;
}

/* Thông tin chi tiết */
.example.info__text {
  margin-top: 1rem;
  /* height: 230px;
  overflow-y: scroll; */
}

.example.info__text h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}
.info__text::-webkit-scrollbar {
  width: 4px;
}

.info__text::-webkit-scrollbar-thumb {
  background-color: #6e1ea0;
  border-radius: 2px;
}

.info__text::-webkit-scrollbar-track {
  border-radius: 2px;
}
.example.info__text p,
.example.info__text ul,
.example.info__text li {
  margin-bottom: 1rem;
  line-height: 1.8rem;
}

.example.info__text ul {
  padding-left: 1.5rem;
}

.example.info__text strong {
  color: var(--primary-color);
}
/* questions */
.about {
  background: url(../assets/images/bg.webp);
  padding: 6rem 2rem;
  color: #fff;
}
.about .heading {
  max-width: 1150px;
  margin: 0 auto;
}
.about h1 {
  color: #fff;
  padding-bottom: 10px;
}
/* 手风琴样式 */
.accordion {
  margin-top: 30px;
}
.questions {
  padding: 20px;
  text-align: right;
}
.accordion-item {
  border-bottom: 1px solid #eaeaea;
  padding: 10px;
}

.accordion-title {
  display: flex;
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
  text-decoration: none;
  color: #ff8a47;
  font-weight: 600;
  transition: color 0.3s;
  justify-content: flex-end;
}

.accordion-title:hover {
  color: #ff8a47;
}

.accordion-title .toggle {
  background: none;
  border: none;
  margin-right: 15px;
  transition: transform 0.3s;
  color: #ff8a47;
  font-size: 12px;
}

.accordion-title.active .toggle {
  transform: rotate(180deg);
}
.accordion-title .toggle i {
  font-style: normal;
}

.accordion-inner {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 0 0 40px;
}

.accordion-title.active + .accordion-inner {
  max-height: 1000px;
  padding-bottom: 20px;
}

/* aboutUs */

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 特性卡片样式 */
.features-box {
  padding: 40px 0;
  background-color: #fff;
}

.section-title {
  text-align: center;
  margin-bottom: 30px;
}

.section-title h2 {
  font-size: 2.5rem;
  color: #222222;
  margin-bottom: 10px;
}

.section-title p {
  font-size: 1.1rem;
  color: #666;
  max-width: 900px;
  margin: 0 auto;
}

.about-column {
  display: flex;
  flex-wrap: wrap;
  color: #000;
  max-width: 1100px;
  margin: 3rem auto 0;
}
.about-column li {
  border-right: 1px dashed #ddd;
  width: 33%;
  text-align: center;
  box-sizing: border-box;
  padding: 20px;
}
.about-column li:last-child {
  border: none;
}
.about-column .icon {
  background-image: url(../assets/images/sprite.webp);
  background-position: -321px -121px;
  width: 120px;
  height: 120px;
  display: block;
  text-align: center;
  margin: 0 auto 20px;
  border-radius: 100%;
}
.about-column .icon2 {
  background-position: -1px -321px;
}
.about-column .icon3 {
  background-position: -201px 0;
}
.about-column .icon4 {
  background-position: -321px 0;
}
.about-column .icon5 {
  background-position: -121px -200px;
}
.about-column .icon6 {
  background-position: -1px -200px;
}
.about-want {
  padding: 2rem 0;
}
.about-column2 li {
  display: flex;
  border: none;
  text-align: left;
  align-items: center;
}
.about-column2 li p {
  margin-bottom: 0;
}
.about-column2 .check {
  background-image: url(../assets/images/sprite.webp);
  background-position: -500px -440px;
  width: 40px;
  height: 41px;
  flex-shrink: 0;
  margin-right: 10px;
  border-radius: 100%;
}
.about-step {
  text-align: center;
  padding: 30px;
}
.about-step .about-column {
  color: #fff;
  counter-reset: numb;
}
.about-step .num {
  background: none;
}
.about-step .num:before {
  counter-increment: numb;
  content: counter(numb);
  counter-increment: numb;
  content: counter(numb);
  font-size: 30px;
  border-radius: 100%;
  background: #fff;
  color: #ff8a47;
  width: 60px;
  height: 60px;
  vertical-align: top;
  display: inline-block;
  padding-top: 6px;
  margin-right: 7px;
  min-width: 60px;
  text-align: center;
}
.about-column3 li {
  border: none;
}
.about-column3 .icon {
  width: 100px;
  height: 100px;
}
.about-column3 .icon7 {
  background-position: -101px -440px;
}
.about-column3 .icon8 {
  background-position: -440px -200px;
}
.about-column3 .icon9 {
  background-position: -220px -321px;
}
.about-column3 .icon10 {
  background-position: -441px 0;
}
.about-column3 .icon11 {
  background-position: -441px -100px;
}
.about-column3 .icon12 {
  background-position: -441px -300px;
}
.about-column3 .icon13 {
  background-position: -320px -320px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .calculator-container {
    margin-top: 2rem;
  }

  .navbar-collapse {
    margin-top: 1rem;
  }

  .hero-content {
    padding-right: 0;
  }
  .section {
    padding: 40px 0;
  }

  .row-step .step {
    margin-bottom: 1rem;
  }

  .i-want h2 {
    font-size: 1.4rem;
  }
  .footer .uppercase {
    display: block;
    text-align: center;
  }
  .about {
    padding: 2rem 1rem;
  }

  .accordion-title {
    padding: 15px 0;
  }

  .accordion-inner {
    padding-left: 30px;
  }
  .about-column {
    display: block;
  }
  .about-column li {
    width: 100%;
    border-bottom: 1px dashed #ddd;
    border-right: none;
  }
  .about-step {
    text-align: left;
  }
}
