@charset "UTF-8";
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--primary-font);
  color: #172b25;
  line-height: 1.6;
  background: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 17px;
  border: 0;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  transition: filter 0.2s, transform 0.2s;
}
.btn:hover {
  filter: brightness(0.95);
  transform: translateY(-1px);
}
.btn--accent {
  background: var(--accent-color);
  color: var(--dark-color);
}
.btn--primary {
  background: var(--primary-color);
  color: #fff;
}
.btn--primary:hover {
  background: var(--dark-color);
  filter: none;
}
.btn--accent:hover {
  box-shadow: 0 8px 20px rgba(255, 199, 53, 0.45);
}

/* Topbar */
.topbar {
  background: var(--dark-color);
  color: #fff;
  font-size: 11px;
}
.topbar a {
  color: #fff;
}
.topbar a:hover {
  color: var(--accent-color);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 35px;
}
.topbar__contact {
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.topbar__contact li {
  display: flex;
  align-items: center;
  gap: 5px;
}
.topbar__contact svg {
  width: 13px;
  height: 13px;
}
.topbar__text {
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.topbar__right {
  display: flex;
  align-items: center;
  gap: 18px;
}
.topbar__menu {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}
.topbar__menu li + li::before {
  content: "|";
  margin: 0 12px;
  opacity: 0.6;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 4px 20px rgba(8, 45, 28, 0.06);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 88px;
}

/* Thanh admin của Botble rộng tối thiểu 960px: trên tablet/mobile phần bên phải (menu tài khoản) bị khuất */
@media (max-width: 1100px) {
  body #admin_bar {
    min-width: 0;
  }
}
@media (max-width: 699px) {
  body #admin_bar .admin-bar-logo,
  body #admin_bar .admin-navbar-nav {
    margin-right: 6px;
    padding: 0 6px;
  }
  body #admin_bar .admin-navbar-nav:not(.admin-navbar-nav-right) > li:not(:last-child) {
    display: none;
  }
  body #admin_bar .admin-navbar-nav > li > a {
    font-size: 13px;
  }
}
/* Khi đăng nhập admin, Botble hiện thanh admin cố định cao 40px ở trên cùng */
body.show-admin-bar .site-header {
  top: 40px;
}
body.show-admin-bar .bk-section {
  scroll-margin-top: 130px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 190px;
  margin-right: auto;
}
.brand__logo {
  width: 62px;
  height: 62px;
  -o-object-fit: contain;
     object-fit: contain;
}
.brand strong {
  display: block;
  color: var(--dark-color);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.15;
}
.brand small {
  display: block;
  margin-top: 3px;
  color: #61736a;
  font-size: 9px;
}

.site-nav {
  display: flex;
  align-items: center;
}
.site-nav .menu,
.site-nav .sub-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav .menu {
  display: flex;
  align-items: center;
  gap: 17px;
}
.site-nav .menu > .menu-item > a {
  display: block;
  padding: 10px 0;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}
