/* Reset cơ bản */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background-color: #f0f4f8;
  color: #333;
}

/* Container chính */
.xrp-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

/* Logo hình ảnh */
.xrp-logo {
  display: flex;
  align-items: center;
}

.xrp-logo-img {
  width: 48px;
  height: auto;
  object-fit: contain;
}

/* Menu */
.xrp-menu {
  background-color: #1a3c6e;
  padding: 3px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.xrp-mobile-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.xrp-logo i {
  font-size: 2em;
  color: #f4c430;
}

.xrp-mobile-menu {
  list-style: none;
  display: flex;
}

.xrp-mobile-menu li {
  margin-left: 20px;
}

.xrp-mobile-menu li a {
  color: white;
  text-decoration: none;
  font-size: 1em;
  font-weight: bold;
  text-transform: uppercase;
  transition: color 0.3s;
}

.xrp-mobile-menu li a:hover {
  color: #f4c430;
}

.fa-bars:before{
	display: none;
}

/* Slider */
.xrp-slider {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  border-radius: 10px;
}

.xrp-slides {
  display: flex;
  width: 300%;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.xrp-slide {
  width: 33.33%;
  height: 100%;
}

.xrp-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.xrp-slider input[type="radio"] {
  display: none;
}

.xrp-navigation {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
}

.xrp-nav-btn {
  width: 12px;
  height: 12px;
  background: #fff;
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.3s;
}

.xrp-nav-btn:hover {
  opacity: 1;
}

#slide1:checked ~ .xrp-slides {
  transform: translateX(0);
}

#slide2:checked ~ .xrp-slides {
  transform: translateX(-33.33%);
}

#slide3:checked ~ .xrp-slides {
  transform: translateX(-66.66%);
}

#slide1:checked ~ .xrp-navigation label[for="slide1"],
#slide2:checked ~ .xrp-navigation label[for="slide2"],
#slide3:checked ~ .xrp-navigation label[for="slide3"] {
  opacity: 1;
  background: #f4c430;
}

/* Giới thiệu & Sứ mệnh */
.xrp-info-section {
  margin: 30px 0;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  border-radius: 10px;
  overflow: hidden;
}

.xrp-intro,
.xrp-mission {
  width: 50%;
  padding: 20px;
}

.xrp-intro {
  background-color: #e6edf5;
}

.xrp-mission {
  background-color: #d0e0f5;
}

.xrp-intro h2,
.xrp-mission h2 {
  font-size: 1.5em;
  color: #1a3c6e;
  margin-bottom: 10px;
}

.xrp-highlight-text {
  font-size: 16px;
  line-height: 1.7;
  color: #1a1a1a;
  font-weight: 500;
  margin-top: 10px;
}

/* Tiêu đề các section */
.xrp-section-title {
  font-size: 1.5em;
  font-weight: bold;
  color: #1a3c6e;
  margin-bottom: 20px;
  text-align: center;
}

/* Tuyến xe phổ biến */
.xrp-routes-section {
  margin-top: 20px;
}

.xrp-routes-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  box-sizing: border-box;
}

.xrp-route-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  text-decoration: none;
  transition: transform 0.2s ease;
  display: flex;
  flex-direction: column;
}

.xrp-route-card:hover {
  transform: translateY(-4px);
}

.xrp-route-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.xrp-route-title {
  padding: 12px 14px;
  font-size: 14px;
  color: #333;
  font-weight: 500;
}

/* Dịch vụ nổi bật */
.xrp-services-wrapper {
  padding: 20px;
}

.xrp-services-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 38px;
  max-width: 1200px;
  margin: auto;
}

.xrp-service-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  padding: 10px;
  max-width: 360px;
  flex: 1 1 300px;
  text-align: center;
}

.xrp-card-body {
  text-align: left;
}

.xrp-img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.xrp-service-card h3 {
  font-size: 16px;
  color: #000;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.xrp-service-card p {
  font-size: 14px;
  color: #333;
  margin-bottom: 15px;
  line-height: 1.5;
  text-align: left;
}

.xrp-divider {
  height: 3px;
  width: 96px;
  background-color: #f47b20;
  margin: 15px 0;
}

