.hero-background {
  position: relative;
}
.hero-background .container {
  padding: 0;
  display: flex;
  justify-content: center;
}
.hero-background img {
  width: 100%;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
}
.hero-background .hero-content h2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin: 0;
}
.hero-background .banner-title {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #ffffff;
}

.document-main {
  flex-grow: 1;
  margin-top: 70px;
  position: relative;
  z-index: 10;
}

.document-container {
  display: flex;
  flex-direction: column;
  gap: 62px;
}
@media (min-width: 1024px) {
  .document-container {
    flex-direction: row;
  }
}

.document-content {
  flex: 1;
}

.document-section {
  margin-bottom: 3rem;
}

.section-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #000;
}

.profile-card {
  background: linear-gradient(to right, #e5e7eb, #d1d5db);
  height: 12rem;
  border-radius: 0.375rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.profile-card:hover .profile-bg {
  transform: scale(1.05);
}

.profile-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  opacity: 0.9;
  transition: transform 0.5s ease;
}

.profile-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.1);
}

.profile-content {
  position: absolute;
  right: 20%;
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
}

.profile-title {
  font-size: 1.5rem;
  font-weight: 300;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.download-icon {
  margin: 0 auto;
  color: #374151;
}

.software-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 768px) {
  .software-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.software-card-large {
  background-color: #f3f4f6;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: box-shadow 0.3s ease;
  height: 16rem;
}
.software-card-large:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
@media (min-width: 768px) {
  .software-card-large {
    height: auto;
  }
}

.card-icon {
  color: #3b82f6;
  margin-bottom: 1rem;
}
.card-icon img {
  width: 100px;
  height: auto;
}

.card-title {
  color: #2b2b2b;
  font-weight: 500;
  margin-bottom: 1rem;
  font-size: 20.8px;
}

.card-download {
  color: #6b7280;
}

.software-cards-small {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
}

.software-card-small {
  background-color: #f3f4f6;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: box-shadow 0.3s ease;
  flex: 1;
}
.software-card-small:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.card-icon-small {
  color: #3b82f6;
}
.card-icon-small img {
  width: 80px;
  height: auto;
}

.card-small-title {
  font-size: 20.8px;
  font-weight: 500;
  color: #2b2b2b;
}

.card-small-download {
  color: #000;
  margin-top: 0.25rem;
}

.document-table-wrapper {
  background-color: #ffffff;
  overflow: hidden;
}

.document-table {
  width: 100%;
  text-align: left;
  font-size: 0.875rem;
}
.document-table thead tr {
  border-bottom: 1px solid #e5e7eb;
}
.document-table thead th {
  padding: 0.75rem 0.5rem;
  font-weight: 600;
  color: #111827;
  text-align: center;
}
.document-table thead th:nth-child(1) {
  width: 25%;
  text-align: left;
}
.document-table thead th:nth-child(2) {
  width: 6rem;
}
.document-table thead th:nth-child(3) {
  width: 6rem;
}
.document-table tbody tr {
  border-bottom: 1px solid #e5e7eb;
  transition: background-color 0.2s ease;
}
.document-table tbody tr:hover {
  background-color: #f9fafb;
}
.document-table tbody td {
  padding: 0.75rem 0.5rem;
  color: #000;
  text-align: center;
}
.document-table tbody td:first-child {
  color: #000;
  text-align: left;
}
.document-table .text-right {
  text-align: right;
}

.btn-download {
  background-color: #0d84fe;
  color: white;
  font-size: 0.75rem;
  padding: 0.375rem 1.3rem;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.btn-download:hover {
  background-color: #1e3a8a;
}

.document-sidebar {
  width: 100%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .document-sidebar {
    width: 20rem;
  }
}

.widget-featured {
  background-color: #f9fafb;
  border: 1px solid #67b1f1;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.widget-header {
  background-color: #3295e8;
  color: white;
  font-weight: 700;
  padding: 0.75rem 1rem;
  font-size: 20px;
}

.widget-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.featured-item {
  display: flex;
  gap: 0.75rem;
}

.featured-image {
  width: 30%;
  height: auto;
  flex-shrink: 0;
}
.featured-image img {
  width: 100%;
  height: auto;
}

.featured-title {
  font-size: 16px;
  color: #000;
  line-height: 1.3;
  cursor: pointer;
  transition: color 0.3s ease;
}
.featured-title:hover {
  color: #1e40af;
}

.widget-contact {
  background-color: white;
  border: 1px solid #67b1f1;
  padding: 1rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.form-group {
  margin: 0;
}

.form-input,
.form-textarea {
  width: 100%;
  font-size: 0.875rem;
  border: 1px solid #93c5fd;
  padding: 0.5rem 0.75rem;
  outline: none;
  transition: box-shadow 0.2s ease;
  color: #000;
}
.form-input::-moz-placeholder, .form-textarea::-moz-placeholder {
  color: #6b7280;
}
.form-input::placeholder,
.form-textarea::placeholder {
  color: #6b7280;
}
.form-input:focus,
.form-textarea:focus {
  box-shadow: 0 0 0 1px #3b82f6;
}

.form-textarea {
  height: 6rem;
  resize: none;
}

.btn-submit {
  width: 100%;
  background-color: #2093eb;
  color: white;
  font-size: 16px;
  font-weight: 500;
  padding: 0.5rem;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.btn-submit:hover {
  background-color: #1e3a8a;
}

.widget-ad {
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.ad-image {
  width: 100%;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
}

.floating-buttons {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 50;
}

.float-btn {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}
.float-btn:hover {
  transform: scale(1.1);
}

.float-btn-phone {
  background-color: #fb923c;
}

.float-btn-message {
  background-color: #2563eb;
}

.float-btn-zalo {
  background-color: #facc15;
  font-weight: 700;
  font-size: 0.75rem;
}

@media screen and (max-width: 768px) {
  .hero-background .hero-content h2 {
    font-size: 1.5rem;
  }
  .hero-background .banner-title {
    font-size: 1.5rem;
    padding: 0 20px;
  }
  .document-main {
    margin-top: 40px;
  }
  .document-container {
    gap: 40px;
    padding: 0 15px;
  }
  .document-section {
    margin-bottom: 2rem;
  }
  .section-title {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }
  .profile-card {
    height: 10rem;
  }
  .profile-content {
    right: 1.5rem;
  }
  .profile-title {
    font-size: 1.2rem;
  }
  .software-grid {
    gap: 0.75rem;
  }
  .software-card-large {
    padding: 1.5rem;
    height: 14rem;
  }
  .card-icon img {
    width: 80px;
  }
  .card-title {
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
  }
  .software-cards-small {
    gap: 0.75rem;
  }
  .software-card-small {
    padding: 1rem;
  }
  .card-icon-small img {
    width: 60px;
  }
  .card-small-title {
    font-size: 0.8rem;
  }
  .document-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .document-table {
    font-size: 0.75rem;
    min-width: 600px;
  }
  .document-table thead th {
    padding: 0.5rem 0.25rem;
    font-size: 0.75rem;
  }
  .document-table thead th:nth-child(1) {
    width: 30%;
  }
  .document-table thead th:nth-child(2), .document-table thead th:nth-child(3) {
    width: 4rem;
  }
  .document-table tbody td {
    padding: 0.5rem 0.25rem;
    font-size: 0.75rem;
  }
  .btn-download {
    font-size: 0.65rem;
    padding: 0.25rem 0.5rem;
  }
  .document-sidebar {
    gap: 1.5rem;
  }
  .widget-header {
    font-size: 0.8rem;
    padding: 0.6rem 0.75rem;
  }
  .widget-body {
    padding: 0.75rem;
    gap: 0.75rem;
  }
  .featured-item {
    gap: 0.5rem;
  }
  .featured-image {
    width: 3.5rem;
    height: 2.5rem;
  }
  .featured-title {
    font-size: 0.7rem;
  }
  .widget-contact {
    padding: 0.75rem;
  }
  .contact-form {
    gap: 0.5rem;
  }
  .form-input,
  .form-textarea {
    font-size: 0.8rem;
    padding: 0.4rem 0.6rem;
  }
  .form-textarea {
    height: 5rem;
  }
  .btn-submit {
    font-size: 0.8rem;
    padding: 0.4rem;
  }
  .floating-buttons {
    bottom: 0.75rem;
    right: 0.75rem;
    gap: 0.5rem;
  }
  .float-btn {
    width: 2.5rem;
    height: 2.5rem;
  }
  .float-btn svg {
    width: 18px;
    height: 18px;
  }
  .float-btn-zalo {
    font-size: 0.65rem;
  }
}
@media screen and (max-width: 480px) {
  .hero-background .banner-title {
    font-size: 1.3rem;
  }
  .document-main {
    margin-top: 30px;
  }
  .document-container {
    gap: 30px;
    padding: 0 10px;
  }
  .profile-card {
    height: 8rem;
  }
  .profile-content {
    right: 1rem;
  }
  .profile-title {
    font-size: 1rem;
  }
  .download-icon {
    width: 20px;
    height: 20px;
  }
  .software-card-large {
    padding: 1.25rem;
    height: 12rem;
  }
  .card-icon img {
    width: 70px;
  }
  .card-title {
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
  }
  .card-download {
    width: 18px;
    height: 18px;
  }
  .software-card-small {
    padding: 0.75rem;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .card-icon-small img {
    width: 50px;
  }
  .card-small-title {
    font-size: 0.75rem;
  }
  .card-small-download {
    width: 14px;
    height: 14px;
  }
  .document-table {
    font-size: 0.7rem;
    min-width: 550px;
  }
  .document-table thead th {
    padding: 0.4rem 0.2rem;
    font-size: 0.7rem;
  }
  .document-table tbody td {
    padding: 0.4rem 0.2rem;
    font-size: 0.7rem;
  }
  .btn-download {
    font-size: 0.6rem;
    padding: 0.2rem 0.4rem;
  }
  .widget-header {
    font-size: 0.75rem;
    padding: 0.5rem;
  }
  .widget-body {
    padding: 0.5rem;
  }
  .featured-image {
    width: 3rem;
    height: 2rem;
  }
  .featured-title {
    font-size: 0.65rem;
  }
  .widget-contact {
    padding: 0.5rem;
  }
  .form-input,
  .form-textarea {
    font-size: 0.75rem;
    padding: 0.35rem 0.5rem;
  }
  .form-textarea {
    height: 4.5rem;
  }
  .btn-submit {
    font-size: 0.75rem;
    padding: 0.35rem;
  }
  .floating-buttons {
    bottom: 0.5rem;
    right: 0.5rem;
    gap: 0.4rem;
  }
  .float-btn {
    width: 2.25rem;
    height: 2.25rem;
  }
  .float-btn svg {
    width: 16px;
    height: 16px;
  }
  .float-btn-zalo {
    font-size: 0.6rem;
  }
}
@media screen and (max-width: 375px) {
  .hero-background .banner-title {
    font-size: 1.1rem;
    padding: 0 15px;
  }
  .document-main {
    margin-top: 20px;
  }
  .document-container {
    gap: 25px;
  }
  .document-section {
    margin-bottom: 1.5rem;
  }
  .section-title {
    font-size: 0.95rem;
  }
  .profile-card {
    height: 7rem;
  }
  .profile-title {
    font-size: 0.9rem;
  }
  .software-card-large {
    height: 11rem;
    padding: 1rem;
  }
  .card-icon img {
    width: 60px;
  }
  .card-title {
    font-size: 0.75rem;
  }
  .software-card-small {
    padding: 0.6rem;
  }
  .card-icon-small img {
    width: 45px;
  }
  .card-small-title {
    font-size: 0.7rem;
  }
  .document-table {
    min-width: 500px;
    font-size: 0.65rem;
  }
  .float-btn {
    width: 2rem;
    height: 2rem;
  }
  .float-btn svg {
    width: 14px;
    height: 14px;
  }
  .float-btn-zalo {
    font-size: 0.55rem;
  }
}
