/* ======= FONT CHUNG TOÀN TRANG ======= */
/* ======= GLOBAL FONT - ROBOTO ======= */
body {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  color: #222;
  line-height: 1.6;
  background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  color: #d68910; /* cam thương hiệu Gia Phước */
}

a, button {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  text-decoration: none;
}

p, li, span {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
}


.slide img {
  width: 100%;
  height: 80vh; /* hoặc giá trị phù hợp */
  object-fit: cover;
}



/* Cố định caption ngay giữa ảnh */
.banner-caption {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none; /* Nút slide vẫn click được */
}



/* Bọc slider */
.hero-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.hero-slider .slides {
  position: relative;
  width: 100%;
  height: auto;
}

.hero-slider .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.hero-slider .slide.active {
  opacity: 1;
  position: relative;
  z-index: 2;
}


/* Style phần chính */
.banner-main {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: clamp(14px, 3vw, 22px);
  font-weight: 700;
  color: #ffc400;
  text-transform: uppercase;
  text-align: center;
}

/* Dòng phụ */
.banner-sub {
  font-size: clamp(12px, 2.5vw, 16px);
  margin-top: 5px;
  color: #444;
  text-align: center;
}

/* Icon */
.icon-lightning {
  font-size: 0.9em;
  opacity: 0.7;
}



.banner-word {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px; /* giảm lại cho thanh thoát */
  font-weight: 900;
  color: #FFC107;
  letter-spacing: 1px;
  margin: 0 6px;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
}


/* Reset trạng thái ẩn mặc định */
.banner-main .banner-word {
  opacity: 0;
  transform: translateY(20px);
}

/* Kích hoạt animation CHỈ KHI .slide có class .active */
/* Chữ 1 – Trượt từ TRÁI */
.slide.active .word-left {
  animation: slideLeft 0.5s ease-out forwards;
  animation-delay: 0.1s;
}

/* Chữ 2 – Fade-in giữa */
.slide.active .word-mid {
  animation: fadeIn 0.5s ease-out forwards;
  animation-delay: 0.25s;
}

/* Chữ 3 – Trượt từ PHẢI */
.slide.active .word-right {
  animation: slideRight 0.5s ease-out forwards;
  animation-delay: 0.4s;
}

/* Keyframes */
@keyframes slideLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}


/* Reset trạng thái mặc định slide 2 */
.slide:nth-child(2) .banner-main .banner-word {
  opacity: 0;
  transform: scale(0.85) translateY(20px);
}

/* Kích hoạt animation khi slide 2 active */
.slide.active:nth-child(2) .banner-main .banner-word {
  animation: dropIn 0.6s ease-out forwards;
  animation-delay: 0.2s;
}

/* OPTIONAL: Hiệu ứng gợn thương hiệu (pulse nhẹ) sau khi xuất hiện */
.slide.active:nth-child(2) .banner-main .banner-word {
  animation: dropIn 0.6s ease-out forwards, textPulse 2s ease-in-out 1.2s infinite;
}

/* Keyframes Drop-in */
@keyframes dropIn {
  0% { opacity: 0; transform: scale(0.85) translateY(20px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

/* Pulse nhẹ (sang trọng, không lòe loẹt) */
@keyframes textPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

/* Áp hiệu ứng shine lên chữ slide 2 */
.slide.active:nth-child(2) .banner-main .banner-word {
  position: relative;
  overflow: hidden;
}

/* Shine effect overlay */
.slide.active:nth-child(2) .banner-main .banner-word::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 80%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.8), transparent);
  animation: shineMove 1.5s ease-in-out 1.5s forwards;
}

/* Keyframes for shine movement */
@keyframes shineMove {
  from { left: -100%; }
  to { left: 120%; }
}


.icon-lightning {
  font-size: 12px;
  color: #FFC107;
  margin: 0 8px;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.3));
}

/* Icon mặc định ẩn */
.banner-main .icon-lightning {
  opacity: 0;
  transform: scale(0.8);
}

/* Kích hoạt icon khi slide active */
.slide.active .banner-main .icon-lightning {
  animation: lightningPulse 0.6s ease-out forwards, lightningShake 0.6s ease-in-out 0.6s infinite;
  animation-delay: 0.35s; /* Xuất hiện trễ hơn chữ một chút để tạo nhịp */
}

