/* ============================================================
   Thu Mua Nhôm Kính Hà Nội — Main Stylesheet
   Stack: Bootstrap 5 + Custom CSS
   Primary: #0d6efd | Accent: #ff6b00
   ============================================================ */

/* --- GOOGLE FONT ------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;700;800;900&display=swap');

/* --- CUSTOM PROPERTIES ------------------------------------- */
/* ===== COLOR SYSTEM CHUẨN ===== */
/* --- OPTIMIZED COLOR SYSTEM -------------------------------- */
:root {
  /* Primary Colors - Blue & Green Theme */
  --primary: #0891b2;
  /* Cyan 600 - Professional, clean */
  --primary-light: #06b6d4;
  /* Cyan 500 */
  --primary-dark: #0e7490;
  /* Cyan 700 */
  --primary-hover: #155e75;
  /* Cyan 800 */

  /* Accent Colors - Warm Orange */
  --accent: #f97316;
  /* Orange 500 - Vibrant, attention-grabbing */
  --accent-light: #fb923c;
  /* Orange 400 */
  --accent-dark: #ea580c;
  /* Orange 600 */
  --accent-hover: #c2410c;
  /* Orange 700 */

  /* Success & Status */
  --success: #10b981;
  /* Emerald 500 */
  --warning: #f59e0b;
  /* Amber 500 */
  --danger: #ef4444;
  /* Red 500 */
  --info: #3b82f6;
  /* Blue 500 */

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%);
  --gradient-accent: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
  --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  --gradient-hero: linear-gradient(135deg, rgba(8, 145, 178, 0.95) 0%, rgba(6, 182, 212, 0.85) 100%);

  /* Neutral Colors */
  --dark: #0f172a;
  /* Slate 900 */
  --dark-light: #1e293b;
  /* Slate 800 */
  --gray-900: #0f172a;
  --gray-800: #1e293b;
  --gray-700: #334155;
  --gray-600: #475569;
  --gray-500: #64748b;
  --gray-400: #94a3b8;
  --gray-300: #cbd5e1;
  --gray-200: #e2e8f0;
  --gray-100: #f1f5f9;
  --gray-50: #f8fafc;

  /* Background Colors */
  --body-bg: #f8fafc;
  --white: #ffffff;

  /* Text Colors */
  --text: #1e293b;
  /* Slate 800 */
  --text-light: #334155;
  /* Slate 700 */
  --text-muted: #64748b;
  /* Slate 500 */
  --text-disabled: #94a3b8;
  /* Slate 400 */

  /* Border Colors */
  --border: #e2e8f0;
  /* Slate 200 */
  --border-light: #f1f5f9;
  /* Slate 100 */
  --border-dark: #cbd5e1;
  /* Slate 300 */

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-full: 9999px;
}

/* --- BASE -------------------------------------------------- */
/* --- BASE STYLES ------------------------------------------- */
* {
  scroll-behavior: smooth;
}

body {
  font-family: 'Be Vietnam Pro', sans-serif;
  color: var(--text);
  background-color: var(--body-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  transition: color .2s;
}

img {
  max-width: 100%;
}

/* --- TOPBAR ----------------------------------------------- */
.topbar {
  background: var(--dark);
  color: #94a3b8;
  font-size: .82rem;
  padding: 8px 0;
}

.topbar a {
  color: #94a3b8;
}

.topbar a:hover {
  color: #fff;
}

.topbar .accent-icon {
  color: var(--accent);
}

/* --- NAVBAR ----------------------------------------------- */
.navbar-main {
  background: #fff !important;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .08);
  padding: 12px 0;
  transition: box-shadow .3s, padding .3s;
}

.navbar-main.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, .12);
  padding: 8px 0;
}

.brand-icon {
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: #fff;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.brand-title {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--text);
  line-height: 1.1;
  letter-spacing: -.01em;
}

.brand-sub {
  font-size: .58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--primary);
}

.navbar-main .nav-link {
  font-weight: 600;
  color: #475569;
  padding: 6px 14px;
  border-radius: 8px;
  transition: color .2s, background .2s;
}

.navbar-main .nav-link:hover,
.navbar-main .nav-link.active {
  color: var(--primary);
  background: rgba(13, 110, 253, .07);
}

/* Call button in nav */
.btn-nav-call {
  background: var(--accent);
  color: #fff !important;
  font-weight: 700;
  border-radius: 50px;
  padding: 8px 20px;
  transition: background .2s, color .2s, transform .15s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-nav-call:hover {
  background: var(--accent-dark);
  color: #fff !important;
  transform: scale(1.04);
}

/* --- PAGE HERO (inner pages) ------------------------------ */
.page-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
  color: #fff;
  padding: 64px 0 44px;
}

.page-hero h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  margin-bottom: 10px;
}

.page-hero .breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
}

.page-hero .breadcrumb-item,
.page-hero .breadcrumb-item a {
  color: rgba(255, 255, 255, .65);
  font-size: .88rem;
}

.page-hero .breadcrumb-item a:hover {
  color: var(--accent);
}

.page-hero .breadcrumb-item.active {
  color: var(--accent);
}

.page-hero .breadcrumb-item+.breadcrumb-item::before {
  color: rgba(255, 255, 255, .35);
}

