/* Portfolio Page Styling */
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  background: #f8f9fa;
  color: #1d3557;
}

/* Repos, Case Studies, Pricing, Testimonials */
.repos, .case-studies, .pricing, .testimonials {
  padding: 3rem 1rem;
  margin: 2rem auto;
  max-width: 1000px;
  text-align: center;
  background: white;
  border-radius: 20px;
}

.repo-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.repo-card {
  background: #f1f5f9;
  padding: 1.5rem;
  border-radius: 12px;
  text-decoration: none;
  color: #1d3557;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: 0.3s ease;
}
.repo-card:hover { background: #e7f0ff; }

/* Case Studies */
.case-studies {
  padding: 3rem 1rem;
  text-align: center;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.case-card {
  background: #fff;
  padding: 2rem;
  border-radius: 15px;
  text-align: left;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease;
}

.case-card:hover {
  transform: translateY(-5px);
}

.case-card h3 {
  margin-bottom: 1rem;
  color: #1d3557;
}

.case-card p {
  margin: 0.5rem 0;
  font-size: 1rem;
  line-height: 1.6;
}

/* Pricing Section */
.pricing-section {
  padding: 3rem 1rem;
  text-align: center;
}

.pricing-section h2 {
  margin-bottom: 1rem;
}

.pricing-intro {
  margin-bottom: 2rem;
  font-size: 1.1rem;
  color: #444;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.pricing-cards .card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  text-align: left;
}

.pricing-cards .card h3 {
  margin-bottom: 1rem;
  color: #1d3557;
}

.pricing-cards .card .price {
  font-size: 1.4rem;
  font-weight: bold;
  color: #007bff;
  margin-bottom: 0.5rem;
}

.pricing-cards .card .note {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 1rem;
}

.pricing-cards .card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-cards .card ul li {
  margin-bottom: 0.5rem;
  padding-left: 1.4rem;
  position: relative;
  font-size: 0.95rem;
}

.pricing-cards .card ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #2a9d8f;
  font-weight: bold;
}

.package {
  background: #f1f5f9;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* Testimonials */
.testimonials p { font-size: 1.1rem; color: #555; }

/* Video Section */
.video-section {
  padding: 3rem 1rem;
  text-align: center;
}

.video-section .video-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.video-section iframe {
  width: 420px;
  height: 240px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Carousel */
.screenshot-gallery {
  padding: 3rem 1rem;
  text-align: center;
}

.carousel {
  display: flex;
  overflow-x: auto;
  gap: 1rem;
  scroll-snap-type: x mandatory;
  padding: 1rem;
}

.carousel .slide {
  flex: 0 0 auto;
  scroll-snap-align: center;
}

.carousel img {
  height: 350px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  display: block;
  margin: 0 auto;
}

.caption {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: #444;
  text-align: center;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}

/* Services */
.services {
  background: white;
  padding: 3rem 1rem;
  border-radius: 20px;
  margin: 2rem auto;
  max-width: 900px;
}

.services h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.services ul {
  list-style: none;
  padding: 0;
  line-height: 1.8;
}

.services li {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  position: relative;
  padding-left: 1.5rem;
}

.services li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #007bff;
  font-weight: bold;
}

/* Call to Action */
.cta {
  text-align: center;
  padding: 3rem 1rem;
  background: #2a9d8f;
  color: white;
  border-radius: 20px;
  margin: 2rem auto;
  max-width: 700px;
}

.cta .btn-primary {
  display: inline-block;
  margin-top: 1rem;
  background: #fff;
  color: #e63946;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s ease;
}

.cta .btn-primary:hover {
  background: #1d3557;
  color: #fff;
}