.site-nav .menu > .menu-item > a {
  border-bottom: 2px solid transparent;
}
.site-nav .menu > .menu-item.active > a,
.site-nav .menu > .menu-item > a:hover {
  color: var(--primary-color);
  border-bottom-color: var(--accent-color);
}
.site-nav .menu-item {
  position: relative;
}
.site-nav .menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-left: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
}
.site-nav .sub-menu {
  position: absolute;
  top: 100%;
  left: -16px;
  min-width: 230px;
  padding: 8px 0;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(17, 60, 38, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s, transform 0.2s;
}
.site-nav .sub-menu a {
  display: block;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 600;
}
.site-nav .sub-menu a:hover {
  color: var(--primary-color);
  background: #fbf9ef;
}
.site-nav .sub-menu .sub-menu {
  top: 0;
  left: 100%;
}
.site-nav .menu-item:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.site-nav__button {
  display: none;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: #fbf9ef;
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--dark-color);
  position: relative;
  transition: transform 0.2s, background 0.2s;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
}
.nav-toggle span::before {
  top: -6px;
}
.nav-toggle span::after {
  top: 6px;
}
.nav-toggle[aria-expanded=true] span {
  background: transparent;
}
.nav-toggle[aria-expanded=true] span::before {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle[aria-expanded=true] span::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* Tablet (≤ 1100px) */
@media (max-width: 1100px) {
  .container {
    padding: 0 28px;
  }
  .topbar {
    font-size: 10px;
  }
  .site-header__inner {
    gap: 14px;
    min-height: 76px;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .brand {
    min-width: 0;
  }
}
@media (max-width: 1100px) {
  .nav-toggle {
    display: block;
  }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    padding: 10px 28px 25px;
    background: #fff;
    border-top: 1px solid #eee;
    box-shadow: 0 18px 30px rgba(8, 45, 28, 0.1);
  }
  .site-nav.is-open {
    display: flex;
  }
  .site-nav .menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .site-nav .menu > .menu-item > a {
    padding: 12px 0;
    font-size: 13px;
    border-bottom: 1px solid #e5eee7;
  }
  .site-nav .sub-menu,
  .site-nav .sub-menu .sub-menu {
    position: static;
    min-width: 0;
    padding: 0 0 0 16px;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
  }
}
/* Mobile (≤ 699px) */
@media (max-width: 699px) {
  .container {
    padding: 0 18px;
  }
  .topbar {
    display: none;
  }
  .site-header__inner {
    gap: 8px;
    min-height: 66px;
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .site-header__button {
    display: none;
  }
  .brand {
    gap: 8px;
  }
  .brand__logo {
    width: 45px;
    height: 45px;
  }
  .brand strong {
    font-size: 14px;
  }
  .brand small {
    font-size: 9px;
  }
  .site-nav {
    padding: 10px 18px 25px;
  }
  .site-nav__button {
    display: inline-flex;
    justify-content: center;
    margin-top: 18px;
  }
}
/* Main */
.page-content {
  padding-top: 32px;
  padding-bottom: 48px;
}

.home-hero {
  padding: 64px 0;
  text-align: center;
}
.home-hero h1 {
  margin: 0 0 12px;
  font-size: 40px;
  color: var(--dark-color);
}
.home-hero p {
  max-width: 720px;
  margin: 0 auto;
  color: #61736a;
}

/* Footer */
.site-footer {
  padding: 55px 0 24px;
  background: var(--dark-color);
  color: #fff;
}
.site-footer p,
.site-footer a {
  color: #c7e0d2;
  font-size: 11px;
  line-height: 2.2;
}
.site-footer a:hover {
  color: var(--accent-color);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.15fr 1fr;
  gap: 30px;
}
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 35px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.site-footer__bottom p {
  margin: 0;
  color: #a9c8b6;
  font-size: 10px;
  line-height: 1.6;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-brand__logo {
  width: 75px;
  height: 75px;
  -o-object-fit: contain;
     object-fit: contain;
  background: #fff;
  border-radius: 7px;
}
.footer-brand strong {
  font-size: 17px;
  font-weight: 700;
}
.footer-brand p {
  margin: 3px 0 0;
  line-height: 1.5;
}

.footer-widget__title {
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}
.footer-widget__links {
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-widget__links a {
  display: block;
}

.footer-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 14px;
}
.footer-logos a {
  display: block;
  line-height: 0;
}
.footer-logos img {
  width: 85px;
  height: 55px;
  padding: 5px;
  -o-object-fit: contain;
     object-fit: contain;
  background: #fff;
  border-radius: 5px;
}

.social-links {
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  line-height: 1;
}
.social-links a:hover {
  background: var(--accent-color);
  color: var(--dark-color);
}
.social-links svg {
  width: 15px;
  height: 15px;
}

@media (max-width: 1100px) {
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
  }
}
@media (max-width: 699px) {
  .site-footer__grid {
    gap: 18px;
  }
  .site-footer p,
  .site-footer a {
    line-height: 2.3;
  }
  .footer-brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
  }
  .footer-brand__logo {
    width: 90px;
    height: 75px;
  }
  .footer-brand strong {
    font-size: 13px;
  }
  .site-footer__slogan {
    margin: 17px 0 0;
  }
  .footer-widget__title {
    margin: 17px 0;
  }
  .footer-widget p {
    margin: 0;
  }
  .footer-widget--ecosystem {
    display: flex;
    flex-direction: column;
  }
  .footer-widget--ecosystem .footer-logos {
    order: 1;
    flex-wrap: nowrap;
    margin: 0 0 10px;
  }
  .footer-widget--ecosystem .footer-logos img {
    width: 90px;
    max-width: 100%;
    height: 75px;
    padding: 0;
    border-radius: 7px;
  }
  .footer-widget--ecosystem .footer-logos a,
  .footer-widget--ecosystem .footer-logos img {
    flex: 0 1 90px;
    min-width: 0;
  }
  .footer-widget--ecosystem p {
    order: 2;
  }
}
/* Page */
.page-title {
  margin: 0 0 24px;
  color: var(--dark-color);
  font-size: 36px;
  line-height: 1.4;
}

.breadcrumb {
  padding: 21px 0;
  font-size: 11px;
  color: #7d8f83;
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}
.breadcrumb li + li::before {
  content: "›";
  margin: 0 10px;
}
.breadcrumb a:hover {
  color: var(--primary-color);
}

.page-sections > p:empty,
.page-sections > p > br:only-child {
  display: none;
}

.kicker {
  color: var(--primary-color);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

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

.page-sections .btn {
  padding: 14px 21px;
  font-size: 12px;
}

/* Page hero */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 53px 0;
  background: #fbf9ef;
}
.page-hero::before {
  content: "";
  position: absolute;
  top: -240px;
  right: -170px;
  width: 450px;
  height: 450px;
  border: 80px solid rgba(255, 199, 53, 0.13);
  border-radius: 50%;
}
.page-hero .container {
  position: relative;
}
.page-hero h1 {
  max-width: 850px;
  margin: 13px 0;
  color: var(--dark-color);
  font-size: 43px;
  line-height: 1.27;
  letter-spacing: -1.5px;
}
.page-hero p {
  max-width: 730px;
  margin: 0;
  color: #66796f;
  font-size: 13px;
  line-height: 1.9;
}
.page-hero__bar {
  width: 80px;
  height: 5px;
  margin-top: 22px;
  background: var(--accent-color);
  border-radius: 8px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* Trang 404 (views/404.blade.php) */
.error-page {
  padding: 70px 0 80px;
}
.error-page__code {
  margin-top: 10px;
  color: var(--primary-color);
  font-size: 96px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -4px;
}
.error-page__redirect {
  margin-top: 10px !important;
  font-size: 12px !important;
}
.error-page__redirect strong {
  color: var(--primary-color);
}
.error-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.error-page__actions .btn {
  padding: 14px 21px;
  font-size: 12px;
}
.error-page__search {
  display: flex;
  gap: 10px;
  max-width: 520px;
  margin-top: 22px;
}
.error-page__search input {
  flex: 1;
  min-width: 0;
  padding: 13px;
  background: #fff;
  border: 1px solid #d8e7dd;
  border-radius: 6px;
  color: #263e32;
  font-size: 12px;
}
.error-page__search input:focus {
  outline: 0;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(255, 199, 53, 0.35);
}
.error-page__search .btn {
  padding: 13px 18px;
  font-size: 12px;
}

@media (max-width: 699px) {
  .error-page {
    padding: 44px 0 52px;
  }
  .error-page__code {
    font-size: 72px;
  }
  .error-page__actions .btn {
    flex: 1 1 100%;
  }
}
/* Sections */
.bk-section {
  padding: 64px 0;
  scroll-margin-top: 90px;
}
.bk-section--alt {
  background: #f7faf7;
}
.bk-section--cream {
  background: #fbf9ef;
}

.section-head {
  margin-bottom: 27px;
}
.section-head h2 {
  margin: 8px 0;
  color: var(--dark-color);
  font-size: 29px;
  line-height: 1.4;
}
.section-head p {
  max-width: 800px;
  margin: 0;
  color: #66796f;
  font-size: 13px;
  line-height: 1.9;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: center;
}
.split--image-right .split__image {
  order: 2;
}
.split__image img {
  display: block;
  width: 100%;
  height: 400px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 15px;
}
.split__copy h2 {
  margin: 18px 0;
  color: var(--dark-color);
  font-size: 31px;
  line-height: 1.4;
}
.split__copy p {
  margin: 0 0 13px;
  color: #5b7164;
  font-size: 13px;
  line-height: 2;
}
.split__copy .btn {
  margin-top: 8px;
}
.split__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.bk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.bk-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}
.bk-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.feature-box {
  padding: 26px;
  background: #fff;
  border: 1px solid #e4ede7;
  border-radius: 12px;
}
.feature-box__icon {
  font-size: 28px;
  line-height: 1.3;
}
.feature-box h3 {
  margin: 16px 0 10px;
  color: var(--dark-color);
  font-size: 16px;
}
.feature-box p {
  margin: 0;
  color: #66796f;
  font-size: 12px;
  line-height: 1.9;
}

.image-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid #e4ede7;
  border-radius: 13px;
  box-shadow: 0 6px 22px rgba(4, 57, 28, 0.03);
}
.image-card__image {
  display: block;
}
.image-card__image img {
  display: block;
  width: 100%;
  height: 215px;
  -o-object-fit: cover;
     object-fit: cover;
}
.image-card__body {
  padding: 24px;
}
.image-card__tag {
  color: var(--primary-color);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}
