* {
  margin: 0;
  padding: 0;
}
/* ================= SECTION ================= */
.philosophy-section {


  background: url("../../images/Rectangle\ 50\ \(1\).png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
   padding: 80px 70px;
  
}
.philosophy-container{
 
  margin: 0 auto;
  max-width: 1320px;
}

/* ================= TITLE ================= */
/* .philosophy-title {
  font-family: EB Garamond;
  font-weight: 400;
  font-style: Regular;
  font-size: 36px;

  letter-spacing: 1%;

  color: #252525;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
} */




.philosophy-title {
  font-family: "EB Garamond";
  font-weight: 400;
  font-style: normal;
  font-size: 36px;
  letter-spacing: 1%;
  color: #252525;

  display: flex;
  flex-direction: column; /* stack line + text */
  align-items: flex-start;
  gap: 2px;

  margin-bottom: 35px;
  position: relative;
}

/* small line above */
.philosophy-title::before {
  content: "";
  width: 32px;          /* very small line */
  height: 4px;
  background: #e11b22;  /* change color if needed */
  border-radius: 2px;
}








/* .title-line {
  width: 26px;
  height: 3px;
  background: #e11b22;
} */

.philosophy-intro {
  /* max-width: 850px; */
  line-height: 1.6;
  font-family: Outfit;
  font-weight: 400;
  font-style: Regular;
  font-size: 20px;
  color: #544e4e;

  letter-spacing: 1%;

  margin-bottom: 13px;
  text-align: justify;
      display: flex;
    /* justify-content: center; */
    align-items: flex-start;
    gap: 8px;
}

/* ================= WRAPPER ================= */
.philosophy-wrapper {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: center;
}

/* ================= IMAGE ================= */
.philosophy-image {
  /* padding: 6px;
  background: #e11b22; */
  border-radius: 14px;
}

.philosophy-image img {
  width: 100%;
  display: block;
  border-radius: 12px;
 
}

/* ================= CARDS ================= */
.philosophy-cards {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.philo-card img{
     width: 100%;
    height: auto

}



/* arrow shape */
/* .philo-card::after {
      content: "";
      position: absolute;
      right: -18px;
      top: 50%;
      transform: translateY(-50%);
      border-left: 18px solid #2b2b2b;
      border-top: 18px solid transparent;
      border-bottom: 18px solid transparent;
    } */

.philo-number {
  width: 36px;
  height: 36px;
  background: #ffffff;
  color: #2b2b2b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin-right: 18px;
  flex-shrink: 0;
}

.philo-content h4 {
  font-size: 16px;
  margin-bottom: 4px;
  color: #e11b22;
}

.philo-content p {
  line-height: 1.6;

  font-family: Outfit;
  font-weight: 400;
  font-style: Regular;
  font-size: 16px;

  letter-spacing: 1%;
  text-align: justify;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .philosophy-wrapper {
    grid-template-columns: 1fr;
  }

  .philo-card::after {
    display: none;
  }


}

/* ================= RESPONSIVE FIX ================= */

/* Tablet & below */
@media (max-width: 1024px) {
  .philosophy-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .philosophy-cards {
    gap: 20px;
  }
  .philosophy-section {
    padding: 30px 35px;
  }
}

/* Mobile */
@media (max-width: 768px) {
    /* .philosophy-container {
    padding: 30px 35px;
  } */

  .philosophy-title {
    font-size: 30px;
  }

  .philosophy-intro {
    font-size: 16px;
  }

  /* keep image responsive */
  .philosophy-image img {
    width: 100%;
    height: auto;
  }

  /* arrow image cards responsive */
  .philo-card img {
    width: 100%;
    height: auto;
    display: block;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  /* .philosophy-container{
    padding: 30px 35px;
  } */
  .philosophy-title {
    font-size: 30px;
  }

  .philosophy-intro {
    font-size: 16px;
    line-height: 1.6;
  }

  .philosophy-cards {
    gap: 16px;
  }
}
