/* ===============================
   GLOBAL SYSTEM - CORPORATE STYLE
=============================== */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  color: #1f2937;
  background: #ffffff;
}

section {
  padding: 60px 0; /* khoảng cách chuẩn tập đoàn */
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Title chuẩn tập đoàn */
.section-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 30px;
  position: relative;
}

.section-title::after {
  content: "";
  width: 60px;
  height: 3px;
  background: #16a34a;
  display: block;
  margin: 15px auto 0;
}
/* ===========================================
   SMART THIỆN NHÂN v10.4.9_PRO – FINAL CLEAN BUILD
   Author: Lê Kiến Giang – Smart Thiện Nhân
   =========================================== */

/* ===== RESET & CƠ BẢN ===== */
* {margin: 0; padding: 0; box-sizing: border-box;}
body {
  font-family: "Segoe UI", Roboto, sans-serif;
  color: #222;
  line-height: 1.6;
  background: #f9f9f9;
}
.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}

/* ===== HEADER ===== */
.site-header {
  background: rgba(11,61,38,0.9);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  box-shadow: 0 3px 8px rgba(0,0,0,0.25);
  backdrop-filter: blur(6px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}
.header {
 position:relative;
 z-index:10000;
}

/* Lazy load cho ảnh thường */
main img[loading="lazy"] {
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Khi ảnh load xong */
img.lazyloaded {
  opacity: 1;
  transform: scale(1);
}

/* Slider luôn hiện ảnh */
.hero-slider img {
  opacity: 1 !important;
  transform: none !important;
}

/* ===== LOGO DESKTOP FIX ===== */
.logo-left img{
  height:50px;     /* nhỏ lại cho gọn */
  width:auto;
  display:block;
  object-fit:contain;
}
/* ===== SLOGAN ===== */
.slogan-3d {
  display: inline-block;
  font-family: "Segoe UI", Roboto, sans-serif;
  font-size: 23px;
  font-weight: 900;
  text-transform: uppercase;
  text-align: center;
  background: linear-gradient(90deg,#ff6600,#ff0000,#33cc33,#ff6600);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 400%;
  animation: moveGradient 4s linear infinite;
  text-shadow: 0 0 4px rgba(255,255,255,0.2);
  filter: contrast(1.3) brightness(1.2);
}
@keyframes moveGradient {
  0%{background-position:0% 50%;}
  50%{background-position:100% 50%;}
  100%{background-position:0% 50%;}
}

/* ===== MENU ===== */
.menu {
  display: flex;
  list-style: none;
  gap: 26px;
  margin-right: 10px;
  position: relative;
}
.menu a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  padding: 10px 6px;
  display: inline-block;
  transition: 0.3s;
}
.menu a:hover,
.menu a.active {
  color: #00e676;
  border-bottom: 2px solid #fca311;
}

/* ===== SUBMENU ===== */
.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: rgba(15,45,28,0.96);
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  padding: 8px 0;
  z-index: 1001;
}
.dropdown {position: relative;}
.dropdown:hover > .submenu {display: block;}
.submenu li a {
  display: block;
  padding: 10px 16px;
  color: #fff;
  transition: all 0.25s ease;
}
.submenu li a:hover {
  background: #00c853;
  color: #111;
}

/* ===== MENU ICON MOBILE ===== */
.menu-toggle {
  display: none;
  font-size: 26px;
  color: #fff;
  cursor: pointer;
  padding: 6px 12px;
}

/* ===== MOBILE MENU ===== */

@media (max-width:1024px){

.main-nav{
display:none;
position:absolute;
top:70px;
left:0;
width:100%;
background:#0b3d26;
z-index:999;
}

.main-nav.active{
display:block;
}

}
.main-nav li{
margin-bottom:8px;
}
.main-nav{
transition: all 0.3s ease;
}

/* dropdown icon */

.dropdown>a::after{
content:"▸";
float:right;
transition:transform 0.3s;
}

/* icon xoay */

.dropdown.open>a::after{
transform:rotate(90deg);
}

/* submenu */

.submenu{
display:none;
position:static;
background:rgba(255,255,255,0.08);
border-radius:8px;
margin:8px 0 10px 14px;
padding:8px 14px;
box-shadow:inset 0 0 8px rgba(0,0,0,0.15);
}

/* khi mở */

.dropdown.open>.submenu{
display:block;
}

/* submenu link */

.submenu li a{
font-size:15.5px;
color:#f1f1f1;
display:block;
padding:6px 0;
}

}
/* ===========================================
   FORM LIÊN HỆ POPUP – ĐẸP CHUẨN SMART
   =========================================== */
