/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', sans-serif;
  font-size: 100%;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 15px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 15px;
  max-width: 1120px;
  margin: 0 auto;
}

.header-top .logo {
  flex-shrink: 0;
}

.header-top .logo img {
  max-height: 80px;
  width: auto;
}

.header-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-info .info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
}

.header-info .info-item img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.header-info .info-item .info-text {
  display: flex;
  flex-direction: column;
}

.header-info .info-item .info-text span:first-child {
  font-size: 12px;
  font-weight: 600;
  color: #414a56;
}

.header-info .info-item .info-text span:last-child {
  font-size: 14px;
  color: #414a56;
}

/* Header Bottom Nav */
.header-bottom {
  border-top: 1px solid #eee;
  background: #fff;
}

.header-bottom .nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 15px;
}

.header-bottom .main-nav {
  display: flex;
  align-items: center;
  gap: 0;
}

.header-bottom .main-nav li {
  position: relative;
}

.header-bottom .main-nav li a {
  display: block;
  padding: 15px 18px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  color: #191d22;
  transition: color 0.3s;
  position: relative;
}

.header-bottom .main-nav li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 3px;
  bottom: 0;
  left: 0;
  background: linear-gradient(to right, #ff7e00, #ffbb00);
  transition: width 0.3s ease-in-out;
}

.header-bottom .main-nav li a:hover::after,
.header-bottom .main-nav li.active a::after {
  width: 100%;
}

.header-bottom .main-nav li a:hover,
.header-bottom .main-nav li.active a {
  color: #fd9c1c;
}

/* Search */
.header-search {
  display: flex;
  align-items: center;
}

.header-search form {
  display: flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 30px;
  overflow: hidden;
  background: #f5f5f5;
}

.header-search input {
  border: none;
  padding: 8px 15px;
  font-size: 14px;
  background: transparent;
  outline: none;
  width: 180px;
}

.header-search button {
  border: none;
  background: transparent;
  padding: 8px 12px;
  cursor: pointer;
  color: #666;
  font-size: 16px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 10px;
  color: #333;
}

/* ===== HERO SLIDER ===== */
.hero-slider {
  position: relative;
  overflow: hidden;
}

.slider-container {
  position: relative;
}

.slider-track {
  display: flex;
  transition: transform 0.6s ease-in-out;
}

.slide {
  min-width: 100%;
  position: relative;
}

.slide .slide-bg {
  width: 100%;
  display: block;
  object-fit: cover;
  min-height: 400px;
  max-height: 600px;
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.38);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-content {
  text-align: center;
  color: #fff;
  padding: 20px;
  max-width: 800px;
}

.slide-content h1,
.slide-content h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 15px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.slide-content p {
  font-size: 1.2rem;
  opacity: 0.95;
}

/* Slider Controls */
.slider-arrows {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
  padding: 0 10px;
}

.slider-arrow {
  pointer-events: auto;
  background: rgba(255,255,255,0.3);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  color: #fff;
  transition: background 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-arrow:hover {
  background: rgba(255,255,255,0.6);
}

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}

.slider-dot.active {
  background: #fff;
}

/* ===== SERVICES SECTION ===== */
.services-section {
  padding: 60px 0;
  background: #f8f8f8;
}

.section-title {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 40px;
}

/* Tabs */
.tabs {
  text-align: center;
  margin-bottom: 30px;
}

.tab-nav {
  display: inline-flex;
  gap: 0;
  border-radius: 5px;
  overflow: hidden;
  flex-wrap: wrap;
  justify-content: center;
}

.tab-btn {
  padding: 12px 24px;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  color: #555;
  transition: all 0.3s;
  border-right: none;
}

.tab-btn:last-child {
  border-right: 1px solid #ddd;
}

.tab-btn:hover {
  background: #f0f0f0;
}

.tab-btn.active {
  background: #fd9c1c;
  color: #fff;
  border-color: #fd9c1c;
}

.tab-panel {
  visibility: hidden;
  height: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.3s;
}

.tab-panel.active {
  visibility: visible;
  height: auto;
  overflow: visible;
  opacity: 1;
}

/* Service Cards Grid */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

/* Flickity Row Slider */
.row-slider {
  width: 100%;
}

.row-slider .service-card {
  width: 33.333%;
  margin: 0 10px;
}

/* Flickity Button Styles */
.flickity-prev-next-button {
  top: 50% !important;
  transform: translateY(-50%) !important;
  background: transparent !important;
  border: none !important;
  width: 40px !important;
  height: 40px !important;
}

.flickity-prev-next-button:hover {
  background: transparent !important;
}

