/* ===== AN THANH SON - Global CSS v3.0 ===== */

/* --- Variables --- */
:root {
  --ats-green: #2d7d2d;
  --ats-dark:  #1e5c1e;
  --ats-light: #e8f5e8;
  --ats-orange: #e67e22;
  --ats-text:  #2c3e50;
  --ats-gray:  #6c757d;
}

/* --- Base --- */
body {
  font-family: "Be Vietnam Pro", "Segoe UI", Arial, sans-serif;
  color: var(--ats-text);
  line-height: 1.7;
}

/* --- Header --- */
.ast-site-header-wrap,
.ast-primary-header-bar {
  background: #fff !important;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
.ast-site-identity img {
  max-height: 65px !important;
  width: auto !important;
}
.ast-site-title {
  font-size: 13px !important;
  font-weight: 600;
  color: var(--ats-green) !important;
  line-height: 1.3 !important;
  max-width: 160px;
}
.ast-nav-menu > li > a {
  font-size: 14px !important;
  font-weight: 500;
  color: var(--ats-text) !important;
  padding: 8px 12px !important;
  border-radius: 4px;
  white-space: nowrap;
  transition: all .2s;
}
.ast-nav-menu > li > a:hover,
.ast-nav-menu > .current-menu-item > a {
  color: var(--ats-green) !important;
  background: var(--ats-light);
}

/* --- Buttons --- */
.ats-btn-green {
  display: inline-block;
  background: var(--ats-green);
  color: #fff;
  padding: 13px 30px;
  border-radius: 7px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: background .2s, transform .2s;
}
.ats-btn-green:hover {
  background: var(--ats-dark);
  color: #fff;
  transform: translateY(-2px);
}
.ats-btn-outline {
  display: inline-block;
  background: transparent;
  color: #fff;
  padding: 13px 30px;
  border-radius: 7px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,.7);
  transition: all .2s;
}
.ats-btn-outline:hover {
  background: rgba(255,255,255,.15);
  color: #fff;
}

/* --- Hero --- */
.ats-hero {
  background: linear-gradient(135deg, #1e5c1e 0%, #2d7d2d 60%, #3a9a3a 100%);
  padding: 80px 40px;
  text-align: center;
  color: #fff;
}
.ats-hero-inner {
  max-width: 760px;
  margin: 0 auto;
}
.ats-hero h1 {
  font-size: clamp(26px, 4.5vw, 50px);
  font-weight: 800;
  margin: 0 0 16px;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.ats-hero p {
  font-size: 18px;
  opacity: .9;
  margin: 0 0 32px;
}
.ats-hero-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Stats Bar --- */
.ats-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 32px 40px;
  background: #fff;
  text-align: center;
  border-bottom: 3px solid var(--ats-light);
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
}
.ats-stat-num {
  display: block;
  font-size: 36px;
  font-weight: 800;
  color: var(--ats-green);
  line-height: 1;
}
.ats-stat-label {
  display: block;
  font-size: 13px;
  color: var(--ats-gray);
  margin-top: 4px;
}

/* --- Sections --- */
.ats-section {
  padding: 72px 40px;
  max-width: 1180px;
  margin: 0 auto;
}
.ats-section.ats-bg-light {
  max-width: 100%;
  background: #f8fdf8;
  padding: 72px 40px;
}
.ats-section.ats-bg-light > * {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}
.ats-section-title {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 800;
  color: var(--ats-text);
  margin-bottom: 8px;
}
.ats-section-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  background: var(--ats-green);
  border-radius: 2px;
  margin-top: 10px;
}
.ats-section-sub {
  color: var(--ats-gray);
  font-size: 16px;
  margin-bottom: 40px;
}

/* --- Cards Grid --- */
.ats-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.ats-card {
  background: #fff;
  border: 1px solid #ddeedd;
  border-radius: 12px;
  padding: 28px 22px;
  border-top: 4px solid var(--ats-green);
  transition: all .3s;
}
.ats-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(45,125,45,.12);
}
.ats-card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--ats-green);
  margin: 0 0 10px;
}
.ats-card-desc {
  color: var(--ats-gray);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}
.ats-tag {
  display: inline-block;
  background: var(--ats-light);
  color: var(--ats-green);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-top: 12px;
}
.ats-project-cat {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--ats-green);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

/* --- CTA Section --- */
.ats-cta {
  background: linear-gradient(135deg, var(--ats-green) 0%, var(--ats-dark) 100%);
  color: #fff;
  padding: 72px 40px;
  text-align: center;
}
.ats-cta h2 {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 800;
  margin: 0 0 14px;
  color: #fff;
}
.ats-cta p {
  font-size: 17px;
  opacity: .85;
  max-width: 580px;
  margin: 0 auto 28px;
}

/* --- Page Content --- */
.entry-content h1 {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 800;
  border-left: 5px solid var(--ats-green);
  padding-left: 18px;
  margin-bottom: 28px;
}
.entry-content h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--ats-green);
  margin: 36px 0 14px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--ats-light);
}

/* --- Tables --- */
.ats-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
}
.ats-table th {
  background: var(--ats-green);
  color: #fff;
  padding: 11px 14px;
  text-align: left;
}
.ats-table td {
  padding: 9px 14px;
  border-bottom: 1px solid #eee;
  vertical-align: top;
}
.ats-table tr:nth-child(even) td {
  background: var(--ats-light);
}

/* --- Footer --- */
.site-footer,
.ast-footer-area {
  background: #1a2d1a !important;
  color: #c8dcc8 !important;
}
.site-footer a,
.ast-footer-area a {
  color: #8fc88f !important;
}
.site-footer a:hover,
.ast-footer-area a:hover {
  color: #fff !important;
}

/* --- Breadcrumb: hide --- */
.ast-breadcrumbs-wrapper {
  display: none;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .ats-stats {
    grid-template-columns: repeat(2, 1fr);
    padding: 24px 20px;
  }
  .ats-hero {
    padding: 48px 20px;
  }
  .ats-section {
    padding: 48px 20px;
  }
  .ats-cta {
    padding: 48px 20px;
  }
}