.image-card h3 {
  margin: 10px 0;
  color: var(--dark-color);
  font-size: 17px;
  line-height: 1.55;
}
.image-card p {
  margin: 0;
  color: #66796f;
  font-size: 12px;
  line-height: 1.9;
}
.image-card__link {
  display: inline-block;
  padding: 12px 0 0;
  color: var(--primary-color);
  font-size: 12px;
  font-weight: 900;
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin: 50px 0;
  padding: 35px;
  background: var(--accent-color);
  border-radius: 15px;
}
.cta-box h2 {
  margin: 0 0 8px;
  color: var(--dark-color);
  font-size: 25px;
}
.cta-box p {
  margin: 0;
  color: #4b654b;
  font-size: 12px;
  line-height: 1.8;
}
.cta-box .btn {
  flex-shrink: 0;
}

/* Tablet (≤ 1100px): thẻ/giá trị/logo/thư viện/quy trình 2 cột, ảnh + chữ vẫn 2 cột */
@media (max-width: 1100px) {
  .page-hero {
    padding: 45px 0;
  }
  .page-hero h1 {
    font-size: 34px;
  }
  .bk-section {
    padding: 52px 0;
  }
  .section-head h2 {
    font-size: 26px;
  }
  .bk-grid > *,
  .split > * {
    min-width: 0;
  }
  .bk-grid--3,
  .bk-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .split {
    gap: 26px;
  }
  .split__image img {
    height: 310px;
  }
  .cta-box {
    padding: 25px;
  }
  .page-sections .btn {
    min-height: 43px;
  }
}
/* Mobile (≤ 699px): mọi lưới về 1 cột */
@media (max-width: 699px) {
  .page-hero {
    padding: 28px 0 30px;
  }
  .page-hero h1 {
    font-size: 31px;
    line-height: 1.17;
  }
  .bk-section {
    padding: 38px 0;
  }
  .section-head h2,
  .split__copy h2,
  .cta-box h2 {
    font-size: 25px;
    line-height: 1.23;
  }
  .feature-box h3,
  .image-card h3,
  .step-box h3,
  .logo-card__body h3 {
    font-size: 19px;
  }
  .bk-grid,
  .bk-grid--2,
  .bk-grid--3,
  .bk-grid--4 {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .split {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .split--image-right .split__image {
    order: 0;
  }
  .split__image img {
    height: 240px;
  }
  .cta-box {
    display: block;
    padding: 22px;
  }
  .cta-box .btn {
    margin-top: 14px;
  }
  .logo-card__top {
    padding: 15px;
  }
}
/* Trang chi tiết bài viết (vd. 1 chương trình học) */
.post-article {
  max-width: 860px;
  margin: 0 auto;
}
.post-article__image img {
  display: block;
  width: 100%;
  max-height: 440px;
  margin-bottom: 30px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 13px;
}
.post-article__content {
  color: #435a4d;
  font-size: 14px;
  line-height: 2.1;
}
.post-article__content p {
  margin: 0 0 20px;
}
.post-article__content h2,
.post-article__content h3 {
  margin: 32px 0 14px;
  color: var(--dark-color);
  line-height: 1.4;
}
.post-article__content h2 {
  font-size: 23px;
}
.post-article__content h3 {
  font-size: 18px;
}
.post-article__content ul,
.post-article__content ol {
  margin: 0 0 20px;
  padding-left: 22px;
}
.post-article__content a {
  color: var(--primary-color);
  text-decoration: underline;
}
.post-article__content img {
  border-radius: 12px;
}
.post-article__content blockquote {
  margin: 26px 0;
  padding: 22px 26px;
  background: #fbf9ef;
  border-left: 5px solid var(--accent-color);
  border-radius: 0 9px 9px 0;
  color: var(--dark-color);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.8;
}

.bk-search {
  display: flex;
  max-width: 640px;
  margin: 0 auto 10px;
  overflow: hidden;
  border: 1px solid #dbe7df;
  border-radius: 8px;
}
.bk-search input {
  flex: 1;
  min-width: 0;
  padding: 14px 16px;
  border: 0;
  outline: 0;
  font-size: 13px;
}
.bk-search .btn {
  border-radius: 0;
}

.bk-empty {
  padding: 35px;
  background: #f5f8f5;
  border-radius: 10px;
  color: #66796f;
  text-align: center;
}

.bk-pagination {
  padding-bottom: 40px;
}
.bk-pagination .pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.bk-pagination .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  background: #fff;
  border: 1px solid #e4ede7;
  border-radius: 6px;
  color: var(--dark-color);
  font-size: 13px;
  font-weight: 800;
}
.bk-pagination .active .page-link {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}
.bk-pagination .disabled .page-link {
  opacity: 0.45;
}

/* Hover chung cho thẻ (theo thiết kế: nổi lên 3px + đổ bóng, ảnh phóng 1.04) */
.image-card,
.logo-card {
  transition: transform 0.2s, box-shadow 0.2s;
}
.image-card:hover,
.logo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(5, 47, 25, 0.08);
}

