/* ==============================
   INFO PAGES STYLES (our way and learn more)
   ============================== */

/* Wrapper for the entire info page - vertical stack */
.info-page-wrapper {
  display: flex;
  flex-direction: column;
  gap: 60px;
  padding: 40px;
  background-color: white; /*#fdf0de*/
}

/* Title at the top of the info page, centered */
.info-title {
  text-align: center;
  color: #000000;
}

/* ==============================
   Z-PATTERN SECTION LAYOUT
   ============================== */

/* Container for each info section: image and text side by side */
.info-section {
  display: flex;
  gap: 40px;
  align-items: center;  
  margin-bottom: 60px;
}

/* Reverse the order of image and text for alternating sections */
.info-section .reverse {
  flex-direction: row-reverse;
}

/* ==============================
   CARD STYLES INSIDE INFO SECTIONS
   ============================== */

.info-card {
  flex: 1;
  background-color: #E69D00;
  padding: 30px;
  border-radius: 10px;
}

.info-name {
  color: #000000;
  margin-bottom: 10px;
}

.info-details {
  line-height: 1.6;
  color: #000000;
  background-color: antiquewhite;
  border-radius: 10px;
  padding: 10px;
}

.info-details p{
  font-size: 1.2rem;
}

/* ==============================
   IMAGE STYLING INSIDE INFO SECTIONS
   ============================== */

.info-image {
  flex: 0 0 40%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.info-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 10px;
} 


/* ==============================
   MOBILE LAYOUT ADJUSTMENTS
   ============================== */

@media (max-width: 768px) {
  .info-section,
  .info-section.reverse {
    flex-direction: column;
    text-align: center;
  }
  
  .info-section.reverse {
    flex-direction: column-reverse;
  } 

  .info-details p{
    font-size: 1rem;
  }
}
