:root {
  --vnpay-blue: #1976d2;
  --vnpay-blue-dark: #005baa;
  --vnpay-blue-btn: #176be0;
  --vnpay-navy: #0d1b2b;
  --vnpay-section: #1a2a3a;
  --vnpay-muted: #56585e;
  --max-w: 1224px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #000;
  background: #fff;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container-vnpay {
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.top-bar {
  background: var(--vnpay-blue);
  color: #fff;
  text-align: center;
  padding: 0.5rem 1rem;
}

.top-bar-title {
  font-family: "Times New Roman", Times, serif;
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
  font-size: 1.25rem;
}

@media (min-width: 768px) {
  .top-bar-title {
    font-size: 2.25rem;
  }
}

.main-nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  padding: 1.5rem 0;
  position: relative;
}

.brand-logo {
  width: 129px;
}

@media (min-width: 768px) {
  .brand-logo {
    width: 197px;
  }
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu a {
  color: #000;
  white-space: nowrap;
}

.nav-menu a:hover,
.nav-menu a.active {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

@media (max-width: 767.98px) {
  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: #fff;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease, padding 0.4s ease;
    z-index: 20;
  }

  .nav-menu.open {
    max-height: 320px;
    padding: 1rem 0;
  }

  .nav-menu a {
    width: 100%;
    text-align: right;
    padding: 0.5rem 1.25rem;
  }
}

@media (min-width: 768px) {
  .nav-menu {
    gap: 2rem;
  }
}

/* Banner carousel */
.banner-carousel {
  position: relative;
  overflow: hidden;
}

.banner-carousel .carousel-inner {
  height: auto;
}

.banner-carousel .carousel-item img {
  width: 100%;
  object-fit: cover;
}

.banner-carousel .carousel-control-prev,
.banner-carousel .carousel-control-next {
  width: auto;
  height: auto;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  opacity: 1;
  background: none;
}

.banner-carousel .carousel-control-prev {
  left: 0.5rem;
}

.banner-carousel .carousel-control-next {
  right: 0.5rem;
}

.banner-carousel .carousel-control-prev:hover,
.banner-carousel .carousel-control-next:hover,
.banner-carousel .carousel-control-prev:focus,
.banner-carousel .carousel-control-next:focus {
  opacity: 1;
}

.banner-nav-btn {
  display: inline-block;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  border: none;
  border-radius: 0.25rem;
  padding: 0.25rem 0.5rem;
  font-size: 1.25rem;
  line-height: 1;
}

.banner-carousel .carousel-indicators {
  margin-bottom: 0.5rem;
}

.banner-carousel .carousel-indicators [data-bs-target] {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #d1d5db;
  border: none;
  opacity: 1;
  margin: 0 4px;
}

.banner-carousel .carousel-indicators .active {
  background-color: #000;
}

/* Intro */
.section-intro {
  text-align: center;
  padding: 2.5rem 2.5rem 2.5rem;
  position: relative;
}

@media (min-width: 768px) {
  .section-intro {
    padding: 2.5rem 0 10rem;
  }
}

.section-intro .intro-title {
  font-size: 2rem;
  line-height: 2rem;
  font-weight: 600;
  margin: 0;
}

.section-intro .intro-title .highlight {
  color: var(--vnpay-blue-dark);
}

@media (min-width: 768px) {
  .section-intro .intro-title {
    font-size: 3rem;
    line-height: 1.375;
  }
}

.section-intro .intro-desc {
  font-size: 0.875rem;
  font-weight: 600;
  margin: 0.5rem auto 2rem;
  max-width: 946px;
  line-height: 2rem;
}

@media (min-width: 768px) {
  .section-intro .intro-desc {
    font-size: 1.5rem;
    line-height: 3rem;
  }
}

.btn-vnpay {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  width: 266px;
  background: var(--vnpay-blue);
  color: #fff !important;
  border: none;
  border-radius: 9999px;
  font-weight: 500;
  transition: background 0.5s;
}

.btn-vnpay:hover {
  background: #1d1e20;
  color: #fff;
}

@media (min-width: 768px) {
  .btn-vnpay {
    height: 65px;
  }
}

.btn-create {
  height: 50px;
  width: 194px;
  background: var(--vnpay-blue-btn);
  color: #fff !important;
  border: none;
  border-radius: 9999px;
  font-weight: 500;
}

@media (min-width: 768px) {
  .btn-create {
    height: 65px;
  }
}

/* Support videos */
.section-support {
  color: #fff;
  text-align: center;
  padding: 3.5rem 2.5rem 5rem;
  background-image: linear-gradient(135deg, rgb(44, 133, 222), rgb(0, 0, 0));
}

@media (min-width: 768px) {
  .section-support {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}

.section-support .support-title {
  font-size: 1.125rem;
  font-weight: 600;
  max-width: 688px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .section-support .support-title {
    font-size: 2rem;
  }
}

.section-support .support-sub {
  margin: 0.75rem 0 5rem;
}

.video-card iframe {
  width: 100%;
  aspect-ratio: 12 / 9;
  border: 0;
  display: block;
}

.video-card .video-caption {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.5rem;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Company */
.section-company {
  background: var(--vnpay-navy);
  padding: 2.5rem 0 10rem;
  color: #fff;
}

.section-company .company-title {
  font-size: 3rem;
  font-weight: 600;
  padding: 1.25rem 0;
  line-height: 1.25;
  margin: 0;
}

@media (min-width: 768px) {
  .section-company .company-title {
    font-size: 1.5rem;
  }
}

.section-company .company-sub {
  font-size: 1.125rem;
  font-weight: 500;
  padding-bottom: 1.25rem;
  margin: 0;
}

.company-social a {
  color: #fff;
  display: inline-flex;
}

.company-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1rem;
}

.company-gallery .gallery-main {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}

@media (min-width: 768px) {
  .company-gallery {
    grid-template-columns: 2fr 1fr;
  }

  .company-gallery .gallery-main {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
  }
}

.company-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem;
}

/* About */
.section-about {
  background: rgba(0, 0, 0, 0.7);
  padding: 2.5rem 0;
  color: #fff;
}

@media (min-width: 768px) {
  .section-about {
    padding: 5rem 0;
  }
}

.section-about .about-title {
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
  text-align: center;
}

@media (min-width: 768px) {
  .section-about .about-title {
    font-size: 3rem;
    text-align: left;
  }
}

.section-about .about-desc {
  padding-top: 1rem;
  font-weight: 500;
  margin: 0;
}

.section-about img {
  border-radius: 1rem;
  width: 100%;
}

/* Services */
.section-services {
  background: var(--vnpay-section);
  color: #fff;
  padding: 5rem 0;
}

.section-services .services-title {
  font-size: 3rem;
  font-weight: 500;
  text-align: center;
  margin: 0;
}

.section-services .services-sub {
  text-align: center;
  padding: 0.75rem 0;
  margin: 0;
}

.service-card {
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
  overflow: hidden;
}

.service-card img {
  width: 100%;
}

.service-card .service-body {
  background: #fff;
  color: #000;
  padding: 1.5rem;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-card .service-body h3 {
  font-size: 1.125rem;
  font-weight: 500;
  margin: 0;
}

.service-card .service-body p {
  color: var(--vnpay-muted);
  padding: 1rem 0;
  margin: 0;
}

/* Footer */
.site-footer {
  background: var(--vnpay-section);
  color: #fff;
  padding: 4rem 2.5rem 1rem;
}

.site-footer h2 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.site-footer ul {
  list-style: disc;
  margin-left: 1.5rem;
  padding: 0;
  max-width: 257px;
}

.site-footer ul li {
  margin-bottom: 0.5rem;
}

.footer-social {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1rem;
  margin-top: 4rem;
}

.footer-social a {
  color: #fff;
}

.footer-social a:hover {
  opacity: 0.8;
}

.footer-copy {
  font-size: 0.875rem;
  color: #d1d5db;
  margin-top: 2.5rem;
}

.footer-label {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.footer-form label {
  display: block;
  margin-bottom: 0.25rem;
}

.footer-form input {
  border-radius: 0.375rem;
  padding: 0.75rem 1rem;
  border: none;
  width: 100%;
  max-width: 28rem;
  color: #000;
  background: #fff;
}

.footer-form .btn-submit {
  background: #1976d2;
  color: #fff;
  border: none;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.875rem 2.5rem;
  margin-top: 0.5rem;
  width: fit-content;
}

.footer-form .btn-submit:hover {
  background: #1565c0;
}

/* Shopping bag sidebar */
.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 1040;
  background: rgba(29, 30, 32, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s;
}

.cart-overlay.open {
  opacity: 1;
  visibility: visible;
}

.cart-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: 360px;
  max-width: 100%;
  height: 100%;
  background: #fff;
  z-index: 1050;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
  padding: 1.5rem 0.75rem;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s;
}

.cart-sidebar.open {
  transform: translateX(0);
}

.cart-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem;
  border-bottom: 1px solid #e5e7eb;
}

.cart-header h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
}