/* --- SECTION LABELS --------------------------------------- */
.section-badge {
  display: inline-block;
  background: rgba(13, 110, 253, .1);
  color: var(--primary);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  padding: 5px 16px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.section-badge.accent {
  background: rgba(255, 107, 0, .12);
  color: var(--accent);
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.2;
}

.section-divider {
  width: 56px;
  height: 4px;
  background: var(--accent);
  border-radius: 4px;
  display: block;
  margin-bottom: 16px;
}

.section-divider.center {
  margin-left: auto;
  margin-right: auto;
}

.section-sub {
  color: var(--text-muted);
  font-size: .97rem;
  max-width: 560px;
}

/* --- BUTTONS ---------------------------------------------- */
.btn-primary-cta {
  background: var(--accent);
  color: #fff !important;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 14px 30px;
  border-radius: 14px;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 0 24px rgba(249, 115, 22, .4);
  text-decoration: none;
  transition: all .2s;
}

.btn-primary-cta:hover {
  background: var(--accent-dark);
  color: #fff !important;
  transform: scale(1.03);
  box-shadow: 0 0 32px rgba(234, 88, 12, .45);
  text-decoration: none;
}

.btn-outline-cta {
  background: rgba(255, 255, 255, .12);
  border: 1.5px solid rgba(255, 255, 255, .35);
  color: #fff !important;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 14px 28px;
  border-radius: 14px;
  backdrop-filter: blur(6px);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all .2s;
}

.btn-outline-cta:hover {
  background: #fff;
  border-color: #fff;
  color: var(--accent-dark) !important;
  text-decoration: none;
}

/* Hero CTA: giữ 3 nút trên 1 hàng (desktop) */
.hero-cta-row {
  flex-wrap: nowrap;
  align-items: center;
}

.hero-cta-row .btn-primary-cta,
.hero-cta-row .btn-outline-cta {
  white-space: nowrap;
  flex: 0 0 auto;
}

@media (max-width: 991.98px) {
  .hero-cta-row {
    flex-wrap: wrap;
  }
}

.btn-accent {
  background: var(--accent-gradient);
  color: #fff;
  font-weight: 700;
  padding: 10px 26px;
  border-radius: 10px;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background .2s;
}

.btn-accent:hover {
  background: var(--accent-gradient-dk);
  color: #fff;
}

.btn-primary-solid {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  padding: 10px 26px;
  border-radius: 10px;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background .2s;
}

.btn-primary-solid:hover {
  background: var(--primary-dk);
  color: #fff;
}

.btn-outline-primary-solid {
  background: transparent;
  color: var(--primary);
  font-weight: 700;
  padding: 10px 26px;
  border-radius: 10px;
  border: 2px solid var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all .2s;
}

.btn-outline-primary-solid:hover {
  background: var(--primary);
  color: #fff;
}

/* --- HERO SECTION ----------------------------------------- */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(15, 23, 42, .93) 50%, rgba(15, 23, 42, .65));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
}

.badge-tag {
  display: inline-block;
  background: rgba(13, 110, 253, .2);
  border: 1px solid rgba(13, 110, 253, .5);
  color: #93c5fd;
  border-radius: 50px;
  padding: 6px 18px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  margin-bottom: 20px;
}

.hero-headline {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 20px;
}

.hero-headline .highlight {
  color: var(--accent);
}

.hero-sub {
  font-size: 1.05rem;
  color: #cbd5e1;
  line-height: 1.75;
  margin-bottom: 32px;
}

.hero-checks {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.hero-checks span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .88rem;
  color: #94a3b8;
}

.icon-check {
  color: #4ade80;
}

/* --- SERVICE CARDS ---------------------------------------- */
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 28px;
  height: 100%;
  transition: box-shadow .3s, transform .3s;
}

.service-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, .09);
  transform: translateY(-6px);
}

.service-icon {
  width: 68px;
  height: 68px;
  background: rgba(13, 110, 253, .1);
  color: var(--primary);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 20px;
  transition: transform .3s;
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.service-card p {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

/* Service detail card (services.html) */
.service-detail-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  height: 100%;
  transition: box-shadow .3s, transform .3s;
}

.service-detail-card:hover {
  box-shadow: 0 16px 40px rgba(0, 0, 0, .09);
  transform: translateY(-5px);
}

.service-detail-card .card-img-wrap {
  overflow: hidden;
  height: 220px;
}

.service-detail-card .card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s;
}

.service-detail-card:hover .card-img-wrap img {
  transform: scale(1.07);
}

.service-detail-card .card-body {
  padding: 28px;
}

.service-detail-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.service-detail-card p {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 14px;
}

.service-detail-card ul {
  padding-left: 18px;
  margin-bottom: 0;
}

.service-detail-card ul li {
  font-size: .87rem;
  color: #475569;
  margin-bottom: 6px;
}

/* --- WHY CHOOSE US ---------------------------------------- */
.why-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.why-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: rgba(255, 107, 0, .1);
  color: var(--accent);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.why-item h4 {
  font-size: .97rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.why-item p {
  font-size: .85rem;
  color: var(--text-muted);
  margin: 0;
}

/* --- PRICE TABLE ------------------------------------------ */
.price-section {
  background: #243252;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.price-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("{{ asset('frontend/images/aaaaaa.jpg') }}") center/cover;
  opacity: .06;
}

.price-section::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, .1) 0%, transparent 70%);
  animation: rotateBg 20s linear infinite;
  pointer-events: none;
}

