
#portfolio-7 {
  padding-top: 70px;
  padding-bottom: 70px;
  background-color: #ffffff;
}
#portfolio-7 .section-title-container {
  margin-bottom: 50px;
}
#portfolio-7 .section-main-title {
  font-size: 2.6rem;
  font-weight: 700;
  color: #2c3e50;
}
#portfolio-7 .section-main-subtitle {
  font-size: 1.1rem;
  color: #5a677d;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}
#portfolio-7 .portfolio-hover-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  aspect-ratio: 4 / 3;
  background-color: #e9ecef;
}
#portfolio-7 .portfolio-hover-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
#portfolio-7 .portfolio-hover-item .item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.4) 40%,
    rgba(0, 0, 0, 0.9) 100%
  );
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
  padding: 25px 20px;
  color: #ffffff;
}
#portfolio-7 .portfolio-hover-item:hover img {
  transform: scale(1.1);
}
#portfolio-7 .portfolio-hover-item:hover .item-overlay {
  opacity: 1;
}
#portfolio-7 .item-overlay .overlay-content {
  transform: translateY(30px);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.1s,
    opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.1s;
}
#portfolio-7 .portfolio-hover-item:hover .item-overlay .overlay-content {
  transform: translateY(0);
  opacity: 1;
}
#portfolio-7 .overlay-title {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 5px;
}
#portfolio-7 .overlay-category {
  font-size: 0.8rem;
  font-weight: 300;
  margin-bottom: 10px;
  display: block;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
#portfolio-7 .overlay-description {
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 15px;
  max-height: 65px;
  overflow: hidden;
}
#portfolio-7 .btn-view-details {
  padding: 8px 20px;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 50px;
  background-color: #0d6efd;
  border-color: #0d6efd;
  color: #fff;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}
#portfolio-7 .btn-view-details:hover {
  background-color: #0b5ed7;
  transform: scale(1.05);
}
@media (max-width: 767.98px) {
  #portfolio-7 .portfolio-hover-item {
    aspect-ratio: 16 / 11;
  }
  #portfolio-7 .overlay-title {
    font-size: 1.1rem;
  }
  #portfolio-7 .overlay-description {
    font-size: 0.8rem;
    max-height: 50px;
  }
}



#testimonials-8 {
  padding: 60px 15px;
  max-width: 1000px;
  margin: 0 auto;
  perspective: 1000px;
}
#testimonials-8 .flip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
#testimonials-8 .flip-card {
  position: relative;
  width: 300px;
  height: 350px;
  transform-style: preserve-3d;
  transition: transform 0.6s;
}
#testimonials-8 .flip-card:hover {
  transform: rotateY(180deg);
}
#testimonials-8 .flip-side {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
#testimonials-8 .flip-front {
  background: #fff;
  text-align: center;
  padding: 20px;
}
#testimonials-8 .flip-front img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
}
#testimonials-8 .flip-front h5 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}
#testimonials-8 .flip-front p {
  font-size: 1rem;
  font-style: italic;
  color: #333;
}
#testimonials-8 .flip-back {
  background: #f8f9fa;
  color: #333;
  transform: rotateY(180deg);
  padding: 20px;
  text-align: center;
  font-size: 0.95rem;
}



#call-to-action-11 {
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  min-height: 400px;
}
#call-to-action-11 .left-col,
#call-to-action-11 .right-col {
  flex: 1 1 50%;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 60px;
  text-align: left;
}
#call-to-action-11 .left-col {
  background-color: #f8f9fa;
  color: #333;
}
#call-to-action-11 .left-col h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 20px;
}
#call-to-action-11 .left-col p {
  font-size: 1.1rem;
  margin-bottom: 30px;
}
#call-to-action-11 .left-col .btn {
  display: inline-block;
  background-color: #007bff;
  color: #fff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2rem;
  transition: background-color 0.3s ease-in-out;
}
#call-to-action-11 .left-col .btn:hover {
  background-color: #0056b3;
  color: #fff;
}
#call-to-action-11 .right-col {
  background-size: cover;
  background-position: center;
}
@media (max-width: 768px) {
  #call-to-action-11 {
    flex-direction: column;
  }
  #call-to-action-11 .left-col,
  #call-to-action-11 .right-col {
    flex: 1 1 100%;
    min-height: auto;
  }
  #call-to-action-11 .left-col {
    text-align: center;
  }
}