.cart-item {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem;
}

.cart-item img {
  width: 3rem;
  height: 3rem;
  border-radius: 0.25rem;
  object-fit: cover;
}

.cart-item .item-info {
  flex: 1;
  font-size: 0.75rem;
}

.cart-item .price-old {
  color: #9ca3af;
  text-decoration: line-through;
  font-size: 0.625rem;
  margin: 0;
}

.cart-item .price-new {
  font-weight: 600;
  font-size: 0.875rem;
  margin: 0;
}

.cart-footer {
  margin-top: auto;
  border-top: 1px solid #e5e7eb;
  padding: 0.75rem;
  font-size: 0.75rem;
}

.cart-checkout {
  width: 100%;
  background: #3b82f6;
  color: #fff;
  border: none;
  border-radius: 0.5rem;
  padding: 0.5rem;
  font-size: 0.875rem;
}

.cart-checkout:hover {
  background: #2563eb;
}

/* ========== Du lịch - Di chuyển page ========== */
.travel-breadcrumb {
  background: #f3f4f6;
  padding: 0.75rem 1rem;
}

.travel-breadcrumb .container-vnpay {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #4b5563;
}

.travel-breadcrumb a:hover {
  color: #2563eb;
}

.travel-breadcrumb .current {
  color: #2563eb;
  font-weight: 500;
}