/* Biến thể rõ hơn cho trang bảng giá riêng */
.price-section.price-section-animated::after {
  background: radial-gradient(circle, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, .05) 35%, transparent 72%);
  animation: rotateBg 16s linear infinite;
}

.price-section>.container {
  position: relative;
  z-index: 1;
}

.price-table-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, .3);
}

.price-table-card .table thead th {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  padding: 16px 20px;
  border: none;
  font-size: .95rem;
}

.price-table-card .table tbody td {
  padding: 14px 20px;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid #f1f5f9;
  font-size: .92rem;
}

.price-table-card .table tbody tr:last-child td {
  border-bottom: none;
}

.price-table-card .table tbody tr:hover td {
  background: #f8fafc;
}

.price-amount {
  color: var(--accent);
  font-weight: 800;
}

.price-table-footer {
  background: #f8fafc;
  padding: 18px 20px;
  border-top: 1px solid var(--border);
}

/* Pricing plan cards (pricing.html) */
.pricing-card {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 20px;
  padding: 36px 28px;
  text-align: center;
  height: 100%;
  transition: all .3s;
  position: relative;
}

.pricing-card:hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, .1);
  transform: translateY(-6px);
}

.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 16px 48px rgba(255, 107, 0, .2);
}

.pricing-card .featured-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 4px 16px;
  border-radius: 50px;
  white-space: nowrap;
}

.pricing-card .pricing-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 16px;
}

.pricing-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.pricing-card .price-range {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 4px;
}

.pricing-card .price-unit {
  font-size: .82rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 24px;
  text-align: left;
}

.pricing-card ul li {
  font-size: .88rem;
  color: #475569;
  padding: 7px 0;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pricing-card ul li:last-child {
  border-bottom: none;
}

.pricing-card ul li i {
  color: #10b981;
  font-size: .8rem;
  flex-shrink: 0;
}

/* --- PROCESS STEPS ---------------------------------------- */
.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-circle {
  width: 88px;
  height: 88px;
  background: #fff;
  border: 4px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
  margin: 0 auto 20px;
  box-shadow: 0 8px 24px rgba(13, 110, 253, .2);
  position: relative;
}

.step-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 26px;
  height: 26px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: .62rem;
}

.process-step h3 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.process-step p {
  font-size: .85rem;
  color: var(--text-muted);
  max-width: 190px;
  margin: 0 auto;
}

.process-connector {
  display: none;
}

@media (min-width: 992px) {
  .process-connector {
    display: block;
    position: absolute;
    top: 44px;
    left: calc(50% + 48px);
    width: calc(100% - 96px);
    height: 2px;
    background: rgba(13, 110, 253, .2);
    z-index: 0;
  }
}

/* --- GALLERY ---------------------------------------------- */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  aspect-ratio: 4/3;
  background: #e2e8f0;
  cursor: zoom-in;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .3s;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, .2);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.15rem;
}

/* --- CTA BANNER ------------------------------------------- */
.cta-banner {
  background: var(--gradient-primary);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, .1) 0%, transparent 70%);
  animation: rotateBg 20s linear infinite;
  pointer-events: none;
}

.cta-banner h2 {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 900;
  position: relative;
  z-index: 1;
}

.cta-banner h3 {
  position: relative;
  z-index: 1;
}

.cta-banner p {
  font-size: 1.05rem;
  font-weight: 500;
  position: relative;
  z-index: 1;
}

@keyframes rotateBg {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.btn-cta-white {
  background: #fff;
  color: var(--accent);
  font-weight: 900;
  font-size: 1.25rem;
  padding: 16px 40px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .15);
  transition: all .2s;
}

.btn-cta-white:hover {
  background: #fff7f0;
  color: var(--accent-dark);
  transform: scale(1.04);
}

/* --- TESTIMONIALS ----------------------------------------- */
.testimonial-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 30px 26px;
  height: 100%;
}

.testimonial-card .stars {
  color: var(--accent);
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.testimonial-card blockquote {
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: .92rem;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 14px;
}

.reviewer-avatar {
  width: 44px;
  height: 44px;
  background: #e2e8f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #64748b;
  font-size: 1rem;
  flex-shrink: 0;
}

.reviewer-name {
  font-weight: 700;
  color: var(--text);
  font-size: .9rem;
}

.reviewer-role {
  font-size: .78rem;
  color: #94a3b8;
}

/* --- NEWS CARDS ------------------------------------------- */
.news-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
  transition: box-shadow .3s, transform .3s;
}

.news-card:hover {
  box-shadow: 0 16px 40px rgba(0, 0, 0, .09);
  transform: translateY(-5px);
}

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

.news-card .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}

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

.news-card .card-body {
  padding: 22px;
}

.news-cat {
  display: inline-block;
  background: rgba(13, 110, 253, .1);
  color: var(--primary);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 10px;
}

.news-cat.accent {
  background: rgba(255, 107, 0, .1);
  color: var(--accent);
}

.news-card h3 {
  font-size: .97rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.45;
}

.news-card p {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 14px;
}

.news-meta {
  font-size: .78rem;
  color: #94a3b8;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.news-meta i {
  color: var(--accent);
}

.news-read-more {
  font-size: .83rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap .2s;
}

.news-read-more:hover {
  gap: 8px;
  color: var(--primary-dk);
}

/* News list row (news.html) */
.news-list-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  transition: box-shadow .3s, transform .3s;
}

.news-list-card:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, .09);
  transform: translateY(-3px);
}

