.full-width-container {
  width: 100%;
  padding-top: 40px;
  margin: 0;
  position: relative;
  background-image: url("./assets/images/background.jpg");
  background-size: cover;
  background-position: center;
  z-index: 10; /* Ensures the heading is above the overlay */
}

.full-width-container .sec-title__title {
  text-align: center;
}

.full-width-container .services-one__top {
  margin-bottom: 0;
  margin-top: 30px;
}

.book-heading {
  margin-bottom: 20px;
  font-size: 56px;
  color: #237b00;
  z-index: 20; /* Higher z-index to ensure it appears above the overlay */
  position: relative; /* Position relative to allow z-index to take effect */
}

.book-container {
  position: relative;
  padding: 30px 0 120px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1; /* Lower z-index for the container compared to the heading */
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #b6ff9879;
  z-index: 0; /* Ensure it's below the book container */
}


/* Book */
.book {
  position: relative;
  width: 450px;
  height: 500px;
  transition: transform 0.5s;
}


.paper {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  perspective: 1500px;
}

.front,
.back {
  background-color: white;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  transform-origin: left;
  transition: transform 0.5s;
}

.front {
  z-index: 1;
  backface-visibility: hidden;
  border-left: 3px solid powderblue;
}

.back {
  z-index: 0;
}

/* .front-content p,
.back-content p {
  padding: 18px 0;
} */

.front-content img,
.back-content img {
  width: 100%;
  height: 40%;
  object-fit: cover;
}
.front-content h1,
.back-content h1 {
  display: flex;
  justify-content: center;
  align-items: center;
}

.front-content,
.back-content {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 30px;
  align-items: center;
}

.back-content {
  transform: rotateY(180deg);
}

/* Paper flip effect */
.flipped .front,
.flipped .back {
  transform: rotateY(-180deg);
}

/* Controller Buttons */
button {
  border: none;
  background-color: transparent;
  cursor: pointer;
  margin: 10px;
  transition: transform 0.5s;
}

button:focus {
  outline: none;
}

button:hover i {
  color: #636363;
}

.book-container i {
  font-size: 50px;
  color: gray;
}

/* Paper stack order */
#p1 {
  z-index: 3;
}

#p2 {
  z-index: 2;
}

#p3 {
  z-index: 1;
}

.book-container #prev-btn i,
#next-btn i {
  color: rgb(255, 255, 255);
}

#prev-btn,
#next-btn {
  z-index: 11;
}

@media (min-width: 1400px) {
  .book {
    position: relative;
    width: 450px;
    height: 600px;
    transition: transform 0.5s;
  }
}

.p3-back {
  display: flex;
  justify-content: center;
  align-items: center;
}

.p3-back #b3 {
  display: flex;
  justify-content: center;
  align-items: center;
}

.p3-back #b3 h1 {
  display: flex;
  justify-content: center;
  align-items: center;
}

@media(max-width:1100px) {
  .full-width-container {
    display: none;
  }
}
.floens-btn:hover{
  color: white ;
}
.floens-btn {
  background-color: #838997;
}
.buttonhead{
  background-color: #838997 !important;
}