/* style/about.css */
:root {
  --primary-color: #2F6BFF;
  --secondary-color: #6FA3FF;
  --button-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  --card-bg: #FFFFFF;
  --body-bg: #F4F7FB;
  --text-main: #1F2D3D;
  --border-color: #D6E2FF;
  --glow-color: #A5C4FF;
}

.page-about {
  font-family: 'Arial', sans-serif;
  color: var(--text-main);
  line-height: 1.6;
  background-color: var(--body-bg);
}

.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, main offset handled by body */
  background-color: var(--body-bg);
}

.page-about__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-about__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-about__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-about__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-about__hero-title {
  font-size: clamp(2em, 3.5vw, 3.2em); /* Using clamp for responsive H1 */
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 15px;
  line-height: 1.2;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__hero-description {
  font-size: 1.1em;
  color: #555;
  max-width: 800px;
  margin: 0 auto 30px;
}

.page-about__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--button-gradient);
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: none;
}

.page-about__cta-button:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-about__cta-button--light {
  background: #ffffff;
  color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-about__cta-button--light:hover {
  background: #f0f0f0;
  color: var(--primary-color);
}

.page-about__section {
  padding: 80px 20px;
  background-color: var(--body-bg);
  color: var(--text-main);
}

.page-about__section:nth-of-type(even) {
  background-color: #ffffff;
}

.page-about__container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.page-about__section-title {
  font-size: clamp(2em, 3vw, 2.8em);
  font-weight: 700;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-about__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--button-gradient);
  border-radius: 2px;
}

.page-about__section-title--light {
  color: #ffffff;
}

.page-about__section-title--light::after {
  background: #ffffff;
}

.page-about__section-description {
  font-size: 1.1em;
  color: #555;
  text-align: center;
  max-width: 900px;
  margin: -20px auto 60px;
}

.page-about__section-description--light {
  color: #f0f0f0;
}

.page-about__content-grid {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
}

.page-about__content-grid--reverse {
  flex-direction: row-reverse;
}

.page-about__text-block {
  flex: 1;
  min-width: 0;
}

.page-about__text-block h3 {
  font-size: 1.6em;
  color: var(--primary-color);
  margin-top: 25px;
  margin-bottom: 15px;
}

.page-about__text-block p {
  margin-bottom: 15px;
  font-size: 1.05em;
}

.page-about__text-block--centered {
  text-align: center;
}

.page-about__text-block--centered h3 {
  text-align: center;
}

.page-about__image-block {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
}

.page-about__image-block img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-about__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-about__feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.page-about__feature-card img {
  
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  min-width: 200px; /* Enforcing min-size 200x200 */
  min-height: 200px;
  width: 200px; /* Setting explicit width/height for display area */
  height: 200px;
  object-fit: contain;
}

.page-about__card-title {
  font-size: 1.4em;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-about__cta-wrapper {
  text-align: center;
  margin-top: 60px;
}

.page-about__cta-button--wide {
  min-width: 280px;
  padding: 18px 50px;
  font-size: 20px;
}

.page-about__product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-about__product-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.page-about__product-card img {
  width: 100%;
  height: 250px; /* Fixed height for product images */
  object-fit: cover;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-about__product-card .page-about__card-title {
  padding: 20px 20px 10px;
  margin-bottom: 0;
}

.page-about__product-card p {
  padding: 0 20px 20px;
  font-size: 0.95em;
  color: #666;
}

.page-about__card-link {
  display: inline-block;
  padding: 10px 20px;
  background: var(--primary-color);
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.9em;
  font-weight: bold;
  margin: 0 20px 20px;
  transition: background-color 0.3s ease;
}

.page-about__card-link:hover {
  background: var(--secondary-color);
}

.page-about__contact-list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  font-size: 1.05em;
}

.page-about__contact-list li {
  margin-bottom: 8px;
  color: var(--text-main);
}

.page-about__dark-section {
  background: var(--primary-color);
  color: #ffffff;
  padding: 80px 20px;
}

.page-about__dark-section .page-about__section-title {
  color: #ffffff;
}

.page-about__dark-section .page-about__section-description {
  color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__content-grid {
    flex-direction: column;
  }
  .page-about__content-grid--reverse {
    flex-direction: column;
  }
  .page-about__hero-title {
    font-size: clamp(2em, 4vw, 3em);
  }
  .page-about__section-title {
    font-size: clamp(1.8em, 3.5vw, 2.5em);
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-about__hero-image img {
    border-radius: 4px;
  }
  
  .page-about__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-about__section {
    padding: 60px 15px;
  }

  .page-about__container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-about__hero-title {
    font-size: 2.2em;
  }

  .page-about__section-title {
    font-size: 2em;
  }

  .page-about__hero-description,
  .page-about__section-description,
  .page-about__text-block p,
  .page-about__contact-list li {
    font-size: 1em;
  }

  .page-about__text-block h3 {
    font-size: 1.4em;
  }

  .page-about__image-block img,
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-about__feature-card img {
    width: 100% !important;
    height: auto !important;
    max-width: 200px !important;
    margin-left: auto;
    margin-right: auto;
  }

  .page-about__product-card img {
    height: 200px; /* Adjust height for mobile product cards */
  }

  .page-about__feature-card,
  .page-about__product-card {
    padding: 20px;
  }

  .page-about__features-grid,
  .page-about__product-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-about__cta-button--wide {
    font-size: 18px;
    padding: 15px 30px;
  }

  .page-about__cta-wrapper .page-about__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 1.8em;
  }

  .page-about__section-title {
    font-size: 1.6em;
  }

  .page-about__cta-button {
    font-size: 15px;
    padding: 10px 20px;
  }
}