:root {
  --primary: #f59e0b; /* Màu vàng cam của taxi */
  --primary-dark: #d97706;
  --secondary: #f3f4f6; /* Màu trắng xám cho tiêu đề trên nền tối */
  --light: #1f2937; /* Màu nền phụ tối */
  --text-dark: #e5e7eb; /* Màu chữ sáng trên nền tối */
  --text-light: #9ca3af; /* Màu chữ phụ */
  --white: #111827; /* Màu nền chính tối (thay thế màu trắng) */
  --card-bg: #1f2937; /* Màu nền card */
  --font-main: 'Inter', sans-serif;
  --font-heading: 'Playfair Display', serif;
  --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--white);
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 40px 0;
}

.bg-light {
  background-color: var(--light);
}

.text-center {
  text-align: center;
}

/* Header */
.site-header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: 70px;
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--secondary);
}

.brand-icon {
  height: 32px;
}

.nav {
  display: flex;
  gap: 30px;
}

.nav a {
  font-weight: 500;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.nav a:hover, .nav a.active {
  color: var(--primary);
}

/* Dropdown Styles */
.nav-item.dropdown {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.dropdown-toggle {
  cursor: pointer;
  padding-bottom: 20px; /* Bridge gap to menu */
  margin-bottom: -20px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.arrow-down {
  font-size: 0.6em;
  transition: transform 0.3s ease;
  opacity: 0.7;
}

.nav-item.dropdown:hover .arrow-down {
  transform: rotate(180deg);
  opacity: 1;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--white);
  min-width: 220px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  border-radius: 4px;
  padding: 10px 0;
  z-index: 1001;
  flex-direction: column;
}

.nav-item.dropdown:hover .dropdown-menu,
.nav-item.dropdown.active .dropdown-menu {
  display: flex;
}

.dropdown-menu a {
  padding: 12px 20px;
  color: var(--text-dark);
  font-size: 0.9rem;
  font-weight: 400;
  white-space: nowrap;
  display: block;
  transition: all 0.2s ease;
}

.dropdown-menu a:hover {
  background-color: rgba(245, 158, 11, 0.1);
  color: var(--primary);
  padding-left: 25px; /* Slight slide effect */
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-dark);
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  background: url('assets/hero.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-dark); /* Changed from var(--white) to ensure text is light */
  margin-top: 0; /* Header is fixed */
  padding-bottom: 100px; /* Make space for overlapping content */
}

/* Gradient Fade to blend hero into body background */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 400px; /* Height of the fade */
  background: linear-gradient(to bottom, transparent 0%, var(--white) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75); /* Darker overlay for better text contrast */
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  justify-content: center;
}

.hero-content-box {
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent dark background */
  padding: 40px;
  border-radius: 8px;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
  max-width: 1100px; /* Increased from 800px to fit text on one line */
  width: 90%;
  text-align: center;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.5rem; /* Large size */
  margin-bottom: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.8), 0 2px 4px rgba(0, 0, 0, 0.6); /* Stronger shadow */
  color: #ffffff; /* Real white color */
  text-transform: uppercase;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 40px;
  opacity: 1; /* Full opacity */
  color: #ffffff; /* Real white */
  font-weight: 300;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8); /* Added shadow */
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-outline-gold {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px; /* Rounded pill shape */
  font-weight: 600;
  text-transform: uppercase; /* Match image style? Or normal? Image looks like Title Case or Sentence case. Let's stick to normal but bold. */
  letter-spacing: 0.5px;
  font-size: 1rem;
  color: var(--primary);
  border: 1px solid var(--primary);
  background: rgba(0, 0, 0, 0.3); /* Slight dark tint inside button */
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-outline-gold:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

/* Services Section Overlap */
#services {
  margin-top: -280px; /* Pull section up to overlap hero significantly */
  position: relative;
  z-index: 10;
  padding-top: 0;
  background: transparent; /* Make section transparent to show hero/gradient behind */
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

.btn.primary {
  background: var(--primary);
  color: var(--white);
}

.btn.primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn.large {
  padding: 16px 40px;
  font-size: 1rem;
}

/* Section Header */
.section-header {
  margin-bottom: 30px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-line {
  width: 60px;
  height: 3px;
  background: var(--primary);
  margin: 0 auto;
}

/* Carousel Styles */
.carousel-wrapper {
  position: relative;
  max-width: 100%;
  padding: 0 20px;
}

.services-carousel {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 20px 5px;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
  scroll-behavior: smooth;
  cursor: grab; /* Cursor for dragging */
  user-select: none; /* Prevent text selection */
}

.services-carousel.active {
  cursor: grabbing;
  scroll-snap-type: none; /* Disable snap while dragging */
  scroll-behavior: auto; /* Remove smooth scroll lag */
}

.services-carousel::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.services-carousel .service-card {
  flex: 0 0 350px; /* Fixed width for carousel items */
  scroll-snap-align: start;
  margin: 0;
  pointer-events: none; /* Prevent clicking links while dragging - will handle in JS if needed, but safe for now */
}

/* Re-enable pointer events for content */
.services-carousel .service-card * {
  pointer-events: auto;
}
/* If we use pointer-events: none on card, links inside won't work. 
   Better approach: Check for drag vs click in JS. 
   For now, I'll remove pointer-events: none from CSS and handle click prevention in JS if needed. 
   Or just keep it simple. */

.carousel-btn {
  display: none; /* Hide buttons as requested */
}

/* Mobile responsive for carousel */
@media (max-width: 768px) {
  .services-carousel .service-card {
    flex: 0 0 280px; /* Smaller width on mobile */
  }
  .carousel-btn {
    display: none; /* Hide buttons on mobile, swipe is natural */
  }
}

/* Service Card Base Styles */
.service-card {
  background: var(--card-bg);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-image {
  height: 200px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.1);
}

.service-content {
  padding: 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-title {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--secondary);
  font-weight: 700;
}

.service-desc {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex: 1;
}

.btn-link {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: auto;
}

.btn-link:hover {
  color: var(--primary-dark);
  padding-left: 5px;
}

/* Vision Section */
.vision-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.vision-text {
  padding-right: 20px;
}

.vision-text .section-title {
  text-align: left;
}

.vision-lead {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--secondary);
  margin-bottom: 20px;
  font-family: var(--font-heading);
}

.vision-desc {
  color: var(--text-light);
  margin-bottom: 20px;
  font-size: 1rem;
}

.vision-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.feature-item {
  background: var(--card-bg);
  padding: 0;
  border-radius: 8px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.3s ease;
  overflow: hidden;
}

.feature-item:hover {
  transform: translateY(-5px);
}

.feature-image {
  height: 150px;
  width: 100%;
  overflow: hidden;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.feature-item:hover .feature-image img {
  transform: scale(1.1);
}

.feature-content {
  padding: 20px;
}

.feature-item h4 {
  color: var(--secondary);
  margin-bottom: 10px;
  font-weight: 600;
  font-size: 1.1rem;
}

.feature-item p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Contact Section */
.contact-section {
  background: var(--white); /* Remove image, use dark bg */
  position: relative;
  padding: 100px 0;
  text-align: center;
  color: var(--text-dark);
}

/* Overlay removed as background image is gone */
.contact-section::before {
  display: none;
}

.contact-box {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.contact-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.contact-subtitle {
  font-size: 1.1rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

.contact-info {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.info-item {
  background: rgba(255,255,255,0.1);
  padding: 30px 50px;
  border-radius: 8px;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255,255,255,0.2);
}

.info-item h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  opacity: 0.8;
}

.info-link {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.info-link:hover {
  color: var(--white);
}

/* Footer */
.site-footer {
  background: #1a1a1a;
  color: #ffffff; /* White text */
  padding: 20px 0; /* Reduced padding */
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-col h3 {
  color: var(--primary); /* Gold color for brand name */
  margin-bottom: 5px;
  font-family: var(--font-heading);
}

/* Floating Buttons */
.floating-buttons {
  position: fixed;
  right: 20px;
  bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 1000;
  align-items: center;
}

.float-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  border: none;
  position: relative;
}

.float-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.float-btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.float-btn img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.btn-phone {
  background: #4caf50;
  animation: pulse-green 2s infinite;
}

.btn-zalo {
  background: #0068ff;
  animation: pulse-blue 2s infinite;
}

.btn-back-to-top {
  background: var(--secondary);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.btn-back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.btn-back-to-top:hover {
  background: var(--primary);
  border-color: var(--primary);
}

@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(76, 175, 80, 0); }
  100% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0); }
}

@keyframes pulse-blue {
  0% { box-shadow: 0 0 0 0 rgba(0, 104, 255, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(0, 104, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 104, 255, 0); }
}

/* Mobile */
@media (max-width: 768px) {
  /* Fix Hero Gap and Layout */
  .hero {
    height: auto;
    min-height: unset;
    padding-top: 110px;
    padding-bottom: 30px;
  }

  #services {
    margin-top: 0;
    padding-top: 0;
  }

  .hero-content-box {
    padding: 20px;
    width: 95%;
  }

  .hero-title {
    font-size: 1.8rem; /* Smaller title */
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }

  .btn-outline-gold {
    width: 100%; /* Full width buttons */
    text-align: center;
  }

  /* Existing Mobile Styles */
  .vision-layout { grid-template-columns: 1fr; gap: 40px; }
  
  /* Optimize Service Carousel for Mobile */
  .carousel-wrapper {
    padding: 0; /* Full width wrapper */
  }

  .services-carousel {
    padding: 20px 20px; /* Add spacing at start/end */
    gap: 15px; /* Smaller gap */
  }

  .services-carousel .service-card {
    flex: 0 0 75%; /* 75% width to clearly show next card */
    scroll-snap-align: center;
    flex-direction: column; /* Back to vertical for better layout */
    height: auto;
    background: var(--card-bg); /* Revert to Dark BG for visibility */
    border: 1px solid rgba(255,255,255,0.1); /* Subtle border */
  }

  .services-carousel .service-image {
    width: 100%;
    height: 150px; /* Compact height */
    flex-shrink: 0;
  }

  .services-carousel .service-content {
    padding: 20px 15px;
    justify-content: flex-start;
    text-align: center; /* Center text looks better */
  }

  .services-carousel .service-title {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--secondary); /* Light text on dark bg */
  }

  .services-carousel .service-desc {
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--text-light); /* Light text on dark bg */
  }

  .services-carousel .btn-link {
    font-size: 0.9rem;
    margin-top: 0;
    display: inline-block;
    padding: 5px 15px;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    color: var(--primary);
  }

  /* Fix Vision Features Mobile */
  .vision-features {
    grid-template-columns: 1fr; /* Stack vertically */
    gap: 15px;
  }

  .feature-item {
    display: flex; /* Horizontal layout: Image Left - Text Right */
    flex-direction: row;
    align-items: center;
    text-align: left;
    min-height: 100px;
  }

  .feature-image {
    width: 120px;
    height: 120px; /* Square image */
    flex-shrink: 0;
  }
  
  .feature-content {
    padding: 15px;
    flex: 1;
  }

  .feature-item h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
  }

  .feature-item p {
    margin-bottom: 0;
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .nav { display: none; }
  .mobile-menu-btn { display: block; }
  .contact-info { flex-direction: column; gap: 20px; }
  .footer-inner { flex-direction: column; text-align: center; gap: 20px; }
}
