/* ==========================================================================
   ABOUT PAGE STYLING - INDUSTRIAL HERITAGE & MANUFACTURING EXCELLENCE
   Used on about.html
   ========================================================================== */

/* ================= OWNERS / LEADERSHIP SECTION ================= */
.owners-section {
  padding: clamp(60px, 8vw, 100px) 0;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

.owners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 36px;
  max-width: 1040px;
  margin: 0 auto;
}

.owner-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.06);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.owner-card:hover {
  transform: translateY(-8px);
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.12);
}

.owner-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid #e2e8f0;
}

.owner-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
  padding: 16px;
}

.owner-card:hover .owner-photo img {
  transform: scale(1.04);
}

.owner-content {
  padding: 28px 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.owner-generation {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #d97706;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.owner-content h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0b1329;
  margin-bottom: 12px;
}

.owner-content p {
  font-size: 0.94rem;
  color: #475569;
  line-height: 1.65;
  margin: 0;
}

/* ================= COMPANY TIMELINE ================= */
.company-timeline {
  max-width: 1040px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 70px) 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}

.timeline-item {
  position: relative;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 30px 24px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: all 0.3s ease;
}

.timeline-item:hover {
  transform: translateY(-4px);
  border-color: #f59e0b;
  box-shadow: 0 12px 30px rgba(245, 158, 11, 0.15);
}

.timeline-item span {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.85rem;
  font-weight: 800;
  color: #f59e0b;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.timeline-item p {
  font-size: 1rem;
  font-weight: 700;
  color: #0b1329;
  margin: 0;
}

/* ================= CERTIFICATES ================= */
.certificates-section {
  padding: clamp(60px, 8vw, 100px) 0;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
}

.certificate-desc {
  max-width: 600px;
  margin: 0 auto 40px;
  font-size: 1rem;
  color: #64748b;
  line-height: 1.65;
}

.certificate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.certificate-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.06);
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
}

.certificate-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.12);
}

.certificate-pdf-preview {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.certificate-pdf-preview object {
  width: 100%;
  height: 100%;
  border: none;
}

.certificate-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.certificate-content h4 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #0b1329;
  margin-bottom: 10px;
}

.certificate-content p {
  font-size: 0.92rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.certificate-actions {
  display: flex;
  gap: 12px;
}

.certificate-actions a {
  flex: 1;
  text-align: center;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  transition: all 0.25s ease;
  text-decoration: none;
}

.certificate-actions a:first-child {
  background: #0f172a;
  color: #ffffff;
}

.certificate-actions a:first-child:hover {
  background: #f59e0b;
  color: #0b1329;
}

.certificate-actions a:last-child {
  background: #f1f5f9;
  color: #0f172a;
  border: 1px solid #cbd5e1;
}

.certificate-actions a:last-child:hover {
  background: #e2e8f0;
  border-color: #94a3b8;
}

@media (max-width: 768px) {
  .company-timeline {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

