/* Importing fonts from Google */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

/* Reseting */


.testimonial-section {
  background: linear-gradient(-135deg, hsl(24, 73%, 91%), #e0a8839b, #f79f7b);
  animation: background-color 20s;
  max-width: 150vw;
  padding-top: 50px;
  padding-bottom: 50px;
  margin-top: 50px;
  border-radius: 20px;
  position: relative;
}

.testimonial-section-container {
  position: relative;
}
  .testimonial {
    transform: translateY(20px);
    padding: 20px;
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
  }

 
  
  .testimonial-card {
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
  }
  
  .testimonial-card.visible {
    opacity: 1;
    animation: subtle-pulse 3s ease-in-out infinite;
  }

  @keyframes subtle-pulse {
    0%, 100% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.01);
    }
  }



.container .col-lg-4 {
  display: flex;
  justify-content: center;
}

.card {
  width: 300px;
  height: 300px;
  transform-style: preserve-3d;
  perspective: 500px;
  border: none;
  background-color: inherit;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card .face {
  position: absolute;
  color: #fff;
  width: 100%;
  height: 100%;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.06);
  transform-style: preserve-3d;
  transition: 0.5s;
  backface-visibility: hidden;
  border-top: 1px solid #ddd;
  border-left: 1px solid #ddd;
}

.scrollable {
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.3) transparent;
}

.scrollable::-webkit-scrollbar {
  width: 6px;
}

.scrollable::-webkit-scrollbar-track {
  background: transparent;
}

.scrollable::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 3px;
}

.fading-effect {
  position: relative;
  width: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  padding: 20px 0;
}

.fading-effect::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30px; /* Adjust height as needed */
  background: transparent;
  pointer-events: none;
  transition: opacity 0.3s;
}

.fading-effect.scroll-active::after {
  opacity: 0;
}
.card .face.front-face,
.card .face.back-face {
  position: absolute;
  display: flex;
  color: black;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: auto;
  padding: 20px;
  box-sizing: border-box;
}

.card .face.front-face .profile {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  /* Ensure perfect circle */
  aspect-ratio: 1;
}
.front-face {
  z-index: 2;
}

.card .face.front-face .name {
  letter-spacing: 2px;
}

.card .face.front-face .designation {
  font-size: 0.8rem;
  color: #000000;
  letter-spacing: 0.8px;
}

.card:hover .face.front-face {
  transform: rotateY(180deg);
}

.card .face.back-face {
  position: absolute;
  transform: rotateY(180deg);
  padding: 20px 30px;
  text-align: center;
  user-select: none;
  overflow-y: auto;
  overflow-x: hidden;
}

.card .face.back-face .fa-quote-left {
  position: absolute;
  top: 10px;
  left: 15px;
  font-size: 1.2rem;
  z-index: 1;
}

.card .face.back-face .fa-quote-right {
  position: absolute;
  bottom: 10px;
  right: 15px;
  font-size: 1.2rem;
  z-index: 1;
}

.card:hover .face.back-face {
  transform: rotateY(360deg);
}

.expand-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  padding: 8px 12px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.expand-arrow:hover {
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: scale(1.05);
}

.expand-arrow i {
  color: #333;
  font-size: 1.1em;
}

@media(min-width: 1024px) {
  .col-lg-4 {
    margin-top: 40px;
    margin-bottom: 20px;
  }

 
}


.btn-black {
  background-color: black;
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 12px; /* Adjust the value for more or less rounding */
  font-size: 16px;
  transition: background-color 0.3s ease;
  margin: 3vh;
}

.btn-black:hover {
  background-color: #333; /* Slightly lighter shade for hover effect */
}
.card {
  margin-top: 5vh !important;
  /* Adjust the value as needed */
}
.testimonial-section-container {
  position: relative;
}

.testimonial-section {
  transition: all 0.4s ease;
  padding-top: 0px;
  padding-bottom: 100px;
  position: relative;
  overflow: hidden;
}

.testimonial-fade-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.8) 40%, rgba(255, 255, 255, 0.95));
  pointer-events: auto;
  z-index: 10;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 20px;
  opacity: 1;
  transition: opacity 0.3s ease;
  border-radius: 0 0 20px 20px;
  cursor: pointer;
}

.testimonial-fade-overlay.hidden {
  opacity: 0;
}

.testimonial-fade-overlay:hover {
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.9) 40%, rgba(255, 255, 255, 0.98));
}

.fade-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #333;
  font-size: 0.9em;
  font-weight: 500;
  animation: fade-bounce 2s ease-in-out infinite;
  cursor: pointer;
  padding: 10px;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.fade-indicator:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.fade-indicator i {
  font-size: 1.2em;
  color: #666;
}

@keyframes fade-bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}
.fa-star {
  color: rgb(255, 255, 255); /* or any default color for unfilled stars */
}

.fa-star.checked {
  color: rgb(0, 0, 0); /* or any color for filled stars */
}