.xrp-icons {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.xrp-icons li {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #333;
  margin: 10px 0;
  line-height: 1.5;
}

.xrp-icons img {
  width: 24px;
  height: 24px;
  margin-right: 10px;
  flex-shrink: 0;
}

/* Phản hồi khách hàng */
.xrp-testimonials-section {
  padding: 40px 20px 20px;
  text-align: center;
}

.xrp-testimonials-section h2 {
  font-size: 22px;
  font-weight: bold;
  color: #222;
  margin-bottom: 30px;
}

.xrp-testimonials {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 20px;
  max-width: 1200px;
  margin: auto;
}

.xrp-testimonial-card {
  border-radius: 10px;
  padding: 20px;
  width: 100%;
  max-width: 300px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  text-align: left;
}

.xrp-review-text {
  font-style: italic;
  color: #333;
  margin-bottom: 10px;
}

.xrp-review-author {
  font-weight: bold;
  color: #f47b20;
  font-size: 14px;
}

/* Báo chí nhắc đến */
.xrp-media-mentions-section {
  text-align: center;
  margin: 20px auto;
  padding: 20px;
}

.xrp-media-mentions-section h2 {
  text-align: left;
  font-size: 20px;
  margin-bottom: 20px;
  color: #333;
  font-weight: 500;
}

.xrp-media-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.xrp-media-logos img {
  height: 50px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.xrp-media-logos img:hover {
  transform: scale(1.05);
}

/* Footer */
.xrp-footer {
  background-color: #e5ebf5;
  padding: 40px 20px 20px;
  font-size: 14px;
  color: #333;
}

.xrp-footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  gap: 20px;
}

.xrp-footer-column {
  flex: 1 1 220px;
  min-width: 180px;
}

.xrp-footer-column h4 {
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 12px;
  color: #222;
}

.xrp-footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.xrp-footer-column ul li {
  margin-bottom: 8px;
}

.xrp-footer-column ul li a {
  color: #333;
  text-decoration: none;
}

.xrp-footer-column ul li a:hover {
  text-decoration: underline;
}

.xrp-footer-column p {
  margin-bottom: 8px;
  line-height: 1.5;
  color: #333;
}

.xrp-footer-line {
  height: 1px;
  background-color: #ccc;
  width: 100%;
}

.xrp-footer-bottom {
  text-align: center;
  font-size: 13px;
  color: #777;
  max-width: 1200px;
  margin: 20px auto 0;
}

.hidden {
  display: none;
}

/* Responsive trên màn hình nhỏ */

@media (max-width: 768px) {
  .xrp-mobile-nav {
    padding: 10px 16px;
  }

  .xrp-logo-img {
    width: 39px;
  }

  #xrp-menu-toggle {
    display: block;
    color: yellow;
    font-size: 24px;
    cursor: pointer;
  }

  .xrp-mobile-menu {
    display: none;
    flex-direction: column;
    background-color: #244a80;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 99;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    border-top: 1px solid #1a3c6e;
  }

  .xrp-mobile-menu.show {
    display: flex;
  }

  .xrp-mobile-menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .xrp-mobile-menu li a {
    display: block;
    padding: 14px 20px;
    font-weight: bold;
  }

  .xrp-mobile-menu li a:hover {
    background-color: #305792;
  }
  
  .fa-bars:before {
    display: inline-block;
  }
  
  body,
  html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  .xrp-container {
    padding: 0;
    margin: 0;
  }

  .xrp-slider {
    width: 100vw;
    height: 200px;
    border-radius: 0;
  }

  .xrp-slides,
  .xrp-slide {
    height: 100%;
  }

  .xrp-slide img {
    padding: 2px;
    border-radius: 0;
  }

  .xrp-navigation {
    bottom: 10px;
    gap: 8px;
  }

  .xrp-nav-btn {
    width: 10px;
    height: 10px;
    background: #ccc;
  }

  .xrp-info-section {
    flex-direction: column;
    padding: 10px;
  }

  .xrp-intro,
  .xrp-mission {
    width: 100%;
    box-sizing: border-box;
    border-radius: 8px;
    overflow: hidden;
  }

  .xrp-intro {
    border-bottom: 1px solid #ccc;
  }

  .xrp-routes-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 15px;
  }

  .xrp-route-card {
    max-width: 500px;
  }

  .xrp-services-wrapper {
    padding: 15px;
  }

  .xrp-media-logos {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 10px 5px;
    gap: 20px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
  }

  .xrp-media-logos img {
    flex-shrink: 0;
    scroll-snap-align: center;
    height: 36px;
  }

  .xrp-media-logos::-webkit-scrollbar {
    display: none;
  }

  .xrp-footer-container {
    flex-direction: column;
  }

  .xrp-footer-column {
    flex: 0;
    margin-bottom: 20px;
  }

  .xrp-footer-bottom {
    font-size: 12px;
  }

  .xrp-testimonials {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-padding: 16px;
  }

  .xrp-testimonial-card {
    min-width: 80%;
    flex-shrink: 0;
    scroll-snap-align: start;
    padding: 16px;
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
  }

  .xrp-testimonials::-webkit-scrollbar {
    display: none;
  }
}