.overlay {
  position: fixed;top:0;left:0;width:100%;height:100%;
  background: rgba(0,0,0,0.6);
  display:none;z-index:9998;
  backdrop-filter:blur(3px);
}
.contact-modal {
  position: fixed;top:50%;left:50%;
  transform: translate(-50%, -50%);
  width: 90%;max-width: 420px;
  background: linear-gradient(145deg,#0b3d26,#176d45);
  border-radius: 18px;
  padding: 28px 26px;
  box-shadow: 0 0 22px rgba(0,0,0,0.45), inset 0 0 10px rgba(255,255,255,0.05);
  z-index:9999;display:none;
  animation: popupFadeIn 0.35s ease-out forwards;
}
.contact-modal h3 {
  text-align:center;color:#fff;font-weight:800;font-size:22px;margin-bottom:22px;
}
.contact-modal input,
.contact-modal textarea {
  width:100%;
  padding:12px 16px;
  border-radius:8px;
  border:1px solid rgba(255,255,255,0.35);
  background:rgba(255,255,255,0.18);
  color:#fff;
  font-size:16px;
  font-weight:500;
  text-shadow:0 1px 3px rgba(0,0,0,0.4);
  margin-bottom:14px;
  transition:all 0.3s ease;
  box-shadow:inset 0 1px 3px rgba(0,0,0,0.25);
}
.contact-modal input::placeholder,
.contact-modal textarea::placeholder {
  color:rgba(255,255,255,0.9);
  font-weight:500;
}

.contact-modal label {
  color:#fff;
  font-weight:600;
  text-shadow:0 1px 2px rgba(0,0,0,0.5);
}
.contact-modal input:focus,.contact-modal textarea:focus {
  border-color:#00c853;background:rgba(255,255,255,0.15);
}
.contact-modal button[type="submit"] {
  width:100%;background:linear-gradient(135deg,#ffd54f,#ffb300);
  border:none;color:#222;font-weight:700;border-radius:10px;
  padding:12px 0;font-size:17px;cursor:pointer;
  transition:all 0.25s ease;
}
.contact-modal button[type="submit"]:hover {
  transform:translateY(-2px);
  box-shadow:0 4px 14px rgba(255,193,7,0.45);
}
.contact-modal .close-btn {
  position:absolute;top:10px;right:14px;color:#fff;
  font-size:22px;background:transparent;border:none;cursor:pointer;
}
@keyframes popupFadeIn {
  from{opacity:0;transform:translate(-50%,-45%) scale(0.95);}
  to{opacity:1;transform:translate(-50%,-50%) scale(1);}
}

/* ===========================================
   SMART THIỆN NHÂN – NÚT XEM THÊM 3D ĐỘNG
   =========================================== */
@keyframes lightMove {
  0% { left: -80%; }
  100% { left: 120%; }
}

.btn-3d-green {
  position: relative;
  display: inline-block;
  padding: 10px 22px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(145deg, #00b85c, #00964a);
  border: none;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 6px 0 #006636, 0 10px 20px rgba(0,0,0,0.25);
  transform: translateY(0);
  overflow: visible;
  transition: all 0.25s ease-in-out;
}

/* ✨ Ánh sáng quét qua */
.btn-3d-green::before {
  content: "";
  position: absolute;
  top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0.05) 0%,
    rgba(255,255,255,0.8) 50%,
    rgba(255,255,255,0.05) 100%
  );
  transform: skewX(-25deg);
  animation: lightMove 2.8s linear infinite;
}

/* 🌟 Hiệu ứng hover nổi lên */
.btn-3d-green:hover {
  background: linear-gradient(145deg, #00e676, #00b85c);
  box-shadow: 0 3px 0 #005f33, 0 8px 15px rgba(0,0,0,0.25);
  transform: translateY(3px);
  filter: brightness(1.05);
}

/* 💡 Khi nhấn */
.btn-3d-green:active {
  transform: translateY(5px);
  box-shadow: 0 1px 0 #004f2a;
  filter: brightness(0.95);
}

/* 🌀 Hiệu ứng ánh sáng nhấp nháy nhẹ */
.btn-3d-green::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50px;
  box-shadow: 0 0 20px rgba(0, 255, 100, 0.3);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.btn-3d-green:hover::after {
  opacity: 1;
}

/* 🎨 Biểu tượng trong nút */
.btn-3d-green i {
  margin-right: 8px;
  font-size: 18px;
  vertical-align: middle;
}
/* ===== Căn giữa nút trong mỗi dự án ===== */
.btn-center {
  display: flex;
  justify-content: center;
  margin: 15px 0 25px;
}

/* ===== Nút Xem thêm cam – phối thương hiệu ===== */
.btn-3d-orange {
  position: relative;
  display: inline-block;
  padding: 10px 22px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(145deg, #ff7b00, #e65100);
  border: none;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 6px 0 #b85c00, 0 10px 20px rgba(0,0,0,0.25);
  transform: translateY(0);
  overflow: hidden;
  transition: all 0.25s ease-in-out;
}
.btn-3d-orange::before {
  content: "";
  position: absolute;
  top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0.05) 0%,
    rgba(255,255,255,0.8) 50%,
    rgba(255,255,255,0.05) 100%
  );
  transform: skewX(-25deg);
  animation: lightMove 3s linear infinite;
}
.btn-3d-orange:hover {
  background: linear-gradient(145deg, #ff9800, #f57c00);
  transform: translateY(3px);
  box-shadow: 0 3px 0 #a54700, 0 8px 15px rgba(0,0,0,0.25);
  filter: brightness(1.05);
}
.btn-3d-orange:active {
  transform: translateY(5px);
  box-shadow: 0 1px 0 #8a3f00;
  filter: brightness(0.95);
}

/* ===== FIX 3 GẠCH MENU MOBILE – NỔI RÕ NỀN ===== */
@media(max-width:768px){
  .menu-toggle {
    display:flex !important;
    align-items:center;
    justify-content:center;
    background:rgba(255,255,255,0.25); /* nền trắng mờ */
    border:1px solid rgba(255,255,255,0.3);
    border-radius:10px;
    padding:10px;
    color:#fff;
    font-size:25px;
    box-shadow:0 0 6px rgba(0,0,0,0.4);
    z-index:1100;
    transition:all 0.25s ease;
  }
  .menu-toggle:hover {
    background:rgba(255,255,255,0.4);
    transform:scale(1.05);
  }
  .menu-toggle i {
    color:#fff;
    text-shadow:0 0 6px rgba(0,0,0,0.6);
  }
}

/* ===========================================
   🔰 ICON LIÊN HỆ NỔI – ZALO / MESS / CALL / SMS
   =========================================== */
.contact-floating{
right:14px;
bottom:80px;
display:flex;
flex-direction:column;
gap:12px;
z-index:9999;
}

/* ---- KIỂU CHUNG ---- */
.float-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  transition: all 0.3s ease;
  position: relative;
  background: #0b3d26;
}

.float-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(0,255,150,0.5);
}

/* 🔵 ZALO */
.zalo {
  background: #0068ff;
}
.zalo .zalo-icon {
  font-size: 25px;
}

/* 💬 MESSENGER */
.messenger {
  background: transparent;
  box-shadow: none;
  width: 58px;
  height: 58px;
}
.messenger-logo {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 12px rgba(0,0,0,0.25);
  transition: all 0.3s ease;
}
.messenger-logo:hover {
  transform: scale(1.12);
  box-shadow: 0 0 18px rgba(155,80,255,0.85);
}

/* 🔴 PHONE */
.phone {
  background: #e53935;
}
.phone i {
  font-size: 22px;
}

/* 🟡 SMS */
.sms {
  background: #fbc02d;
  color: #000;
}
.sms i {
  font-size: 22px;
}

/* 💫 Hiệu ứng nhịp tim */
@keyframes pulseIcon {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}
.float-icon {
  animation: pulseIcon 2.8s infinite ease-in-out;
}

/* 📱 MOBILE VIEW – ẨN CHỮ ZALO */
@media(max-width:768px){
  .zalo .zalo-text { display: none !important; }
  .zalo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
  }
}
/* ===========================================
   🔧 FIX MENU: ẨN MŨI TÊN & DẤU CHẤM SUBMENU
   Version: v10.4.9_PRO_FIXMENU
   =========================================== */

/* 🟢 1. Bỏ mũi tên (▸ / ▼ / ▶) trong menu PC & Mobile */
.dropdown > a::after,
.dropdown.open > a::after {
  content: none !important;
}

/* Nếu icon mũi tên là thẻ <i> trong HTML */
.menu i.fa-chevron-down,
.menu i.fa-angle-down,
.menu i.fa-caret-down,
.menu i.fa-chevron-right,
.menu i.fa-angle-right {
  display: none !important;
}

/* 🟢 2. Bỏ dấu chấm tròn trước submenu */
.submenu li,
.main-nav .submenu li {
  list-style-type: none !important;
}
.submenu li::marker {
  content: none !important;
}

/* Xóa khoảng trống thụt lề còn lại, căn đều chữ */
.submenu li a {
  position: relative;
}

/* ===== CỘT 1: ĐỊA CHỈ ===== */
.smart-footer .footer-col:first-child h3.footer-title{
white-space:normal;
font-size:17px;
}
@media (max-width:768px){

.footer-top{
grid-template-columns:1fr;
gap:25px;
}

.footer-col{
padding:0;
}

}

/* ===== CỘT 3: MAP ===== */
.footer-container{
    max-width:1200px;
    margin:0 auto;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
  .smart-footer .footer-grid {
    grid-template-columns: 1fr;
  }
  .smart-footer .footer-col {
    padding-left: 0 !important;
    text-align: left;
  }
}
/* ===== Giữ nguyên 1 dòng cho Văn phòng giao dịch ===== */
.smart-footer p strong {
  white-space: normal;
}

/* ===== Cố định hotline + email trên 1 dòng ===== */
.smart-footer .contact-inline {
  white-space: normal;
}