.image-card__image {
  overflow: hidden;
}
.image-card__image img {
  transition: transform 0.3s;
}

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

.image-card h3 a:hover,
.image-card__link:hover {
  color: var(--primary-color);
}

.image-card__link {
  transition: color 0.2s, letter-spacing 0.2s;
}
.image-card__link:hover {
  letter-spacing: 0.3px;
}

.feature-box,
.step-box {
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.feature-box:hover,
.step-box:hover {
  border-color: #cfe2d5;
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(5, 47, 25, 0.08);
}

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

/* Nút chưa có link (vd. website CTECH/UTECH đang chờ xác nhận) */
.btn--pending {
  cursor: not-allowed;
  opacity: 0.55;
}
.btn--pending:hover {
  background: #fff;
  color: var(--primary-color);
  transform: none;
  filter: none;
}

@keyframes bk-spin {
  to {
    transform: rotate(360deg);
  }
}
/* Tabs chương trình */
.bk-tabs__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}
.bk-tabs__button {
  padding: 12px 16px;
  border: 1px solid #d5e5da;
  border-radius: 6px;
  background: #fff;
  color: var(--dark-color);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.bk-tabs__button:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}
.bk-tabs__button.is-active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}
.bk-tabs__panel[hidden] {
  display: none;
}

/* Quy trình các bước */
.step-box {
  padding: 23px;
  background: #fff;
  border: 1px solid #e4ede7;
  border-radius: 12px;
}
.step-box__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 43px;
  height: 43px;
  background: var(--accent-color);
  border-radius: 50%;
  color: var(--dark-color);
  font-weight: 700;
}
.step-box h3 {
  margin: 16px 0 8px;
  color: var(--dark-color);
  font-size: 15px;
}
.step-box p {
  margin: 0;
  color: #66796f;
  font-size: 12px;
  line-height: 1.8;
}