/* Hiệu ứng xuất hiện */
@keyframes lightningPulse {
  from { opacity: 0; transform: scale(0.6) rotate(-10deg); }
  to { opacity: 1; transform: scale(1) rotate(0deg); }
}

/* Rung nhẹ kiểu tia điện */
@keyframes lightningShake {
  0%, 100% { transform: translateX(0) rotate(0deg); }
  25% { transform: translateX(-2px) rotate(-5deg); }
  50% { transform: translateX(2px) rotate(3deg); }
  75% { transform: translateX(-1px) rotate(-2deg); }
}


.banner-sub {
  margin-top: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 2px 3px rgba(0, 0, 0, 0.45), 0 0 8px rgba(0, 0, 0, 0.28);
  -webkit-text-stroke: 0.5px rgba(0, 0, 0, 0.2);
}

/* RESET TRẠNG THÁI */
.banner-sub {
  opacity: 0;
  transform: translateY(20px);
}

/* CHỈ TRIGGER ANIMATION — KHÔNG ép opacity 1 trực tiếp */
div.slide.active p.banner-sub {
  animation: subFadeUp 0.6s ease-out forwards !important;
  animation-delay: 0.7s !important;
}

/* KEYFRAME CHUẨN FADE + MOVE */
@keyframes subFadeUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}


.flash-overlay {
  position: absolute;
  top: 0;
  left: -120%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, 
      rgba(255, 196, 0, 0) 0%, 
      rgba(255, 196, 0, 0.4) 40%, 
      rgba(255, 223, 94, 0.6) 60%, 
      rgba(255, 196, 0, 0) 100%
  );
  z-index: 50;
  pointer-events: none;
  opacity: 0;
}

.flash-overlay.active {
  animation: flashMoveYellow 0.45s ease-out forwards;
}

@keyframes flashMoveYellow {
  0% { left: -120%; opacity: 0; }
  25% { opacity: 1; }
  50% { left: 0%; opacity: 0.85; }
  100% { left: 120%; opacity: 0; }
}


/* Overlay nhẹ cho slide 2 để giúp chữ vàng & trắng nổi hơn */
.hero-slider .slide:nth-child(1)::before, .hero-slider .slide:nth-child(2)::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg,
      rgba(0,0,0,0.05),
      rgba(0,0,0,0.25),
      rgba(0,0,0,0.35)
  );
  z-index: 2;
  pointer-events: none;
}

/* Caption luôn trên tất cả layer */
.hero-slider .slide:nth-child(2) .banner-caption {
  z-index: 10;
  max-width: min(1100px, 92vw);
}

/* --- TIÊU ĐỀ MÀU VÀNG LOGISTICS KIỂU DHL --- */
.hero-slider .slide:nth-child(2) .banner-main .banner-word {
  font-weight: 800;
  font-size: clamp(18px, 3.2vw, 34px); /* GIẢM từ 22-44px xuống 18-34px */
  text-transform: uppercase;
  color: #FFC400;
  letter-spacing: 0.03em;
  line-height: 1.1;
  text-align: center;
  text-shadow:
    0 2px 3px rgba(0,0,0,0.45),
    0 0 8px rgba(0,0,0,0.28);
  -webkit-text-stroke: 0.5px rgba(0,0,0,0.2);
}


/* --- TAGLINE TRẮNG TINH & TINH TẾ GIỐNG GHN --- */
.hero-slider .slide:nth-child(2) .banner-sub {
  color: rgba(255,255,255,0.95);
  font-weight: 500;
  font-size: 24px;
  margin-top: 10px;
  text-align: center;
  text-shadow:
    0 2px 4px rgba(0,0,0,0.35),
    0 0 6px rgba(0,0,0,0.4);
}




.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  color: #fff;
  border: none;
  padding: 10px 16px;
  cursor: pointer;
  font-size: 24px;
  border-radius: 50%;
  z-index: 2;
}

.prev:hover, .next:hover {
  background: rgba(0,0,0,0.7);
}

.prev { left: 20px; }
.next { right: 20px; }

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.site-header {
  background: #f6c000;
  color: #fff;
  padding: 10px 0;
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
}

.main-nav a {
  color: #333;
  text-decoration: none;
  font-weight: bold;
}

.main-nav li.active a {
  color: #000;
  border-bottom: 2px solid #000;
}

