:root {
    --subColor: #007bff; 
}
section {
    padding: 60px 0;
    border-top: 1px solid #f0f0f0; 
}
section:first-of-type {
    border-top: none;
    padding-top: 30px; 
}
section:nth-of-type(even) {
    background-color: #f8f9fa; 
}
.section-intro {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
    overflow: hidden;
}

.section-intro::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -80px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(108,123,255,0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.intro-image {
    position: relative;
    z-index: 1;
    text-align: center;
}

.intro-image img {
    width: 100%;
    /* max-width: 480px; */
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    transition: transform 0.6s ease;
}
.intro-image img:hover {
    transform: scale(1.04);
}

.intro-content {
    position: relative;
    z-index: 2;
    padding-left: 20px;
}

.intro-title {
    font-size: 32px;
    font-weight: 800;
    color: #111;
    margin-bottom: 16px;
    line-height: 1.3;
}

.intro-text {
    color: #444;
    font-size: 16px;
    margin-bottom: 18px;
}

.intro-highlights {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}
.intro-highlights li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 8px;
    font-size: 15px;
    color: #222;
}
.intro-highlights li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color, #1e88e5);
    font-weight: 700;
}

.btn-intro {
    display: inline-block;
    background: var(--primary-color, #1e88e5);
    color: #fff;
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
}
.btn-intro:hover {
    background: var(--primary-color-hover, #1565c0);
    transform: translateY(-2px);
}

@media (max-width: 991.98px) {
    .section-intro {
        padding: 60px 0;
        text-align: center;
    }
    .intro-content {
        padding: 0;
        margin-top: 30px;
    }
    .intro-title {
        font-size: 26px;
    }
}
/* === USP === */
.home-usp{padding:70px 0;background:linear-gradient(135deg,#f8fafc,#eef2ff)}
.home-usp__head{text-align:center;margin-bottom:28px}
.home-usp__title{font-size:28px;font-weight:800;color:#111;margin:0 0 6px}
.home-usp__desc{color:#555;margin:0}
.usp-card{height:100%;background:#fff;border:1px solid #eee;border-radius:14px;padding:16px;transition:transform .25s,box-shadow .25s}
.usp-card:hover{transform:translateY(-4px);box-shadow:0 12px 30px rgba(0,0,0,.06)}
.usp-card__icon{font-size:22px;line-height:1;margin-bottom:8px}
.usp-card__title{font-size:16px;font-weight:700;color:#111;margin:0 0 6px}
.usp-card__text{color:#444;margin:0}
/* === FEATURED === */
.home-featured{padding:70px 0;background:#fff}
.home-featured__head{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:20px}
.home-featured__title{font-size:26px;font-weight:800;color:#111;margin:0}
.home-featured__more{font-weight:600;color:var(--primary-color,#1e88e5);text-decoration:none}
.home-featured__more:hover{color:var(--primary-color-hover,#1565c0)}

/* === CARD === */
.project-card{background:#fff;border:1px solid #eee;border-radius:14px;overflow:hidden;display:flex;flex-direction:column;transition:box-shadow .25s,transform .25s}
.project-card:hover{box-shadow:0 12px 30px rgba(0,0,0,.06);transform:translateY(-3px)}
.project-card__thumb{position:relative;display:block}
.project-card__thumb img{width:100%;height:220px;object-fit:cover;display:block}
.project-card__body{padding:14px;display:flex;flex-direction:column;gap:8px}

/* Title clamp 2 dòng */
.project-card__title{font-size:18px;font-weight:800;margin:0 0 6px}
.project-card__title a{color:#111;text-decoration:none;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.project-card__title a:hover{color:var(--primary-color,#1e88e5)}

/* Meta list */
.project-card__meta{list-style:none;padding:0;margin:2px 0 10px;display:flex;flex-direction:column;gap:6px;color:#555}
.project-card__meta .meta-item{display:flex;align-items:center;gap:8px;font-size:14px;line-height:1.4}
.project-card__meta .meta-item i{width:16px;text-align:center;opacity:.85}

/* CTA */
.project-card__cta {
  align-self: flex-start;
  background-color: #1e88e5;       /* xanh dương chuẩn */
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card__cta:hover {
  background-color: #42a5f5;       /* xanh sáng hơn, hover nổi bật */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Badge Hot / New */
.project-card__badge{position:absolute;top:12px;left:12px;z-index:2;display:inline-block;font-size:13px;font-weight:700;letter-spacing:.3px;padding:5px 12px;border-radius:30px;color:#fff;text-transform:uppercase;box-shadow:0 3px 8px rgba(0,0,0,.15)}
.project-card__badge.badge-hot{background:#e53935}
.project-card__badge.badge-new{background:#1e88e5}
.project-card__badge::after{content:"";position:absolute;inset:0;border-radius:inherit;background:rgba(255,255,255,.15);opacity:0;transition:opacity .3s}
.project-card__thumb:hover .project-card__badge::after{opacity:1}

/* Responsive */
@media (max-width:575.98px){ .project-card__thumb img{height:200px} }

/* === STEPS === */
.home-steps{padding:70px 0;background:linear-gradient(135deg,#f8fafc,#fefefe)}
.home-steps__title{text-align:center;font-size:26px;font-weight:800;color:#111;margin:0 0 26px}
.step{background:#fff;border:1px solid #eee;border-radius:14px;padding:16px;height:100%;position:relative;overflow:hidden}
.step__num{position:absolute;right:12px;top:8px;font-weight:800;color:rgba(17,17,17,.1);font-size:32px}
.step__title{font-size:16px;font-weight:800;color:#111;margin:0 0 8px}
.step__text{color:#444;margin:0}

/* === CTA === */
.home-cta{padding:40px 0;background:linear-gradient(90deg, var(--primary-color,#1e88e5), var(--secondary-color,#43a047))}
.home-cta__wrap{display:flex;align-items:center;justify-content:space-between;gap:16px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.2);border-radius:14px;padding:16px 18px}
.home-cta__text h3{color:#fff;margin:0 0 4px;font-weight:800}
.home-cta__text p{color:#eaf2ff;margin:0}
.home-cta__actions{display:flex;gap:10px;flex-wrap:wrap}
.home-cta__btn{display:inline-block;background:#fff;color:#0f172a;text-decoration:none;padding:10px 14px;border-radius:10px;font-weight:700}
.home-cta__btn--secondary{background:transparent;color:#fff;border:1px solid rgba(255,255,255,.7)}
.home-cta__btn--secondary:hover{background:rgba(255,255,255,.12)}
@media (max-width:991.98px){
  .home-featured__head{flex-direction:column;align-items:flex-start;gap:8px}
  .home-cta__wrap{flex-direction:column;align-items:flex-start}
}

.news .section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
}
.news .section-title a {
    color: #222;
    text-decoration: none;
    font-size: 24px;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}
.news .section-title > a::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: #007bff; 
    position: absolute;
    bottom: 0px;
    left: 0px;
    -webkit-clip-path: polygon(0% 0%, 100% 0%, calc(100% - 4px) 100%, 0% 100%);
    clip-path: polygon(0% 0%, 100% 0%, calc(100% - 4px) 100%, 0% 100%);
    transition: width 0.3s ease;
}
.news .section-title > a:hover {
    color: #007bff;
}
.news .section-title > a:hover::after {
    width: 120px;
}
.news .section-tool a {
    color: #555;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    padding: 0px;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}
.news .section-tool a:hover {
    color: #007bff;
}
.news .section-tool i {
    margin-left: 8px;
}
.big-news {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}
.big-news-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3; 
    object-fit: cover;
    transition: transform 0.4s ease;
}
.big-news:hover .big-news-image img {
    transform: scale(1.05);
}
.big-news h3 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}
.big-news h3 a {
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    line-height: 1.4;
}
.news-item_list {
    display: flex; 
    gap: 15px; 
    align-items: center;
    border-bottom: 1px dashed #ddd;
    padding-bottom: 15px;
    margin-bottom: 15px;
}
.news-item_list:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.item_list-img a {
    display: block;
    width: 100px; 
    height: 80px;
    flex-shrink: 0; 
    overflow: hidden;
    border-radius: 6px;
}
.item_list-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.news-item_list:hover .item_list-img img {
    transform: scale(1.1);
}
.item_list-info a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    line-height: 1.5;
}
.news-item_list:hover .item_list-info a {
    color: #007bff;
}
/* === Contact Section === */
/* === Contact Section with Background Overlay === */
.section-contact {
  position: relative;
  background: url('../images/setting/contact-bg.jpg') center/cover no-repeat;
  color: #fff;
  overflow: hidden;
}

/* Overlay mờ, dùng pseudo element để không thêm HTML */
.section-contact.bg-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55); /* mờ vừa đủ */
  z-index: 0;
}

/* Nội dung trong container nằm trên overlay */
.section-contact .container {
  position: relative;
  z-index: 1;
}

/* Giữ form sáng, dễ đọc */
.section-contact .contact-form {
  background: rgba(255, 255, 255, 0.95);
  color: #333;
  border-radius: 10px;
}

/* Chữ và icon bên phải nổi bật */
.section-contact .contact-info {
  color: #fff;
}
.section-contact .contact-info a {
  color: #fff;
  text-decoration: none;
}
.section-contact .contact-info a:hover {
  color: var(--primary-color, #1e88e5);
}

/* Responsive */
@media (max-width: 767.98px) {
  .section-contact {
    background-attachment: scroll;
  }
}

/* === TESTIMONIALS === */
.home-testimonials{padding:64px 0;background:#fff}
.home-testimonials__head{text-align:center;max-width:800px;margin:0 auto 24px}
.home-testimonials__title{margin:0 0 6px;font-size:26px;font-weight:800;color:#111}
.home-testimonials__desc{margin:0;color:#555}
.t-card{height:100%;background:#fff;border:1px solid #eee;border-radius:14px;padding:16px;box-shadow:0 8px 22px rgba(0,0,0,.05)}
.t-card__rating{margin-bottom:8px}
.t-star{font-size:16px;color:#d1d5db}
.t-star--fill{color:#f59e0b}
.t-card__quote{margin:0 0 14px;color:#222;font-size:15px}
.t-card__meta{display:flex;align-items:center;gap:10px}
.t-card__avatar{width:42px;height:42px;border-radius:50%;overflow:hidden;flex:0 0 42px;border:1px solid #eee}
.t-card__avatar img{width:100%;height:100%;object-fit:cover;display:block}
.t-card__name{font-weight:800;color:#111}
.t-card__role{font-size:13px;color:#666}

/* === PARTNERS === */
.home-partners{padding:56px 0;background:#f9fafb}
.home-partners__head{text-align:center;max-width:800px;margin:0 auto 20px}
.home-partners__title{margin:0 0 6px;font-size:24px;font-weight:800;color:#111}
.home-partners__desc{margin:0;color:#555}
.partners-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:14px;align-items:center}
.partner{display:flex;align-items:center;justify-content:center;background:#fff;border:1px solid #eee;border-radius:12px;padding:14px;transition:transform .2s, box-shadow .2s, filter .2s}
.partner img{max-width:120px;max-height:44px;filter:grayscale(100%);opacity:.9;transition:filter .2s, opacity .2s}
.partner:hover{transform:translateY(-3px);box-shadow:0 10px 24px rgba(0,0,0,.06)}
.partner:hover img{filter:grayscale(0);opacity:1}

@media (max-width:1199.98px){ .partners-grid{grid-template-columns:repeat(5,1fr)} }
@media (max-width:991.98px){ .partners-grid{grid-template-columns:repeat(4,1fr)} }
@media (max-width:767.98px){ .partners-grid{grid-template-columns:repeat(3,1fr)} }
@media (max-width:575.98px){ .partners-grid{grid-template-columns:repeat(2,1fr)} }
/* === HOME NEWS === */
/* === BỔ SUNG CHO HOME NEWS THEO DANH MỤC === */
.home-news__category {
    margin-bottom: 40px;
}

.home-news__cat-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color, #1e88e5);
    margin-bottom: 16px;
    border-left: 4px solid var(--primary-color, #1e88e5);
    padding-left: 10px;
}

.home-news__category .news-grid {
    margin-bottom: 12px;
}

.home-news__category:last-child {
    margin-bottom: 0;
}

.home-news { padding:64px 0; background:#fff; }
.home-news__head { display:flex; justify-content:space-between; align-items:center; margin-bottom:24px; flex-wrap:wrap; }
.home-news__title { font-size:26px; font-weight:800; color:#111; margin:0; }
.home-news__more { color:var(--primary-color,#1e88e5); font-weight:600; text-decoration:none; transition:color .3s; }
.home-news__more:hover { color:var(--primary-color-hover,#1565c0); }

.news-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
.news-card { background:#fff; border:1px solid #eee; border-radius:10px; overflow:hidden; box-shadow:0 6px 18px rgba(0,0,0,.05); display:flex; flex-direction:column; transition:transform .3s, box-shadow .3s; }
.news-card:hover { transform:translateY(-4px); box-shadow:0 10px 28px rgba(0,0,0,.07); }
.news-card__thumb img { width:100%; height:200px; object-fit:cover; display:block; }
.news-card__body { padding:16px; flex:1; display:flex; flex-direction:column; }
.news-card__title { font-size:16px; font-weight:700; margin:0 0 8px; line-height:1.4; color:#111; }
.news-card__title a { color:inherit; text-decoration:none; }
.news-card__excerpt { flex:1; color:#555; font-size:14px; margin-bottom:12px; }
.news-card__cta { align-self:flex-start; font-size:14px; font-weight:600; color:var(--primary-color,#1e88e5); text-decoration:none; transition:color .3s; }
.news-card__cta:hover { color:var(--primary-color-hover,#1565c0); }

@media (max-width:991.98px){ .news-grid{grid-template-columns:repeat(3,1fr);} }
@media (max-width:767.98px){ .news-grid{grid-template-columns:repeat(2,1fr);} }
@media (max-width:575.98px){ .news-grid{grid-template-columns:1fr;} }
.contact-company{color: #ffffff}