/* ===================================
   About Page Styles
   =================================== */

/* Hero Section */
.about-hero {
  position: relative;
  height: 350px;
  overflow: hidden;
  margin-top: 72px;
}

.about-hero-image {
  width: 100%;
  height: 100%;
}

.about-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Breadcrumb */
.breadcrumb {
  padding: 1.5rem 0;
  font-size: 0.875rem;
  color: #4a4a4a;
}

.breadcrumb a {
  color: #767676;
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumb a:hover {
  color: #e9483f;
}

.breadcrumb .active,
.breadcrumb span {
  font-weight: 700;
}

.breadcrumb-separator {
  margin: 0 0.5rem;
  color: #767676;
}

/* Page Title & Introduction Section */
.about-intro {
  padding: 0;
  background: #ffffff;
}

.about-page-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #4a4a4a;
  margin-bottom: 0;
}

.about-page-subtitle {
  font-size: 1.5rem;
  font-weight: 400;
  color: #4a4a4a;
  margin-bottom: 2rem;
  line-height: 1.4;
}

.about-intro-text {
  font-size: 1.2rem;
  color: #4a4a4a;
  max-width: none;
}

/* History Section with Image */
.about-history {
  display: grid;
  grid-template-columns: 1fr;
  min-height: auto;
  background: #f9f9f9;
}

.about-history-image {
  position: relative;
  min-height: 300px;
  background: #ffffff;
  overflow: visible;
  padding: 2rem 0 2rem 2rem;
}

.about-history-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem;
}

.about-history-content {
  padding: 2rem 0;
  background: #ffffff;
}

.about-history-text {
  max-width: 100%;
  margin: 0;
}

.about-history-text h2 {
  margin-top: 0;
}

.about-history-text p {
  font-size: 0.9375rem;
  color: #4a4a4a;
  line-height: 1.6;
  margin-bottom: 0.875rem;
}

.about-section-subtitle {
  font-size: 1.5rem;
  font-weight: 500;
  color: #4a4a4a;
  margin-bottom: 0.75rem;
  margin-top: 1.25rem;
}

.about-section-subtitle:first-child {
  margin-top: 0;
}

/* Values Section */
.about-values {
  padding: 4rem 0;
  background: #f9f9f9;
}

.about-values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

.about-values-content {
  max-width: 900px;
}

.about-values h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #4a4a4a;
  margin-bottom: 1.5rem;
}

.about-section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #4a4a4a;
  margin-bottom: 1.5rem;
  text-align: left;
}

.about-values-link {
  font-size: 1rem;
  font-weight: 700;
  color: #e9483f;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  transition: all 0.3s;
}

.about-values-link:hover {
  color: #d13028;
  gap: 0.75rem;
}

.about-values-link svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

/* Accordion Styles */
.about-values-accordion {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.accordion-item {
  border-bottom: 1px solid #e0e0e0;
  overflow: hidden;
}

.accordion-item:first-child {
  border-top: 1px solid #e0e0e0;
}

.accordion-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  background: transparent;
  border: none;
  font-size: 1.7rem;
  font-weight: 400;
  color: #4a4a4a;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.3s;
  font-family: 'DM Sans', sans-serif;
}

.accordion-header:hover {
  background-color: transparent;
}

.accordion-icon {
  flex-shrink: 0;
  transition: transform 0.3s;
  width: 24px;
  height: 24px;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.accordion-header.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  display: none;
  padding: 0 0 1.5rem 0;
  background: transparent;
}

.accordion-content p {
  font-size: 1rem;
  color: #4a4a4a;
  margin-bottom: 1rem;
}

.accordion-content ul {
  list-style: disc;
  padding-left: 2rem;
  margin-bottom: 1rem;
}

.accordion-content li {
  font-size: 1rem;
  color: #4a4a4a;
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

.about-values-image {
  position: relative;
  min-height: 500px;
  background: transparent;
  overflow: hidden;
}

.about-values-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Partners Section */
.about-partners {
  padding: 4rem 0;
  background: #ffffff;
}

.about-partners .about-section-title {
  text-align: left;
  margin-bottom: 3rem;
}

.partners-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.partner-card {
  background: #f7f7f7;
  border-radius: 0.5rem;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
}

.partner-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.partner-card-title-wrapper {
  margin-bottom: 1.5rem;
}

.partner-card-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #4a4a4a;
  margin: 0 0 0.25rem 0;
  line-height: 1.2;
}