.hero {
  color: #fff;
  background-size: cover;
  background-position: center;
  padding: 100px 0;
  text-align: center;
}

.btn {
  background: #f6c000;
  border: none;
  padding: 10px 20px;
  color: #000;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 10px;
  display: inline-block;
}

.btn.outline {
  background: transparent;
  border: 2px solid #f6c000;
  color: #f6c000;
}

.site-footer {
  background: #333;
  color: #fff;
  padding: 20px 0;
  text-align: center;
  margin-top: 40px;
}


/* === HEADER === */
.site-header {
	background: #fff;
	color: #000;
	position: sticky;
	top: 0;
	z-index: 1000;
	border-bottom: 5px solid #f5c518;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
}

.logo-flex {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-img {
  height: 55px;
  width: auto;
}

.company-name {
  font-size: 18px;
  font-weight: 700;
  color: #000;
  text-transform: uppercase;
}

/* === MENU === */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.main-nav ul li a {
  color: #000;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
  border-bottom: 3px solid transparent;
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
  color: #f5c518;
}

/* === MOBILE MENU === */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  color: #000;
  cursor: pointer;
}

.menu-close {
  display: none; /* Ẩn nút close trên desktop */
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100%;
    width: 250px;
    background: #fff;
    box-shadow: -2px 0 10px rgba(0,0,0,0.2);
    transition: right 0.3s ease;
    padding-top: 70px;
  }

  .main-nav.active {
    right: 0;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 20px;
    align-items: start;
    padding-left: 20px;
  }

  .main-nav ul li a {
    font-size: 18px;
  }

  .menu-toggle.open i::before {
    content: "\f00d"; /* icon close */
  }
  
  .menu-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #000;
    color: #fff;
    border: none;
    font-size: 20px;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
  }

  .menu-close:hover {
    background: #fff;
    color: #000;
  }
}
/*********************/


.about-section {
  padding: 60px 0;
  background: #fff;
}

.about-section h1 {
  text-align: center;
  margin-bottom: 30px;
  color: #000;
}

.about-section p {
  line-height: 1.8;
  font-size: 16px;
  margin-bottom: 20px;
  text-align: justify;
}

/* === DỊCH VỤ SECTION === */

.services-section {
  max-width: 1200px;
  margin: 80px auto;
  padding: 60px 40px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
}


/* === Lưới dịch vụ === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 25px;
  justify-content: center;
}

/* === Thẻ dịch vụ === */
.service-card {
  background: #fffef6;
  border: 2px solid #f5c518;
  border-radius: 16px;
  padding: 35px 25px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
  background: #fffbe8;
}

