/* ==========================================================================
   HOMEMED DESIGN SYSTEM & STYLES (MATCHING LAYOUT INDEX.PNG EXACTLY)
   ========================================================================== */

:root {
  --primary-green: #008744;
  --primary-green-dark: #006633;
  --primary-red: #c8102e;
  --primary-red-hover: #a30b23;
  --text-dark: #1e2938;
  --text-body: #333333;
  --text-muted: #666666;
  --bg-light: #f8faf9;
  --bg-card: #ffffff;
  --border-color: #e5e9f2;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 6px 16px rgba(0,0,0,0.1);
  --shadow-hover: 0 12px 24px rgba(0,0,0,0.15);
  --radius-pill: 50px;
  --radius-card: 12px;
  /*--font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;*/
  --font-family: "Montserrat", sans-serif;
}

/* Reset & Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  color: var(--text-body);
  background-color: #ffffff;
  line-height: 1.6;
  font-size: 17px;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

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

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Section Headings */
.section-heading {
  text-align: center;
  margin-bottom: 40px;
}

.section-heading .subtitle {
  color: var(--primary-red);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.section-heading h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--primary-green);
  text-transform: uppercase;
  display: inline-block;
  position: relative;
  padding-bottom: 12px;
}

.section-heading h2 .highlight-red {
  color: var(--primary-red);
}

.section-heading h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--primary-red);
  border-radius: 2px;
}

/* Buttons */
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  text-transform: uppercase;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-pill-red {
  background-color: var(--primary-red);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(200, 16, 46, 0.3);
}

.btn-pill-red:hover {
  background-color: var(--primary-red-hover);
  transform: translateY(-2px);
}

.btn-pill-white {
  background-color: #ffffff;
  color: var(--text-dark);
  border: 1px solid #ffffff;
}

.btn-pill-white:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

/* Sticky Header Container */
.sticky-header-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

body {
  padding-top: 84px;
}

/* ==========================================================================
   1. TOPBAR
   ========================================================================== */
.topbar {
  padding: 6px 0;
  font-size: 17px;
}

.topbar .container {
  display: flex;
  justify-content: flex-end;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.topbar-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-dark);
  font-weight: 500;
}

.topbar-item img {
  width: 16px;
  height: 16px;
}

.topbar-phone-svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.topbar-item:hover .topbar-phone-svg {
  transform: scale(1.15);
}

.topbar-lang {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  padding-left: 15px;
  border-left: 1px solid #dcdcdc;
}

.topbar-lang img {
  width: 18px;
  height: auto;
}

.topbar-search-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px;
}

.topbar-search-btn img {
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   2. HEADER & MAIN NAV
   ========================================================================== */
.main-header {
  position: relative;
  z-index: 100;
  background: url('../images/bg-menu.png') no-repeat center bottom / 100% 100%;
  padding: 3px 0 3px 0;
}

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

.header-logo {
  position: absolute;
  left: 15px;
  top: -45px;
  z-index: 110;
  display: inline-block;
}

.header-logo img {
  height: 84px;
  width: auto;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,0.12));
}

.main-nav {
  background: transparent;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
  margin-left: auto;
}

.nav-list {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 2px;
}

.nav-item {
  position: relative;
}

.nav-item.has-dropdown {
  position: static;
}

.nav-item > a {
  display: block;
  padding: 8px 16px;
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  transition: all 0.3s ease;
}

.nav-item.active > a,
.nav-item > a:hover {
  background: url('../images/menu-hover.png') no-repeat center center / 100% 100%;
  color: #ffffff;
}

/* Mega Submenu Dropdown (Matching layout/sanpham.png) */
.mega-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  border-top: 3px solid var(--primary-green);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 999;
  padding: 30px 0;
}

.nav-item.has-dropdown:hover .mega-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-submenu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: left;
}

.mega-col-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-dark);
  text-transform: uppercase;
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid #e5e9f2;
}

.mega-col-title a {
  color: var(--text-dark);
  background: none !important;
  box-shadow: none !important;
}

.mega-col-title a:hover {
  color: var(--primary-red);
  background: none !important;
}

.mega-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mega-list li {
  margin-bottom: 8px;
}

.mega-list li a {
  font-size: 13px;
  color: #555555;
  font-weight: 500;
  background: transparent !important;
  box-shadow: none !important;
  transition: color 0.2s ease, padding-left 0.2s ease;
  display: inline-block;
}

.mega-list li a:hover {
  color: var(--primary-red);
  background: transparent !important;
  padding-left: 5px;
}

/* ==========================================================================
   3. HERO BANNER SECTION
   ========================================================================== */
.hero-banner-section {
  position: relative;
  background-color: #ffffff;
  overflow: hidden;
}

.hero-slides-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  z-index: 1;
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), visibility 1s cubic-bezier(0.4, 0, 0.2, 1), transform 1.2s ease-out;
  transform: scale(1.03);
}

.hero-slide.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  z-index: 2;
  transform: scale(1);
}

.hero-banner-img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-cta-hotspot {
  position: absolute;
  top: 48%;
  right: 12%;
  width: 150px;
  height: 45px;
  border-radius: var(--radius-pill);
  cursor: pointer;
}

.slider-dots {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  background: transparent;
  padding: 0;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.15);
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.slider-dot.active,
.slider-dot:hover {
  background-color: var(--primary-green);
  width: 32px;
  border-radius: 10px;
}

.btn-cta-icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 6px;
}

/* ==========================================================================
   4. FEATURES BAR (CAM KẾT)
   ========================================================================== */
.features-bar {
  padding: 25px 0;
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-color);
}

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

.feature-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px;
}

.feature-item img {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.feature-info h4 {
  font-weight: 800;
  color: var(--text-dark);
  text-transform: uppercase;
}

.feature-info p {
  color: var(--text-muted);
}

/* ==========================================================================
   5. DANH MỤC SẢN PHẨM
   ========================================================================== */
.categories-section {
  padding: 50px 0;
  background-color: var(--bg-light);
}

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

.category-card {
  height: 378px;
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: 0;
  text-align: center;
  border: 1px solid var(--border-color);
  border-bottom: #2E6E24 7px solid;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.category-card-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  padding: 25px 20px;
  color: inherit;
  text-decoration: none;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-green);
  border-bottom-color: #2E6E24;
}

.category-card-link:hover .category-title {
  color: var(--primary-green);
}

