/* About page — aligned with ACE IT homepage (mint, teal, black) */
.about-page {
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  overflow-x: hidden;
}

.about-sub {
  display: block;
  color: #03A680;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.about-title {
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: #000 !important;
  letter-spacing: 0.01em;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.about-lead,
.about-text {
  color: #444;
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.about-lead {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.about-section-head {
  margin-bottom: 2.5rem;
}

/* Hero */
.about-hero {
  background: #F3FAFA;
  padding: 48px 0 56px;
  text-align: center;
}

.about-breadcrumb {
  justify-content: center;
  margin-bottom: 1.5rem;
}

.about-hero h1 {
  font-weight: 800;
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  color: #000;
  letter-spacing: 0.01em;
  line-height: 1.2;
  max-width: 900px;
  margin: 0 auto 1rem;
}

.about-hero h1 span {
  color: #03A680;
}

.about-hero-lead {
  font-size: 1.1rem;
  color: #333;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Intro */
.about-intro {
  padding: 90px 0;
  background: #fff;
}

.about-us-img {
  border-radius: 16px;
  overflow: hidden;
  min-height: 380px;
  background: #e8eef5;
  box-shadow: none !important;
}

.about-us-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 380px;
  box-shadow: none !important;
}

.about-highlight-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.95rem;
  color: #333;
  line-height: 1.55;
}

.about-highlight-list li i {
  color: #03A680;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Capability cards */
.about-capabilities {
  padding: 90px 0;
  background: #F3FAFA;
}

.about-cap-card {
  --cap-accent: #03A680;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e8eef5;
  padding: 24px 20px 20px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.05);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.about-cap-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 42px color-mix(in srgb, var(--cap-accent) 22%, transparent);
  border-color: var(--cap-accent);
  color: inherit;
}

.about-cap-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--cap-accent) 10%, #fff);
  border: 1px solid color-mix(in srgb, var(--cap-accent) 25%, #e8eef5);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.about-cap-icon i {
  font-size: 1.5rem;
  color: var(--cap-accent);
  line-height: 1;
}

.about-cap-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: #000 !important;
  letter-spacing: 0.01em;
  margin: 0 0 4px;
  line-height: 1.35;
}

.about-cap-tag {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--cap-accent);
  margin: 0 0 8px;
}

.about-cap-desc {
  font-size: 0.86rem;
  color: #555;
  line-height: 1.55;
  margin: 0 0 12px;
  flex: 1;
}

.about-cap-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cap-accent);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: auto;
}

.about-cap-card:hover .about-cap-link {
  gap: 9px;
}

/* Process */
.about-process {
  padding: 90px 0;
  background: #D0E3E3;
  background-image: url('../../images/background2.png');
  background-size: cover;
  background-position: center;
  position: relative;
}

.about-process::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(208, 227, 227, 0.88);
  pointer-events: none;
}

.about-process .container {
  position: relative;
  z-index: 1;
}

.about-step-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border-radius: 16px;
  padding: 28px 20px 24px;
  text-align: center;
  border: 1px solid rgba(3, 166, 128, 0.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-step-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(3, 166, 128, 0.12);
}

.about-step-num {
  display: inline-block;
  font-size: 2rem;
  font-weight: 800;
  color: #03A680;
  opacity: 0.35;
  line-height: 1;
  margin-bottom: 10px;
}

.about-step-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #000 !important;
  letter-spacing: 0.01em;
  margin-bottom: 8px;
}

.about-step-card p {
  font-size: 0.9rem;
  color: #333;
  margin: 0;
  line-height: 1.55;
}

/* Stats */
.about-stats {
  padding: 0 0 90px;
  margin-top: -40px;
  position: relative;
  z-index: 2;
}

.about-stats-bar {
  background: #26A69A;
  border-radius: 16px;
  padding: 48px 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
  color: #fff;
  box-shadow: none;
}

.about-stats-bar h3 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 0.2rem;
  color: #fff;
}

.about-stats-bar p {
  margin: 0;
  font-size: 0.92rem;
  opacity: 0.95;
}

/* Mission / Vision */
.about-mv {
  padding: 90px 0;
  background: #fff;
}

.about-mv-panel {
  border-radius: 16px;
  padding: 36px 30px;
  height: 100%;
}

