/* ============================================
   About Page Styles
   ============================================
   Load order: bootstrap.css → style.css → skin.css → about.css
   Higher specificity selectors (.section-empty .container etc.) beat
   global rules without needing !important.
   ============================================ */

/* Container width — match navbar */
.about-hero .container,
.section-empty .container {
  width: 88%;
  max-width: 1300px;
  padding-left: 0;
  padding-right: 0;
}

/* Header Font */
h1, h2, h3, h4 {
  font-family: 'HomepageBaukasten Bold', Arial, sans-serif;
  font-weight: bold;
}

/* Body Font — scoped to page content, not footer */
main p, .about-hero-description {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: normal;
  font-size: 15px;
  line-height: 1.6;
}

/* ---- Hero Section ---- */
.about-hero {
  position: relative;
  overflow: hidden;
  margin-top: calc(var(--navbar-h, 100px) * -1);
  padding: calc(var(--navbar-h, 100px) + 60px) 0 60px;
  min-height: calc(520px + var(--navbar-h, 100px));
  display: flex;
  align-items: center;
}
.about-hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-size: cover;
  background-position: center;
}
.about-hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(30, 58, 95, 0.9);
}
.about-hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
}
.about-hero-content > .row {
  display: flex;
  align-items: center;
}
.about-hero-title {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #f6d00b;
}
.about-hero-description {
  font-size: 18px;
  margin-bottom: 20px;
  color: #fff;
  max-width: 540px;
}
.about-hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Breadcrumb */
.about-breadcrumb {
  font-family: 'HomepageBaukasten Bold', Arial, sans-serif;
  font-size: 13px;
  margin-bottom: 10px;
}
.about-breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}
.about-breadcrumb a:hover {
  color: #fff;
  text-decoration: underline;
}
.about-breadcrumb .breadcrumb-separator {
  color: rgba(255, 255, 255, 0.5);
  margin: 0 8px;
}
.about-breadcrumb .breadcrumb-current {
  color: rgba(255, 255, 255, 0.9);
}

/* ---- Hero Sidebar ---- */
.about-sidebar {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  padding: 24px;
  color: #fff;
}
.about-sidebar h3 {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 6px;
}
.about-sidebar h3 i {
  margin-right: 8px;
  color: #ffc107;
}
.about-sidebar-row {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}
.about-sidebar-row p {
  margin: 0;
  flex: 1;
  color: rgba(255,255,255,0.8);
}
.about-sidebar-row .hero-btn {
  white-space: nowrap;
  align-self: center;
}

/* ---- About Introduction ---- */
.about-intro {
  padding: 25px 0;
  background: #ffffff;
}
.about-intro .container {
  padding-top: 10px;
  padding-bottom: 10px;
}
.about-intro .row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.about-intro .col-md-6:first-child {
  margin-bottom: 20px;
}
.about-intro h2 {
  color: #004aad;
  margin-bottom: 10px;
  font-weight: bold;
  font-size: 35px;
}
.about-intro p {
  margin-bottom: 15px;
}

/* ---- Photo Grid ---- */
.about-photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.about-photo-grid img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* ---- Hero Tagline ---- */
.about-hero-tagline {
  font-family: 'HomepageBaukasten Bold', Arial, sans-serif;
  font-size: 16px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #f6d00b;
  margin-bottom: 8px;
}

/* ---- Business Platform Section ---- */
.about-platform {
  padding: 25px 0;
  background: #1e3a5f;
}
.about-platform .container {
  padding-top: 10px;
  padding-bottom: 10px;
}
.about-platform .title-base h2 {
  color: #fff;
}
.about-platform .title-base p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
}
.about-platform .row {
  display: flex;
  flex-wrap: wrap;
}
.about-platform .row > [class*="col-"] {
  display: flex;
  margin-bottom: 20px;
}
.platform-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px 20px;
  background: #ffffff;
  border-radius: 12px;
  text-decoration: none;
  width: 100%;
  transition: transform 0.2s, box-shadow 0.2s;
}
.platform-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}
.platform-card,
.platform-card:hover,
.platform-card:focus {
  text-decoration: none;
}
.platform-card:hover::after,
.partner-logo-card:hover::after {
  display: none;
}