.category-img {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.category-img img {
  max-height: 185px;
  width: auto;
}

.category-title {
  font-weight: 800;
  color: var(--text-dark);
  text-transform: uppercase;
}

/* ==========================================================================
   6. SẢN PHẨM NỔI BẬT
   ========================================================================== */
.products-section {
  padding: 50px 0;
  background-color: #ffffff;
}

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

.product-card {
  height: 350px;
  background: #ffffff;
  border-radius: var(--radius-card, 12px);
  padding: 0;
  border: 1px solid var(--border-color, #e2e8f0);
  border-bottom: #2E6E24 6px solid;
  text-align: center;
  transition: all 0.3s ease;
  overflow: hidden;
}

.product-card-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
  padding: 18px 16px;
  text-decoration: none;
  box-sizing: border-box;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover, 0 8px 25px rgba(0, 0, 0, 0.1));
  border-color: var(--primary-red, #c8102e);
  border-bottom-color: #2E6E24;
}

.product-card-link:hover .product-title {
  color: var(--primary-red, #c8102e);
}

.product-img {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  width: 100%;
  min-height: 150px;
}

.product-img img {
  max-height: 150px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.product-card:hover .product-img img {
  transform: scale(1.04);
}

.product-brand-logo-wrapper {
  height: 28px;
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
  flex-shrink: 0;
  width: 100%;
}

.product-brand-logo {
  max-height: 24px;
  max-width: 90px;
  width: auto;
  object-fit: contain;
}

.product-title {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text-dark, #222222);
  text-transform: uppercase;
  line-height: 1.35;
  margin: 0;
  margin-top: 2px;
  flex-shrink: 0;
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 36px;
}

/* ==========================================================================
   7. DỊCH VỤ CỦA HOMEMED
   ========================================================================== */
.services-section {
  padding: 50px 0;
  background-color: var(--bg-light);
}

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

.service-card {
  height: auto;
  border-radius: var(--radius-card);
  overflow: hidden;
  position: relative;
  border: none;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  background-color: #f0f0f0;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.service-img-wrapper {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
}

.service-img-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

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

.service-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 25px 20px;
  text-align: center;
  transition: background 0.3s ease;
}

.service-card:hover .service-overlay {
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 25%, rgba(0,0,0,0.88) 100%);
}

.service-title {
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  line-height: 1.35;
  margin-bottom: 0;
  transform: translateY(28px);
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), margin-bottom 0.35s ease;
  text-shadow: 0 2px 6px rgba(0,0,0,0.8);
}

.service-card:hover .service-title {
  transform: translateY(0);
  margin-bottom: 15px;
}

.service-btn {
  opacity: 0;
  visibility: hidden;
  transform: translateY(25px);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.35s ease;
}

