.home-mid-section {
  margin-top: 64px;
}

.home-about-section {
  margin-bottom: 12px;
}

.advantages-about-section {
  margin-top: 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  padding: 3px;
  font-size: 19px;
}

.advantage-about-container {
  display: flex;
  align-items: center;
  width: 320px;
  gap: 12px;
}

.advantages-about-section-icon {
  width: 55px;
  padding: 3%;
  /* The core glass blur effect */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  /* Safari support */

  /* Soft border representing light catching the glass edge */
  border: 1px solid rgba(255, 255, 255, 0.25);
  /* Smooth corners look best with glass */
  border-radius: 5px;
  /* Adds depth and shadows underneath the pane */
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.15);
}

.advantages-about-section-row,
.advantages-about-section-last-row {
  padding: 3%;
  font-size: large;
  font-weight: 500;
  text-wrap: wrap;
}

.contact-about-section {
  font-style: italic;
}

/*-------------- Plan section Styles ---------------*/

.home-plans-section {
  margin-top: 64px;
  margin-bottom: 16px;
}

.models-container {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 17px;
}

.model-name {
  transition: color 0.3s ease, text-decoration 0.3s ease;
  color: rgb(238, 214, 229);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.model-name:hover {
  color: rgb(255, 220, 242);

}

/*.model-container .model-description{
  display: none;
   opacity: 0;
  transform: scale(0.9);
  transition: 
    display 1s allow-discrete, 
    opacity 1s, 
    transform 1s;
}

.model-container:hover .model-description{
  display: block;
  opacity: 1;
  transform: scale(1);
}*/

.plan-advantages {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cards-container {
  margin-top: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}

.pricing-card-container {
  background-color: transparent;
  width: 240px;
  height: 400px;
  perspective: 1000px;
  /* Crucial for the 3D depth effect */
}

/* This inner wrapper holds the actual 3D animation state */
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  /* Tells elements to stay in 3D space */
}

/* Triggers flip on hover */
.pricing-card-container:hover .flip-card-inner {
  transform: rotateY(180deg);
}

/* Shared face styles for both front and back */
.pricing-card-front,
.pricing-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  /* Hides the reverse side of elements */
  border-radius: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  border: solid 1px rgb(243, 197, 211);
}

/* Distinct styling for the front face */
.pricing-card-front {
  /* The core glass blur effect */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  /* Safari support */

  /* Soft border representing light catching the glass edge */
  border: 1px solid rgba(255, 255, 255, 0.25);
  /* Smooth corners look best with glass */
  border-radius: 16px;
  /* Adds depth and shadows underneath the pane */
  box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.15);
  justify-content: center;
  
  color: rgb(187, 181, 194);
}

/* The back face is pre-rotated so it faces backwards initially */
.pricing-card-back {
  padding: 16px 0;
  transform: rotateY(180deg);
}

.card-back-price {
  font-size: large;
  width: 100%;
  padding: 3%;
}