/* ==========================================================================
   ABOUT US PAGE STYLES (about.css)
   ========================================================================== */

/* --- Banner Section --- */
.about-banner-section {
  position: relative;
  background: linear-gradient(135deg, #f7fafc 0%, #e2e8f0 100%);
  padding: 140px 0 80px 0;
  overflow: hidden;
}

.about-banner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px;
}

.about-banner-text {
  max-width: 550px;
}

.about-banner-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
  line-height: 1.1;
  text-transform: uppercase;
}

.about-banner-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 25px;
  letter-spacing: 0.5px;
  position: relative;
  display: inline-block;
  text-transform: uppercase;
}

.about-banner-subtitle::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--accent);
  border-radius: 2px;
}

.about-banner-desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-gray);
  margin-bottom: 35px;
}

.about-banner-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-banner-image img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* --- Who We Are Section --- */
.about-who-section {
  padding: 100px 0;
  background: #f4f7fb url('../images/about-top-bg.png') center bottom / cover no-repeat;
  position: relative;
  overflow: hidden;
}

.about-who-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 70px;
  align-items: center;
}

.about-who-img-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: visible;
  box-shadow: 0 20px 45px rgba(0, 34, 92, 0.12);
}

.about-who-img-wrapper img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 20px;
  display: block;
}

.about-since-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  min-width: 140px;
  padding: 16px 20px;
  background-color: #0c4fb4;
  color: white;
  border-radius: 12px 0 20px 0;
  box-shadow: 0 10px 25px rgba(12, 79, 180, 0.25);
  text-align: center;
  font-weight: 700;
  line-height: 1.2;
}

.about-since-badge span {
  display: block;
  font-size: 13px;
  font-weight: 500;
  opacity: 0.95;
  margin-bottom: 4px;
}

.about-since-badge strong {
  font-size: 26px;
  font-weight: 800;
  display: block;
}

.about-who-subtitle {
  font-size: 14px;
  font-weight: 700;
  color: #0c4fb4;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
  display: inline-block;
  position: relative;
}

.about-who-subtitle::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 45px;
  height: 3px;
  background-color: #0c4fb4;
  border-radius: 2px;
}

.about-who-title {
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 800;
  color: #1a202c;
  line-height: 1.25;
  margin-top: 15px;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 20px;
}

.about-who-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: #0c4fb4;
  border-radius: 2px;
}

.about-who-desc {
  font-size: 15px;
  line-height: 1.8;
  color: #4a5568;
  margin-bottom: 40px;
}

/* Stats Row */
.about-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding-top: 10px;
}

.about-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  text-align: center;
}

@media (min-width: 768px) {
  .about-stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 20%;
    right: -5px;
    width: 1px;
    height: 60%;
    background-color: rgba(0, 0, 0, 0.08);
  }
}

.about-stat-icon {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(12, 79, 180, 0.08);
  font-size: 24px;
  color: #0c4fb4;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.about-stat-item:hover .about-stat-icon {
  background-color: #0c4fb4;
  color: white;
  transform: translateY(-2px);
}

.about-stat-number {
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 800;
  color: #0c4fb4;
  line-height: 1.1;
  margin-bottom: 8px;
}

.about-stat-label {
  font-size: 13px;
  color: #718096;
  font-weight: 500;
}

/* --- Certifications & Honors Section --- */
.about-certs-section {
  padding: 112px 0 147px;
  background: #f7faff url('../images/about-honors-bg.png') center / cover no-repeat;
  color: #112d60;
  position: relative;
  overflow: hidden;
}

.about-certs-title-row {
  text-align: center;
  margin-bottom: 98px;
}