.partner-card-subtitle {
  font-size: 1.125rem;
  font-weight: 400;
  color: #767676;
  margin: 0;
  line-height: 1.3;
}

.partner-card-text {
  font-size: 1rem;
  color: #4a4a4a;
  margin-bottom: 1rem;
}

.partner-card-text:last-of-type {
  margin-bottom: 25px;
}

.partner-card-btn {
  display: inline-flex;
  align-items: center;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  border-radius: 0.25rem;
  transition: all 0.3s;
  max-width: fit-content;
  margin-top: auto;
}

.partner-card-btn svg {
  flex-shrink: 0;
}

.partner-card-btn-canon {
  background-color: #e9483f;
}

.partner-card-btn-canon:hover {
  background-color: #d13028;
  transform: translateX(4px);
}

.partner-card-btn-hologic {
  background-color: #2b2967;
}

.partner-card-btn-hologic:hover {
  background-color: #1f1d4a;
  transform: translateX(4px);
}

.partner-card-btn-ziehm {
  background-color: #037a7c;
}

.partner-card-btn-ziehm:hover {
  background-color: #025a5c;
  transform: translateX(4px);
}

/* Responsive Design */
@media (max-width: 767px) {
  /* Mobile improvements */
  .about-hero {
    height: 250px;
    margin-top: 65px;
  }

  .about-page-title {
    font-size: 1.875rem;
    line-height: 1.2;
  }

  .about-page-subtitle {
    font-size: 1.125rem;
    line-height: 1.4;
    margin-bottom: 1.5rem;
  }

  .about-intro-text {
    font-size: 0.9375rem;
    line-height: 1.7;
  }

  .about-history-image {
    padding: 1.5rem;
    min-height: 250px;
  }

  .about-history-content {
    padding: 1.5rem var(--spacing-lg);
  }

  .about-section-subtitle {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
  }

  .about-history-text p {
    font-size: 0.875rem;
    line-height: 1.65;
  }

  .about-values {
    padding: 2.5rem 0;
  }

  .about-section-title {
    font-size: 1.625rem;
    margin-bottom: 1.25rem;
  }

  .accordion-header {
    font-size: 1.25rem;
    padding: 1.25rem 0;
  }

  .accordion-content p,
  .accordion-content li {
    font-size: 0.875rem;
    line-height: 1.7;
  }

  .about-values-image {
    min-height: 300px;
    order: -1;
  }

  .about-partners {
    padding: 2.5rem 0;
  }

  .partner-card {
    padding: 1.75rem 1.5rem;
  }

  .partner-card-title {
    font-size: 1.375rem;
  }

  .partner-card-subtitle {
    font-size: 0.9375rem;
  }

  .partner-card-text {
    font-size: 0.875rem;
    line-height: 1.65;
  }

  .partner-card-btn {
    font-size: 0.8125rem;
    padding: 0.75rem 1.25rem;
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }
}

@media (min-width: 768px) {
  .about-hero {
    height: 400px;
  }

  .about-history {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .about-history-image {
    min-height: auto;
    height: 100%;
    padding: 3rem 0 3rem 3rem;
  }

  .about-history-content {
    padding: 3rem 3rem 3rem 2rem;
  }

  .about-history-text p {
    margin-bottom: 0.75rem;
  }

  .about-section-subtitle {
    margin-bottom: 0.625rem;
    margin-top: 1rem;
  }

  .about-values-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }

  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .accordion-header {
    font-size: 1.7rem;
  }
}

@media (min-width: 1024px) {
  .about-page-title {
    font-size: 2.5rem;
  }

  .about-page-subtitle {
    font-size: 1.5rem;
  }

  .about-section-title {
    font-size: 2.5rem;
  }

  .about-section-subtitle {
    font-size: 1.875rem;
  }

  .partner-card-title {
    font-size: 1.875rem;
  }
}