.testimonial-section:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  /* stronger shadow on hover */
  transform: translateY(-10px);
  /* slight lift on hover */
}

.continue-button:hover {
  background-color: #0056b3;
}

.airbnb-logo {
  width: 100px;
  /* Adjust the size as needed */
  height: auto;
  /* Maintain aspect ratio */
  margin-top: 10px;
}

.logo {
  text-align: center;
  /* Center the logo */
  margin-bottom: 10px;
  /* Add space below the logo */
}

.best {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: #f0f0f0;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.milestones {
  text-align: center;
  padding: 50px 0;
}

.milestone {
  display: flex;
  align-items: center;
  margin-top: 30px;
  background: linear-gradient(-135deg, hsl(24, 73%, 91%), #f79f7b, #e0a8839b);

  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  /* glass effect */
  transition: all 0.3s ease;
  /* smooth transition */
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.milestone.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.milestone:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  /* stronger shadow on hover */
  transform: translateY(-10px);
  /* slight lift on hover */
}



.milestone {
  flex: 1;
  text-align: center;
}

.milestone h2 {
  font-size: 40px;
  margin: 0;
  font-weight: bold;
  color: #333;
}

.milestone p {
  font-size: 25px;
  color: #666;
  margin-top: 10px;
  padding-left: 20px;

  
}


.milestone-image {
  flex-shrink: 0;
  /* Prevents image from growing beyond its intrinsic size */
  padding-right: 15px;
  padding-left: 15px;


}

.milestone-image img {
  /* Adjust image size as needed */
  margin-left: 70px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .milestone {
    flex-direction: column;
    text-align: center;
  }

  .expand-arrow {
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.95);
  }

  .card {
    cursor: pointer;
    width: 140px !important;
    height: 140px !important;
  }

  .card:active {
    transform: scale(0.98);
  }
  
  #milestone-image{
    cursor: pointer;width: 330px;
  }

  #calendar_first{
    margin-bottom: 30px!important;
  }
  
  .rating-banner {
    font-size:3em!important; /* Adjust the size according to your preference *//
  }

  /* Fix decoration proportions on mobile */
  .decoration {
    height: 60px !important; /* Reduced from 80px */
    width: 60px !important; /* Reduced from 80px */
    padding: 3px !important; /* Reduced from 5px */
    object-fit: contain !important;
  }
 
  .milestone-image {
    margin: 20px 0 0;
    /* Adjust margin for spacing */
  }

  /* Mobile testimonial section headers */
  .testimonial-section h1 {
    font-size: 1.5em !important;
  }
  
  .testimonial-section h2 {
    font-size: 1.2em !important;
  }

  /* Mobile testimonial grid layout */
  .testimonial-section .col-lg-4 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    padding: 5px !important;
  }

  /* Mobile card content adjustments */
  .card .face.front-face .profile {
    width: 60px !important;
    height: 60px !important;
    display: block !important;
    object-fit: cover !important;
    border-radius: 50% !important;
    /* Ensure perfect circle */
    aspect-ratio: 1 !important;
  }

  .card .face.front-face .name {
    font-size: 0.8em !important;
    margin-top: 5px !important;
    display: block !important;
    /* Prevent text wrapping and cut off long names */
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
  }

  .card .face.front-face .rating {
    font-size: 0.7em !important;
    margin-top: 3px !important;
  }

  .card .face.front-face .rating .fa-star {
    font-size: 0.8em !important;
  }

  .airbnb-logo {
    display: none !important;
  }

  .expand-arrow {
    right: 5px !important;
    bottom: 5px !important;
    font-size: 0.8em !important;
    padding: 4px 6px !important;
  }

  /* Front face adjustments for mobile */
  .card .face.front-face {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 10px !important;
  }

  /* Back face adjustments for mobile */
  .card .face.back-face {
    padding: 10px 15px !important;
  }

  .card .face.back-face .fa-quote-left {
    top: 5px !important;
    left: 10px !important;
    font-size: 0.8rem !important;
  }

  .card .face.back-face .fa-quote-right {
    bottom: 5px !important;
    right: 10px !important;
    font-size: 0.8rem !important;
  }

  .fading-effect {
    padding: 10px 0 !important;
    font-size: 0.8em !important;
  }
}


.rating-container {
  display: flex;
  padding-top: 70px;
  align-items: center;
  width: 100%; /* or any specific width */
  justify-content: center; /* This centers content horizontally */
}


.decoration {
  height: 120px; /* Reduced from 150px */
  padding: 5px; /* Reduced from 10px */
  width: 120px; /* Reduced from 150px */
  object-fit: contain; /* Maintain aspect ratio */
}

.rating-banner {
  font-size: 6em; /* Adjust the size according to your preference */
  font-weight: bold;
  color: #000000;
  padding-bottom: 40px;
  margin: 0 5px; /* Reduced from 10px to bring decorations closer */
}