.about-certs-eyebrow { display: inline-flex; align-items: center; gap: 24px; margin-bottom: 28px; color: #0754bd; font-size: 17px; font-weight: 800; letter-spacing: 3px; text-transform: uppercase; }
.about-certs-eyebrow::before,.about-certs-eyebrow::after { content: ''; width: 70px; height: 1px; background: #0d63d2; }

.about-certs-title-row h2 {
  color: #123164;
  font-size: clamp(33px, 3vw, 50px);
  font-weight: 800;
  letter-spacing: -.55px;
  margin: 0 0 20px;
}

.about-certs-title-row p { margin: 0; color: #34435e; font-size: clamp(14px, 1.15vw, 19px); line-height: 1.85; }
.about-certs-rule { display:block; width:46px; height:4px; margin:23px auto 0; background:#0754bd; }

.cert-shelf-wrapper {
  position: relative;
  padding: 0 2% 53px;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(10px, 1.5vw, 24px);
  position: relative;
  z-index: 2;
}

.cert-card {
  padding: clamp(6px, 0.7vw, 10px);
  background: linear-gradient(135deg, #a77b2d 0%, #f9e3a4 16%, #a7782d 48%, #f7e0a0 72%, #a97d33 100%);
  border: 1px solid rgba(112, 78, 21, .5);
  border-radius: 0;
  box-shadow: 0 15px 30px rgba(48, 77, 113, .19), 0 2px 1px rgba(255,255,255,.9) inset;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  cursor: default;
  transform-origin: bottom center;
}

.cert-card:hover {
  transform: translateY(-9px);
  box-shadow: 0 25px 38px rgba(48, 77, 113, .25);
}

.cert-frame {
  width: 100%;
  aspect-ratio: 1 / 1.414; /* A4 Ratio */
  border: 3px double #c9a55d;
  padding: clamp(7px, .75vw, 13px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, #fff 0%, #faf9f2 100%);
  color: #2d3748;
}

.cert-emblem {
  color: #d4af37;
  font-size: clamp(22px, 2.3vw, 34px);
  margin-top: 6px;
}

.cert-emblem.green {
  color: #2f855a;
}

.cert-emblem.blue {
  color: #2b6cb0;
}

.cert-emblem.red {
  color: #c53030;
}

.cert-text-title {
  font-size: clamp(9px, 0.8vw, 12px);
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
  margin: 7px 0;
  letter-spacing: 0.2px;
}

.cert-stars {
  color: #d4af37;
  font-size: clamp(8px, 0.7vw, 10px);
  letter-spacing: 1px;
}

.cert-stamp {
  width: clamp(28px, 2.4vw, 38px);
  height: clamp(28px, 2.4vw, 38px);
  border-radius: 50%;
  border: 1.5px dashed #c53030;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c53030;
  font-size: clamp(7px, 0.65vw, 9px);
  font-weight: 700;
  transform: rotate(-15deg);
  margin-bottom: 5px;
}

/* Shelf Board 3D Visual Effect */
.shelf-board {
  display: none;
}

/* --- Our Factory Section --- */
.about-factory-section {
  padding: 100px 0;
  background-color: #fafbfc;
}

.about-factory-title-row {
  margin-bottom: 50px;
}

.about-factory-subtitle {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
  display: block;
}

.about-factory-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
  text-transform: uppercase;
}

.about-factory-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--accent);
  border-radius: 2px;
}

.factory-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.factory-gallery-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.factory-gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: block;
}

.factory-gallery-item:hover img {
  transform: scale(1.08);
}

/* --- Team & Values Section --- */
/* ==========================================================================
   OUR TEAM & VALUES SECTION
   ========================================================================== */

.about-team-values-section {
  padding: 100px 0;
  background: #f4f7fb url('../images/about-team-bg.png') center / cover no-repeat;
  position: relative;
  overflow: hidden;
}

.about-team-values-heading {
  text-align: center;
  margin-bottom: 50px;
}

.about-team-values-heading > span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #0c4fb4;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.about-team-values-heading > span::before,
.about-team-values-heading > span::after {
  content: '';
  width: 30px;
  height: 1px;
  background-color: #0c4fb4;
}

.about-team-values-heading h2 {
  margin: 15px 0 20px;
  color: #112d60;
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.about-team-values-heading p {
  margin: 0;
  color: #4a5568;
  font-size: 15.5px;
  line-height: 1.6;
}

.about-team-values-heading > i {
  display: block;
  width: 45px;
  height: 3px;
  margin: 20px auto 0;
  background-color: #0c4fb4;
  border-radius: 2px;
}

.about-team-values-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 30px;
  align-items: stretch;
}

.about-team-col {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.about-team-intro {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 12px 35px rgba(0, 34, 92, 0.05);
  overflow: hidden;
  height: 100%;
}

.about-team-copy {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-team-subtitle,
.about-values-subtitle {
  font-size: 13px;
  font-weight: 700;
  color: #0c4fb4;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: inline-block;
  position: relative;
  margin-bottom: 12px;
  align-self: flex-start;
}

.about-team-subtitle::after,
.about-values-subtitle::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 35px;
  height: 3px;
  background-color: #0c4fb4;
  border-radius: 2px;
}

.about-team-title {
  margin: 15px 0;
  color: #112d60;
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 800;
  line-height: 1.25;
}

.about-team-desc {
  margin: 0;
  color: #4a5568;
  font-size: 14.5px;
  line-height: 1.75;
}

.about-team-img-wrapper {
  margin: 0;
  width: 100%;
  height: 100%;
}

.about-team-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Metrics Row (Blue Card) */
.about-team-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-radius: 16px;
  background: linear-gradient(135deg, #0c4fb4 0%, #00225c 100%);
  color: #ffffff;
  padding: 30px 20px;
  box-shadow: 0 12px 30px rgba(0, 34, 92, 0.12);
}

.about-team-metrics > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  position: relative;
}

.about-team-metrics > div:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 20%;
  right: 0;
  width: 1px;
  height: 60%;
  background-color: rgba(255, 255, 255, 0.15);
}

.about-team-metrics i {
  font-size: 24px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 4px;
}

.about-team-metrics strong {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 800;
  line-height: 1.1;
  color: #ffffff;
}

.about-team-metrics span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  line-height: 1.3;
}

