* {
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  margin: 0;
  background-color: #f0f4ff;
 
}

.page-container {
  max-width: 1450px;
  padding: 0 4vw;
  margin: 0 auto;
  box-sizing: border-box;
}


.feature-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background-color: #fff;
  border-radius: 16px;
  margin-bottom: 40px;
  padding: 30px; /* ✅ keep vertical only */
  box-sizing: border-box;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 1s ease forwards;
}


/*  -- -------  ----- titel */

@keyframes zoomIn {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}


@keyframes fadeInUp {
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

.feature-section:nth-child(1) {
  animation-delay: 0s;
}
.feature-section:nth-child(2) {
  animation-delay: 0.3s;
}
.feature-section:nth-child(3) {
  animation-delay: 0.6s;
}

.feature-text {
  flex: 1;
  min-width: 300px;
margin: auto 20px;
    contain: content;
padding: inherit;
text-align: center;
}

.feature-title {
  margin-bottom: 10px;
    font-weight: bold;
    font-size: 27px;
text-align: center;
}

.feature-text p {
  line-height: 1.5;
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  text-align: justify;
}

.feature-box {
  flex: 1;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-box img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 20px;
}

.reverse {
  flex-direction: row-reverse;
}

faature-title{
font-weight: bold;
}

/* === 📱 Mobile View (≤ 767px) === */
@media (min-width: 441px) and (max-width: 767px) {


.feature-section {
flex-direction: column;
  margin: 40px 0;
  box-sizing: border-box;
justify-content: center;
}


.feature-box {
  width: 50%;
  text-align: justify;
}

.feature-text{
text-align: center;
        min-width: 200px;
        margin: auto 20px auto 20px;
}

.feature-title {
  font-size: 1.4rem;
  margin-bottom: 8px;
 font-weight: bold;
}

.feature-text p {
  font-size: 0.95rem;
  margin: 0 auto;
  text-align: justify;
}



.feature-box {
  height: auto;
  width: 100%;
}

.feature-box img {
  width: 100%;
}
}


/* === 📲 iPad / Tablet View (768px–1150px) === */
@media screen and (min-width: 768px) and (max-width: 1150px) {

.feature-section {
  margin: 40px 0;      /* Center the section */
  box-sizing: border-box;   /* Ensure padding is included in width calculation */
}

.feature-text,
.feature-box {
  text-align: left;
  width: 80%;
 padding: 10px;
}

.feature-title {
  font-size: 1.8rem;
 font-weight: bold;
}

.feature-text p {
  font-size: 18px;
  margin: 0 auto;
  text-align: justify;

}
.feature-title, p {
    margin-bottom: 10px;
    padding: 0 2px 20px;
   text-align: center;
}
}


/* === 🖥️ Desktop View (≥ 1151px) === */
/* You can keep base desktop styles outside media queries or explicitly do this: */
@media screen and (min-width: 1151px) {



.feature-section {
width: 100%;
  flex-direction: row;
  justify-content: space-between;
box-sizing: border-box;
}

.feature-section.reverse {
  flex-direction: row-reverse;
}

.feature-box {
  width: 48%;
  text-align: left;
        padding-right: 0;
        padding-left: 0;
box-sizing: border-box;
}

.feature-title {
 text-align: left;
  font-size: 2.5rem;
 font-weight: bold;
        margin-bottom: 8px;
}

  .feature-text {
    width: 48%; /* match box */
    margin: 0;
  }

.feature-text p {
  font-size: 1.4rem;
  text-align: justify;
}

.feature-box {
 height: 100%;
 width: fit-content;
}

}
