/* Portfolio Page Specific Styles */
body {
  background-image: url(../images/hero-bg.jpg);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  text-align: center;
  min-height: 100vh;
  font-family: 'Poppins', sans-serif;
  color: #ffffff;
  margin: 0;
  padding: 0;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  z-index: 0;
}

/* Hero Section */
.hero_section {
  min-height: 60vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 40px 0;
}

.hero_content {
  text-align: center;
  color: #ffffff;
}

.hero_content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero_content p {
  font-size: 1.1rem;
  margin-bottom: 25px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Portfolio Section */
.portfolio_section {
  position: relative;
  z-index: 1;
  background: transparent;
  padding: 80px 0;
}

/* Portfolio Filters */
.portfolio_filters {
  margin-bottom: 50px;
}

.filter_list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.filter_item {
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter_item:hover,
.filter_item.active {
  background: linear-gradient(135deg, rgba(0, 123, 255, 0.2), rgba(0, 255, 136, 0.2));
  border-color: transparent;
  color: #ffffff;
}

/* Portfolio Grid */
.portfolio_grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  padding: 20px;
}

.portfolio_item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.portfolio_item:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.1);
}

.portfolio_image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.portfolio_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.portfolio_item:hover .portfolio_image img {
  transform: scale(1.1);
}

.portfolio_overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}

.portfolio_item:hover .portfolio_overlay {
  opacity: 1;
}

.portfolio_content {
  text-align: center;
  padding: 20px;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.portfolio_item:hover .portfolio_content {
  transform: translateY(0);
}

.portfolio_content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #ffffff;
}

.portfolio_content p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 15px;
}

.portfolio_link {
  display: inline-block;
  padding: 8px 20px;
  background: linear-gradient(135deg, #007bff, #00ff88);
  color: #ffffff;
  text-decoration: none;
  border-radius: 20px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.portfolio_link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 123, 255, 0.3);
  color: #ffffff;
}

/* Testimonials Section */
.testimonials_section {
  position: relative;
  z-index: 1;
  background: transparent;
  padding: 80px 0;
}

.testimonial_box {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 30px;
  height: 100%;
  transition: all 0.3s ease;
}

.testimonial_box:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.1);
}

.testimonial_content {
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.8);
  font-style: italic;
  line-height: 1.6;
}

.testimonial_author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial_author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.author_info h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: #ffffff;
}

.author_info p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  font-size: 0.9rem;
}

.categories_section {
  background: transparent !important;
}

/* Footer Section */
.footer_section {
  position: relative;
  z-index: 1;
  background: transparent;
  padding: 90px 0 30px;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .portfolio_section,
  .testimonials_section {
    padding: 60px 0;
  }

  .filter_list {
    gap: 10px;
  }

  .filter_item {
    padding: 6px 15px;
    font-size: 0.9rem;
  }

  .portfolio_grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 10px;
  }

  .portfolio_content h3 {
    font-size: 1.3rem;
  }

  .testimonial_box {
    padding: 20px;
    margin-bottom: 30px;
  }

  .testimonial_author img {
    width: 40px;
    height: 40px;
  }

  .author_info h4 {
    font-size: 1rem;
  }
}