/* FAQ */
.faq__item {
  margin-bottom: 12px;
  padding: 19px 22px;
  background: #fff;
  border: 1px solid #e4ede7;
  border-radius: 8px;
  transition: border-color 0.2s;
}
.faq__item:hover, .faq__item[open] {
  border-color: #cfe2d5;
}
.faq__item summary {
  color: var(--dark-color);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: color 0.2s;
}
.faq__item summary:hover {
  color: var(--primary-color);
}
.faq__item p {
  margin: 12px 0 0;
  color: #66796f;
  font-size: 12px;
  line-height: 1.9;
}

/* Thư viện ảnh */
.gallery-grid {
  gap: 18px;
}
.gallery-grid__item {
  display: block;
  overflow: hidden;
  border-radius: 12px;
}
.gallery-grid__item img {
  display: block;
  width: 100%;
  height: 245px;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.3s;
}
.gallery-grid__item:hover img {
  transform: scale(1.04);
}

/* Thẻ logo (hệ sinh thái) */
.logo-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid #e4ede7;
  border-radius: 14px;
}
.logo-card__top {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 180px;
  background: linear-gradient(130deg, #f9eec0, #eff8f2);
}
.logo-card__top img {
  width: 175px;
  height: 145px;
  -o-object-fit: contain;
     object-fit: contain;
  mix-blend-mode: multiply;
}
.logo-card:nth-child(3n+2) .logo-card__top {
  background: linear-gradient(130deg, #d6f1e3, #f5f9ed);
}
.logo-card:nth-child(3n) .logo-card__top {
  background: linear-gradient(130deg, #d9ecf9, #eff8f2);
}
.logo-card__body {
  min-height: 215px;
  padding: 24px;
}
.logo-card__body h3 {
  margin: 10px 0;
  color: var(--dark-color);
  font-size: 17px;
  line-height: 1.55;
}
.logo-card__body p {
  margin: 0 0 16px;
  color: #66796f;
  font-size: 12px;
  line-height: 1.9;
}

/* Liên hệ + bản đồ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
}

.contact-line {
  padding: 22px 0;
  border-bottom: 1px solid #e4ede7;
}
.contact-line b {
  color: var(--dark-color);
  font-size: 14px;
}
.contact-line p {
  margin: 8px 0 0;
  color: #66796f;
  font-size: 12px;
  line-height: 1.9;
}
.contact-line a:hover {
  color: var(--primary-color);
}

.contact-map {
  overflow: hidden;
  min-height: 365px;
  border-radius: 15px;
}
.contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 365px;
  border: 0;
}
.contact-map--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px;
  background: #eaf3ec;
  border: 1px dashed #a9c7b2;
  color: var(--dark-color);
  text-align: center;
}
.contact-map--placeholder p {
  color: #66796f;
  font-size: 13px;
}
.contact-map__icon {
  font-size: 45px;
}

/* Form tư vấn */
.consult-box {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  padding: 45px;
  background: var(--dark-color);
  border-radius: 16px;
  color: #fff;
}
.consult-box .kicker {
  color: #ffcf47;
}
.consult-box h2 {
  margin: 12px 0;
  font-size: 30px;
  line-height: 1.35;
}
.consult-box p {
  color: #d4e9dc;
  font-size: 12px;
  line-height: 2;
}

.consult-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.consult-form label {
  display: block;
  margin-bottom: 7px;
  font-size: 11px;
  font-weight: 700;
}
.consult-form input,
.consult-form select,
.consult-form textarea {
  width: 100%;
  padding: 13px;
  background: #fff;
  border: 1px solid #d8e7dd;
  border-radius: 6px;
  color: #263e32;
  font-size: 12px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.consult-form input:focus,
.consult-form select:focus,
.consult-form textarea:focus {
  outline: 0;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(255, 199, 53, 0.35);
}
.consult-form .btn {
  justify-content: center;
  width: 100%;
  padding: 14px 21px;
  font-size: 12px;
}
.consult-form .btn.is-loading,
.consult-form .btn:disabled {
  cursor: wait;
  opacity: 0.75;
  filter: none;
  transform: none;
}
.consult-form .btn.is-loading::before {
  content: "";
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: bk-spin 0.7s linear infinite;
}
.consult-form__wide {
  grid-column: 1/-1;
}
.consult-form__trap {
  position: absolute;
  left: -9999px;
}
.consult-form__alert {
  padding: 12px 15px;
  border-radius: 7px;
  font-size: 12px;
}
.consult-form__alert--success {
  background: #e5f6ec;
  color: #0d5c35;
}
.consult-form__alert--error {
  background: #fff1f0;
  color: #a8261b;
}

@media (max-width: 1100px) {
  .consult-box {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding: 30px;
  }
  .contact-grid {
    gap: 20px;
  }
}
@media (max-width: 699px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .contact-map,
  .contact-map iframe {
    min-height: 220px;
  }
  .consult-box {
    padding: 20px;
  }
  .consult-box h2 {
    font-size: 25px;
  }
  .consult-form {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* Thanh đồng ý cookie (plugin cookie-consent): đồng bộ font, nút vàng như các nút khác */
.js-cookie-consent {
  font-family: var(--primary-font);
  font-size: 13px;
}
.js-cookie-consent .cookie-consent-body {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 12px 20px;
}
.js-cookie-consent .cookie-consent__agree {
  flex-shrink: 0;
  padding: 9px 18px;
  background: var(--accent-color) !important;
  border: 0 !important;
  border-radius: 6px;
  color: var(--dark-color) !important;
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: box-shadow 0.2s;
}
.js-cookie-consent .cookie-consent__agree:hover {
  box-shadow: 0 6px 16px rgba(255, 199, 53, 0.4);
}

@media (max-width: 699px) {
  .js-cookie-consent .cookie-consent-body {
    flex-direction: column;
    text-align: center;
  }
}
/* purgecss start ignore */
figure.image {
  margin: 10px 0;
  display: inline-block;
}

figcaption {
  background: #f5f5f5;
  padding: 10px;
  font-size: 90%;
  text-align: center;
}

/* purgecss end ignore */
@media (max-width: 699px) {
  .hero {
    padding-top: 28px !important;
    padding-bottom: 30px !important;
  }
  .hero .hero-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 16px !important;
  }
  .hero .hero-grid .hero-copy {
    padding: 10px 0 15px !important;
  }
  .hero .hero-grid .hero-copy .eyebrow {
    font-size: 12px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--green);
    font-weight: 900;
  }
  .hero .hero-grid .hero-copy h1 {
    font-size: 31px !important;
    line-height: 1.17 !important;
    overflow-wrap: break-word;
    letter-spacing: -2px;
    margin: 21px 0;
    color: var(--deep);
    font-weight: 900;
  }
  .hero .hero-grid .hero-copy p {
    font-size: 15px;
    line-height: 1.9;
    color: #53675c;
    max-width: 490px;
  }
  .hero .hero-grid .hero-copy .hero-actions {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
  }
  .hero .hero-grid .hero-visual {
    min-height: 240px !important;
  }
  .hero .hero-grid .hero-visual ::before {
    inset: 0 -20px 15px 30px;
  }
  .hero .hero-grid .hero-visual img {
    max-height: 320px !important;
    -o-object-fit: cover !important;
       object-fit: cover !important;
  }
  .hero .hero-grid .hero-visual .float {
    position: relative !important;
    inset: auto !important;
    max-width: 100% !important;
    margin: 8px !important;
  }
  .hero .hero-grid .hero-visual .float strong {
    display: block;
    color: var(--green);
    font-size: 20px;
  }
  .hero .hero-grid .hero-visual .float .float span {
    font-size: 12px;
    line-height: 1.6;
  }
}

@media (max-width: 699px) {
  .stripe .wrap {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .stripe-item {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    padding-bottom: 13px;
  }
  .stripe-item:last-child {
    border: 0;
  }
}

@media (max-width: 699px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 699px) {
  .programs .cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 699px) {
  .eco-grid {
    grid-template-columns: 1fr;
  }
  .eco-card {
    flex-direction: row;
    text-align: left;
    padding: 20px;
  }
  .eco-logo {
    width: 90px;
    height: 100px;
  }
  .eco-card h3 {
    font-size: 15px;
  }
}

@media (max-width: 699px) {
  .life {
    grid-template-columns: 1fr;
  }
  .life-big {
    height: 310px;
  }
}

@media (max-width: 699px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 699px) {
  .admission-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .admission h2 {
    font-size: 31px;
  }
}

@media (max-width: 699px) {
  .about-image::after {
    display: none;
  }
}