.news-list-card .img-wrap {
  width: 220px;
  min-width: 220px;
  overflow: hidden;
}

.news-list-card .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}

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

.news-list-card .card-body {
  padding: 24px;
}

@media (max-width: 575px) {
  .news-list-card {
    flex-direction: column;
  }

  .news-list-card .img-wrap {
    width: 100%;
    height: 200px;
    min-width: unset;
  }
}

/* --- SIDEBAR ---------------------------------------------- */
.sidebar-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
}

.sidebar-card h4 {
  font-size: .97rem;
  font-weight: 800;
  color: var(--text);
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

.sidebar-post {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
  cursor: pointer;
}

.sidebar-post:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.sidebar-post img {
  width: 72px;
  height: 58px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}

.sidebar-post-title {
  font-size: .83rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 4px;
  transition: color .2s;
}

.sidebar-post:hover .sidebar-post-title {
  color: var(--primary);
}

.sidebar-post-date {
  font-size: .75rem;
  color: #94a3b8;
}

.tag-cloud .tag {
  background: #f1f5f9;
  color: #475569;
  font-size: .77rem;
  padding: 5px 14px;
  border-radius: 50px;
  display: inline-block;
  margin: 4px;
  cursor: pointer;
  transition: all .2s;
  border: none;
}

.tag-cloud .tag:hover {
  background: var(--primary);
  color: #fff;
}

/* --- ARTICLE DETAIL --------------------------------------- */
.article-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 900;
  line-height: 1.25;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: .82rem;
  color: #94a3b8;
}

.article-meta i {
  color: var(--accent);
}

.article-img {
  width: 100%;
  border-radius: 16px;
  max-height: 460px;
  object-fit: cover;
}

.article-body {
  color: #374151;
  line-height: 1.9;
  font-size: .97rem;
}

.article-body h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  margin: 32px 0 12px;
}

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

.article-body ul {
  margin-bottom: 18px;
  padding-left: 20px;
}

.article-body ul li {
  margin-bottom: 8px;
}

.article-body .highlight-box {
  background: rgba(13, 110, 253, .07);
  border-left: 4px solid var(--primary);
  padding: 16px 20px;
  border-radius: 0 10px 10px 0;
  margin: 24px 0;
  font-size: .93rem;
}

.share-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: .85rem;
  border: none;
  cursor: pointer;
  transition: transform .2s;
}

.share-btn:hover {
  transform: scale(1.15);
}

.share-fb {
  background: #1877f2;
}

.share-zalo {
  background: #0068ff;
}

.share-copy {
  background: #64748b;
}

/* --- CONTACT ---------------------------------------------- */
.contact-info-panel {
  background: var(--primary);
  color: #fff;
  padding: 44px 36px;
  border-radius: 20px;
  height: 100%;
}

.contact-info-panel h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.contact-info-panel p.lead {
  color: rgba(255, 255, 255, .8);
}

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

.contact-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: rgba(255, 255, 255, .2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.contact-info-item h5 {
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.contact-info-item p {
  color: rgba(255, 255, 255, .75);
  font-size: .85rem;
  margin: 0;
}

.contact-form-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 44px 36px;
  height: 100%;
}

.contact-form-panel h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 24px;
}

.contact-form-panel label {
  font-size: .82rem;
  font-weight: 600;
  color: #475569;
  margin-bottom: 4px;
  display: block;
}

.contact-form-panel .form-control,
.contact-form-panel .form-select {
  background: #f8fafc;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: .93rem;
  font-family: 'Be Vietnam Pro', sans-serif;
  transition: border-color .2s;
}

.contact-form-panel .form-control:focus,
.contact-form-panel .form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 107, 0, .12);
  outline: none;
}

.btn-submit {
  background: var(--dark);
  color: #fff;
  border: none;
  width: 100%;
  padding: 13px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background .2s;
  font-family: 'Be Vietnam Pro', sans-serif;
}

.btn-submit:hover {
  background: #1e293b;
}

.contact-method-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
  height: 100%;
  transition: all .3s;
}

.contact-method-card:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, .08);
  transform: translateY(-4px);
}

.contact-method-card .method-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  margin: 0 auto 14px;
}

.contact-method-card h5 {
  font-size: .97rem;
  font-weight: 800;
  margin-bottom: 5px;
}

.contact-method-card p {
  font-size: .83rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.contact-method-card a {
  font-size: .93rem;
  font-weight: 700;
  color: var(--primary);
}

/* FAQ */
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-question {
  padding: 16px 20px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  font-size: .95rem;
}

.faq-question i {
  color: var(--primary);
  transition: transform .3s;
  font-size: .85rem;
}

.faq-question.open i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s;
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.faq-answer.open {
  max-height: 300px;
  padding: 0 20px 18px;
}

.map-embed {
  width: 100%;
  height: 360px;
  border-radius: 16px;
  border: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .1);
}

/* --- STATS ------------------------------------------------ */
.stat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px 20px;
  text-align: center;
  transition: all .3s;
}

.stat-card:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, .08);
  transform: translateY(-4px);
}

.stat-number {
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}