/* === Icon === */
.service-icon {
  background: #f5c518;
  width: 90px;
  height: 90px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon i {
  font-size: 38px;
  color: #000;
}

/* === Tiêu đề dịch vụ === */
.service-title {
  font-size: 20px;
  font-weight: 800;
  color: #1a1a1a; /* Đen đậm - dễ đọc trên nền sáng */
  text-transform: uppercase;
  margin: 16px 0 8px;
  letter-spacing: 0.5px;
  text-align: center;
  transition: all 0.3s ease;
}

.service-card:hover .service-title {
  color: #f5c518; /* Vàng chủ đạo khi hover */
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}




/* === Mô tả dịch vụ === */
.service-desc {
  font-size: 15px;
  color: #333;
  line-height: 1.6;
  margin: 0;
  padding: 0 8px;
}

/* === Responsive === */
@media (max-width: 768px) {
  .services-section {
    padding: 40px 20px;
  }

  .service-card {
    padding: 30px 18px;
  }

  .service-icon {
    width: 70px;
    height: 70px;
  }

  .service-icon i {
    font-size: 30px;
  }

  .service-title {
    font-size: 18px;
  }
}


/* === CHI NHÁNH SECTION === */
.branch-section {
  background: #fff;
  padding: 60px 0;
  text-align: center;
}

.section-title {
  font-size: 28px;
  font-weight: 800;
  color: #000;
  text-transform: uppercase;
  margin-bottom: 30px;
  letter-spacing: 2px;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: #f5c518;
  margin: 10px auto 0;
  border-radius: 4px;
}

.branch-table-home{
  width: 100%;
  border-collapse: collapse;
  margin: 0 auto;
  max-width: 1000px;
  font-size: 16px;
  background: #fff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  border-radius: 10px;
  overflow: hidden;
}

.branch-table-home th {
  background: #f5c518;
  color: #000;
  padding: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.branch-table-home td {
  padding: 12px 16px;
  border-bottom: 1px solid #eee;
  color: #333;
}

.branch-table-home tr:nth-child(even) {
  background-color: #fafafa;
}

.branch-table-home tr:hover {
  background-color: #fff7d6;
  transition: 0.3s;
}

@media (max-width: 768px) {
  .branch-table-home, .branch-table-home thead {
    display: none;
  }
  .branch-table-home, .branch-table-home tbody, .branch-table-home tr, .branch-table-home td {
    display: block;
    /*width: 100%;*/
  }
  .branch-table-home tr {
    margin-bottom: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  }
  .branch-table-home td {
    padding: 10px 15px;
    position: relative;
  }
  .branch-table-home td::before {
    content: attr(data-label);
    font-weight: 700;
    color: #000;
    display: block;
    margin-bottom: 4px;
  }
}

/* === DỊCH VỤ PAGE - Style độc lập === */

.service-page {
  padding: 40px 0;
  background: #fffbea;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-title {
  text-align: center;
  font-size: 34px;
  font-weight: 800;
  color: #111;
  text-transform: uppercase;
  margin-bottom: 20px;
  position: relative;
}

.page-title::after {
  content: "";
  width: 90px;
  height: 4px;
  background: #f5c518;
  display: block;
  margin: 10px auto 0;
  border-radius: 2px;
}

.intro {
  text-align: center;
  color: #555;
  max-width: 700px;
  margin: 0 auto 50px;
  font-size: 17px;
  line-height: 1.6;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.service-item {
  display: flex;
  align-items: flex-start;
  gap: 25px;
  background: #fff;
  border: 1px solid #eee;
  border-left: 6px solid #f5c518;
  border-radius: 10px;
  padding: 25px 30px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  border-left-color: #d4a70a;
}

.service-item .icon {
  font-size: 48px;
  color: #f5c518;
  flex-shrink: 0;
}

.service-item .content h2 {
  font-size: 22px;
  font-weight: 700;
  color: #111;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.service-item .content p {
  color: #444;
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
  text-align: justify;
}

/* Responsive */
@media (max-width: 768px) {
  .service-item {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .service-item .icon {
    margin-bottom: 10px;
  }

  .service-item .content h2 {
    font-size: 20px;
  }
}

/* =============== TUYỂN DỤNG - GIA PHƯỚC =============== */
.recruit-container {
  max-width: 1200px;
  margin: 0px auto;
  padding: 40px 20px;
  background: #fffdf7;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  font-family: 'Poppins', sans-serif;
  color: #333;
}

.recruit-container h1 {
  text-align: center;
  color: #d68910;
  font-weight: 700;
  margin-bottom: 40px;
  text-transform: uppercase;
}

/* --- Lưới công việc --- */
.job-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 50px;
}

/* --- Thẻ công việc --- */
.job-card {
  background: #fff;
  border-left: 6px solid #f1c40f;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
  padding: 24px;
  transition: all 0.3s ease;
}

.job-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.12);
}

.job-card h2 {
  color: #d68910;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.job-card .label {
  font-weight: 600;
  color: #000;
}

.job-card ul {
  margin-top: 8px;
  margin-left: 20px;
  list-style: none;
  padding: 0;
}

.job-card li {
  margin-bottom: 6px;
  line-height: 1.5;
}

.job-card .check {
  color: #f1c40f;
  margin-right: 4px;
}

/* --- Lao động phổ thông --- */
.labor-section {
  background: #fffbea;
  border-radius: 10px;
  padding: 30px 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.labor-title {
  text-align: center;
  color: #d68910;
  font-weight: 700;
  font-size: 1.4rem;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.labor-table {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.labor-col {
  flex: 1;
  min-width: 300px;
  background: #fff;
  border-left: 6px solid #f1c40f;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
  padding: 20px;
}

.labor-col h3 {
  color: #d68910;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.labor-col li {
  display: block;
}
/* --- Liên hệ --- */
.contact-section {
  text-align: center;
  margin-top: 30px;
  color: #333;
  font-size: 1rem;
  line-height: 1.6;
}

.contact-section i {
  color: #d68910;
  font-weight: 500;
}

.contact-section b {
  color: #000;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .recruit-container {
    padding: 24px 16px;
  }

  .job-grid {
    grid-template-columns: 1fr;
  }

  .labor-table {
    flex-direction: column;
  }

  .labor-col {
    /*width: 100%;*/
  }

  .recruit-container h1 {
    font-size: 1.5rem;
  }
}

	
/* === FOOTER === */
/* === FOOTER === */
.footer {
  background: #111;
  color: #eee;
  font-family: 'Segoe UI', sans-serif;
  padding: 60px 0 20px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, #f5c518, #d4a700);
}

.footer-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* CỘT LOGO */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-company img {
  height: 60px;
  width: auto;
  margin-bottom: 10px;
}
.footer-company span {
  color: #f5c518;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.footer-company p {
  color: #ccc;
  font-size: 15px;
  margin: 0;
}

.footer-company i {
  color: #f5c518;
  margin-right: 6px;
}

.footer-company a {
  color: #ddd;
  text-decoration: none;
}

.footer-company a:hover {
  color: #f5c518;
}

/* MENU LIÊN KẾT */
.footer-links, .footer-social{
	text-align: center;
}
.footer-links h4, .footer-social h4{
  color: #f5c518;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 45px;
  margin-top:10px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

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

.footer-links ul li a {
  color: #ccc;
  text-decoration: none;
  transition: 0.3s;
}

.footer-links ul li a:hover {
  color: #f5c518;
  margin-left: 4px;
}

/* MẠNG XÃ HỘI */
.footer-social h4 {
  color: #f5c518;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 45px;
  margin-top:10px;
}

.social-list {
  display: block;
  gap: 15px;
  margin-bottom: 12px;
}

.social {
  align-items: center;
  justify-content: center;
  background: #222;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  color: #f5c518;
  transition: all 0.3s ease;
}

.social:hover {
  background: #f5c518;
  color: #111;
  transform: scale(1.1);
}

.social img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
}

.work-time {
  color: #bbb;
  font-size: 14px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  margin-top: 40px;
  padding-top: 15px;
  font-size: 14px;
  color: #999;
}
/* ===== FOOTER STYLE ===== */
.site-footer {
  background: #0d0d0d;
  color: #ddd;
  padding: 60px 0 20px;
  border-top: 3px solid #f5c518;
  font-family: 'Segoe UI', sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
}

/* ===== LOGO + COMPANY INFO ===== */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-logo img {
  height: 55px;
  width: auto;
}

.footer-logo span {
  color: #f5c518;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.2;
}

.footer-info {
  color: #ccc;
  line-height: 1.8;
  font-size: 15px;
}

.footer-info i {
  color: #f5c518;
  margin-right: 10px;
}

.footer-info a {
  color: #f5c518;
  text-decoration: none;
}

.footer-info a:hover {
  color: #fff;
}

/* ===== QUICK LINKS ===== */
.footer-links h4,
.footer-social h4 {
  color: #f5c518;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  position: relative;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: #f5c518;
  margin-left: 4px;
}

/* ===== SOCIAL ===== */
.footer-social a {
  align-items: center;
  gap: 8px;
  color: #ccc;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  color: #f5c518;
  transform: translateX(4px);
}

/* ===== COPYRIGHT ===== */
.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #222;
  color: #999;
  font-size: 14px;
}

.footer-bottom strong {
  color: #f5c518;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-logo {
    justify-content: center;
  }
}


/* === SCROLL TO TOP BUTTON === */
/* === SCROLL TO TOP BUTTON === */
#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 25px;
  background-color: #f5c518;
  color: #000;
  border: none;
  outline: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

#scrollTopBtn:hover {
  background-color: #000;
  color: #f5c518;
  transform: translateY(-3px);
}

