/* About sub-pages: Company History, Vision & Mission - Colors: #DAA14C and #184e50 */
.ab-page { background: #eef4f4; overflow-x: hidden; padding-bottom: 80px; }
.ab-timeline { position: relative; max-width: 900px; margin: 0 auto; padding: 0 20px 60px; }
.ab-timeline::before { content: ''; position: absolute; left: 24px; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, #184e50, #DAA14C); border-radius: 4px; }
.ab-item { position: relative; padding-left: 70px; margin-bottom: 45px; }
.ab-item::before { content: ''; position: absolute; left: 16px; top: 8px; width: 24px; height: 24px; background: #184e50; border: 5px solid #eef4f4; border-radius: 50%; box-shadow: 0 0 0 2px #DAA14C; z-index: 2; }
.ab-item:nth-child(even)::before { background: #DAA14C; box-shadow: 0 0 0 2px #184e50; }
.ab-card { background: #fff; border-radius: 16px; padding: 32px 36px; box-shadow: 0 15px 45px rgba(24, 78, 80, 0.08); border: 1px solid rgba(24, 78, 80, 0.08); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.ab-card:hover { transform: translateX(8px); box-shadow: 0 20px 55px rgba(24, 78, 80, 0.12); }
.ab-card h3 { font-size: 1.35rem; font-weight: 700; color: #184e50; margin-bottom: 14px; }
.ab-card p, .ab-card li { font-size: 1.05rem; line-height: 1.85; color: #777; margin-bottom: 10px; text-align: justify; }
.ab-card ul { padding-left: 22px; margin-bottom: 0; }
.ab-card a { color: #184e50; text-decoration: none; border-bottom: 1px solid rgba(24, 78, 80, 0.4); }
.ab-card a:hover { color: #DAA14C; border-bottom-color: #DAA14C; }
.ab-card .highlight { background: linear-gradient(90deg, rgba(24, 78, 80, 0.06), transparent); border-left: 4px solid #DAA14C; padding: 16px 20px; margin: 18px 0; border-radius: 0 10px 10px 0; font-size: 1.05rem; color: #777; }
.ab-cta-box { background: #DAA14C; border-radius: 20px; padding: 45px; text-align: center; margin-top: 50px; box-shadow: 0 20px 50px rgba(218, 161, 76, 0.3); }
.ab-cta-box h3 { color: #fff; font-size: 1.6rem; margin-bottom: 12px; font-weight: 700; }
.ab-cta-box p { color: rgba(255,255,255,0.95); margin-bottom: 25px; font-size: 1.05rem; }
.ab-cta-box .theme-btn { background: #fff; color: #DAA14C; padding: 14px 38px; border-radius: 50px; font-weight: 600; border: 2px solid #fff; }
.ab-cta-box .theme-btn:hover { background: transparent; color: #fff !important; border-color: #fff; }
.ab-flowchart { max-width: 920px; margin: 0 auto 50px; padding: 0 20px; }
.ab-flowchart-figure { background: #fff; border-radius: 16px; padding: 36px 24px 40px; box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08); border: 1px solid rgba(0, 0, 0, 0.08); }
.ab-flowchart-title { text-align: center; font-size: 1.5rem; font-weight: 700; color: #184e50; margin: 0 0 6px; }
.ab-flowchart-subtitle { text-align: center; font-size: 0.95rem; color: #777; margin: 0 0 24px; }
.ab-flowchart-track { position: relative; width: 100%; padding: 8px 0; min-height: 140px; }
.ab-flowchart-path { fill: none; stroke: #DAA14C; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1520; stroke-dashoffset: 1520; animation: abFlowDraw 3.4s ease-out infinite; }
.ab-flowchart-path-glow { fill: none; stroke: #DAA14C; stroke-width: 10; stroke-linecap: round; stroke-linejoin: round; opacity: 0.2; stroke-dasharray: 1520; stroke-dashoffset: 1520; animation: abFlowDraw 3.4s ease-out infinite; }
@keyframes abFlowDraw { 0% { stroke-dashoffset: 1520; } 70.6% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; } }
.ab-flowchart-nodes { position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: 1fr 1fr; gap: 12px 0; padding: 8px 0 24px; pointer-events: none; box-sizing: border-box; }
.ab-flowchart-node { display: flex; align-items: center; justify-content: center; padding: 10px 8px; background: #fff; border-radius: 50px; font-size: 0.8rem; font-weight: 600; color: #777; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12); pointer-events: auto; position: relative; z-index: 2; }
.ab-flowchart-node:nth-child(12) { background: rgba(218, 161, 76, 0.12); }
.vm-card { background: #fff; border-radius: 20px; padding: 50px 45px; box-shadow: 0 20px 60px rgba(24, 78, 80, 0.12); margin-bottom: 35px; border-left: 5px solid #DAA14C; transition: transform 0.4s ease, box-shadow 0.4s ease; }
.vm-card:hover { transform: translateY(-8px); box-shadow: 0 25px 70px rgba(24, 78, 80, 0.18); }
.vm-card-icon {
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1.5px solid #184e50;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: #184e50;
  margin-bottom: 18px;
  flex-shrink: 0;
  box-shadow: none;
}
.vm-cards .vm-card + .vm-card .vm-card-icon {
  border-color: #DAA14C;
  color: #b8892e;
}
.vm-card h2 { font-size: 1.9rem; font-weight: 700; color: #184e50; margin-bottom: 22px; }
.vm-card p { font-size: 1.1rem; line-height: 1.9; color: #184e50; opacity: 0.9; margin-bottom: 0; text-align: justify; }
.vm-cards { padding: 40px 15px 80px; }
.vm-cta { text-align: center; padding: 30px 20px; }
.vm-cta .theme-btn { background: #DAA14C !important; color: #fff !important; padding: 16px 40px; border-radius: 50px; font-weight: 600; }
.vm-cta .theme-btn:hover { background: #c9923a !important; color: #fff !important; }

/* About Us related links — above footer */
.ab-subnav {
  background: #f5f7f7;
  border-top: 1px solid #e2e8e8;
  padding: 28px 0 32px;
}
.ab-subnav__title {
  margin: 0 0 12px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #777;
  text-align: center;
}
.ab-subnav__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ab-subnav__item {
  display: inline-flex;
  align-items: center;
}
.ab-subnav__item:not(:last-child)::after {
  content: "|";
  margin: 0 12px;
  color: #ccc;
  font-size: 0.875rem;
  font-weight: 300;
}
.ab-subnav__link {
  display: inline;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.5;
  color: #184e50;
  text-decoration: none;
  transition: color 0.2s ease;
}
.ab-subnav__link:hover {
  color: #DAA14C;
  text-decoration: underline;
}
.ab-subnav__link.is-current {
  color: #333;
  font-weight: 600;
  text-decoration: none;
  cursor: default;
}
@media (max-width: 575.98px) {
  .ab-subnav__item:not(:last-child)::after {
    content: none;
  }
  .ab-subnav__list {
    flex-direction: column;
    align-items: center;
    gap: 2px;
  }
  .ab-subnav__link {
    display: inline-block;
    font-size: 0.875rem;
    padding: 8px 4px;
  }
}

/* Vision & Mission page title */
.vm-page-title .title-outer {
  justify-content: center;
}
.vm-page-title .title {
  text-align: center;
  width: 100%;
  margin-bottom: 0;
}

/* ===== Vision & Mission — Microsoft-style layout ===== */
.vm-hero {
  position: relative;
  display: block;
  overflow: hidden;
  background: #eef2f2;
}
.vm-hero__media {
  line-height: 0;
  max-height: clamp(220px, 26vw, 300px);
  overflow: hidden;
}
.vm-hero__media img {
  display: block;
  width: 100%;
  height: clamp(220px, 26vw, 300px);
  object-fit: cover;
  object-position: center center;
}
.vm-hero__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.45) 0%,
    rgba(255, 255, 255, 0.22) 38%,
    rgba(255, 255, 255, 0.06) 62%,
    rgba(0, 0, 0, 0.04) 100%
  );
  pointer-events: none;
}
.vm-hero__inner {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  width: 100%;
  padding: 20px 15px;
}
.vm-breadcrumb {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  font-size: 0.875rem;
}
.vm-breadcrumb li { color: rgba(255, 255, 255, 0.85); }
.vm-breadcrumb li a { color: #fff; text-decoration: none; }
.vm-breadcrumb li a:hover { text-decoration: underline; }
.vm-breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 12px;
  opacity: 0.7;
}
.vm-hero__panel {
  max-width: 520px;
  background: rgba(255, 255, 255, 0.32);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  padding: clamp(20px, 3vw, 28px) clamp(20px, 3vw, 32px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.vm-hero__title {
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  font-weight: 700;
  color: #111;
  line-height: 1.2;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}
.vm-hero__text {
  font-size: clamp(1rem, 1.35vw, 1.125rem);
  line-height: 1.65;
  color: #333;
  margin: 0;
  text-align: left;
}

.vm-mission {
  background: #fff;
  padding: clamp(48px, 6vw, 80px) 0;
}
.vm-mission__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.vm-mission__media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}
.vm-mission__title {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 700;
  color: #111;
  line-height: 1.25;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}
.vm-mission__text {
  font-size: clamp(1rem, 1.25vw, 1.0625rem);
  line-height: 1.75;
  color: #444;
  margin: 0 0 24px;
  text-align: left;
}
.vm-mission__actions { margin-top: 8px; }
.vm-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 600;
  color: #184e50;
  text-decoration: none;
  transition: color 0.2s ease;
}
.vm-link:hover { color: #DAA14C; }
.vm-link i { font-size: 0.85em; }

/* Vision & Mission visual summary — above About Us links */
.vm-conclusion {
  background: #fff;
  padding: clamp(40px, 5vw, 56px) 0 40px;
}
.vm-conclusion__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 3vw, 28px);
  max-width: 920px;
  margin: 0 auto;
}
.vm-conclusion__card {
  position: relative;
  padding: clamp(24px, 3vw, 32px);
  border-radius: 12px;
  border: 1px solid rgba(24, 78, 80, 0.1);
  background: #f8fafa;
  overflow: hidden;
}
.vm-conclusion__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
}
.vm-conclusion__card--vision::before {
  background: linear-gradient(90deg, #184e50, #2a6d70);
}
.vm-conclusion__card--mission::before {
  background: linear-gradient(90deg, #DAA14C, #e8b86a);
}
.vm-conclusion__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-size: 1.05rem;
}
.vm-conclusion__card--vision .vm-conclusion__icon {
  color: #184e50;
  background: rgba(24, 78, 80, 0.1);
  border: 1px solid rgba(24, 78, 80, 0.15);
}
.vm-conclusion__card--mission .vm-conclusion__icon {
  color: #b8892e;
  background: rgba(218, 161, 76, 0.12);
  border: 1px solid rgba(218, 161, 76, 0.25);
}
.vm-conclusion__text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #555;
}
.vm-conclusion__list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.vm-conclusion__list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #555;
}
.vm-conclusion__list li + li {
  margin-top: 8px;
}
.vm-conclusion__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #DAA14C;
}
.vm-conclusion__line {
  position: relative;
  max-width: 520px;
  height: 1px;
  margin: clamp(32px, 4vw, 40px) auto 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(24, 78, 80, 0.25) 15%,
    #184e50 35%,
    #DAA14C 50%,
    #184e50 65%,
    rgba(24, 78, 80, 0.25) 85%,
    transparent 100%
  );
}
.vm-conclusion__line::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  background: #DAA14C;
  border: 2px solid #fff;
  transform: translate(-50%, -50%) rotate(45deg);
  box-shadow: 0 0 0 1px rgba(24, 78, 80, 0.2);
}

@media (max-width: 767.98px) {
  .vm-conclusion__grid {
    grid-template-columns: 1fr;
  }
  .vm-conclusion {
    padding: 32px 0 28px;
  }
  .vm-conclusion__card {
    padding: 20px;
  }
  .vm-mission {
    padding: 36px 0 40px;
  }
  .vm-mission__grid {
    gap: 24px;
  }
  .vm-page-title .title-outer {
    align-items: center !important;
    text-align: center;
  }
  .vm-page-title .page-breadcrumb {
    align-self: center !important;
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
    text-align: center;
  }
}

@media (max-width: 991.98px) {
  .vm-hero {
    display: flex;
    flex-direction: column;
    background: #fff;
  }
  .vm-hero__overlay {
    display: none;
  }
  .vm-hero__media {
    max-height: none;
    width: 100%;
  }
  .vm-hero__media img {
    height: clamp(200px, 38vw, 280px);
  }
  .vm-hero__inner {
    position: relative;
    top: auto;
    transform: none;
    padding: 24px 15px 28px;
  }
  .vm-hero__panel {
    max-width: 100%;
    background: #f8fafa;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border: 1px solid rgba(24, 78, 80, 0.1);
    box-shadow: none;
  }
  .vm-mission__grid { grid-template-columns: 1fr; }
  .vm-mission__media { order: -1; max-width: 640px; margin: 0 auto; width: 100%; }
}
@media (max-width: 768px) { .ab-timeline::before { left: 14px; } .ab-item { padding-left: 55px; } .ab-item::before { left: 6px; width: 18px; height: 18px; } .ab-card { padding: 24px 22px; } .vm-card { padding: 35px 25px; } .vm-card h2 { font-size: 1.5rem; } .vm-card-icon { width: 36px; height: 36px; font-size: 0.85rem; margin-bottom: 14px; } .ab-flowchart-node { font-size: 0.65rem; padding: 6px 4px; } }