.stat-label {
  font-size: .88rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* --- ABOUT ------------------------------------------------ */
.timeline {
  position: relative;
  padding-left: 36px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  margin-bottom: 28px;
}

.timeline-dot {
  position: absolute;
  left: -30px;
  top: 6px;
  width: 14px;
  height: 14px;
  background: var(--primary);
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 0 3px var(--primary);
}

.timeline-year {
  font-size: .75rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 2px;
}

.timeline-title {
  font-size: .97rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
}

.timeline-desc {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.mission-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 30px 24px;
  height: 100%;
}

.mission-card .mission-icon {
  width: 60px;
  height: 60px;
  background: rgba(13, 110, 253, .1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 18px;
}

.mission-card h3 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.mission-card p {
  font-size: .87rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

.cert-badge {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.cert-badge i {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.cert-badge h6 {
  font-size: .9rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.cert-badge p {
  font-size: .77rem;
  color: var(--text-muted);
  margin: 0;
}

/* --- FLOATING BUTTONS ------------------------------------- */
.floating-buttons {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.floating-zalo {
  width: 50px;
  height: 50px;
  background: #0068ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.4rem;
  box-shadow: 0 6px 18px rgba(0, 104, 255, .4);
  transition: transform .2s;
}

.floating-zalo:hover {
  transform: scale(1.1);
  color: #fff;
}

.floating-call-wrap {
  position: relative;
}

.floating-call-wrap::before {
  content: '';
  position: absolute;
  inset: -4px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-ring 1.8s ease-out infinite;
  opacity: .55;
}

.floating-call {
  position: relative;
  width: 58px;
  height: 58px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  box-shadow: 0 8px 24px rgba(255, 107, 0, .5);
  transition: transform .2s;
}

.floating-call:hover {
  transform: scale(1.1);
  color: #fff;
}

@keyframes pulse-ring {
  0% {
    transform: scale(1);
    opacity: .55;
  }

  70% {
    transform: scale(1.7);
    opacity: 0;
  }

  100% {
    transform: scale(1.7);
    opacity: 0;
  }
}

/* --- FOOTER ----------------------------------------------- */
footer {
  background: linear-gradient(135deg, #020617, #0f172a);
  color: #64748b;
  padding: 64px 0 32px;
  border-top: 1px solid #1e293b;
}

footer .footer-brand-title {
  font-size: 1.05rem;
  font-weight: 900;
  color: #fff;
}

footer p {
  font-size: .87rem;
  line-height: 1.75;
}

footer h5 {
  color: #fff;
  font-size: .93rem;
  font-weight: 800;
  margin-bottom: 18px;
}

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

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

.footer-links li a {
  color: #64748b;
  font-size: .87rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color .2s;
}

.footer-links li a:hover {
  color: var(--primary);
}

.footer-links li a::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

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

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .87rem;
  margin-bottom: 12px;
}

.footer-contact-list li i {
  color: var(--primary);
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-contact-list a {
  color: #fff;
  font-weight: 700;
}

.footer-contact-list a:hover {
  color: var(--primary);
}

footer hr {
  border-color: #1e293b;
}

.footer-copy {
  font-size: .8rem;
  color: #475569;
  text-align: center;
}

/* --- SCROLL REVEAL ---------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s ease, transform .65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* --- PAGINATION ------------------------------------------- */
.pagination .page-link {
  color: var(--primary);
  border-color: var(--border);
  font-weight: 600;
  font-size: .88rem;
}

.pagination .page-item.active .page-link {
  background: #b6dde7;
  border-color: var(--primary);
}

/* --- UTILITIES -------------------------------------------- */
.bg-body {
  background-color: var(--body-bg);
}

.bg-dark-hero {
  background: var(--dark);
}

.text-accent {
  color: var(--accent) !important;
}

.text-primary {
  color: var(--primary) !important;
}

.border-accent {
  border-color: var(--accent) !important;
}

.rounded-xl {
  border-radius: 14px !important;
}

.rounded-2xl {
  border-radius: 20px !important;
}

/* ===============================
   MODERN UI OVERRIDE (ANTI-BOOTSTRAP)
   =============================== */

/* ===== NAVBAR - BỎ KIỂU BOOTSTRAP ===== */
.navbar-main {
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, .85) !important;
  border-bottom: 1px solid rgba(0, 0, 0, .04);
}

/* link style mới */
.navbar-main .nav-link {
  position: relative;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 600;
  color: #334155;
  transition: all .25s ease;
}

/* underline từ giữa */
.navbar-main .nav-link::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transform: translateX(-50%);
  transition: .3s;
}

/* hover mới */
.navbar-main .nav-link:hover {
  color: var(--accent);
  transform: translateY(-2px);
}

/* active */
.navbar-main .nav-link.active {
  color: var(--accent);
}

/* show underline */
.navbar-main .nav-link:hover::after,
.navbar-main .nav-link.active::after {
  width: 60%;
}

/* ===== BUTTON - KHÔNG GIỐNG BOOTSTRAP ===== */
.btn-primary-solid,
.btn-accent,
.btn-primary-cta {
  border-radius: 12px;
  font-weight: 700;
  letter-spacing: .02em;
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}

/* gradient modern */
.btn-primary-solid {
  background: linear-gradient(135deg, #2563eb, #1e3a8a);
  box-shadow: 0 10px 30px rgba(37, 99, 235, .25);
}

.btn-primary-solid:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(37, 99, 235, .35);
}

/* icon animation */
.btn-primary-solid i {
  transition: transform .25s ease;
}

.btn-primary-solid:hover i {
  transform: translateX(5px);
}

/* shine effect */
.btn-primary-solid::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .35), transparent);
  transition: .5s;
}

.btn-primary-solid:hover::before {
  left: 100%;
}

/* ===== CARD - KHÔNG CÒN BOOTSTRAP ===== */
.news-card,
.service-card,
.pricing-card,
.testimonial-card {
  border: none;
  border-radius: 18px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .05);
  transition: transform .35s ease, box-shadow .35s ease;
}

.news-card:hover,
.service-card:hover,
.pricing-card:hover,
.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, .12);
}