.flickity-prev-next-button .flickity-button-icon {
  fill: #fd9c1c !important;
  width: 20px !important;
  height: 20px !important;
  top: 10px !important;
  left: 10px !important;
}

.flickity-prev-next-button.previous {
  left: -40px !important;
}

.flickity-prev-next-button.next {
  right: -40px !important;
}

.service-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.service-card .card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.service-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.service-card:hover .card-image img {
  transform: scale(1.05);
}

.service-card .card-body {
  padding: 20px;
  text-align: center;
}

.service-card .card-body h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #333;
}

.service-card .card-body h3 a {
  color: #333;
  transition: color 0.3s;
}

.service-card .card-body h3 a:hover {
  color: #fd9c1c;
}

.service-card .card-body .divider {
  width: 30px;
  height: 2px;
  background: #fd9c1c;
  margin: 10px auto;
}

.service-card .card-body p {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

/* ===== WHY CHOOSE US ===== */
.why-choose-section {
  padding: 80px 0;
  background: url('../images/ly-tai-sao-nen-chon-keyexpress.jpg') center/cover no-repeat fixed;
  position: relative;
  color: #fff;
}

.why-choose-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 1;
}

.why-choose-section .container {
  position: relative;
  z-index: 2;
}

.why-choose-section .section-title {
  color: #fff;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.why-card {
  text-align: center;
  padding: 30px 20px;
  border-radius: 8px;
  transition: transform 0.3s;
}

.why-card:hover {
  transform: translateY(-5px);
}

.why-card .icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: #fd9c1c;
}

.why-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

.why-card p {
  font-size: 14px;
  color: #ddd;
  line-height: 1.5;
}

/* ===== COVERAGE STATS ===== */
.coverage-section {
  padding: 60px 0;
  background: #f8f8f8;
  color: #333;
}

.coverage-section .section-title {
  color: #333;
}

.coverage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
}

.coverage-item {
  padding: 20px;
  text-align: center;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.coverage-item .coverage-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #fd9c1c;
}

.coverage-item .coverage-icon img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.coverage-item .number {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: #fd9c1c;
}

.coverage-item .label {
  font-size: 16px;
  color: #666;
}

/* ===== PARTNER LOGOS ===== */
.partners-section {
  padding: 40px 0;
  background: #f8f8f8;
}

.partner-carousel {
  overflow: hidden;
  position: relative;
}

.partner-track {
  display: flex;
  animation: partnerScroll 20s linear infinite;
  gap: 60px;
  align-items: center;
}

.partner-track:hover {
  animation-play-state: paused;
}

.partner-slide {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-slide img {
  height: 50px;
  width: auto;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.partner-slide img:hover {
  opacity: 1;
}

@keyframes partnerScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ===== FOOTER ===== */
.footer {
  background: #1a1a2e;
  color: #fff;
  padding: 50px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 30px;
}

.footer-col h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
  text-transform: uppercase;
}

.footer-col p {
  font-size: 14px;
  color: #ccc;
  line-height: 1.7;
  margin-bottom: 10px;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: #ccc;
  font-size: 14px;
  transition: color 0.3s, margin-left 0.3s;
  display: inline-block;
}

.footer-col ul li a:hover {
  color: #fd9c1c;
  margin-left: 8px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 15px;
}

.footer-contact-item i {
  color: #fd9c1c;
  font-size: 16px;
  margin-top: 3px;
  min-width: 20px;
}

.footer-contact-item span {
  color: #ccc;
  font-size: 14px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  margin-top: 40px;
  text-align: center;
}

.footer-bottom p {
  color: #999;
  font-size: 13px;
}

/* ===== FLOATING BUTTONS ===== */
.floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.floating-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: transform 0.3s;
  border: none;
  cursor: pointer;
}

.floating-btn:hover {
  transform: scale(1.1);
}

.floating-btn.phone {
  background: #25d366;
}

.floating-btn.zalo {
  background: #0068ff;
}

/* Back to Top */
.back-to-top {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  color: #333;
  background: #fff;
  border: 2px solid #ddd;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: all 0.3s;
  order: -1;
}

.back-to-top.show {
  display: flex;
}

.back-to-top:hover {
  background: #fd9c1c;
  color: #fff;
  border-color: #fd9c1c;
}

/* ===== MOBILE SIDEBAR ===== */
.mobile-sidebar {
  position: fixed;
  top: 0;
  left: -300px;
  width: 300px;
  height: 100%;
  background: #fff;
  z-index: 2000;
  transition: left 0.3s ease;
  box-shadow: 2px 0 10px rgba(0,0,0,0.1);
  overflow-y: auto;
}

