@import url('https://fonts.googleapis.com/css?family=Montserrat');

* {
  margin: 0;
  padding: 0;
  font-family: 'Montserrat'; 
}

nav {
  position: absolute;
  top: 0;
  left: 0;
  padding: 20px 8%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

nav .logo {
  width: 30px;
}

.welcome {
  color: #ffffff;
  font-size: 18px;
  margin-left: 10px;
  margin-right: 30px; /* Adjusted for mobile */
}

nav ul {
  list-style: none;
  display: flex;
  align-items: center; 
  text-align: center; 
  margin-top: 10px; 
  margin: 10px 10px;
}

nav ul li {
  margin: 10px 10px; /* Adjusted margin for mobile */
}

nav ul li a {
  text-decoration: none;
  color: #fff;
  font-size: 17px;
}

.wide-image-container {
  position: relative; 
  width: 100%;
  height: 50vh;
}

.link-container {
  text-align: center;
}

.link-container a {
  text-decoration: none;
  display: inline-block;
  color: black;
  font-size: 16px;
  border: 2px solid black;
  border-radius: 50px;
  padding: 10px 20px;
  margin-top: 20px; /* Adjust the margin as needed */
}

.wide-image {
  width: 100%;
  height: 100%;
  clip-path: polygon(0 0, 100% 0%, 100% 90%, 50% 100%, 0 90%); 
  object-fit: cover;
}

.text-container-image {
  position: absolute;
  top: 50%; 
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 20px;
  text-align: center;
  color: #ffffff;
}

.text-container {
  margin: 10px;
  text-align: center;
}

.stars {
  width: 100px;
  height: 20px;
}

.reviews-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.review {
  width: 100%; /* Adjusted width for mobile */
  margin: 20px;
  padding: 20px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease-in-out;
  perspective: 1000px;
}

@media (min-width: 768px) {
  .review {
    width: 28%; /* Restore width for larger screens */
  }
}

.review:hover {
  transform: rotateY(10deg) scale(1.05);
}

.review h3 {
  font-size: 18px;
}

.review p {
  font-size: 14px;
}

.review p1 {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 12px;
}

.review h3 {
  margin-bottom: 12px;
}

.cut-image {
  position: relative;
  width: 100%; /* Adjusted width for mobile */
  overflow: hidden;
}

.cut-image img {
  width: 100%;
  height: auto;
}

.cut-image::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 0;
  border-left: 50px solid transparent;
  border-right: 50px solid transparent;
  border-bottom: 100px solid #f9f9f9;
}
.image {
  max-width: 100%;
  height: auto;
  display: none;

}

p1 {
  font-size: 9px;
}

@media (max-width: 768px) {
  .welcome {
    margin-right: 10px; /* Adjusted for smaller screens */
  }
  nav ul {
    list-style: none;
    display: flex;
    align-items: center; /* Center items horizontally for mobile */
    flex-direction: column;
    text-align: center; /* Center text for mobile */
    margin-top: 10px; /* Add some spacing between logo and navigation links for mobile */
  }
  .image {
    max-width: 100%;
    height: auto;
    display: block;
  }
  
}