/* ===== IMAGE EFFECT ===== */
.news-card img,
.gallery-item img,
.service-detail-card img {
  transition: transform .6s ease;
}

.news-card:hover img,
.gallery-item:hover img,
.service-detail-card:hover img {
  transform: scale(1.1);
}

/* ===== SECTION LOOK HIỆN ĐẠI ===== */
.section-title {
  letter-spacing: -0.02em;
}

.section-badge {
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

/* ===== TABLE MODERN ===== */
.price-table-card {
  border-radius: 18px;
  overflow: hidden;
}

.price-table-card table tbody tr {
  transition: background .25s ease, transform .2s;
}

.price-table-card table tbody tr:hover {
  background: #f1f5f9;
  transform: scale(1.01);
}

/* ===== HERO UPGRADE ===== */
.hero-overlay {
  background: linear-gradient(135deg, rgba(2, 6, 23, .85), rgba(2, 6, 23, .55));
}

/* ===== FLOATING BUTTON ===== */
.floating-call,
.floating-zalo {
  transition: transform .25s ease, box-shadow .25s ease;
}

.floating-call:hover,
.floating-zalo:hover {
  transform: scale(1.15);
}

/* ===== FORM INPUT (GIỐNG SAAS) ===== */
.contact-form-panel .form-control,
.contact-form-panel .form-select {
  border-radius: 12px;
  background: #f1f5f9;
  border: 1.5px solid transparent;
}

.contact-form-panel .form-control:focus,
.contact-form-panel .form-select:focus {
  border-color: var(--accent);
  background: #fff;
}

/* ===== REMOVE BOOTSTRAP FEEL ===== */
.card,
.btn,
.form-control {
  box-shadow: none;
}

.btn-primary-solid {
  background: linear-gradient(135deg, #ff6600, #ff7a1a);
  box-shadow: 0 10px 30px rgba(255, 102, 0, .35);
}

/* override bootstrap */
.btn-primary {
  background: linear-gradient(135deg, #2563eb, #1e40af) !important;
  border: none !important;
}

.text-primary {
  color: #2563eb !important;
}

.bg-primary {
  background: #2563eb !important;
}

.border-primary {
  border-color: #2563eb !important;
}

/* ===============================
   CARD EQUAL HEIGHT PRO
   =============================== */

/* row fix */
.row.g-4 {
  align-items: stretch;
}

/* card full height */
.service-detail-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* body flex */
.service-detail-card .card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* title fix */
.service-detail-card h3 {
  min-height: 48px;
  /* giữ chiều cao đồng đều */
}

/* description clamp */
.service-detail-card p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 66px;
}

/* price luôn nằm đúng vị trí */
.service-detail-card .price {
  margin-top: auto;
  margin-bottom: 10px;
}

/* button luôn dưới cùng */
.service-detail-card .btn-accent {
  margin-top: auto;
}

/* 2 nút nằm ngang đẹp */
.service-detail-card .card-body>a {
  width: 48%;
  display: inline-flex;
  justify-content: center;
}

/* fix spacing button */
.service-detail-card .btn-accent+.btn-accent {
  margin-left: 6px;
}

.btn-primary-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;

  padding: 9px 16px;
  font-size: 13px;
  font-weight: 600;

  color: #2563eb;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.15);

  border-radius: 10px;
  backdrop-filter: blur(6px);

  transition: all 0.25s ease;
}

.btn-primary-all:hover {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;
  transform: translateY(-2px);
}

.hero-section,
#heroCarousel,
#heroCarousel .carousel-inner,
#heroCarousel .carousel-item {
  height: 100%;
  min-height: 520px;
}

#heroCarousel .carousel-item {
  position: relative;
  overflow: hidden;
}

#heroCarousel .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

#heroCarousel .hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

#heroCarousel .hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
}

#heroCarousel .hero-content {
  position: relative;
  z-index: 3;
}

.price-table-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.price-table-card table {
  color: #333;
}

.btn-primary-solid {
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
}

/* ===== SERVICE CARD CLEAN UI ===== */

.service-card {
  background: #fff;
  border-radius: 16px;
  padding: 14px;
  border: 1px solid #f1f5f9;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

/* ===== IMAGE ===== */
.service-img {
  overflow: hidden;
  border-radius: 12px;
}

.service-img img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  transition: 0.4s;
}

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

/* ===== BODY ===== */
.service-body {
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* ===== CATEGORY ===== */
.service-category {
  display: inline-block;
  background: #eff6ff;
  color: #2563eb;
  font-size: 15px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

/* ===== TITLE ===== */
.service-title {
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 6px;
  line-height: 1.4;
}

/* ===== DESC ===== */
.service-desc {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 10px;
}

/* ===== LIST ===== */
.service-info {
  list-style: none;
  padding: 0;
  margin-bottom: 12px;
}

.service-info li {
  font-size: 13px;
  color: #475569;
  margin-bottom: 5px;
  padding-left: 18px;
  position: relative;
}

.service-info li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #22c55e;
  font-weight: bold;
}


/* ===== BUTTON CALL ===== */
.btn-call {
  flex: 1;
  background: #ff6600;
  color: #fff;
  padding: 9px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: 0.2s;
}

.btn-call:hover {
  background: #e65c00;
}

/* pulse effect */
.btn-call::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 8px;
  box-shadow: 0 0 0 0 rgba(255, 102, 0, 0.5);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 102, 0, 0.5);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(255, 102, 0, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 102, 0, 0);
  }
}

