
p {
    line-height: 1.5em;
    /* color: #fff; */
  }
  
  h1 + p, p + p {
    margin-top: 10px;
    /* color:#fff; */
  }
  
  .container {
    padding: 40px 80px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .card-wrap {
    margin: 10px;
    transform: perspective(800px);
    transform-style: preserve-3d;
    cursor: pointer;
  }
  .card-wrap:hover .card-info {
    transform: translateY(0);
  }
  .card-wrap:hover .card-info p {
    opacity: 1;
  }
  .card-wrap:hover .card-info, .card-wrap:hover .card-info p {
    transition: 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  }
  .card-wrap:hover .card-info:after {
    transition: 5s cubic-bezier(0.23, 1, 0.32, 1);
    opacity: 1;
    transform: translateY(0);
  }
  .card-wrap:hover .card-bg {
    transition: 0.6s cubic-bezier(0.23, 1, 0.32, 1), opacity 5s cubic-bezier(0.23, 1, 0.32, 1);
    opacity: 0.8;
  }
  .card-wrap:hover .card {
    transition: 0.6s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 2s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: rgba(255, 255, 255, 0.2) 0 0 40px 5px, white 0 0 0 1px, rgba(0, 0, 0, 0.66) 0 30px 60px 0, inset #333 0 0 0 5px, inset white 0 0 0 6px;
  }
  
  .card {
    position: relative;
    flex: 0 0 240px;
    width: 240px;
    height: 320px;

    background-color: #333;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.66) 0 30px 60px 0, inset #333 0 0 0 5px, inset rgba(255, 255, 255, 0.5) 0 0 0 6px;
    transition: 1s cubic-bezier(0.445, 0.05, 0.55, 0.95);
  }
  
  .card-bg {
    opacity: 0.5;
    position: absolute;
    top: -20px;
    left: -20px;
    width: 120%;
    height: 120%;
    padding: 20px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    transition: 1s cubic-bezier(0.445, 0.05, 0.55, 0.95), opacity 5s 1s cubic-bezier(0.445, 0.05, 0.55, 0.95);
    pointer-events: none;
  }
  
  .card-info {
    padding: 20px;
    position: absolute;
    bottom: 0;
    color: #fff;
    transform: translateY(40%);
    transition: 0.6s 1.6s cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  .card-info p {
    color: #fff;
    opacity: 0;
    text-shadow: black 0 2px 3px;
    transition: 0.6s 1.6s cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  .card-info * {
    position: relative;
    z-index: 1;
  }
  .card-info:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.6) 100%);
    background-blend-mode: overlay;
    opacity: 0;
    transform: translateY(100%);
    transition: 5s 1s cubic-bezier(0.445, 0.05, 0.55, 0.95);
  }
  
  .card-info h1 {
    font-family: "Playfair Display";
    font-size: 36px;
    font-weight: 700;
    text-shadow: rgba(0, 0, 0, 0.5) 0 10px 10px;
  }

/* TESTIMONIALS */
.swiper-container {
  width: 100%; /* Ensure full width */
  overflow: hidden; /* Hide overflow */
}

.testimonial_area {
  background-color: #f8f9fa; /* Light background for contrast */
  padding: 50px 0;
}

.testimonial_item {
  background-color: #fff; /* White background for the testimonial box */
  border-radius: 10px; /* Rounded corners */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); /* Shadow effect */
  padding: 30px;
  text-align: center;
  transition: transform 0.3s; /* Smooth hover effect */
}

.testimonial_item:hover {
  transform: scale(1.05); /* Slightly enlarge on hover */
}

.testimonial_photo {
  width: 80px; /* Set width for the photo */
  height: 80px; /* Set height for the photo */
  border-radius: 50%; /* Circular photo */
  overflow: hidden; /* Hide overflow */
  margin: 0 auto 20px; /* Center the photo and add margin */
}

.testimonial_photo img {
  width: 100%; /* Make the image fill the container */
  height: auto; /* Maintain aspect ratio */
}

.testimonial_item p {
  font-size: 18px;
  font-style: italic;
  color: #333; /* Text color */
}

.testimonial_item h4 {
  margin-top: 10px;
  font-weight: bold;
  color: #007bff; /* Color for the author name */
}
/* TESTIMONIAL - END */

/* General Styles */
.guides-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.single_team {
    margin-bottom: 30px;
}

.team_thumb {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

.team_thumb img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto;
    display: block;
}

/* Mobile Styles */
@media only screen and (max-width: 768px) {
    .guides-grid .single_team {
        width: 100%;
        margin-bottom: 20px;
        padding: 0 15px; /* Add padding to avoid overflow */
    }
    .team_thumb img {
        width: 100px; /* Adjust size for mobile */
        height: 100px; /* Adjust size for mobile */
    }
}