#scrollTopBtn.show {
  opacity: 1;
  visibility: visible;
  bottom: 40px;
}

/* === PAGE CONTAINER COMMON STYLE === */
.page-container {
  max-width: 1200px;
  margin: 10px auto;
  padding: 40px 30px;
  background: #fffbea;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.page-container:hover {
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

/* === PAGE TITLES === */
.page-container h1, 
.page-container h2 {
  color: #000;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  border-left: 6px solid #f5c518;
  padding-left: 12px;
}

/* === TEXT CONTENT === */
.page-container p {
  color: #333;
  line-height: 1.8;
  margin-bottom: 15px;
  font-size: 16px;
}

/* === LINK STYLE === */
.page-container a {
  color: #f5c518;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.page-container a:hover {
  color: #000;
  text-decoration: underline;
}

/* === CONTACT SECTION SPECIFIC === */
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.contact-box {
  background: #fafafa;
  padding: 20px;
  border-radius: 10px;
  border-left: 5px solid #f5c518;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.contact-box:hover {
  transform: translateY(-4px);
}

.contact-box h3 {
  color: #000;
  font-weight: 700;
  margin-bottom: 10px;
}

.contact-box p {
  margin: 0;
  color: #444;
  font-size: 15px;
}

/* === BRANCHES CLIENT SECTION === */
.branches-section-title{
	margin-bottom: 20px;
}
.branch-phone {
  color: #d14f00;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.branch-phone:hover {
  color: #000;
  text-decoration: underline;
}

/* Search + Sort */
.branch-controls {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.branch-controls input,
.branch-controls select {
  padding: 10px 14px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 15px;
  transition: 0.2s;
}

.branch-controls input:focus,
.branch-controls select:focus {
  border-color: #f5c518;
  box-shadow: 0 0 5px rgba(245, 197, 24, 0.3);
  outline: none;
}

/* === BRANCHES TABLE RESPONSIVE === */
.branch-table-wrap {
  overflow-x: auto;
  width: 100%;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 25px;
}

/* Table base */
/* ====== NHÓM KHU VỰC ====== */
.branch-group {
  margin-bottom: 40px;
}

.group-title {
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  color: #d35400;
  background: #fff8f0;
  padding: 12px 20px;
  border-left: 6px solid #f39c12;
  border-radius: 8px;
  margin-bottom: 12px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* ====== BẢNG CHI NHÁNH ====== */
.branch-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.branch-table thead {
  background: #f9b233;
  color: #fff;
  text-transform: uppercase;
  font-weight: 600;
}

.branch-table th,
.branch-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.branch-table a.branch-phone {
  color: #e67e22;
  text-decoration: none;
  font-weight: 600;
}

.branch-table a.branch-phone:hover {
  text-decoration: underline;
}

/* ====== RESPONSIVE MODE ====== */
@media screen and (max-width: 768px) {
  .branch-table thead {
    display: none;
  }

  .branch-table,
  .branch-table tbody,
  .branch-table tr,
  .branch-table td {
    display: block;
    width: 100%;
  }

  .branch-table tr {
    margin-bottom: 16px;
    background: #fffbea;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    overflow: hidden;
  }

  .branch-table td {
    text-align: left;
    padding: 10px 16px;
    position: relative;
  }

  .branch-table td::before {
    content: attr(data-label);
    font-weight: 600;
    text-transform: capitalize;
    color: #d35400;
    display: block;
    margin-bottom: 4px;
  }

  .branch-table td span {
    color: #222;
    display: block;
    white-space: normal;
  }


  /* Giữ style group-title khi mobile */
  .group-title {
    font-size: 20px;
    padding: 10px 16px;
    border-left: 4px solid #f39c12;
    margin-top: 20px;
  }
}

/* ====== STYLE CHO LINK GỌI ĐIỆN ====== */
	.branch-phone {
	  display: inline-flex;
	  align-items: center;
	  gap: 6px;
	  color: #e67e22; /* Màu cam thương hiệu */
	  font-weight: 600;
	  text-decoration: none;
	  font-size: 15px;
	  transition: all 0.25s ease;
	}

	.branch-phone:hover {
	  color: #f39c12;
	  transform: translateY(-2px);
	}

	/* SVG icon điện thoại */
	.branch-phone svg {
	  width: 16px;
	  height: 16px;
	  fill: #e67e22;
	  transition: all 0.25s ease;
	}

	.branch-phone:hover svg {
	  fill: #f39c12;
	}


/* Responsive */
@media (max-width: 768px) {
  .branch-controls {
    flex-direction: column;
  }
  .branch-table {
    font-size: 14px;
  }
}

.service-icon img {
  width: 52px;         /* Scale vừa trong khung vàng */
  height: auto;
  display: block;
}