/* ===== BUTTON OUTLINE ===== */
.btn-outline {
  flex: 1;
  border: 1px solid #e2e8f0;
  color: #334155;
  padding: 9px;
  border-radius: 8px;
  font-size: 13px;
  text-align: center;
  transition: 0.2s;
}

.btn-outline:hover {
  border-color: #ff6600;
  color: #ff6600;
  background: #fff7f0;
}

/* ===== FIX LINK ===== */
.btn-call,
.btn-outline {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 576px) {
  .service-title {
    font-size: 14px;
  }

  .service-desc {
    font-size: 12px;
  }

  .btn-call,
  .btn-outline {
    font-size: 12px;
    padding: 8px;
  }
}


/* ===== IMAGE + BADGE ===== */
.service-img {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
}

.service-img img {
  width: 100%;
  height: 215px;
  object-fit: cover;
  transition: 0.4s;
}

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

/* badge nổi trên ảnh */
.service-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: #0891b2;
  color: #fff;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 600;
}

/* ===== BODY ===== */
.service-body {
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* ===== TITLE ===== */
.service-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1.4;
  position: relative;
}

/* line nhỏ dưới title */
.service-title::after {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: #ff6600;
  margin-top: 6px;
  border-radius: 2px;
}

/* ===== DESC ===== */
.service-desc {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 12px;
}

/* ===== INFO ===== */
.service-info {
  list-style: none;
  padding: 0;
  margin-bottom: 14px;
}

.service-info li {
  font-size: 13px;
  color: #475569;
  margin-bottom: 5px;
  padding-left: 18px;
  position: relative;
}

.service-info li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #22c55e;
  font-size: 12px;
}

/* ===== ACTION ===== */
.service-actions {
  margin-top: auto;
  display: flex;
  gap: 10px;
}

/* ===== BUTTON CALL ===== */
.btn-call {
  flex: 1;
  background: #ff6600;
  color: #fff;
  padding: 9px;
  border-radius: 8px;
  font-size: 13px;
  text-align: center;
  font-weight: 600;
  position: relative;
  overflow: hidden;
}

.btn-call:hover {
  background: #e65c00;
}

/* pulse nhẹ */
.btn-call::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 8px;
  box-shadow: 0 0 0 0 rgba(255, 102, 0, 0.5);
  animation: pulse 1.6s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 102, 0, 0.5);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(255, 102, 0, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 102, 0, 0);
  }
}

/* ===== BUTTON OUTLINE ===== */
.btn-outline {
  flex: 1;
  border: 1px solid #e2e8f0;
  color: #334155;
  padding: 9px;
  border-radius: 8px;
  font-size: 13px;
  text-align: center;
  transition: 0.25s;
}

.btn-outline:hover {
  border-color: #ff6600;
  color: #ff6600;
  background: #fff7f0;
}

/* =============================================================================
   Tiêu đề sản phẩm / dịch vụ — hover dùng chung (#0e7490 + gạch chân chạy)
   Kích hoạt khi hover cả khối .service-body (mô tả, list…), không chỉ hover lên tiêu đề.
   Markup: .service-body > h3.service-title.title-underline-hover > span.title-underline-hover__text
   ============================================================================= */

.service-title.title-underline-hover::after {
  display: none !important;
  content: none !important;
}

.title-underline-hover {
  cursor: pointer;
  display: inline-block;
  width: 100%;
  max-width: 100%;
  color: #0f172a;
  transition: color 0.25s ease;
}

.title-underline-hover .title-underline-hover__text {
  position: relative;
  display: inline;
}

.title-underline-hover .title-underline-hover__text::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: #0e7490;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-body:hover .title-underline-hover {
  color: #0e7490;
}

.title-underline-hover:focus-visible {
  outline: none;
  color: #0e7490;
}

.service-body:hover .title-underline-hover .title-underline-hover__text::after,
.title-underline-hover:focus-visible .title-underline-hover__text::after {
  transform: scaleX(1);
}

.hero-section,
#heroCarousel,
#heroCarousel .carousel-inner,
#heroCarousel .carousel-item {
  height: 100%;
  min-height: 520px;
}

#heroCarousel .carousel-item {
  position: relative;
  overflow: hidden;
}

#heroCarousel .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

#heroCarousel .hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

#heroCarousel .hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
}

#heroCarousel .hero-content {
  position: relative;
  z-index: 3;
}

.price-table-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.price-table-card table {
  color: #333;
}

.btn-primary-solid {
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
}

/* ===== SERVICE CARD CLEAN UI ===== */

.service-card {
  background: #fff;
  border-radius: 16px;
  padding: 14px;
  border: 1px solid #f1f5f9;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

/* ===== IMAGE ===== */
.service-img {
  overflow: hidden;
  border-radius: 12px;
}

.service-img img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  transition: 0.4s;
}

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