/* Override skin.css section-hover underline on about page titles */
.about-platform .title-base h2::after,
.about-iso .title-base h2::after,
.why-ptb-card .title-base h2::after {
  display: none;
}
.platform-icon {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  background: #004aad;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  flex-shrink: 0;
}
.platform-icon i {
  color: #fff;
  font-size: 32px;
}
.platform-card h3 {
  color: #004aad;
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.platform-card p {
  color: #666;
  margin: 0;
  font-size: 14px;
}

/* ---- ISO Consultancy Section ---- */
.about-iso {
  padding: 25px 0;
  background: #f8f9fa;
}
.about-iso .container {
  padding-top: 10px;
  padding-bottom: 10px;
}
.about-iso .title-base h2 {
  color: #004aad;
}
.about-iso .title-base p {
  font-size: 18px;
  color: #555;
  max-width: 700px;
  margin: 0 auto;
}
.iso-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 10px;
}
.iso-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 12px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
  flex: 1 1 0;
  min-width: 120px;
}
.iso-badge:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}
.iso-badge-img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  margin-bottom: 12px;
}
.iso-badge strong {
  display: block;
  color: #1e3a5f;
  font-family: 'HomepageBaukasten Bold', Arial, sans-serif;
  font-size: 15px;
  margin-bottom: 4px;
}
.iso-badge span {
  font-size: 13px;
  color: #666;
}

/* ISO CTA button wrapper */
.iso-cta-wrap {
  margin-top: 30px;
}

/* ---- Why PTB Section ---- */
.why-ptb-card {
  padding: 25px 0;
  background: #ffffff;
}
.why-ptb-card .container {
  padding-top: 10px;
  padding-bottom: 10px;
}
.why-ptb-card .title-base p {
  font-size: 18px;
}
.why-ptb-card-inner {
  padding: 30px;
  background: #ffffff;
  border-radius: 12px;
  height: 100%;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.why-ptb-card-inner h3 {
  color: #004aad;
  margin-bottom: 10px;
}
.why-ptb-card-inner p {
  color: #666;
  margin: 0;
}
.why-ptb-icon {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.why-ptb-icon i {
  color: #004aad;
  font-size: 64px;
}
.why-ptb-iso-img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  flex-shrink: 0;
}
#why-ptb-section .row {
  display: flex;
  flex-wrap: wrap;
}
#why-ptb-section .row > [class*="col-"] {
  display: flex;
  margin-bottom: 20px;
}
#why-ptb-section .row > [class*="col-"] p {
  flex: 1;
}

/* ---- Partnerships Section ---- */
.about-partnerships {
  padding: 25px 0;
  background: #ffffff;
}
.about-partnerships .container {
  padding-top: 10px;
  padding-bottom: 10px;
}
.about-partnerships .text-center {
  margin-bottom: 25px;
}
.about-partnerships h2 {
  color: #004aad;
  margin-bottom: 10px;
}

/* Partner Logos */
.partner-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-bottom: 20px;
}
.partner-logo-card {
  display: inline-block;
  padding: 15px 25px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}
.partner-logo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
.partner-logo-card img {
  height: 70px;
  width: auto;
}

/* ---- Collaboration Section ---- */
.about-collab {
  padding: 25px 0;
  background: #1e3a5f;
}
.about-collab .container {
  padding-top: 10px;
  padding-bottom: 10px;
}
.about-collab-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.about-collab-inner h2 {
  color: #ffffff;
  margin-bottom: 15px;
}
.about-collab-inner p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  margin-bottom: 22px;
}

/* Section h2 standardization */
.section-empty h2 {
  font-size: 34px;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  .hero-btn { padding: 10px 24px; font-size: 13px; }
}

@media (max-width: 991px) {
  .about-hero .container,
  .section-empty .container {
    width: 92%;
  }
  .about-hero-content > .row { display: block; }
  .about-hero-description { max-width: 100%; }
  .about-sidebar { margin-top: 20px; }
  #why-ptb-section .row { display: flex; flex-wrap: wrap; }
  #why-ptb-section .row > [class*="col-"] { display: flex; flex: 0 0 50%; max-width: 50%; margin-bottom: 15px; }
  .about-photo-grid img { height: 160px; }
  .iso-badge { min-width: 100px; padding: 16px 10px; }
  .iso-badge-img { width: 70px; height: 70px; }
}