.service-card:hover .service-btn {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ==========================================================================
   8. GIỚI THIỆU VỀ HOMEMED
   ========================================================================== */
.about-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-header-block {
  border-left: 4px solid var(--primary-red);
  padding-left: 18px;
  margin-bottom: 20px;
}

.about-subtitle {
  font-size: 20px;
  color: #000000;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 4px;
  line-height: 1.3;
}

.about-title {
  font-size: 26px;
  font-weight: 900;
  color: var(--primary-green);
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 0;
}

.about-title span.highlight-red {
  color: var(--primary-red);
}

.about-text {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 25px;
}

.about-graphic img {
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

/* ==========================================================================
   9. TIN TỨC NỔI BẬT
   ========================================================================== */
.news-section {
  padding: 50px 0;
  background-color: var(--bg-light);
}

.news-slider-container {
  position: relative;
  display: flex;
  align-items: center;
  gap: 15px;
}

.news-slider-wrapper {
  overflow-x: auto;
  scroll-behavior: smooth;
  width: 100%;
  scrollbar-width: none;
  padding: 10px 0;
}

.news-slider-wrapper::-webkit-scrollbar {
  display: none;
}

.news-grid {
  display: flex;
  gap: 24px;
}

.news-card {
  min-width: 340px;
  flex: 0 0 calc(33.333% - 16px);
  background: var(--bg-card);
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.news-slider-nav {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  flex-shrink: 0;
  z-index: 10;
}

.news-slider-nav:hover {
  background-color: var(--primary-green);
  border-color: var(--primary-green);
}

.news-slider-nav:hover img {
  filter: brightness(0) invert(1);
}

.news-img {
  height: 180px;
  overflow: hidden;
}

.news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-content {
  padding: 18px;
}

.news-date {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.icon-date-img {
  width: 16px;
  height: 16px;
  display: inline-block;
  vertical-align: middle;
}

.news-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  text-transform: uppercase;
  line-height: 1.4;
  height: 42px;
  overflow: hidden;
  margin-bottom: 12px;
}

.news-title a {
  color: var(--text-dark);
  transition: color 0.3s ease;
}

.news-title a:hover {
  color: var(--primary-red);
}

.news-link {
  color: var(--primary-red);
  font-weight: 700;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   10 & 11. PARTNERS (DOANH NGHIỆP & HỢP TÁC)
   ========================================================================== */
.partners-section {
  padding: 45px 0;
  background-color: #ffffff;
}

.partner-slider-container {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.partner-slider-wrapper {
  overflow-x: auto;
  scroll-behavior: smooth;
  width: 100%;
  scrollbar-width: none;
  padding: 5px 0;
}

.partner-slider-wrapper::-webkit-scrollbar {
  display: none;
}

.partner-logos-row {
  display: flex;
  align-items: center;
  gap: 15px;
}

.partner-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background-color: #ffffff;
  height: 80px;
  min-width: 150px;
  flex: 1 0 auto;
  transition: all 0.3s ease;
}

.partner-slider-nav {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  flex-shrink: 0;
  z-index: 10;
}

.partner-slider-nav:hover {
  background-color: var(--primary-green);
  border-color: var(--primary-green);
}

.partner-slider-nav:hover svg {
  fill: #ffffff;
}

.partner-logo-item:hover {
  border-color: var(--primary-green);
  box-shadow: var(--shadow-sm);
}

.partner-logo-item img {
  max-height: 45px;
  max-width: 110px;
  object-fit: contain;
}

/* ==========================================================================
   12. KHỐI TƯ VẤN (CTA BANNER)
   ========================================================================== */
.cta-section {
  position: relative;
  background: url('../images/bg-tuvan.png') no-repeat center center / cover;
  padding: 60px 0;
  text-align: center;
}

.cta-content {
  max-width: 1050px;
  margin: 0 auto;
  text-align: center;
}

.cta-content h2 {
  font-size: 26px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: #2E6E24;
}

.cta-content h2 span {
  color: var(--primary-red);
}

.cta-content p {
  font-size: 19px;
  margin-bottom: 25px;
  color: #333333;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

/* ==========================================================================
   13. FOOTER & SOCIAL BAR
   ========================================================================== */
.social-bar {
  background-color: var(--primary-green);
  color: #ffffff;
  padding: 10px 0;
  font-weight: 700;
}

.social-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.social-info {
  display: flex;
  align-items: center;
  gap: 25px;
}

.social-info span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.social-info-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-icon-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: all 0.3s ease;
}

.social-icon-btn:hover {
  background-color: #ffffff;
  transform: translateY(-2px);
}

.social-icon-btn:hover .social-icon-svg {
  fill: #BB0000;
}

.social-icon-btn img {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.main-footer {
  background-color: #f8faf9;
  padding: 40px 0 15px 0;
  border-top: 1px solid var(--border-color);
}

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

.footer-col h4 {
  font-weight: 800;
  color: var(--text-dark);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.footer-col p, .footer-col li {
  color: var(--text-muted);
  margin-bottom: 8px;
  list-style: none;
}

.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-col a:hover {
  color: var(--primary-red);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 15px;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: var(--primary-red);
}

.footer-map {
  width: 100%;
  height: 200px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  margin-top: 10px;
}

.footer-map iframe {
  width: 100% !important;
  height: 100% !important;
  border: 0;
  display: block;
}

/* Floating Actions (Flushed right edge matching design) */
.floating-actions {
  position: fixed;
  right: 0;
  top: 55%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 999999;
  padding: 8px 6px 8px 8px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
  border-radius: 16px 0 0 16px;
  box-shadow: -3px 4px 20px rgba(0, 0, 0, 0.15);
}

.floating-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  font-size: 18px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.floating-btn:hover {
  transform: scale(1.12) translateX(-4px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.3);
  color: #ffffff;
}

.floating-btn-phone {
  background: linear-gradient(135deg, #c8102e, #e52d27);
  animation: pulse-phone 2s infinite;
}

.floating-btn-email {
  background: linear-gradient(135deg, #ea4335, #d93025);
}

.floating-btn-fb {
  background: linear-gradient(135deg, #1877f2, #0056b3);
}

.floating-btn-zalo {
  background: linear-gradient(135deg, #0068ff, #0046b3);
  font-size: 11px;
  font-weight: 900;
}

.floating-btn img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

@keyframes pulse-phone {
  0% {
    box-shadow: 0 0 0 0 rgba(200, 16, 46, 0.6);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(200, 16, 46, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(200, 16, 46, 0);
  }
}

/* ==========================================================================
   RESPONSIVE OPTIMIZATION (IPAD & MOBILE)
   ========================================================================== */
@media (max-width: 992px) {
  body {
    padding-top: 80px;
  }

  .header-logo {
    top: -16px;
  }

  .header-logo img {
    height: 65px;
  }

  .topbar-right {
    gap: 12px;
  }

  .topbar-item span {
    font-size: 13px;
  }

  .main-header {
    background: none !important;
  }

  .mobile-menu-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 2px solid #2E6E24;
    border-radius: 6px;
    padding: 6px 10px;
    margin-left: auto;
    cursor: pointer;
    z-index: 120;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: linear-gradient(180deg, #008744, #005c2e);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    border-radius: 0 0 12px 12px;
    padding: 15px;
    z-index: 9999;
  }

  .main-nav.active {
    display: block !important;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 4px;
  }

  .nav-item {
    width: 100%;
    position: relative;
  }

  .nav-item > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 12px 16px;
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    border-radius: 6px;
    text-align: left;
  }

  .nav-item.active > a,
  .nav-item > a:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
  }

  /* Mobile Submenu accordion */
  .nav-item.has-dropdown .mega-submenu {
    position: static;
    width: 100%;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background-color: rgba(0, 0, 0, 0.2);
    border-top: none;
    border-radius: 8px;
    padding: 15px;
    margin-top: 5px;
    display: none;
  }

  .nav-item.has-dropdown.mobile-submenu-open .mega-submenu {
    display: block !important;
  }

  .mega-submenu-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .mega-col-title {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 6px;
    margin-bottom: 6px;
  }

  .mega-col-title a {
    color: #ffffff !important;
    font-size: 13px;
  }

  .mega-list li a {
    color: #e2e8f0 !important;
    font-size: 12px;
    padding: 4px 0 4px 10px;
  }

  .categories-grid,
  .products-grid,
  .services-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
  }

  /* News Slider 100% full view item on Mobile & iPad */
  .news-slider-nav {
    display: none !important;
  }

  .news-slider-wrapper {
    scroll-snap-type: x mandatory;
    padding: 5px 0;
    width: 100%;
  }

  .news-grid {
    gap: 16px;
  }

  .news-card {
    flex: 0 0 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    scroll-snap-align: start;
    box-sizing: border-box;
  }

  .news-img {
    height: 160px;
  }

  .news-content {
    padding: 14px;
  }

  .news-title {
    font-size: 14px;
    height: auto;
    min-height: 40px;
    line-height: 1.35;
    margin-bottom: 8px;
  }

  .features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }

  .cta-content {
    max-width: 100%;
  }

  .cta-content h2 {
    font-size: 22px;
  }

  .floating-actions {
    padding: 6px 4px;
  }

  .floating-btn {
    width: 38px;
    height: 38px;
  }

  .floating-btn img {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 768px) {
  .category-card,
  .product-card {
    height: auto !important;
  }

  .category-card-link,
  .product-card-link {
    height: auto !important;
    padding: 16px 12px;
  }

  .category-title,
  .product-title {
    /*font-size: 17px !important;*/
    height: auto !important;
    max-height: none !important;
    /*overflow: visible !important;*/
  }

  .service-card {
    height: auto !important;
  }

  .service-img-wrapper {
    height: auto !important;
    width: 100%;
    overflow: hidden;
    position: relative;
    border-radius: var(--radius-card, 8px);
  }

  .service-img-wrapper img {
    width: 100%;
    height: auto !important;
    display: block;
    padding: 0;
  }

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

  .service-btn {
    font-size: 11px;
    padding: 6px 12px;
  }

  .about-content {
    text-align: center;
  }

  .about-content .btn-pill {
    margin: 15px auto 0 auto;
    display: inline-flex;
  }

  .partner-logo-item {
    flex: 0 0 calc(50% - 8px) !important;
    min-width: calc(50% - 8px) !important;
    max-width: calc(50% - 8px) !important;
    box-sizing: border-box;
  }

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

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

  /* Social Bar 1 row layout & smaller text */
  .social-bar {
    padding: 8px 0;
  }

  .social-bar .container {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }

  .social-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 11px;
    width: 100%;
    flex-wrap: nowrap;
  }

  .social-info span {
    font-size: 15px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
  }

  .social-info-svg {
    width: 12px;
    height: 12px;
  }

  .social-icons {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 11px;
    width: 100%;
    flex-wrap: nowrap;
  }

  .social-label {
    font-size: 15px;
    white-space: nowrap;
  }

  .social-icon-btn {
    width: 24px;
    height: 24px;
  }

  .social-icon-svg {
    width: 12px;
    height: 12px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .cta-buttons .btn-pill {
    width: 100%;
    max-width: 280px;
  }

  .footer-map {
    height: 220px !important;
    width: 100% !important;
    margin-top: 10px;
  }

  .footer-map iframe {
    height: 100% !important;
    width: 100% !important;
  }

  .floating-actions {
    position: fixed !important;
    right: 0 !important;
    top: 55% !important;
    transform: translateY(-50%) !important;
    z-index: 999999 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    padding: 6px 4px !important;
    border-radius: 14px 0 0 14px !important;
  }

  .floating-btn {
    width: 38px !important;
    height: 38px !important;
  }

  .floating-btn img,
  .floating-btn svg {
    width: 18px !important;
    height: 18px !important;
  }
}

@media (max-width: 576px) {
  body {
    padding-top: 75px;
  }

  .topbar-right {
    font-size: 11px;
    gap: 8px;
  }

  .topbar-item {
    gap: 3px;
  }

  .header-logo img {
    height: 52px;
  }

  .header-logo {
    top: -12px;
  }

  .categories-grid,
  .products-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px;
  }

  .section-heading h2 {
    font-size: 20px;
  }

  .cta-content h2 {
    font-size: 18px;
  }

  .slider-dots {
    bottom: 10px;
  }

  .slider-dot {
    width: 8px;
    height: 8px;
  }

  .slider-dot.active {
    width: 20px;
  }
}

/* ==========================================================================
   MOBILE & IPAD DRAWER NAVIGATION (OFF-CANVAS MENU)
   ========================================================================== */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 22px;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 4px;
  align-items: center;
  justify-content: center;
}

.mobile-menu-svg {
  width: 24px;
  height: 24px;
  fill: #2E6E24;
  transition: transform 0.2s ease;
  vertical-align: middle;
}

.mobile-menu-toggle:hover .mobile-menu-svg {
  transform: scale(1.1);
}

/* Dropdown Arrow Icon Styling */
.nav-item.has-dropdown > a i {
  display: inline-block;
  margin-left: 6px;
  font-size: 13px;
  transition: transform 0.3s ease;
}

.nav-item.has-dropdown:hover > a i,
.nav-item.has-dropdown.mobile-submenu-open > a i {
  transform: rotate(180deg);
}

.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 10000;
}

.mobile-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100%;
  background: linear-gradient(180deg, #991b1b, #7f1d1d);
  color: #ffffff;
  z-index: 10001;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
}

.mobile-drawer.active {
  right: 0;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background-color: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.mobile-drawer-header h3 {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  letter-spacing: 0.5px;
}

.mobile-drawer-close {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.mobile-drawer-search {
  padding: 15px 20px;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.mobile-drawer-search input {
  width: 100%;
  padding: 10px 40px 10px 14px;
  border-radius: 4px;
  border: none;
  font-size: 13px;
  outline: none;
  background-color: #ffffff;
  color: #333333;
}

.mobile-drawer-search button {
  position: absolute;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #666666;
  font-size: 14px;
  cursor: pointer;
}

.mobile-drawer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-drawer-list li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-drawer-list a {
  display: block;
  padding: 13px 20px;
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.mobile-drawer-list a:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.mobile-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-dropdown-toggle {
  background: none;
  border: none;
  color: #ffffff;
  padding: 13px 20px;
  cursor: pointer;
  font-size: 13px;
}

.mobile-sub-list {
  display: none;
  list-style: none;
  padding: 0;
  background-color: rgba(0, 0, 0, 0.2);
}

.mobile-sub-list.active {
  display: block;
}

.mobile-sub-list a {
  padding-left: 35px;
  font-weight: 500;
  font-size: 13px;
  color: #f1f5f9;
}

/* ==========================================================================
   SUBPAGE HERO BANNER & BREADCRUMB
   ========================================================================== */
.subpage-banner-section {
  width: 100%;
  overflow: hidden;
  position: relative;
  background-color: #f0f4f2;
}

.subpage-banner-img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 380px;
  object-fit: cover;
}

.breadcrumb-section {
  background-color: #f8faf9;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color, #e2e8f0);
}

.breadcrumb-nav {
  font-size: 14px;
  color: var(--text-muted, #666);
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb-nav a {
  color: var(--text-dark, #333);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-nav a:hover {
  color: var(--primary-red, #c8102e);
}

.breadcrumb-nav .separator {
  color: #a0aec0;
}

.breadcrumb-nav .current {
  color: var(--primary-green, #008744);
  font-weight: 700;
}

/* ==========================================================================
   GIOI THIEU PAGE STYLES (TRANG GIỚI THIỆU HOMEMED)
   ========================================================================== */
/* Block 1: Detail About */
.about-detail-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.about-detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-desc-paragraph {
  font-size: 16px;
  line-height: 1.7;
  color: #333333;
  margin-bottom: 20px;
}

/* Block 2: Business Products Grid */
.business-products-section {
  padding: 60px 0;
  background-color: var(--bg-light, #f8faf9);
}

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

.business-product-card {
  background: #ffffff;
  border-radius: 10px;
  border-top: 4px solid var(--primary-green, #008744);
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  padding: 25px 20px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.business-product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
  border-top-color: var(--primary-red, #c8102e);
}

.business-card-header {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 18px;
  border-bottom:1px solid #D8D8D8;
}

.business-card-num {
  font-size: 32px;
  font-weight: 900;
  color: var(--primary-green, #2E6E24);
  line-height: 1;
}

.business-card-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-dark, #222);
  text-transform: uppercase;
  line-height: 1.35;
}

.business-card-list {
  padding-left: 18px;
  margin: 0;
}

.business-card-list li {
  line-height: 1.6;
  color: #555555;
  margin-bottom: 8px;
  list-style-type: disc;
}

/* Block 3: Total Solutions Section */
.total-solutions-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.solutions-main-title {
  font-size: 22px;
  font-weight: 900;
  color: var(--primary-green, #2E6E24);
  text-transform: uppercase;
  max-width: 900px;
  margin: 0 auto 15px auto;
  line-height: 1.35;
}

.solutions-sub-desc {
  font-size: 16px;
  color: #555555;
  margin-bottom: 35px;
}

.solutions-services-grid {
  margin-bottom: 40px;
}

.solution-highlight-bar {
  text-align: center;
  margin-top: 30px;
}

.solution-highlight-bar p {
  font-size: 16px;
  color: var(--text-dark, #333333);
  margin: 0;
  line-height: 1.6;
}

.highlight-red-bold {
  color: var(--primary-red, #c8102e);
  font-weight: 800;
}

/* Block 4: Commitments Section */
.commitments-section {
  padding: 60px 0;
  background-color: var(--bg-light, #f8faf9);
}

.commitments-sub-desc {
  font-size: 16px;
  color: #555555;
  margin-top: 8px;
  margin-bottom: 35px;
}

.commitments-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 35px;
}

.commitment-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  border: 1px solid var(--border-color, #e2e8f0);
  transition: all 0.3s ease;
}

.commitment-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  border-color: var(--primary-green, #008744);
}

.commitment-icon-circle {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  border: 2px solid var(--primary-green, #2E6E24);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  background-color: #f0f7f3;
}

.commitment-card-text {
  font-size: 14px;
  line-height: 1.55;
  color: #444444;
  margin: 0;
}

.commitment-highlight-box {
  text-align: center;
  margin-top: 30px;
}

.commitment-highlight-box p {
  font-size: 16px;
  color: var(--text-dark, #333333);
  margin: 0;
  line-height: 1.6;
}

/* RESPONSIVE FOR GIOI THIEU PAGE */
@media (max-width: 992px) {
  .business-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .commitments-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .about-detail-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .business-products-grid,
  .solutions-grid,
  .commitments-grid {
    grid-template-columns: 1fr;
  }

  .solutions-main-title {
    font-size: 18px;
  }

  .solution-img-wrapper {
    height: 220px;
  }
}

/* ==========================================================================
   SAN PHAM PAGE STYLES (TRANG DANH MỤC SẢN PHẨM)
   ========================================================================== */
.products-page-main {
  padding: 50px 0;
  background-color: #ffffff;
}

.products-page-layout {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 30px;
  align-items: start;
}

/* Sidebar Left */
.product-sidebar {
  background-color: #ffffff;
}

.sidebar-block {
  margin-bottom: 30px;
}

.sidebar-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary-green, #2E6E24);
  text-transform: uppercase;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 8px;
}

.sidebar-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background-color: #BB0000;
  border-radius: 2px;
}

.sidebar-category-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-cat-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #ffffff;
  border: 1px solid #eef2f0;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 800;
  color: var(--text-dark, #222);
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.sidebar-cat-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: var(--primary-green, #2E6E24);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sidebar-cat-btn:hover,
.sidebar-cat-btn.active {
  background: var(--primary-green, #2E6E24) !important;
  color: #FFFFFF !important;
  border-color: var(--primary-green, #2E6E24) !important;
  box-shadow: 0 6px 20px rgba(46, 110, 36, 0.2) !important;
}

.sidebar-cat-btn:hover .sidebar-cat-icon,
.sidebar-cat-btn.active .sidebar-cat-icon {
  background-color: #FFFFFF !important;
}

.sidebar-cat-btn:hover .sidebar-cat-icon svg,
.sidebar-cat-btn.active .sidebar-cat-icon svg {
  fill: var(--primary-green, #2E6E24) !important;
}

/* SUB SIDEBAR MENU */
.sub-sidebar-list {
  display: none;
  list-style: none;
  padding: 4px 0 8px 10px;
  margin: 6px 0 10px 0;
  transition: all 0.3s ease;
}

.sub-sidebar-list.active {
  display: block;
}

.sub-sidebar-list li a {
  display: flex;
  align-items: center;
  padding: 8px 0 8px 8px;
  border-bottom: 1px dashed #e2e8f0;
  color: var(--text-dark, #333333);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.sub-arrow {
  color: #666666;
  font-weight: 700;
  margin-right: 8px;
  font-size: 15px;
  transition: color 0.2s ease;
}

.sub-sidebar-list li a:hover {
  color: var(--primary-red, #c8102e);
  padding-left: 14px;
}

.sub-sidebar-list li a:hover .sub-arrow {
  color: var(--primary-red, #c8102e);
}

.brand-arrow {
  color: var(--primary-red, #c8102e);
  font-weight: 700;
  margin-right: 6px;
  font-size: 16px;
}

.sidebar-brand-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-brand-list li a {
  display: flex;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid #eeeeee;
  color: var(--text-dark, #222);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.sidebar-brand-list li a:hover {
  color: var(--primary-red, #c8102e);
  padding-left: 5px;
}

/* Product Content Main Right */
.product-content-main {
  width: 100%;
}

.product-cat-section {
  margin-bottom: 50px;
}

.product-cat-header {
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 8px;
  border-bottom: 1px solid #DDE2E2;
}

.product-cat-header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 40px;
  height: 3px;
  background-color: #BB0000;
  border-radius: 2px;
}

.product-cat-header h2 {
  font-size: 22px;
  font-weight: 900;
  color: var(--primary-green, #2E6E24);
  text-transform: uppercase;
  margin: 0;
}

/* RESPONSIVE FOR SAN PHAM PAGE */
@media (max-width: 992px) {
  .products-page-layout {
    grid-template-columns: 220px 1fr;
    gap: 20px;
  }
}

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

  .product-sidebar {
    margin-bottom: 35px;
  }

  .product-cat-header h2 {
    font-size: 17px;
  }
}

/* ==========================================================================
   PRODUCT DETAIL PAGE STYLES (sanpham-chitiet.html)
   ========================================================================== */
.product-detail-main {
  width: 100%;
}

.product-detail-overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 45px;
  align-items: start;
}

/* Gallery Showcase */
.product-gallery-col {
  width: 100%;
}

.gallery-main-container {
  position: relative;
  border: 1px solid #eef2f0;
  border-radius: 12px;
  padding: 20px;
  background: #ffffff;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 320px;
}

.gallery-zoom-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(240, 240, 240, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s ease;
}

.gallery-zoom-badge:hover {
  background: #e2e8f0;
}

.gallery-main-img-box {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-main-img-box img {
  max-height: 280px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}

.gallery-thumbs-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}

.thumb-arrow {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #666666;
  cursor: pointer;
  transition: all 0.2s ease;
}

.thumb-arrow:hover {
  background: var(--primary-green, #2E6E24);
  color: #ffffff;
  border-color: var(--primary-green, #2E6E24);
}

.gallery-thumbs-list {
  display: flex;
  gap: 10px;
}

.thumb-item {
  width: 65px;
  height: 55px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 4px;
  background: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.thumb-item.active,
.thumb-item:hover {
  border-color: var(--primary-green, #2E6E24);
  box-shadow: 0 2px 8px rgba(46, 110, 36, 0.15);
}

.thumb-item img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

/* Specs & Summary */
.product-summary-col {
  width: 100%;
}

.detail-product-title {
  font-size: 24px;
  font-weight: 900;
  color: var(--primary-green, #2E6E24);
  text-transform: uppercase;
  margin: 0 0 10px 0;
  line-height: 1.3;
}

.title-red-line {
  width: 40px;
  height: 3px;
  background-color: #BB0000;
  border-radius: 2px;
  margin-bottom: 20px;
}

.product-specs-list {
  list-style: none;
  padding: 0;
  margin: 0 0 25px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-specs-list li {
  font-size: 14px;
  color: var(--text-dark, #333333);
  line-height: 1.5;
  position: relative;
  padding-left: 14px;
}

.product-specs-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--text-dark, #333333);
  font-weight: bold;
}

.product-specs-list li strong {
  font-weight: 700;
  color: #111111;
}

.product-detail-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-pill-outline-red {
  background: #ffffff;
  color: #BB0000 !important;
  border: 1px solid #BB0000;
}

.btn-pill-outline-red:hover {
  background: #BB0000;
  color: #ffffff !important;
}

.btn-pill-outline-red:hover .btn-cta-svg {
  fill: #ffffff !important;
}

/* Detailed Information Section */
.product-description-section {
  margin-bottom: 45px;
}

.product-description-content {
  color: var(--text-dark, #333333);
  line-height: 1.65;
  font-size: 14px;
}

.product-description-content h3 {
  font-size: 15px;
  font-weight: 800;
  color: #111111;
  text-transform: uppercase;
  margin: 22px 0 10px 0;
}

.product-description-content p {
  margin-bottom: 15px;
  text-align: justify;
}

.product-description-content ul {
  padding-left: 20px;
  margin-bottom: 18px;
}

.product-description-content ul li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.product-description-content ul li strong {
  color: #111111;
}

/* Related Products Section */
.product-related-section {
  margin-bottom: 40px;
}

@media (max-width: 992px) {
  .product-detail-overview {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}

/* ==========================================================================
   SIMPLE DROPDOWN MENU (FOR DỊCH VỤ MENU ITEM)
   ========================================================================== */
.nav-item.has-simple-dropdown {
  position: relative;
}

.simple-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background-color: #ffffff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  border-top: 3px solid var(--primary-green, #2E6E24);
  border-radius: 0 0 8px 8px;
  list-style: none;
  padding: 10px 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  z-index: 999;
}

.nav-item.has-simple-dropdown:hover .simple-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.simple-dropdown-menu li {
  margin: 0;
}

.simple-dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 500;
  color: #333333;
  text-transform: none;
  border-radius: 0;
  background: transparent !important;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.simple-dropdown-menu li a:hover {
  background-color: #f4f7f5 !important;
  color: var(--primary-red, #c8102e) !important;
}

/* ==========================================================================
   SERVICES PAGE STYLES (TRANG DỊCH VỤ - DICHVU.HTML)
   ========================================================================== */
.services-page-main {
  padding: 40px 0 60px 0;
  background-color: #ffffff;
}

.page-title-header {
  margin-bottom: 35px;
}

.page-title-text {
  font-size: 24px;
  font-weight: 900;
  color: var(--primary-green, #2E6E24);
  text-transform: uppercase;
  margin: 0;
}

.page-title-line {
  width: 60px;
  height: 3px;
  background-color: var(--primary-red, #BB0000);
  margin-top: 8px;
  border-radius: 2px;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.service-card-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background-color: #f8faf9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  border: 1px solid #eef2f0;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.service-card-item:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.service-card-img {
  height: 340px;
  overflow: hidden;
  position: relative;
}

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

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

.service-card-content {
  padding: 40px 45px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.service-card-title {
  font-size: 20px;
  font-weight: 800;
  color: #1a1a1a;
  text-transform: uppercase;
  margin: 0 0 16px 0;
  letter-spacing: 0.2px;
}

.service-card-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 25px 0;
}

.service-card-bullets li {
  color: #4a5568;
  line-height: 1.65;
  margin-bottom: 10px;
  position: relative;
  padding-left: 18px;
}

.service-card-bullets li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: -1px;
  color: #4a5568;
  font-size: 16px;
  font-weight: bold;
}

.service-card-desc {
  font-size: 14px;
  color: #4a5568;
  line-height: 1.7;
  margin: 0 0 25px 0;
  text-align: justify;
}

.btn-service-detail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--primary-red, #BB0000);
  color: #ffffff !important;
  padding: 10px 24px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  box-shadow: 0 3px 8px rgba(187, 0, 0, 0.25);
}

.btn-service-detail:hover {
  background-color: #990000;
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(187, 0, 0, 0.35);
}

.btn-service-detail .arrow-icon {
  font-size: 14px;
  transition: transform 0.2s ease;
}

.btn-service-detail:hover .arrow-icon {
  transform: translateX(4px);
}

/* Responsive for Services Page */
@media (max-width: 992px) {
  .service-card-item,
  .service-card-item.reverse-layout {
    grid-template-columns: 1fr;
  }

  .service-card-item.reverse-layout .service-card-content {
    order: 2;
  }

  .service-card-item.reverse-layout .service-card-img {
    order: 1;
  }

  .service-card-img {
    height: 260px;
  }

  .service-card-content {
    padding: 25px 20px;
  }
}

/* ==========================================================================
   SERVICE DETAIL PAGE STYLES (TRANG CHI TIẾT DỊCH VỤ - DICHVU-CHITIET.HTML)
   ========================================================================== */
.service-detail-page-main {
  padding: 40px 0 60px 0;
  background-color: #ffffff;
}

.service-lead-text {
  font-size: 14px;
  color: #333333;
  line-height: 1.7;
  margin-bottom: 30px;
  text-align: justify;
}

.service-detail-section {
  margin-bottom: 25px;
}

.service-section-title {
  font-size: 16px;
  font-weight: 800;
  color: #111111;
  margin: 0 0 12px 0;
}

.service-dash-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.service-dash-list li {
  font-size: 14px;
  color: #333333;
  line-height: 1.75;
  margin-bottom: 6px;
  position: relative;
  padding-left: 14px;
}

.service-dash-list li::before {
  content: '-';
  position: absolute;
  left: 0;
  top: 0;
  color: #333333;
  font-weight: bold;
}

/* Other Services Section (Khối Các Dịch Vụ Khác) */
.other-services-section {
  margin-top: 50px;
  padding-top: 10px;
}

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

.other-service-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  display: block;
  height: 230px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.other-service-img-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.other-service-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.other-service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.05) 100%);
  transition: background 0.3s ease;
}

.other-service-title {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  text-align: center;
  margin: 0;
  line-height: 1.4;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
  z-index: 2;
  transition: transform 0.3s ease;
}

.other-service-card:hover .other-service-img-wrapper img {
  transform: scale(1.08);
}

.other-service-card:hover .other-service-overlay {
  background: linear-gradient(to top, rgba(46, 110, 36, 0.9) 0%, rgba(0, 0, 0, 0.3) 70%, rgba(0, 0, 0, 0.1) 100%);
}

.other-service-card:hover .other-service-title {
  transform: translateY(-4px);
}

/* Responsive for Service Detail Page */
@media (max-width: 992px) {
  .other-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .other-services-grid {
    grid-template-columns: 1fr;
  }
  
  .other-service-card {
    height: 200px;
  }
}

/* ==========================================================================
   NEWS PAGE STYLES (TRANG DANH SÁCH TIN TỨC - TINTUC.HTML)
   ========================================================================== */
.news-page-main {
  padding: 40px 0 60px 0;
  background-color: #ffffff;
}

.news-page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 35px;
  flex-wrap: wrap;
  gap: 20px;
}

.news-filter-tabs {
  display: flex;
  align-items: center;
  gap: 12px;
}

.news-tab-btn {
  border: 1px solid var(--primary-green, #2E6E24);
  color: var(--primary-green, #2E6E24);
  background: transparent;
  font-weight: 700;
  font-size: 15px;
  padding: 8px 24px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.news-tab-btn.active,
.news-tab-btn:hover {
  background-color: var(--primary-green, #2E6E24);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(46, 110, 36, 0.2);
}

/* Featured News Card (Tin nổi bật đầu trang) */
.featured-news-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  background-color: #f8faf9;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 40px;
  border: 1px solid #eef2f0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition: box-shadow 0.3s ease;
}

.featured-news-card:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.featured-news-img {
  height: 350px;
  overflow: hidden;
}

.featured-news-img a {
  display: block;
  width: 100%;
  height: 100%;
}

.featured-news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.featured-news-card:hover .featured-news-img img {
  transform: scale(1.05);
}

.featured-news-content {
  padding: 40px 45px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-date {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #666666;
  font-weight: 500;
  margin-bottom: 12px;
}

.news-date-icon {
  width: 14px;
  height: 14px;
  object-fit: contain;
  display: inline-block;
}

.featured-news-title {
  font-size: 20px;
  font-weight: 900;
  margin: 0 0 14px 0;
  line-height: 1.45;
  text-transform: uppercase;
}

.featured-news-title a {
  color: #111111;
  text-decoration: none;
  transition: color 0.2s ease;
}

.featured-news-title a:hover {
  color: var(--primary-red, #c8102e);
}

.featured-news-excerpt {
  font-size: 15px;
  color: #555555;
  line-height: 1.65;
  margin: 0 0 20px 0;
  text-align: justify;
}

.news-readmore-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-red, #BB0000);
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s ease;
}

.news-readmore-link:hover {
  color: #990000;
}

.news-readmore-link .arrow {
  font-size: 15px;
  transition: transform 0.2s ease;
}

.news-readmore-link:hover .arrow {
  transform: translateX(4px);
}

/* News Grid List (Lưới 6 Tin tức) */
.news-grid-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 45px;
}

.news-card-item {
  background-color: #f8faf9;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #eef2f0;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.news-card-item:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

.news-card-img {
  height: 200px;
  overflow: hidden;
}

.news-card-img a {
  display: block;
  width: 100%;
  height: 100%;
}

.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.news-card-item:hover .news-card-img img {
  transform: scale(1.06);
}

.news-card-content {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.news-card-title {
  font-size: 15px;
  font-weight: 800;
  margin: 10px 0 16px 0;
  line-height: 1.5;
  text-transform: uppercase;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-title a {
  color: #111111;
  text-decoration: none;
  transition: color 0.2s ease;
}

.news-card-title a:hover {
  color: var(--primary-red, #c8102e);
}

/* News Pagination */
.news-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 40px 0 20px 0;
}

.news-pagination .page-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background-color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #555555;
  text-decoration: none;
  transition: all 0.25s ease;
}

.news-pagination .page-link.active,
.news-pagination .page-link:hover {
  background-color: var(--primary-green, #2E6E24);
  color: #ffffff;
  border-color: var(--primary-green, #2E6E24);
  box-shadow: 0 4px 10px rgba(46, 110, 36, 0.25);
}

/* Responsive for News Page */
@media (max-width: 992px) {
  .featured-news-card {
    grid-template-columns: 1fr;
  }

  .featured-news-img {
    height: 260px;
  }

  .featured-news-content {
    padding: 25px 20px;
  }

  .news-grid-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 576px) {
  .news-page-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .news-grid-list {
    grid-template-columns: 1fr;
  }

  .news-card-img {
    height: 180px;
  }

  .news-card-content {
    padding: 18px 16px;
  }
}

/* ==========================================================================
   NEWS DETAIL PAGE STYLES (TRANG CHI TIẾT TIN TỨC - TINTUC-CHITIET.HTML)
   ========================================================================== */
.news-detail-page-main {
  padding: 40px 0 60px 0;
  background-color: #ffffff;
}

.news-detail-layout {
  display: grid;
  grid-template-columns: 1fr 310px;
  gap: 40px;
  margin-bottom: 50px;
}

.news-detail-left {
  min-width: 0;
}

.news-article-title {
  font-size: 22px;
  font-weight: 900;
  color: #111111;
  line-height: 1.4;
  margin: 12px 0 22px 0;
  text-transform: uppercase;
}

.news-article-body {
  color: #333333;
  line-height: 1.75;
  text-align: justify;
}

.news-article-body p {
  margin-bottom: 16px;
}

.news-article-body p.lead-p {
  font-weight: 400;
  color: #333333;
  margin-bottom: 20px;
}

.news-article-body h2 {
  font-size: 16px;
  font-weight: 800;
  color: #111111;
  margin: 28px 0 12px 0;
  line-height: 1.4;
}

.dash-bullet-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.dash-bullet-list li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 8px;
  color: #333333;
  line-height: 1.7;
}

.dash-bullet-list li::before {
  content: '-';
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
  color: #333333;
}

.article-image-box {
  margin: 25px 0;
  border-radius: 8px;
  overflow: hidden;
}

.article-image-box img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.article-source {
  text-align: right;
  font-weight: 800;
  font-size: 14px;
  color: #111111;
  margin: 20px 0 30px 0;
}

.article-contact-box {
  background-color: #f8faf9;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 22px 26px;
  margin-bottom: 30px;
  font-size: 14px;
  color: #333333;
  line-height: 1.75;
}

.article-contact-box p {
  margin-bottom: 6px;
}

.article-contact-box .company-name {
  font-weight: 800;
  color: var(--primary-green, #2E6E24);
  margin: 4px 0 8px 0;
  text-transform: uppercase;
  font-size: 15px;
}

.article-tags-share {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid #eef2f0;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 15px;
}

.article-tags,
.article-share {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tag-label,
.share-label {
  font-weight: 800;
  font-size: 13px;
  color: #111111;
  text-transform: uppercase;
}

.tag-item {
  font-size: 13px;
  color: #666666;
  text-decoration: none;
  transition: color 0.2s ease;
}

.tag-item:hover {
  color: var(--primary-green, #2E6E24);
}

.share-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #dddddd;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #555555;
  text-decoration: none;
  transition: all 0.2s ease;
}

.share-btn:hover {
  background-color: var(--primary-green, #2E6E24);
  color: #ffffff;
  border-color: var(--primary-green, #2E6E24);
}

/* Sidebar Mới Nhất */
.news-detail-sidebar {
  width: 100%;
}

.sidebar-recent-block {
  background-color: #f8faf9;
  border: 1px solid #eef2f0;
  border-radius: 12px;
  padding: 24px 20px;
}

.sidebar-recent-title {
  font-size: 16px;
  font-weight: 900;
  color: var(--primary-green, #2E6E24);
  margin: 0 0 20px 0;
  text-transform: uppercase;
  border-bottom: 2px solid var(--primary-green, #2E6E24);
  padding-bottom: 10px;
  letter-spacing: 0.5px;
}

.recent-news-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.recent-news-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.recent-news-img {
  width: 85px;
  height: 65px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  display: block;
}

.recent-news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.recent-news-item:hover .recent-news-img img {
  transform: scale(1.08);
}

.recent-news-info {
  flex-grow: 1;
}

.recent-news-info h4 {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  margin: 0;
}

.recent-news-info h4 a {
  color: #222222;
  text-decoration: none;
  transition: color 0.2s ease;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.recent-news-info h4 a:hover {
  color: var(--primary-red, #c8102e);
}

/* Khối Tin tức liên quan */
.related-news-section {
  margin-top: 40px;
  padding-top: 20px;
}

/* Responsive for News Detail Page */
@media (max-width: 992px) {
  .news-detail-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .sidebar-recent-block {
    margin-top: 20px;
  }
}

@media (max-width: 576px) {
  .news-article-title {
    font-size: 18px;
  }

  .article-contact-box {
    padding: 16px 18px;
  }

  .article-tags-share {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   CONTACT PAGE STYLES (TRANG LIÊN HỆ - LIENHE.HTML)
   ========================================================================== */
.contact-page-main {
  padding: 40px 0 60px 0;
  background-color: #ffffff;
}

.contact-section-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 50px;
  margin-bottom: 50px;
  align-items: start;
}

.contact-block-title {
  font-size: 16px;
  font-weight: 800;
  color: #111111;
  margin: 0 0 25px 0;
  text-transform: uppercase;
  letter-spacing: 0.2px;
  line-height: 1.4;
}

/* Contact Info Left Block */
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--primary-green, #2E6E24);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(46, 110, 36, 0.25);
}

.contact-info-text {
  flex-grow: 1;
}

.contact-info-text .info-label {
  font-size: 14px;
  font-weight: 800;
  color: #111111;
  margin: 0 0 4px 0;
}

.contact-info-text .info-val {
  font-size: 14px;
  color: #444444;
  margin: 0;
  line-height: 1.5;
}

/* Contact Form Right Block */
.contact-form-element {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  position: relative;
  width: 100%;
}

.input-with-icon {
  position: relative;
  width: 100%;
}

.input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #999999;
  font-size: 14px;
  pointer-events: none;
}

.form-input {
  width: 100%;
  height: 44px;
  padding: 10px 16px 10px 42px;
  border: 1px solid #dcdcdc;
  border-radius: 6px;
  font-size: 13.5px;
  color: #333333;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  background-color: #ffffff;
}

.form-input:focus {
  border-color: var(--primary-green, #2E6E24);
  box-shadow: 0 0 0 3px rgba(46, 110, 36, 0.12);
}

.textarea-wrapper .input-icon {
  top: 16px;
  transform: none;
}

.form-textarea {
  width: 100%;
  padding: 12px 16px 12px 42px;
  border: 1px solid #dcdcdc;
  border-radius: 6px;
  font-size: 13.5px;
  color: #333333;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  resize: vertical;
  min-height: 115px;
  background-color: #ffffff;
  font-family: inherit;
}

.form-textarea:focus {
  border-color: var(--primary-green, #2E6E24);
  box-shadow: 0 0 0 3px rgba(46, 110, 36, 0.12);
}

.btn-submit-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--primary-green, #2E6E24);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 12px 32px;
  border-radius: 25px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(46, 110, 36, 0.25);
}

.btn-submit-contact:hover {
  background-color: #23541b;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(46, 110, 36, 0.35);
}

/* Map Section */
.contact-map-section {
  margin-top: 40px;
}

.contact-map-wrapper {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  height: 450px;
}

.contact-map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Responsive for Contact Page */
@media (max-width: 992px) {
  .contact-section-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 576px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .contact-map-wrapper {
    height: 320px;
  }
}