/* ===== BODY ===== */
.service-body {
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* ===== CATEGORY ===== */
.service-category {
  display: inline-block;
  background: #eff6ff;
  color: #2563eb;
  font-size: 15px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

/* ===== TITLE ===== */
.service-title {
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 6px;
  line-height: 1.4;
}

/* ===== DESC ===== */
.service-desc {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 10px;
}

/* ===== LIST ===== */
.service-info {
  list-style: none;
  padding: 0;
  margin-bottom: 12px;
}

.service-info li {
  font-size: 13px;
  color: #475569;
  margin-bottom: 5px;
  padding-left: 18px;
  position: relative;
}

.service-info li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #22c55e;
  font-weight: bold;
}


/* ===== BUTTON CALL ===== */
.btn-call {
  flex: 1;
  background: #ff6600;
  color: #fff;
  padding: 9px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: 0.2s;
}

.btn-call:hover {
  background: #e65c00;
}

/* pulse effect */
.btn-call::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 8px;
  box-shadow: 0 0 0 0 rgba(255, 102, 0, 0.5);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 102, 0, 0.5);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(255, 102, 0, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 102, 0, 0);
  }
}

/* ===== BUTTON OUTLINE ===== */
.btn-outline {
  flex: 1;
  border: 1px solid #e2e8f0;
  color: #334155;
  padding: 9px;
  border-radius: 8px;
  font-size: 13px;
  text-align: center;
  transition: 0.2s;
}

.btn-outline:hover {
  border-color: #ff6600;
  color: #ff6600;
  background: #fff7f0;
}

/* ===== FIX LINK ===== */
.btn-call,
.btn-outline {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 576px) {
  .service-title {
    font-size: 14px;
  }

  .service-desc {
    font-size: 12px;
  }

  .btn-call,
  .btn-outline {
    font-size: 12px;
    padding: 8px;
  }
}


/* ===== IMAGE + BADGE ===== */
.service-img {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
}

.service-img img {
  width: 100%;
  height: 215px;
  object-fit: cover;
  transition: 0.4s;
}

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

/* badge nổi trên ảnh */
.service-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: #0891b2;
  color: #fff;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 600;
}

/* ===== BODY ===== */
.service-body {
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* ===== TITLE ===== */
.service-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1.4;
  position: relative;
}

/* line nhỏ dưới title */
.service-title::after {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: #ff6600;
  margin-top: 6px;
  border-radius: 2px;
}

/* ===== DESC ===== */
.service-desc {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 12px;
}

/* ===== INFO ===== */
.service-info {
  list-style: none;
  padding: 0;
  margin-bottom: 14px;
}

.service-info li {
  font-size: 13px;
  color: #475569;
  margin-bottom: 5px;
  padding-left: 18px;
  position: relative;
}

.service-info li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #22c55e;
  font-size: 12px;
}

/* ===== ACTION ===== */
.service-actions {
  margin-top: auto;
  display: flex;
  gap: 10px;
}

/* ===== BUTTON CALL ===== */
.btn-call {
  flex: 1;
  background: #ff6600;
  color: #fff;
  padding: 9px;
  border-radius: 8px;
  font-size: 13px;
  text-align: center;
  font-weight: 600;
  position: relative;
  overflow: hidden;
}

.btn-call:hover {
  background: #e65c00;
}

/* pulse nhẹ */
.btn-call::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 8px;
  box-shadow: 0 0 0 0 rgba(255, 102, 0, 0.5);
  animation: pulse 1.6s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 102, 0, 0.5);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(255, 102, 0, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 102, 0, 0);
  }
}

/* ===== BUTTON OUTLINE ===== */
.btn-outline {
  flex: 1;
  border: 1px solid #e2e8f0;
  color: #334155;
  padding: 9px;
  border-radius: 8px;
  font-size: 13px;
  text-align: center;
  transition: 0.25s;
}

.btn-outline:hover {
  border-color: #ff6600;
  color: #ff6600;
  background: #fff7f0;
}

.price-name-hover {
  position: relative;
  display: inline-block;
  color: inherit;
  transition: color 0.25s ease;
}

.price-name-hover::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: #0e7490;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.price-table-card tbody tr:hover .price-name-hover {
  color: #0e7490;
}

.price-table-card tbody tr:hover .price-name-hover::after {
  transform: scaleX(1);
}

/* ==========================================================================
   Responsive Stability Patch
   Mục tiêu: giảm xê dịch layout do overflow + transform + width không cố định
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

img,
video,
iframe,
table {
  max-width: 100%;
}

/* Tránh nội dung bảng đẩy tràn màn hình nhỏ */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Ổn định khối CTA hero khi xuống mobile */
@media (max-width: 991.98px) {
  .hero-cta-row {
    width: 100%;
    gap: 10px !important;
  }

  .hero-cta-row .btn-primary-cta,
  .hero-cta-row .btn-outline-cta {
    width: 100%;
    justify-content: center;
    font-size: .96rem;
    padding: 12px 16px;
  }
}

/* Thiết bị touch: bỏ hiệu ứng scale để tránh cảm giác xê dịch */
@media (hover: none) {
  .btn-primary-cta:hover,
  .btn-outline-cta:hover,
  .btn-nav-call:hover,
  .btn-call:hover,
  .service-card:hover,
  .news-card:hover,
  .pricing-card:hover,
  .testimonial-card:hover {
    transform: none !important;
  }
}