@media (max-width: 768px) {
  .about-hero .container,
  .section-empty .container {
    width: 92%;
  }
  .about-hero { padding: calc(var(--navbar-h, 76px) + 30px) 0 35px; min-height: auto; }
  .about-breadcrumb { font-size: 12px; margin-bottom: 8px; }
  .about-hero-title { font-size: 1.8rem; margin-bottom: 8px; }
  .about-hero-tagline { font-size: 13px; letter-spacing: 1px; }
  .about-hero-description { font-size: 1rem; line-height: 1.6; margin-bottom: 15px; }
  .section-empty p, .about-sidebar-row p { font-size: 1rem; line-height: 1.6; }
  .hero-btn { padding: 10px 24px; font-size: 13px; }
  .about-sidebar { padding: 18px; }
  .about-sidebar h3 { font-size: 1.1rem; }
  .about-photo-grid img { height: 140px; }
  .iso-badge { min-width: 80px; padding: 14px 8px; }
  .iso-badge-img { width: 55px; height: 55px; margin-bottom: 8px; }
  .iso-badge strong { font-size: 12px; }
  .iso-badge span { font-size: 11px; }
  .iso-cta-wrap { margin-top: 20px; }
  .section-empty h2 { font-size: 1.8rem; }
  .partner-logos { gap: 15px; }
  .partner-logo-card { padding: 12px 18px; }
  .partner-logo-card img { height: 50px; }
  #why-ptb-section .row {
    justify-content: center;
  }
  #why-ptb-section .row > [class*="col-"] {
    flex: 0 0 100%;
    max-width: 420px;
    margin-bottom: 16px;
  }
  .why-ptb-card-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 24px;
    background: #fff;
    border: none;
    box-shadow: none;
    border-radius: 14px;
    gap: 14px;
  }
  .why-ptb-icon,
  .why-ptb-iso-img {
    width: 72px;
    height: 72px;
  }
  .why-ptb-icon i { font-size: 46px; }
  .why-ptb-card-inner h3 { margin-bottom: 6px; font-size: 1.2rem; }
  .why-ptb-card-inner p { font-size: 0.95rem; line-height: 1.6; max-width: 380px; }
  .platform-card { padding: 24px 16px; }
  .platform-icon { width: 65px; height: 65px; }
  .platform-icon i { font-size: 28px; }
  .platform-card h3 { font-size: 1rem; }
}

@media (max-width: 576px) {
  .about-hero .container,
  .section-empty .container {
    width: 95%;
  }
  .about-hero { padding: calc(var(--navbar-h, 62px) + 25px) 0 30px; min-height: auto; }
  .about-breadcrumb { font-size: 11px; margin-bottom: 6px; }
  .about-hero-title { font-size: 1.5rem; }
  .about-hero-tagline { font-size: 12px; letter-spacing: 0.8px; }
  .about-hero-description { font-size: 0.95rem; line-height: 1.5; margin-bottom: 12px; }
  .section-empty p, .about-sidebar-row p { font-size: 0.95rem; line-height: 1.5; }
  .hero-btn { padding: 10px 18px; font-size: 12px; }
  .about-sidebar { padding: 15px; margin-top: 15px; }
  .about-sidebar h3 { font-size: 1rem; }
  .about-sidebar-row p { font-size: 0.85rem; }
  .about-photo-grid img { height: 120px; }
  .iso-grid { gap: 8px; }
  .iso-badge { min-width: 70px; padding: 12px 6px; }
  .iso-badge-img { width: 40px; height: 40px; margin-bottom: 6px; }
  .iso-badge strong { font-size: 11px; }
  .iso-badge span { font-size: 10px; }
  .iso-cta-wrap { margin-top: 16px; }
  .section-empty h2 { font-size: 1.5rem; }
  .partner-logos { gap: 10px; }
  .partner-logo-card { padding: 10px 14px; }
  .partner-logo-card img { height: 40px; }
  .why-ptb-card-inner { padding: 22px 18px; gap: 12px; }
  .why-ptb-icon,
  .why-ptb-iso-img {
    width: 62px;
    height: 62px;
  }
  .why-ptb-icon i { font-size: 38px; }
  #why-ptb-section h3 { font-size: 1.1rem; }
  .why-ptb-card-inner p { font-size: 0.9rem; }
  .about-collab-inner p { font-size: 14px; }
  .platform-card { padding: 20px 14px; }
  .platform-icon { width: 60px; height: 60px; margin-bottom: 14px; }
  .platform-icon i { font-size: 26px; }
  .platform-card h3 { font-size: 0.95rem; }
  .platform-card p { font-size: 13px; }
}
