/* home.css - only used by index.php: hero slider, about block, why-choose-us, testimonials. */
.btn.o {
  background: transparent;
  color: var(--red);
  padding-right: 22px;
}
.btn.o:hover {
  background: var(--red);
  color: #fff;
}

/* ---------- Hero slider ---------- */
.hero {
  padding-top: 18px;
  padding-bottom: 56px;
  align-items: stretch;
}
.hl {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.lbl {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--red);
  margin-top: 24px;
}
.lbl:before {
  content: "";
  width: 56px;
  height: 2px;
  background: var(--red);
}
.hero h1,
.hero .hero-title {
  font-weight: 900;
  margin: 22px 0 20px;
  min-height: 2.1em;
}
.hero p.d {
  color: var(--mut);
  max-width: 36em;
  min-height: 5.2em;
  margin: 0 0 26px;
}
.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.ctl {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 30px 0;
}
.cb {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  cursor: pointer;
}
.cb:hover {
  border-color: var(--red);
  color: var(--red);
}
.logos {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
}
.lt {
  flex: 1;
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  gap: 0;
  min-width: 0;
}
.lt::-webkit-scrollbar {
  display: none;
}
.lg {
  flex: 0 0 140px;
  height: 70px;
  display: grid;
  place-items: center;
  border-left: 1px solid var(--line);
  padding: 8px 14px;
  color: var(--mut);
  text-align: center;
}
.lg.ph {
  border-left: 1px dashed var(--line);
}
.lg img {
  max-height: 48px;
  object-fit: contain;
}
.grid4 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 6px 20px rgba(0,0,0,.12);
}
.about {
  align-items: start;
}
.yr {
  background: #202020;
  color: #fff;
  border-radius: 22px;
  padding: 36px;
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}
.yr img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .55;
}
.yr b {
  font-weight: 800;
  font-family: var(--hf);
  line-height: 1;
  position: relative;
}
.yr span {
  position: relative;
  font-family: var(--hf);
  font-weight: 700;
}
.about p {
  color: var(--mut);
  margin: 0 0 18px;
  max-width: 46em;
}
.pc.hot {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}
.pc.hot p,
.pc.hot a {
  color: #fff;
}
.wg {
  border-top: 1px solid var(--line);
}
.wg .wg-item {
  padding: 30px 28px 30px 0;
  border-bottom: 1px solid var(--line);
}
.wg h3 {
  margin-bottom: 10px;
}
.wg h3:before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  background: var(--red);
  margin-right: 12px;
}
.wg p {
  margin: 0;
  color: var(--mut);
}
.tm {
  align-items: center;
}
.tm img {
  border-radius: 22px;
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
}

@media (max-width:1000px) {
  .yr {
    aspect-ratio: 4/3;
    min-height: 0;
  }
}

@media (max-width:640px) {
  .hero h1,
  .hero .hero-title {
    min-height: 0;
  }
  .hero p.d {
    min-height: 0;
  }
}

.apps-more { margin: 36px 0 0; }
.ctl.ctl-tight { margin: 22px 0 0; }

/* ---------- Vision / Mission list ---------- */
.vm-list { margin-top: 28px; }
.vm-item { border-top: 1px solid #3a3a3a; padding: 28px 0; }
.vm-no { color: #8a8a8a; font-family: var(--hf); font-weight: 700; padding-top: 14px; min-width: 2.2em; }
.vm-body h3 { margin: 0 0 10px; }
.about .vm-body p { margin: 0; max-width: 30em; }
.vm-icon { display: grid; place-items: center; width: 104px; height: 104px; border-radius: 12px; background: #fff; color: #1d1d1d; }
.vm-more { margin-top: 12px; }

@media (max-width: 640px) {
  .vm-item { padding: 22px 0; }
  .vm-no { padding-top: 6px; min-width: 0; }
  .vm-icon { width: 64px; height: 64px; }
  .vm-icon svg { width: 40px; height: 40px; }
}

/* ---------- Hero image captions + cut-corner shape ---------- */
.grid4 .col { filter: drop-shadow(0 6px 14px rgba(0,0,0,.16)); }
.grid4 .hg { margin: 0; height: 100%; display: flex; flex-direction: column; background: #fff; overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 38px) 0, 100% 38px, 100% 100%, 0px 100%, 0 calc(100% - 38px)); }
.grid4 .hg img { display: block; width: 100%; height: auto; aspect-ratio: 1.84 / 1; object-fit: contain; background: #fff; border-radius: 0; box-shadow: none; }
.grid4 .col-12 .hg img { aspect-ratio: auto; }
.grid4 .hg figcaption { padding: 12px 16px 14px; color: var(--ink); font-weight: 600; font-size: 15px; line-height: 1.3; border-top: 3px solid var(--red); background: #fff; flex: 1; display: flex; align-items: center; }
@media (max-width: 640px) {
  .grid4 .hg { clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px)); }
  .grid4 .hg figcaption { font-size: 13px; padding: 10px 12px; }
}