.smart-footer .contact-inline a {
  color: #e0e0e0;
  text-decoration: none;
  transition: color 0.3s ease;
}
.smart-footer .contact-inline a:hover {
  color: #00e676;
  text-decoration: underline;
}
/* ===========================================
   🧭 FOOTER – 2 CỘT TRÊN + MAP + BẢN QUYỀN
   =========================================== */
.smart-footer {
  background: linear-gradient(180deg, #0b3d26, #092e1e);
  color: #f2f2f2;
  font-size: 15px;
  margin-top: 60px;
  padding-top: 50px;
  border-top: 4px solid #00c853;
}

.smart-footer .footer-row {
  width: 100%;
  margin-bottom: 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.footer-title{
  white-space: normal;
}

.footer-col {
  line-height: 1.7;
}
.footer-title {
  font-size: 17px;
  font-weight: 700;
  color: #ffcc33;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 6px;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {margin-bottom: 8px;}
.footer-links a {
  color: #e0e0e0;
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-links a:hover {color: #00e676;}

/* Hotline + email 1 dòng */
.contact-inline{
  white-space: normal;
}
.contact-inline a {
  color: #e0e0e0;
  text-decoration: none;
}
.contact-inline a:hover {
  color: #00e676;
  text-decoration: underline;
}

/* ===========================================
   🧭 FOOTER MAP – CLICK TO OPEN GOOGLE MAPS
   =========================================== */
.map-box {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(0,0,0,0.35);
}

.map-box iframe {
  display: block;
  width: 100%;
  height: 260px;
  border: none;
  border-radius: 10px;
}

/* ✅ Lớp link phủ lên toàn bộ khung map */
.map-overlay-link {
  position: absolute;
  inset: 0;
  z-index: 5;
  cursor: pointer;
  background: transparent;
}

/* Hiệu ứng hover nhẹ để người dùng biết map có thể click */
.map-box:hover iframe {
  filter: brightness(1.1);
  transition: filter 0.3s ease;
}

/* 📱 Mobile vẫn click mở app Google Maps */
@media (max-width: 768px) {
  .map-box iframe {
    height: 220px;
  }
}


/* ===========================================
   📱 SmartThiệnNhân v10.7.3_PRO_FooterWrapFix
   =========================================== */
.smart-footer .company-info p,
.smart-footer .company-info .footer-title {
  white-space: normal !important;    /* Cho phép xuống dòng tự nhiên */
  overflow: visible !important;      /* Không cắt chữ */
  text-overflow: unset !important;   /* Hiển thị đầy đủ */
  word-break: break-word !important; /* Tự ngắt dòng khi dài */
}

/* Giữ căn trái, không bị ép khung nhỏ */
.smart-footer .company-info {
  padding-left: 8px;
  padding-right: 8px;
}

@media (max-width: 768px) {
  .smart-footer .company-info p,
  .smart-footer .company-info .footer-title {
    text-align: left !important;
    line-height: 1.6;
    font-size: 15.5px;
  }
  .smart-footer .company-info {
    padding-left: 10px;
    padding-right: 10px;
  }
}
/* =========================
   FIX CÂN ĐỐI PROJECT CARD
========================= */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
/* MOBILE */
@media (max-width:768px){
.projects-grid{
grid-template-columns:1fr;
}
}

.project-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.project-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* tiêu đề cố định chiều cao */
.project-content h3 {
  font-size: 18px;
  min-height: 55px;
}

/* nội dung giãn đều */
.project-content p {
  flex-grow: 1;
}

/* nút luôn nằm đáy */
.project-content .btn-center {
  margin-top: auto;
}
/* ===== PAGINATION ===== */

.pagination{
  text-align:center;
  margin-top:40px;
}

.pagination button{
  padding:8px 14px;
  margin:0 5px;
  border:none;
  border-radius:6px;
  background:#0d6efd;
  color:#fff;
  cursor:pointer;
  transition:0.3s;
}

.pagination button:hover{
  background:#ff6600;
}

/* ===========================================
   SMART THIỆN NHÂN – SLIDER STABLE v2
=========================================== */

.hero-slider {
position: relative;
width: 100%;
height: 75vh;
min-height: 480px;
overflow: hidden;
background: #000;
}

.hero-slider .slide {
position: absolute;
inset: 0;
opacity: 0;
z-index: 1;
transition: opacity 1.2s ease-in-out;
}

.hero-slider .slide.active {
opacity: 1;
z-index: 5;
}

.hero-slider img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
position: absolute;
inset: 0;
z-index: 2;
}


.hero-slider img{
position:absolute;
inset:0;
width:100%;
height:100%;
object-fit:cover;
z-index:2;   /* ảnh nằm trên overlay */
}

.overlay-slide{
position:absolute;
top:50%;
left:50%;
transform:translate(-50%,-50%);
z-index:3;
}
/* ==== TIÊU ĐỀ ==== */
.overlay-slide h2 {
  font-size: 3rem;
  font-weight: 900;
  color: #00e676;
  text-transform: uppercase;
  margin-bottom: 8px;
  animation: fadeUp 1s ease forwards;
}

.overlay-slide p {
  font-size: 1.4rem;
  font-weight: 600;
  color: #ff9800;
  animation: fadeUp 1.5s ease forwards;
}

/* ==== FADE UP ==== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==== HOTLINE BUTTON ==== */
.hotline-btn {
  display: inline-block;
  margin-top: 18px;
  padding: 12px 26px;
  border-radius: 50px;
  font-weight: 900;
  font-size: 1.1rem;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(145deg,#c62828,#f44336);
  box-shadow: 0 6px 18px rgba(255,0,0,0.4);
  transition: all .3s ease;
}

.hotline-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(255,0,0,0.6);
}

/* ==== NÚT CHUYỂN ==== */
.slider-prev,
.slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  background: rgba(0,0,0,0.4);
  border: none;
  color: #fff;
  font-size: 2rem;
  padding: 10px 16px;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
}

.slider-prev:hover,
.slider-next:hover {
  background: rgba(255,255,255,0.25);
}

.slider-prev { left: 15px; }
.slider-next { right: 15px; }

/* ==== MOBILE ==== */
@media (max-width:768px){
  .hero-slider { height: 65vh; }
  .overlay-slide h2 { font-size: 1.8rem; }
  .overlay-slide p { font-size: 1rem; }
}

/* ===== LOGO MOBILE FIX ===== */
@media (max-width: 768px){

  .logo-left img{
    height:40px;   /* nhỏ lại cho gọn */
  }

  .site-header{
    padding:8px 0;
  }

}

.section-title {
    text-align: center;
    color: #2e7d32; /* xanh giống trên */
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.sub-title {
  text-align: center;
  font-size: 16px;
  letter-spacing: 3px;
  margin-bottom: 30px;
  color: #666;
}

.client-slider {
  overflow: hidden;
  background: #fff;
  padding: 25px 0;
  margin-bottom: 50px;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.client-track {
  display: flex;
  width: max-content;
  animation: scrollLogo 30s linear infinite;
}

.client-item {
  width: 180px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 40px;
}

.client-item img {
  max-height: 80px;
  transition: 0.3s;
}

@keyframes scrollLogo {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.pagination {
  text-align: center;
  margin-top: 40px;
}

.pagination button {
  padding: 8px 14px;
  margin: 0 5px;
  border: none;
  background: #0d6efd;
  color: #fff;
  cursor: pointer;
  border-radius: 6px;
  transition: 0.3s;
}
.client-title{
    margin-top:30px;   /* tăng khoảng cách phía trên */
    margin-bottom:40px; /* khoảng cách xuống logo */
}
.footer-bottom{
  width:100%;
  max-width:100%;
  text-align:center !important;
  margin:0 auto;
  padding:20px 0;
  background:none !important;
}

.footer-bottom p,
.footer-bottom div{
  text-align:center !important;
}
.smart-footer{
  text-align:center;
}

.footer-bottom{
  display:flex;
  justify-content:center;
  align-items:center;
  flex-direction:column;
}
.footer-bottom{
    width:100%;
    text-align:center;
    padding:18px 0;
    font-size:14px;
    color:#555;
    background:#f4f4f4;
}
.footer-bottom{
    color:#00c853 !important;   /* xanh lá chuẩn */
}
/* ===== SERVICES SECTION ===== */

#dichvu {
  background: #0f3d2e;
  padding: 80px 0;
}

.services-wrapper {
  width: 90%;
  margin: auto;
}

.services-slider {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.service-card {
  background: #144d3a;
  color: #fff;
  padding: 30px;
  border-radius: 16px;
  text-align: center;
  transition: 0.3s ease;
  position: relative;
  overflow: visible;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.25);
}

/* Icon */
.service-card .icon i {
  font-size: 30px;
  color: #00e676;
  margin-bottom: 15px;
}

/* Title */
.service-card h3 {
  color: #fff;
  margin-bottom: 10px;
}

/* ===== BUTTON 3D LUÔN NỔI ===== */

.btn-shine {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 28px;
  border-radius: 12px;
  background: linear-gradient(135deg, #00d26a, #ff9f1c);
  color: #fff !important;
  font-weight: 700;
  text-decoration: none !important;
  position: relative;
  z-index: 10;

  box-shadow:
    0 6px 0 #cc7a00,
    0 12px 20px rgba(0,0,0,0.4);

  transition: all 0.25s ease;
}

.btn-shine:hover {
  transform: translateY(-4px);
  box-shadow:
    0 10px 0 #cc7a00,
    0 18px 30px rgba(0,0,0,0.5);
}

.btn-shine:active {
  transform: translateY(2px);
  box-shadow:
    0 3px 0 #cc7a00,
    0 8px 15px rgba(0,0,0,0.3);
}
/* ===== HERO INTRO ===== */

/* ===== HERO INTRO 2 CỘT CÂN ĐỐI ===== */

.hero-intro {
  padding: 90px 0;
  background: linear-gradient(180deg,#f4f8f6,#ffffff);
}

.hero-intro .hero-container {
  width: min(1200px, 92%);
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;   /* 2 ô bằng nhau */
  gap: 60px;
  align-items: center;
}

/* ===== CỘT TRÁI – HÌNH ===== */

.hero-image {
  width: 100%;
  height: 450px;
  border-radius: 20px;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;   /* KHÔNG MÉO */
  display: block;
}

/* ===== CỘT PHẢI – NỘI DUNG ===== */

.hero-content h1 {
  font-size: 34px;
  font-weight: 800;
  color: #0f3d2e;
  margin-bottom: 18px;
}

.hero-content p {
  font-size: 17px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 25px;
}

.hero-content .intro-list span {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
}

/* ===== MOBILE ===== */

@media (max-width: 992px){
  .hero-intro .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-image {
    height: 300px;
  }
}
.services-section {
  padding: 60px 0 30px 0; /* trên 60, dưới 30 */
  text-align: center;
}

.services-title{
  font-size:28px;
  font-weight:800;
  margin-bottom:50px;
}

/* container chứa cả mũi tên + 3 card */
.services-container{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:20px;
  width:min(1200px,92%);
  margin:auto;
}

/* wrapper */
.services-wrapper{
overflow:hidden;
position:relative;
}
.services-container{
position:relative;
}

/* mũi tên */
.service-arrow{
position:absolute;
top:50%;
transform:translateY(-50%);
width:45px;
height:45px;
border-radius:50%;
border:none;
font-size:22px;
cursor:pointer;
background:linear-gradient(135deg,#22c55e,#facc15);
color:#111;
z-index:5;
}

.service-arrow.left{
left:-10px;
}

.service-arrow.right{
right:-10px;
}
@media(max-width:768px){

.service-arrow{
display:flex;
}

}

.services-track{
  display:flex;
  gap:30px;
  transition:transform 0.6s ease;
}

/* mỗi card chiếm 1/3 */
.service-card{
  min-width:calc(33.333% - 20px);
}

/* mũi tên */
.service-arrow{
position:absolute;
top:45%;
transform:translateY(-50%);
background:#16a34a;
color:white;
border:none;
font-size:22px;
width:40px;
height:40px;
border-radius:50%;
cursor:pointer;
z-index:5;
}

.service-arrow.left{
left:-10px;
}

.service-arrow.right{
right:-10px;
}

/* mobile */
@media(max-width:992px){
  .services-container{
    flex-direction:column;
  }

  .service-card{
    min-width:100%;
  }

  .service-arrow{
    display:none;
  }
}
/* ===============================
   FIX CÂN ĐỐI SERVICE CARD
=============================== */

.services-track {
  display: flex;
  gap: 30px;
  align-items: stretch; /* quan trọng */
}

.service-card{
flex:0 0 100%;
scroll-snap-align:center;
}
@media(min-width:768px){

.service-card{
flex:0 0 calc(50% - 20px);
}

}

@media(min-width:1024px){

.services-track{
overflow:hidden;
}

.service-card{
flex:0 0 calc(33.333% - 20px);
}

}
.service-card {
  min-width: calc(33.333% - 20px);
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* đẩy nút xuống đáy */
  padding: 30px 25px;
  border-radius: 15px;
  text-align: center;
}

/* icon cố định chiều cao */
.service-card .icon {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

/* tiêu đề cố định khoảng cách */
.service-card h3 {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 15px 0;
}

/* nội dung cố định chiều cao */
.service-card p {
  flex-grow: 1;
  margin-bottom: 20px;
}

/* nút luôn nằm đáy */
.service-card .btn-shine {
  margin-top: auto;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
/* ===== MOBILE: 1 CARD DỊCH VỤ ===== */

@media (max-width:768px){

.services-grid{
display:flex !important;
overflow:hidden;
}

.service-card{
flex:0 0 100% !important;
max-width:100% !important;
}

}

.zalo-chat,
.messenger-chat,
.phone-call{
right:15px;
}
.service-card {
  background: #0f172a;
  color: white;
  padding: 40px 25px;
  border-radius: 16px;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.service-card p {
  flex-grow: 1;
  margin: 20px 0;
}
.clients-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px;
  align-items: center;
  text-align: center;
}

.clients-grid img {
  max-width: 120px;
  opacity: 0.7;
  transition: 0.3s;
}

.clients-grid img:hover {
  opacity: 1;
  transform: scale(1.05);
}
footer {
  background: #0f172a;
  color: white;
  padding: 60px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.header-slogan {
  white-space: nowrap;
  font-size: 18px;
  font-weight: 600;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 25px;
  white-space: nowrap;
}

.nav-menu a {
  white-space: nowrap;
  font-size: 15px;
}
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-container {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 30px;
}

@media (max-width:768px){
.project-grid{
grid-template-columns:1fr;
}
}
.project-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.project-card .card-body {
  flex: 1;
}
.project-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
}
.project-card h3 {
  font-size: 18px;
  min-height: 50px;
}
.projects-section {
  padding-top: 30px !important;
}
/* FLOATING CONTACT PRO */
.floating-contact-pro {
  position: fixed;
  right: 20px;
  bottom: 100px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 9999;
}

.fc-btn {
  position: relative;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  transition: 0.3s;
  overflow: hidden;
}

.fc-btn img {
  width: 26px;
  height: 26px;
}

.fc-btn span {
  position: absolute;
  right: 70px;
  background: #000;
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 13px;
  opacity: 0;
  transition: 0.3s;
  white-space: nowrap;
}

.fc-btn:hover span {
  opacity: 1;
}

/* ZALO */
.zalo {
  background: #0a8cff;
}

/* MESSENGER */
.messenger {
  background: #0084ff;
}

/* HOTLINE */
.hotline {
  background: #ff3b3b;
  color: #fff;
  font-size: 20px;
  animation: ring 1.5s infinite;
}

/* Hotline rung */
@keyframes ring {
  0% { transform: rotate(0); }
  10% { transform: rotate(15deg); }
  20% { transform: rotate(-15deg); }
  30% { transform: rotate(10deg); }
  40% { transform: rotate(-10deg); }
  50% { transform: rotate(0); }
  100% { transform: rotate(0); }
}
.services-track{
display:flex;
gap:30px;
overflow-x:auto;
scroll-behavior:smooth;
}

/* SLIDER TRANG CHU */
.hero-slider{
position:relative;
width:100%;
height:700px;
overflow:hidden;
}

.slide{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
opacity:0;
transition:opacity 1s ease;
}

.slide.active{
opacity:1;
z-index:5;
}

.slide img{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
object-fit:cover;
z-index:1;
}

.overlay-slide{
position:absolute;
top:50%;
left:50%;
transform:translate(-50%,-50%);
text-align:center;
color:#fff;
z-index:10;
}

/* BUTTON */

.hotline-btn{
background:#ff3b00;
color:#fff;
padding:12px 28px;
border-radius:30px;
text-decoration:none;
font-weight:600;
}

/* ARROW */

.slider-prev,
.slider-next{
position:absolute;
top:50%;
transform:translateY(-50%);
background:rgba(0,0,0,0.4);
border:none;
color:#fff;
font-size:28px;
width:50px;
height:50px;
cursor:pointer;
z-index:5;
}

.slider-prev{ left:20px }
.slider-next{ right:20px }

/* DOT */

.slider-dots{
position:absolute;
bottom:20px;
left:50%;
transform:translateX(-50%);
}

.dot{
height:12px;
width:12px;
margin:0 5px;
background:#ccc;
display:inline-block;
border-radius:50%;
cursor:pointer;
}

.dot.active{
background:#ff3b00;
}
.contact-section{
padding:80px 20px;
background:#f5f7fa;
text-align:center;
}

.contact-title{
font-size:32px;
font-weight:700;
margin-bottom:10px;
}

.contact-sub{
max-width:700px;
margin:auto;
margin-bottom:40px;
color:#555;
}

.contact-container{
max-width:700px;
margin:auto;
}

.contact-form{
display:flex;
flex-direction:column;
gap:15px;
}

.form-group{
position:relative;
}

.form-group i{
position:absolute;
left:12px;
top:50%;
transform:translateY(-50%);
color:#888;
}

.form-group input,
.form-group textarea{
width:100%;
padding:12px 12px 12px 40px;
border:1px solid #ddd;
border-radius:6px;
font-size:15px;
}

.textarea i{
top:20px;
}

textarea{
min-height:120px;
resize:none;
}

.btn-submit{
background:#0a7cff;
color:#fff;
border:none;
padding:14px;
font-size:16px;
border-radius:6px;
cursor:pointer;
transition:0.3s;
}

.btn-submit:hover{
background:#075fcc;
}

/* =================================
   FOOTER RESPONSIVE – SMART TN
================================= */

/* DESKTOP */

.footer-top{
display:grid;
grid-template-columns:1.4fr 1fr 1fr;
gap:35px;
}

/* MOBILE */

@media (max-width:768px){

.footer-top{
grid-template-columns:1fr;
gap:25px;
}

.footer-col{
width:100%;
}

.footer-title{
white-space:normal;
}

.contact-inline{
white-space:normal;
}

.map-box iframe{
height:220px;
}

.smart-footer{
padding:40px 15px;
}

.footer-bottom{
text-align:center;
font-size:13px;
}

}
/* ===========================================
   📱 RESPONSIVE FIX – SMARTPHONE OPTIMIZE
   Smart Thiện Nhân v10.8
=========================================== */

@media (max-width:768px){

/* khoảng cách section nhỏ lại */
section{
padding:40px 0;
}

/* container sát hơn */
.container{
padding:0 16px;
}

/* tiêu đề nhỏ lại */
.section-title{
font-size:24px;
margin-bottom:20px;
}

/* slogan header */
.slogan-3d{
font-size:12px;
line-height:1.3;
}

/* logo */
.logo-left img{
height:44px;
}

/* menu mobile full màn hình */
.main-nav{
width:85%;
max-width:300px;
}

/* menu chữ */
.menu>li>a{
font-size:16px;
}

/* button 3D nhỏ lại */
.btn-3d-green,
.btn-3d-orange{
font-size:15px;
padding:12px 28px;
}

/* icon liên hệ nhỏ hơn */
.float-icon{
width:50px;
height:50px;
}

.messenger-logo{
width:50px;
height:50px;
}

}
@media(max-width:768px){

.footer-top{
grid-template-columns:1fr;
gap:20px;
}

.footer-title{
font-size:16px;
}

.smart-footer{
padding-top:35px;
}

}
/* ===== MOBILE HERO SLIDER ===== */

@media (max-width:768px){

.hero-slider{
height:420px;
}

.hero-slider img{
height:420px;
object-fit:cover;
}

.overlay-slide{
padding:20px;
}

.overlay-slide h2{
font-size:22px;
}

.overlay-slide p{
font-size:14px;
}

}
/* ===== HERO INTRO MOBILE ===== */

@media (max-width:768px){

.hero-container{
grid-template-columns:1fr;
gap:25px;
padding:20px;
}

.hero-content h1{
font-size:22px;
line-height:1.4;
}

.hero-content p{
font-size:15px;
}

.intro-list span{
font-size:14px;
display:block;
margin-bottom:6px;
}

}
/* ===== FLOATING CONTACT ===== */

.floating-contact-pro{
position:fixed;
right:20px;
bottom:100px;
display:flex;
flex-direction:column;
gap:12px;
z-index:9999;
}

.fc-btn{
display:flex;
align-items:center;
justify-content:center;
width:52px;
height:52px;
border-radius:50%;
background:#ffffff;
box-shadow:0 4px 10px rgba(0,0,0,0.25);
cursor:pointer;
}

.fc-btn img{
width:26px;
height:26px;
}

.fc-btn.phone{
background:#ff3b30;
}

.fc-btn.home{
background:#2e7d32;
}
/* ===========================================
   📱 SERVICES SLIDER MOBILE – Smart Thiện Nhân
   =========================================== */

.services-grid{
display:flex;
gap:20px;
overflow:hidden;
position:relative;
transition:transform 0.4s ease;
}

.service-card{
min-width:100%;
flex-shrink:0;
}

/* ===== MŨI TÊN ===== */

.service-nav{
position:absolute;
top:50%;
transform:translateY(-50%);
width:42px;
height:42px;
border-radius:50%;
border:none;
background:rgba(255,255,255,0.9);
color:#0b3d26;
font-size:22px;
font-weight:bold;
cursor:pointer;
box-shadow:0 3px 8px rgba(0,0,0,0.25);
z-index:5;
}

.service-prev{left:-10px;}
.service-next{right:-10px;}

.service-nav:hover{
background:#00c853;
color:#fff;
}

/* ===== DESKTOP GIỮ 3 CARD ===== */

@media(min-width:768px){

.services-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
overflow:visible;
}

.service-card{
min-width:auto;
}

.service-nav{
display:none;
}

}
/* ==========================================
   SERVICES SLIDER – SMART THIỆN NHÂN
========================================== */

.services-slider{
position:relative;
margin-top:40px;
overflow:hidden;
}

.services-track{
display:flex;
gap:24px;
overflow-x:auto;
scroll-behavior:smooth;
scrollbar-width:none;
}

.services-track::-webkit-scrollbar{
display:none;
}

/* CARD */

.service-card{
min-width:320px;
flex:0 0 320px;
background:#0f172a;
color:#fff;
padding:40px 25px;
border-radius:16px;
text-align:center;
transition:all .3s ease;
display:flex;
flex-direction:column;
justify-content:space-between;
}

.service-card:hover{
transform:translateY(-6px);
box-shadow:0 10px 25px rgba(0,0,0,0.35);
}

/* MŨI TÊN */

.service-arrow{
position:absolute;
top:50%;
transform:translateY(-50%);
width:42px;
height:42px;
border-radius:50%;
border:none;
background:#00c853;
color:#fff;
font-size:18px;
cursor:pointer;
display:flex;
align-items:center;
justify-content:center;
box-shadow:0 4px 12px rgba(0,0,0,0.35);
z-index:10;
}

.service-arrow.left{
left:-10px;
}

.service-arrow.right{
right:-10px;
}

.service-arrow:hover{
background:#00e676;
}

/* =========================
   MOBILE
========================= */

@media(max-width:768px){

.services-track{
gap:16px;
padding:0 8px;
}

.service-card{
min-width:100%;
flex:0 0 100%;
}

.service-arrow{
top:45%;
}

}
/* =================================
   SERVICES SLIDER
================================= */

.services-container{
position:relative;
max-width:1200px;
margin:auto;
display:flex;
align-items:center;
}

.services-wrapper{
overflow:hidden;
}

.services-track{
display:flex;
gap:25px;
transition:0.4s;
}

.service-card{
flex:0 0 31%;
}

/* =================================
   MOBILE
================================= */

@media(max-width:768px){

.services-track{
gap:15px;
}

.service-card{
flex:0 0 100%;
max-width:100%;
}

.service-arrow{
display:block;
}

}
/* ===== FIX SLIDER DỊCH VỤ MOBILE ===== */

@media (max-width:768px){

.services-track{
display:flex;
gap:16px;
}

.service-card{
flex:0 0 100% !important;
max-width:100% !important;
}

}
.service-card p{
line-height:1.6;
}
/* ===== FIX SLIDER DỊCH VỤ MOBILE ===== */

@media (max-width:768px){

.services-wrapper{
overflow:hidden;
}

.services-track{
display:flex !important;
gap:15px;
overflow-x:auto;
scroll-snap-type:x mandatory;
}

.service-card{
flex:0 0 100% !important;
max-width:100% !important;
scroll-snap-align:start;
}

.service-arrow{
display:block;
}

}
/* ===== ARROW ĐIỀU HƯỚNG SERVICES ===== */

.services-container{
position:relative;
}

.service-arrow{
position:absolute;
top:50%;
transform:translateY(-50%);
z-index:5;
}

.service-arrow.left{
left:-10px;
}

.service-arrow.right{
right:-10px;
}

/* vị trí trái phải */

.service-arrow.left{
left:-10px;
}

.service-arrow.right{
right:-10px;
}

/* mobile */

@media(max-width:768px){

.service-arrow{
width:38px;
height:38px;
font-size:20px;
}

}
/* CONTAINER */
.services-container{
position:relative;
}

/* MŨI TÊN */
.service-arrow{
position:absolute;
top:50%;
transform:translateY(-50%);
width:44px;
height:44px;
border-radius:50%;
border:none;
background:white;
box-shadow:0 4px 12px rgba(0,0,0,0.15);
cursor:pointer;
display:flex;
align-items:center;
justify-content:center;
z-index:5;
transition:0.3s;
}

.service-arrow i{
font-size:18px;
color:#0f172a;
}

.service-arrow:hover{
background:#16a34a;
}

.service-arrow:hover i{
color:white;
}

/* vị trí */
.service-arrow.left{
left:-20px;
}

.service-arrow.right{
right:-20px;
}
@media(max-width:768px){

.service-arrow{
width:36px;
height:36px;
}

.service-arrow.left{
left:5px;
}

.service-arrow.right{
right:5px;
}

}
/* ===========================================
   SLIDER DỊCH VỤ – FIX MOBILE ARROW
   =========================================== */

.services-container{
position:relative;
display:flex;
align-items:center;
}

.services-wrapper{
overflow:hidden;
width:100%;
}

.services-track{
display:flex;
gap:20px;
overflow-x:auto;
scroll-behavior:smooth;
scroll-snap-type:x mandatory;
}

.service-card{
min-width:300px;
scroll-snap-align:center;
}

/* ===== MŨI TÊN ===== */

.service-arrow{
position:absolute;
top:50%;
transform:translateY(-50%);
width:40px;
height:40px;
border-radius:50%;
border:none;
background:#ffffff;
box-shadow:0 4px 10px rgba(0,0,0,0.25);
display:flex;
align-items:center;
justify-content:center;
font-size:22px;
cursor:pointer;
z-index:20;
}

.service-arrow.left{
left:5px;
}

.service-arrow.right{
right:5px;
}

/* ===== MOBILE ===== */

@media(max-width:768px){

.services-wrapper{
overflow:hidden;
}

.services-track{
overflow-x:auto;
}

.service-arrow{
display:flex !important;
}

}
.services-wrapper{
overflow:hidden;
width:100%;
}

.services-track{
display:flex;
gap:20px;
overflow-x:auto;
scroll-behavior:smooth;
scroll-snap-type:x mandatory;
}

/* MOBILE */
.service-card{
flex:0 0 100%;
scroll-snap-align:center;
}

/* TABLET */
@media (min-width:768px){

.service-card{
flex:0 0 calc(50% - 20px);
}

}

/* DESKTOP */
@media (min-width:1024px){

.service-card{
flex:0 0 calc(33.333% - 20px);
}

.services-track{
overflow:hidden;
}

}
.pagination{
display:flex;
justify-content:center;
align-items:center;
gap:12px;
margin-top:40px;
width:100%;
}

.pagination button{
padding:8px 14px;
border:none;
border-radius:6px;
background:#0d6efd;
color:#fff;
font-weight:600;
cursor:pointer;
transition:0.3s;
}

.pagination button:hover{
transform:translateY(-2px);
box-shadow:0 3px 8px rgba(0,0,0,0.2);
}

.project-pagination{
display:flex;
justify-content:center;
align-items:center;
gap:10px;
margin:30px auto;
width:100%;
text-align:center;
max-width:1200px;
}

.project-pagination a{
display:inline-block;
padding:8px 14px;
background:#2b6edc;
color:#fff;
border-radius:8px;
text-decoration:none;
font-weight:600;
}

.project-pagination a.active{
background:#ff7a00;
}
/* ===== Căn giữa số trang dự án ===== */
/* ===== PAGINATION DỰ ÁN ===== */
.project-pagination{
  width:100%;
  margin:40px auto;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:12px;
}
.project-pagination a{
  display:flex;
  align-items:center;
  justify-content:center;
  width:40px;
  height:40px;
  border-radius:50%;
  background:#f1f5f9;
  color:#111;
  font-weight:600;
  text-decoration:none;
  transition:0.25s;
}

.project-pagination a:hover{
  background:#16a34a;
  color:#fff;
}
/* PAGINATION PROJECT */
.project-pagination{
  grid-column: 1 / -1;   /* chiếm toàn bộ hàng */
  display:flex;
  justify-content:center;
  align-items:center;
  gap:12px;
  margin-top:40px;
}

/* ===== Màu nút home ===== */
.fc-btn.home{
background:#2e7d32;
color:#fff;
border-radius:50px;
box-shadow:0 4px 10px rgba(0,0,0,0.25);
transition:0.3s;
}

.fc-btn.home:hover{
background:#1b5e20;
transform:scale(1.05);
}
/* ===== FIX MENU MOBILE NẰM DỌC ===== */

@media (max-width:768px){

.nav-menu{
display:block !important;
width:100%;
}

.nav-menu li{
display:block !important;
width:100%;
margin:0;
}

.nav-menu a{
display:block;
padding:14px 20px;
border-bottom:1px solid rgba(255,255,255,0.2);
}

}
/* ===== FIX MENU MOBILE NẰM DỌC ===== */

@media (max-width:1024px){

.menu{
flex-direction: column;
gap: 0;
width:100%;
}

.menu li{
width:100%;
border-bottom:1px solid rgba(255,255,255,0.15);
}

.menu a{
display:block;
padding:14px 20px;
width:100%;
}

}

/* ===== MOBILE: 1 CỘT DỰ ÁN ===== */

@media (max-width:768px){

.projects-grid{
grid-template-columns:1fr !important;
gap:25px;
}

.project-card{
width:100%;
}

.project-card img{
width:100%;
height:auto;
}

}
@media (max-width:768px){

.project-card{
padding:15px;
border-radius:14px;
}

.project-card h3{
font-size:20px;
}

.project-card p{
font-size:15px;
line-height:1.5;
}

}

/* ===== CONTAINER CHUẨN TRANG GIỚI THIỆU ===== */

.container{
max-width:1200px;
margin:auto;
padding:0 20px;
}
/* =================================
   FIX TRANG GIỚI THIỆU MOBILE
================================= */

@media (max-width:768px){

.container{
padding:0 14px;
}

.hero-intro{
padding:35px 0;
}

.hero-container{
display:block;
padding:0;
}

.hero-image{
height:200px;
margin-bottom:18px;
}

.hero-image img{
width:100%;
height:100%;
object-fit:cover;
border-radius:10px;
}

.hero-content{
text-align:center;
}

.hero-content h1{
font-size:22px;
line-height:1.4;
margin-bottom:10px;
}

.hero-content p{
font-size:15px;
line-height:1.6;
text-align:justify;
margin-bottom:12px;
}

.intro-list{
margin-top:10px;
}

.intro-list span{
font-size:14px;
margin-bottom:6px;
display:block;
}

}
/* ===== MOBILE SERVICES FULL WIDTH ===== */

@media (max-width:768px){

.services-grid{
display:block;
}

.service-card{
width:100%;
margin-bottom:25px;
}

.service-card img{
width:100%;
height:200px;
object-fit:cover;
}

}
@media (max-width:768px){

.service-card{
padding:20px;
border-radius:12px;
box-shadow:0 8px 20px rgba(0,0,0,0.08);
background:#fff;
}

}
@media (max-width:768px){

.services{
padding:40px 0;
}

}
@media (max-width:768px){

.service-card{
min-height:70vh;
display:flex;
flex-direction:column;
justify-content:center;
}

}
/* ===== SERVICES MOBILE FIX ===== */

@media (max-width:768px){

/* Ẩn mũi tên */
.service-arrow{
display:none;
}

/* bỏ slider */
.services-wrapper{
overflow:visible;
}

.services-track{
display:block;
}

/* mỗi card 1 dòng */
.service-card{
width:100%;
margin-bottom:25px;
padding:22px;
border-radius:12px;
box-shadow:0 6px 20px rgba(0,0,0,0.08);
}

/* icon */
.service-card .icon{
font-size:30px;
margin-bottom:10px;
}

/* tiêu đề */
.service-card h3{
font-size:18px;
margin-bottom:8px;
}

/* mô tả */
.service-card p{
font-size:14px;
line-height:1.6;
}

}
/* MOBILE PROJECT FIX */

@media (max-width:768px){

.projects-grid{
grid-template-columns:1fr;
gap:25px;
}

.project-card img{
width:100%;
height:auto;
}

.project-card h3{
font-size:18px;
}

.project-card p{
font-size:15px;
line-height:1.6;
}

}

/* ===== FIX NÚT XEM CHI TIẾT TRANG DỊCH VỤ ===== */

.service-card .btn-3d-orange{
width:auto !important;
display:inline-block !important;
padding:10px 20px !important;
font-size:16px;
}

.service-card{
align-items:center;
}
/* ===== Căn giữa tiêu đề trong Dự án tiêu biểu ===== */

.project-card h3{
text-align:center;
width:100%;
margin-left:auto;
margin-right:auto;
}
/* ===== Icon Hotline màu đỏ ===== */

.hotline i,
.fa-phone{
color:#ff0000 !important;
}

/* ===== HERO INTRO TRANG DỊCH VỤ ===== */

.hero-content{
max-width:900px;
margin:0 auto;        /* căn giữa */
text-align:center;    /* chữ nằm giữa */
padding:40px 20px;
}

.hero-content h1{
font-size:36px;
line-height:1.4;
margin-bottom:20px;
}

.hero-content p{
font-size:18px;
color:#555;
margin-bottom:25px;
}

.intro-list{
display:flex;
flex-wrap:wrap;
justify-content:center;
gap:12px;
margin-bottom:25px;
}

.intro-list span{
background:#f3f7f4;
padding:8px 14px;
border-radius:30px;
font-size:15px;
}
/* ===== Intro list căn thẳng hàng ===== */

.intro-list{
display:flex;
flex-direction:column;
align-items:center;   /* cả block nằm giữa */
gap:10px;
margin:25px 0;
}

.intro-list span{
display:inline-flex;
align-items:center;
gap:10px;
min-width:420px;   /* giúp các dòng thẳng hàng */
}

.hero-content h1{
font-size:30px;
line-height:1.4;
}

.hero-content h1{
white-space:nowrap;
}
.intro-list{
display:flex;
justify-content:center;
gap:25px;
flex-wrap:wrap;
margin:15px 0;
}

.intro-list{
white-space:nowrap;
}
.hero-section{
margin-bottom:10px !important;
padding-bottom:0 !important;
}

.services-section{
margin-top:5px !important;
padding-top:5px !important;
}
/* GIẢM KHOẢNG CÁCH KHÁCH HÀNG → FOOTER */

.clients,
.partners{
padding-bottom:30px;
margin-bottom:0;
}

/* footer sát lên */
.smart-footer{
margin-top:0;
}
.footer-container{
padding-top:20px;
}
.footer-address{
white-space: nowrap;
}
.footer-col{
min-width:260px;
}
/* Hồ sơ năng lực - chữ 3D nhẹ */
.hsnl-3d{
color:#ffffff;
font-weight:700;
font-size:16px;
text-decoration:none;

/* hiệu ứng nổi */
text-shadow:
0 1px 0 #1b5e20,
0 2px 2px rgba(0,0,0,0.25);

transition:all 0.2s ease;
}

/* hover sáng hơn */
.hsnl-3d:hover{
color:#a5ffb2;
text-shadow:
0 2px 0 #1b5e20,
0 4px 6px rgba(0,0,0,0.35);
}
.hsnl-3d i{
margin-right:6px;
color:#ffcc66;
}
/* Bỏ dấu chấm trong menu footer */
.footer-menu{
list-style:none;
padding-left:0;
margin:0;
}
/* Chữ bản quyền footer đậm hơn */
.footer-bottom{
text-align:center;
font-weight:700;
color:#ffffff;
font-size:15px;
line-height:1.6;
}
.footer-bottom{
text-align:center;
font-weight:700;
color:#ffffff;
font-size:15px;
line-height:1.6;
text-shadow:0 1px 2px rgba(0,0,0,0.4);
}

.hero-intro{
padding:60px 20px;
background:#f5f7f9;
}

.hero-content-center{
max-width:900px;
margin:auto;
text-align:center;
}

.hero-content-center h1{
font-size:32px;
margin-bottom:20px;
}

.hero-content-center p{
font-size:17px;
line-height:1.7;
}

.intro-list p{
margin:6px 0;
font-weight:500;
}
/* ===== FIX PROJECT MOBILE 1 CỘT ===== */

@media (max-width:768px){

.projects-grid{
grid-template-columns:1fr !important;
gap:25px;
}

.project-card{
width:100%;
}

}
/* ===== MOBILE FIX PROJECTS HOMEPAGE ===== */

@media (max-width:768px){

.projects-grid,
.projects-home,
.project-list{
grid-template-columns:1fr !important;
display:grid !important;
}

.project-card,
.project-item{
width:100% !important;
}

}
/* ===== FIX PROJECTS MOBILE HOMEPAGE ===== */

@media (max-width:768px){

.projects-track{
flex-direction:column !important;
align-items:center;
}

.project-card{
width:100% !important;
max-width:100% !important;
margin-bottom:30px !important;
}

}
/* ===== PROJECT PAGE MOBILE FIX ===== */

@media (max-width:768px){

.projects-grid{
grid-template-columns:1fr !important;
}

.project-card{
width:100% !important;
margin-bottom:30px;
}

}
@media (max-width:768px){

.projects-grid{
display:block !important;
}

}
/* ===== MOBILE FIX PROJECTS ALL PAGES ===== */

@media (max-width:768px){

/* ép toàn bộ container dự án thành 1 cột */
.projects-grid,
.projects-track,
.projects-list{
display:flex !important;
flex-direction:column !important;
gap:25px !important;
}

/* card dự án full chiều ngang */
.project-card,
.project-item{
width:100% !important;
max-width:100% !important;
flex:0 0 100% !important;
}

/* ảnh dự án */
.project-card img{
width:100%;
height:auto;
}

}
/* ===== FIX PROJECT CARD ===== */

.project-card img{
width:100%;
height:220px;
object-fit:cover;
border-radius:8px;
}

/* Hover card */

.project-card{
transition:all .3s ease;
}

.project-card:hover{
transform:translateY(-6px);
box-shadow:0 12px 30px rgba(0,0,0,0.15);
}

/* Pagination */

.pagination button{
padding:8px 14px;
border:none;
margin:5px;
border-radius:6px;
cursor:pointer;
font-weight:600;
}
/* ===== FIX HERO TEXT MOBILE ===== */

@media (max-width:768px){

.hero-content{
max-width:90%;
margin:0 auto;
padding:20px;
text-align:center;
}

.hero-content h1{
font-size:26px;
line-height:1.3;
margin-bottom:15px;
}

.hero-content p{
font-size:16px;
line-height:1.6;
}

.hero-content ul{
display:inline-block;
text-align:left;
margin:10px auto;
}

}
/* ===== FIX HERO MOBILE SUB PAGE ===== */

@media (max-width:768px){

.hero-section{
display:block;
text-align:center;
}

.hero-image{
width:100%;
margin-bottom:15px;
}

.hero-image img{
width:100%;
height:auto;
}

.hero-content{
max-width:92%;
margin:0 auto;
text-align:center;
}

.hero-content h1{
font-size:26px;
line-height:1.3;
margin-bottom:15px;
}

.hero-content p{
font-size:16px;
line-height:1.6;
}

.intro-list{
display:inline-block;
text-align:left;
margin:15px auto;
}

}

.submenu-toggle{
cursor:pointer;
margin-left:6px;
font-size:14px;
}
.dropdown.open .submenu{
display:block;
}
/* ===== FOOTER MOBILE CENTER ===== */

@media (max-width:768px){

footer,
.footer,
.site-footer{
text-align:center;
}

footer p,
footer li,
footer a{
text-align:center;
}

footer ul{
padding-left:0;
list-style:none;
}

}
.footer-contact{
text-align:center;
margin:0 auto;
}

/* ===== FOOTER MOBILE CENTER FIX ===== */

@media (max-width:768px){

.footer-top{
display:block;
text-align:center;
}

.footer-col{
max-width:360px;
margin:0 auto 30px auto;
text-align:center;
}

/* icon + chữ thẳng hàng */
.footer-col p{
display:flex;
justify-content:center;
gap:8px;
margin:6px 0;
}

/* địa chỉ xuống dòng đẹp */
.footer-address{
display:block !important;
text-align:center;
line-height:1.6;
}

/* menu dịch vụ */
.footer-menu{
list-style:none;
padding:0;
}

.footer-menu li{
text-align:center;
margin-bottom:6px;
}

.footer-cta{
text-align:center;
margin-top:12px;
}

}

.home-arrow{
position:fixed;
right:20px;
bottom:20px;
width:50px;
height:50px;
background:#2e7d32;
color:#fff;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
font-size:22px;
z-index:9999;
box-shadow:0 4px 8px rgba(0,0,0,0.3);
text-decoration:none;
}

.home-arrow:hover{
background:#1b5e20;
}