.about-mv-mission {
  background: linear-gradient(145deg, #281F55 0%, #0A62A5 100%);
  color: #fff;
}

.about-mv-vision {
  background: #F3FAFA;
  border: 1px solid rgba(3, 166, 128, 0.2);
}

.about-mv-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.about-mv-mission .about-mv-icon {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.about-mv-vision .about-mv-icon {
  background: #fff;
  color: #03A680;
  border: 2px solid #03A680;
}

.about-mv-panel h3 {
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.01em;
  margin-bottom: 1rem;
  color: inherit !important;
}

.about-mv-mission h3 {
  color: #fff !important;
}

.about-mv-vision h3 {
  color: #000 !important;
}

.about-mv-panel p {
  line-height: 1.75;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.about-mv-mission p {
  color: rgba(255, 255, 255, 0.92);
}

.about-mv-vision p {
  color: #444;
}

/* Why choose */
.about-why {
  padding: 90px 0;
  background: #F3FAFA;
}

.about-why-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border-radius: 16px;
  padding: 26px 22px;
  border: 1px solid #e8eef5;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.about-why-card:hover {
  transform: translateY(-6px);
  border-color: #03A680;
  box-shadow: 0 14px 36px rgba(3, 166, 128, 0.1);
}

.about-why-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #e8f8f4;
  color: #03A680;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 14px;
}

.about-why-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #000 !important;
  letter-spacing: 0.01em;
  margin-bottom: 8px;
}

.about-why-card p {
  font-size: 0.9rem;
  color: #555;
  margin: 0;
  line-height: 1.6;
}

/* Story grid */
.about-story {
  padding: 90px 0;
  background: #fff;
}

.about-story-item {
  background: #F3FAFA;
  border-radius: 12px;
  padding: 18px 18px 18px 44px;
  position: relative;
  height: 100%;
  border: 1px solid #e8eef5;
  transition: border-color 0.25s;
}

.about-story-item:hover {
  border-color: #03A680;
}

.about-story-item i {
  position: absolute;
  left: 14px;
  top: 16px;
  color: #03A680;
  opacity: 0.5;
  font-size: 1.1rem;
}

.about-story-item p {
  margin: 0;
  font-size: 0.88rem;
  color: #444;
  line-height: 1.6;
}

/* Values */
.about-values-block {
  padding: 90px 0;
  background: #fff;
  border-top: 1px solid #eef4fc;
}

.about-value-card {
  background: #F3FAFA;
  border: 1px solid #e8eef5;
  border-radius: 14px;
  padding: 22px 14px;
  text-align: center;
  transition: transform 0.25s, border-color 0.25s;
}

.about-value-card:hover {
  transform: translateY(-4px);
  border-color: #03A680;
}

.about-value-card i {
  font-size: 1.75rem;
  color: #03A680;
  display: block;
  margin-bottom: 10px;
}

.about-value-card h3 {
  font-size: 0.82rem;
  font-weight: 700;
  color: #000 !important;
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}

.about-value-card p {
  font-size: 0.72rem;
  color: #555;
  margin: 0;
  line-height: 1.4;
}

/* Panel line graphics on about cards */
.about-cap-card .panel-line-tr,
.about-cap-card .panel-line-bl,
.about-step-card .panel-line-tr,
.about-step-card .panel-line-bl,
.about-why-card .panel-line-tr,
.about-why-card .panel-line-bl {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  background-repeat: no-repeat;
  background-size: contain;
}

.about-cap-card .panel-line-tr,
.about-step-card .panel-line-tr,
.about-why-card .panel-line-tr {
  top: 8px;
  right: 8px;
  width: 50px;
  height: 50px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='50' height='50' viewBox='0 0 70 70'%3E%3Cline x1='0' y1='50' x2='50' y2='0' stroke='%2303A680' stroke-width='1.2' opacity='0.22'/%3E%3C/svg%3E");
}

.about-cap-card .panel-line-bl,
.about-step-card .panel-line-bl,
.about-why-card .panel-line-bl {
  bottom: 8px;
  left: 8px;
  width: 40px;
  height: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 56 56'%3E%3Cline x1='0' y1='40' x2='40' y2='0' stroke='%2303A680' stroke-width='1.2' opacity='0.18'/%3E%3C/svg%3E");
}

.about-cap-card > *:not([class*='panel-line']),
.about-step-card > *:not([class*='panel-line']),
.about-why-card > *:not([class*='panel-line']) {
  position: relative;
  z-index: 2;
}

@media (max-width: 991px) {
  .about-stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-us-img {
    min-height: 300px;
  }
  .about-us-img img {
    min-height: 300px;
  }
}

@media (max-width: 575px) {
  .about-stats-bar {
    grid-template-columns: 1fr;
    padding: 32px 20px;
  }
  .about-hero {
    padding: 36px 0 44px;
  }
}