.mobile-sidebar.open {
  left: 0;
}

.mobile-sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 1999;
  display: none;
}

.mobile-sidebar-overlay.open {
  display: block;
}

.mobile-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid #eee;
}

.mobile-sidebar-header h3 {
  font-size: 18px;
  color: #333;
}

.mobile-sidebar-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #333;
}

.mobile-nav-list li a {
  display: block;
  padding: 15px 20px;
  border-bottom: 1px solid #f0f0f0;
  color: #333;
  font-weight: 500;
  font-size: 15px;
  transition: color 0.3s;
}

.mobile-nav-list li a:hover,
.mobile-nav-list li.active a {
  color: #fd9c1c;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .row-slider .service-card {
    width: 50%;
  }
  
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .coverage-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header-info {
    display: none;
  }
  
  .header-bottom .main-nav {
    display: none;
  }
  
  .header-bottom .header-search {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .header-bottom .nav-container {
    justify-content: flex-end;
  }
  
  .slide-content h1,
  .slide-content h2 {
    font-size: 1.5rem;
  }
  
  .slide-content p {
    font-size: 1rem;
  }
  
  .service-grid {
    grid-template-columns: 1fr;
  }
  
  .row-slider .service-card {
    width: 100%;
  }
  
  .why-grid {
    grid-template-columns: 1fr;
  }
  
  .coverage-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .tab-btn {
    font-size: 12px;
    padding: 10px 15px;
    flex: 1;
    text-align: center;
    white-space: normal;
    word-break: break-word;
  }
  
  .tab-nav {
    display: flex;
    width: 100%;
  }
  
  .partner-grid {
    gap: 20px;
  }
  
  .partner-grid img {
    height: 30px;
  }
}

@media (max-width: 480px) {
  .coverage-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .coverage-item .number {
    font-size: 2rem;
  }
}

/* ===== PAGE HEADER ===== */
.page-header {
  background: linear-gradient(135deg, #fd9c1c, #ffbb00);
  padding: 60px 0;
  text-align: center;
  color: #fff;
}

.page-header h1 {
  font-size: 2.2rem;
  font-weight: 700;
}

.page-header p {
  font-size: 1rem;
  opacity: 0.9;
  margin-top: 10px;
}

/* ===== PAGE CONTENT (Policy Pages) ===== */
.page-content-section {
  padding: 80px 0;
}

.page-content-inner {
  max-width: 100%;
}

.page-content-inner h1 {
  font-size: 1.8rem;
  color: #333;
  margin-bottom: 20px;
}

.page-content-inner h2 {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 15px;
  margin-top: 30px;
}

.page-content-inner h3 {
  font-size: 1.15rem;
  color: #333;
  margin-bottom: 10px;
  margin-top: 25px;
}

.page-content-inner p {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 15px;
}

.page-content-inner blockquote {
  border-left: 4px solid #fd9c1c;
  padding: 15px 20px;
  margin: 20px 0;
  background: #f9f9f9;
}

.page-content-inner blockquote h3 {
  margin-top: 0;
  color: #333;
}

/* ===== ABOUT PAGE ===== */
.about-section {
  padding: 60px 0;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-content .text h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #333;
}

.about-content .text p {
  font-size: 15px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 15px;
}

.about-content .about-image {
  border-radius: 8px;
  width: 100%;
  max-width: 600px;
  height: auto;
  margin: 20px 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 40px;
}

.value-card {
  text-align: center;
  padding: 30px 20px;
  background: #f8f8f8;
  border-radius: 8px;
  transition: transform 0.3s;
}

.value-card:hover {
  transform: translateY(-5px);
}

.value-card .icon {
  font-size: 40px;
  margin-bottom: 15px;
}

.value-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}

.value-card p {
  font-size: 14px;
  color: #666;
}

@media (max-width: 768px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== CONTACT PAGE ===== */
.contact-section {
  padding: 60px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info h2 {
  font-size: 1.5rem;
  margin-bottom: 25px;
  color: #333;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

.contact-info-item .icon {
  width: 45px;
  height: 45px;
  background: #fd9c1c;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-info-item .text h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 5px;
}

.contact-info-item .text p {
  font-size: 14px;
  color: #666;
}

.contact-form h2 {
  font-size: 1.5rem;
  margin-bottom: 25px;
  color: #333;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 14px;
  outline: none;
  font-family: inherit;
  transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #fd9c1c;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form button {
  padding: 12px 30px;
  background: #fd9c1c;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
  align-self: flex-start;
}

.contact-form button:hover {
  background: #e88a0e;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