.travel-hero-title {
  text-align: center;
  padding: 2.5rem 1rem;
}

@media (min-width: 768px) {
  .travel-hero-title {
    padding: 4rem 1rem;
  }
}

.travel-hero-title h1 {
  font-size: 1.875rem;
  font-weight: 600;
  color: #005baa;
  line-height: 1.25;
  margin: 0;
}

@media (min-width: 768px) {
  .travel-hero-title h1 {
    font-size: 3rem;
  }
}

.travel-hero-title .red {
  color: #eb2429;
}

.service-grid a {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  border-radius: 0.75rem;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  border: 1px solid #f3f4f6;
  transition: box-shadow 0.2s, border-color 0.2s;
  text-decoration: none;
  color: inherit;
}

.service-grid a:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-color: #bfdbfe;
}

.service-grid .icon-wrap {
  width: 4rem;
  height: 4rem;
  border-radius: 9999px;
  background: #eff6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  transition: background 0.2s;
}

.service-grid a:hover .icon-wrap {
  background: #dbeafe;
}

.service-grid .icon-wrap svg {
  width: 2.5rem;
  height: 2.5rem;
  color: #2563eb;
}

.service-grid span {
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  text-align: center;
  line-height: 1.25;
}

.travel-intro {
  background: #f9fafb;
  padding: 3rem 0;
}

@media (min-width: 768px) {
  .travel-intro {
    padding: 5rem 0;
  }
}

.travel-intro img {
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.travel-intro h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #005baa;
  line-height: 1.25;
  margin: 0;
}

@media (min-width: 768px) {
  .travel-intro h2 {
    font-size: 2.25rem;
  }
}

.travel-intro h2 .red {
  color: #eb2429;
}

.travel-intro .desc {
  color: #4b5563;
  margin-top: 1rem;
  line-height: 1.625;
}

.travel-checklist {
  margin-top: 1.5rem;
}

.travel-checklist .item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.travel-checklist .item svg {
  width: 1.25rem;
  height: 1.25rem;
  color: #2563eb;
  flex-shrink: 0;
  margin-top: 2px;
}

.travel-checklist .item span {
  color: #374151;
  font-size: 0.875rem;
}

.travel-learn-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  color: #005baa;
  font-weight: 500;
}

.travel-learn-more:hover {
  text-decoration: underline;
}

.travel-learn-more svg {
  width: 1rem;
  height: 1rem;
}

.partners-section {
  padding: 3rem 0;
}

@media (min-width: 768px) {
  .partners-section {
    padding: 4rem 0;
  }
}

.partners-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  color: #005baa;
  margin: 0;
}

@media (min-width: 768px) {
  .partners-section h2 {
    font-size: 1.875rem;
  }
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

@media (min-width: 768px) {
  .partner-logo {
    padding: 1rem;
  }
}

.partner-logo img {
  height: 5rem;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.promo-section {
  padding: 3rem 0;
  background: #f9fafb;
}

@media (min-width: 768px) {
  .promo-section {
    padding: 4rem 0;
  }
}

.promo-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  color: #005baa;
  margin: 0;
}

@media (min-width: 768px) {
  .promo-section h2 {
    font-size: 2.25rem;
  }
}

.promo-section h2 .red {
  color: #eb2429;
}

.promo-card {
  display: block;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s;
}

.promo-card:hover {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.promo-card .promo-img {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.promo-card .promo-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.promo-card:hover .promo-img img {
  transform: scale(1.05);
}

.promo-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: #eb2429;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
}

.promo-card .promo-body {
  padding: 1rem;
}

.promo-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0;
  min-height: 48px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.promo-date {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: #6b7280;
}

.promo-date svg {
  width: 1rem;
  height: 1rem;
}

.btn-xem-them {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #005baa;
  color: #fff !important;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  font-weight: 500;
  transition: background 0.2s;
}

.btn-xem-them:hover {
  background: #004a8a;
}

.btn-xem-them svg {
  width: 1rem;
  height: 1rem;
}

.travel-app-banner {
  position: relative;
  padding: 4rem 0;
  overflow: hidden;
  min-height: 300px;
}

@media (min-width: 768px) {
  .travel-app-banner {
    padding: 6rem 0;
  }
}

.travel-app-banner .banner-bg {
  position: absolute;
  inset: 0;
}

.travel-app-banner .banner-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.travel-app-banner .banner-bg .desktop {
  display: none;
}

.travel-app-banner .banner-bg .mobile {
  display: block;
}

@media (min-width: 768px) {
  .travel-app-banner .banner-bg .desktop {
    display: block;
  }

  .travel-app-banner .banner-bg .mobile {
    display: none;
  }
}

.banner-carousel.round-nav .banner-nav-btn {
  border-radius: 9999px;
  padding: 0.5rem 1rem;
}
