.about-section {
  background-image: linear-gradient(rgba(0, 0, 0, 0.562), rgba(0, 0, 0, 0.562)),
    url("./../images/about/banner.png");
}
.aboutDiv h5 {
  font-family: "Open Sans", sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: #ccb248;
}
.aboutDiv h2 {
  font-family: "Open Sans", sans-serif;
  font-weight: 700 !important;
  font-size: 36px !important;
  color: #ccb248;
}

.missionDiv h2 {
  font-family: "Open Sans", sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #ccb248;
}
.visionDiv {
  padding: 30px;
  border-radius: 14px;
  transition: all 0.3s ease-in-out;
}
.visionDiv h2 {
  font-family: "Open Sans", sans-serif;
  font-size: 35px;
  font-weight: 600;
  color: black;

  text-align: center;
}
.visionDiv p {
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  text-align: center;
}
.visionDiv:hover {
  background-color: #121c33;
  color: white;
}
.visionDiv:hover h2 {
  color: white;
}
.businessCard h3 {
  font-family: "Open Sans", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: white;
}
.businessCard p {
  font-family: "Open Sans", sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: white;
}
.businessCard {
  width: 70%;
  aspect-ratio: 1 / 1; /* Keeps it square */
  background-color: transparent;
  transform: rotate(45deg);
  position: relative;
  overflow: hidden;
  margin: 40px auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: 3px dashed #ccb248;
  transition: all 0.2s ease-in-out;
}

.cardContent {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
  width: 100%;
  padding: 20px;
  text-align: center;
}
.businessCard:hover h3 {
  color: #ccb248;
}
.businessCard:hover p {
  color: #ccb248;
}
.businessCard:hover {
  border: 3px dashed white;
}

.reasonCard {
  position: relative;
  background-color: white;
  transition: all 0.3s ease-in-out;
  overflow: hidden; /* optional: ensures content doesn't overflow */
  width: 100%;
  padding: 60px 0px;
  border-radius: 12px;
}

.reasonCard h2 {
  font-weight: 500;
  font-size: 30px;
}

.backCard {
  position: absolute;
  padding: 20px;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ccb248;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
  z-index: 2;
}

.reasonCard:hover .backCard {
  opacity: 1;
  visibility: visible;
}

.backCard p {
  font-size: 14px;
  color: white;
}
.frontCard {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

@media (max-width: 768px) {
  .reasonCard {
    min-height: 200px;
  }
}