/* Values Card Column */
.about-values-col {
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 12px 35px rgba(0, 34, 92, 0.05);
  padding: 40px;
  display: flex;
  flex-direction: column;
}

.about-values-title {
  display: none; /* Subtitle inside about-values-col handles it */
}

.about-value-list {
  display: flex;
  flex-direction: column;
  margin-top: 25px;
  height: 100%;
  justify-content: space-between;
}

.about-value-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 16px 0;
  position: relative;
}

.about-value-item:not(:last-child) {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.about-value-item:first-child {
  padding-top: 0;
}

.about-value-item:last-child {
  padding-bottom: 0;
}

.about-value-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(12, 79, 180, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0c4fb4;
  font-size: 20px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.about-value-item:hover .about-value-icon {
  background-color: #0c4fb4;
  color: #ffffff;
  transform: scale(1.05);
}

.about-value-text h4 {
  font-size: 16.5px;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 6px;
}

.about-value-text p {
  font-size: 13.5px;
  line-height: 1.5;
  color: #718096;
  margin: 0;
}
@media (max-width:991px) { .about-team-values-grid { grid-template-columns:1fr; }.about-values-col { max-width:760px; width:100%; margin:0 auto; }.about-team-col { max-width:900px; width:100%; margin:0 auto; } }
@media (max-width:640px) { .about-team-values-section { padding:62px 0; }.about-team-values-heading p br { display:none; }.about-team-intro { grid-template-columns:1fr; }.about-team-copy { padding:32px 28px; }.about-team-img-wrapper img { height:auto; aspect-ratio:1.13; }.about-team-metrics { grid-template-columns:repeat(2,1fr); }.about-team-metrics>div+div::before { display:none; }.about-values-col { padding:28px 25px 18px; }.about-value-item { align-items:flex-start; }.about-value-icon { flex:0 0 58px; width:58px; height:58px; } }

/* --- Call-To-Action Banner Section --- */
.about-cta-section {
  padding: 50px 0;
  background: linear-gradient(135deg, #051430 0%, #00225c 100%);
  color: white;
}

.about-cta-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.about-cta-text h3 {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 800;
  color: white;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.about-cta-text p {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.btn-cta-contact {
  background-color: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 12px 28px;
  font-weight: 600;
  font-size: 14px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.btn-cta-contact:hover {
  background-color: white;
  color: var(--primary);
  border-color: white;
  transform: translateY(-2px);
}


/* ==========================================================================
   RESPONSIVE DESIGN (about.css)
   ========================================================================== */

@media (max-width: 1199px) {
  .about-who-grid {
    gap: 40px;
  }
  .cert-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
  }
  .shelf-board {
    display: none; /* Hide shelf line on multi-row wraps */
  }
  .factory-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .about-team-values-grid {
    gap: 50px;
  }
}

@media (max-width: 991px) {
  .about-banner-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .about-banner-text {
    max-width: 100%;
    margin: 0 auto;
  }
  .about-banner-subtitle::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .about-who-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .about-who-img-wrapper {
    max-width: 600px;
    margin: 0 auto;
  }
  .about-team-values-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .about-team-img-wrapper {
    max-width: 600px;
  }
  .about-team-btn {
    align-self: center;
  }
}

@media (max-width: 768px) {
  .about-banner-section {
    padding: 120px 0 60px 0;
  }
  .about-who-section,
  .about-certs-section,
  .about-factory-section,
  .about-team-values-section {
    padding: 70px 0;
  }
  .about-stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  .about-who-section { padding: 75px 0 110px; background-position: 60% bottom; }
  .about-who-img-wrapper img { height: auto; aspect-ratio: .93; }
  .about-who-title { font-size: 31px; }
  .about-who-desc { font-size: 16px; line-height: 1.8; }
  .about-stat-item + .about-stat-item::before { display: none; }
  .about-certs-section { padding: 78px 0 95px; background-position: 55% center; }
  .about-certs-title-row { margin-bottom: 55px; }
  .about-certs-eyebrow { font-size: 14px; gap: 15px; margin-bottom: 18px; }
  .about-certs-eyebrow::before,.about-certs-eyebrow::after { width: 40px; }
  .about-certs-title-row h2 { font-size: 31px; }
  .about-certs-title-row p br { display: none; }
  .cert-shelf-wrapper { padding: 0 2% 35px; }
  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .about-cta-container {
    flex-direction: column;
    text-align: center;
    gap: 25px;
  }
}

@media (max-width: 575px) {
  .cert-grid {
    grid-template-columns: 1fr;
    max-width: 280px;
    margin: 0 auto;
  }
  .factory-gallery {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  .about-stats-row {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about-stat-item {
    align-items: center;
  }
  .about-certs-title-row h2 { font-size: 28px; }
  .about-certs-title-row p { font-size: 14px; }
  .cert-shelf-wrapper { max-width: 320px; margin: 0 auto; padding: 0 0 28px; }
  .cert-card { max-width: 240px; margin: 0 auto; }
}
