@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap");

:root {
  --primary-color: #6a11cb;
  --secondary-color: #2575fc;
  --bg-dark: #0e0e1a;
  --text-light: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 5%;
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(14, 14, 26, 0.9);
  backdrop-filter: blur(10px);
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-light);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--primary-color);
}

.cta-button {
  background: linear-gradient(
    to right,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.cta-button:hover {
  transform: scale(1.05);
}

/* Hero Section */
.hero {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  padding: 50px 5%;
  text-align: center;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.hero-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 15px;
  font-size: 0.9rem;
}

.hero-breadcrumb span {
  margin: 0 5px;
}

/* Services Section */
.services,
.additional-services,
.skills {
  padding: 50px 5%;
  text-align: center;
}

.services h2,
.additional-services h2,
.skills h2 {
  font-size: 2rem;
  margin-bottom: 30px;
}

.services-grid,
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.service-card,
.skill-card {
  background-color: rgba(50, 50, 100, 0.2);
  border: 1px solid rgba(106, 17, 203, 0.2);
  padding: 30px;
  border-radius: 15px;
  transition: all 0.3s ease;
}

.service-card:hover,
.skill-card:hover {
  transform: translateY(-10px);
  background-color: rgba(50, 50, 100, 0.4);
  box-shadow: 0 15px 30px rgba(106, 17, 203, 0.3);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 20px;
}

.service-icon svg {
  stroke: white;
  width: 30px;
  height: 30px;
}

.service-card h3,
.skill-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.skill-description {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Start Project Section */
.start-project {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  padding: 50px 5%;
  text-align: center;
}

.start-project h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.start-project p {
  font-size: 5rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.contact-btn {
  display: inline-block;
  background-color: white;
  color: var(--primary-color);
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.contact-btn:hover {
  transform: scale(1.05);
}

/* Client Testimonials */
.client-testimonials {
  padding: 50px 5%;
  text-align: center;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.testimonial-card {
  background-color: rgba(50, 50, 100, 0.2);
  border: 1px solid rgba(106, 17, 203, 0.2);
  padding: 20px;
  border-radius: 15px;
}

.client-info {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 15px;
}

.client-info img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 10px;
}

/* Contact Section */
.contact {
  padding: 50px 5%;
  text-align: center;
}

.contact-form {
  display: flex;
  max-width: 500px;
  margin: 30px auto 0;
}

.contact-form input {
  flex-grow: 1;
  padding: 10px;
  background-color: rgba(50, 50, 100, 0.2);
  border: 1px solid rgba(106, 17, 203, 0.2);
  color: var(--text-light);
  border-radius: 5px 0 0 5px;
}

.contact-form button {
  background: linear-gradient(
    to right,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
}

/* Footer */
footer {
  background-color: rgba(50, 50, 100, 0.1);
  padding: 50px 5%;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 30px;
}

footer h3 {
  margin-bottom: 15px;
  color: var(--primary-color);
}

.footer-section p {
  margin-bottom: 10px;
}

.footer-section a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--primary-color);
}

.newsletter form {
  display: flex;
}

.newsletter input {
  flex-grow: 1;
  padding: 10px;
  background-color: rgba(50, 50, 100, 0.2);
  border: none;
  color: var(--text-light);
}

.newsletter button {
  background: linear-gradient(
    to right,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
}

.copyright {
  text-align: center;
  margin-top: 30px;
  opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
  .services-grid,
  .skills-grid,
  .testimonial-grid,
  .footer-container {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .start-project p {
    font-size: 3rem;
  }
}

/* Page content transitions */
#page-content {
  opacity: 1;
  transition: opacity 0.3s ease;
}

#page-content.fade {
  opacity: 0;
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 100px 20px;
}

.empty-state h1 {
  font-size: 2rem;
  margin-bottom: 20px;
}
/* Contact Page Styles */
.contact-page {
  padding: 50px 5%;
}

.contact-container {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-form-card {
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 15px;
  padding: 30px;
}

.contact-form-card h2 {
  color: #fff;
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.contact-form-card p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 10px;
}

.contact-form-full {
  margin-top: 20px;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-size: 0.9rem;
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px;
  background-color: rgba(50, 50, 100, 0.2);
  border: 1px solid rgba(106, 17, 203, 0.2);
  color: var(--text-light);
  border-radius: 5px;
  font-family: "Inter", sans-serif;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23ffffff%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20class%3D%22feather%20feather-chevron-down%22%3E%3Cpolyline%20points%3D%226%209%2012%2015%2018%209%22%3E%3C%2Fpolyline%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 30px;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.send-message-btn {
  background: linear-gradient(
    to right,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 5px;
  cursor: pointer;
  width: 100%;
  font-weight: 600;
  margin-top: 10px;
  transition: transform 0.3s ease;
}

.send-message-btn:hover {
  transform: translateY(-3px);
}

.contact-info-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-card {
  background-color: rgba(50, 50, 100, 0.2);
  border-radius: 15px;
  padding: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 20px;
}

.contact-icon {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-icon svg {
  width: 24px;
  height: 24px;
  stroke: white;
}

.contact-info-text h3 {
  font-size: 1rem;
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.7);
}

.contact-info-text p {
  font-weight: 600;
}

.hero-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 10px;
  font-size: 0.9rem;
}

.hero-breadcrumb a {
  color: var(--primary-color);
  text-decoration: none;
}

/* Media Queries for Responsive Design */
@media (max-width: 768px) {
  .contact-container {
    grid-template-columns: 1fr;
  }

  .contact-form-card,
  .contact-info-card {
    padding: 20px;
  }

  .contact-info-item {
    gap: 15px;
  }

  .contact-icon {
    width: 40px;
    height: 40px;
  }

  .contact-icon svg {
    width: 20px;
    height: 20px;
  }
}
/* Studio Page Styles */
.studio-intro {
  padding: 60px 5%;
}

.studio-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.studio-text h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.studio-text p {
  margin-bottom: 30px;
  font-size: 1.1rem;
  line-height: 1.7;
}

.studio-stats {
  display: flex;
  gap: 30px;
  margin-top: 30px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: bold;
  display: block;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
}

.studio-image img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.5s ease;
}

.studio-image img:hover {
  transform: scale(1.03);
}

.rounded-image {
  border-radius: 15px;
}

/* Studio Features Section */
.studio-features {
  padding: 60px 5%;
  text-align: center;
  background-color: rgba(50, 50, 100, 0.1);
}

.studio-features h2,
.studio-process h2,
.studio-team h2 {
  font-size: 2rem;
  margin-bottom: 40px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.feature-card {
  background-color: rgba(50, 50, 100, 0.2);
  border: 1px solid rgba(106, 17, 203, 0.2);
  padding: 30px;
  border-radius: 15px;
  transition: all 0.3s ease;
  height: 100%;
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 20px;
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
}

/* Studio Process Section */
.studio-process {
  padding: 60px 5%;
  text-align: center;
}

.process-timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.process-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50px;
  width: 2px;
  background: linear-gradient(
    to bottom,
    var(--primary-color),
    var(--secondary-color)
  );
}

.process-step {
  display: flex;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.process-step.active {
  opacity: 1;
  transform: translateY(0);
}

.process-number {
  width: 50px;
  height: 50px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 1.2rem;
  margin-right: 30px;
  position: relative;
  z-index: 2;
}

.process-content {
  background-color: rgba(50, 50, 100, 0.2);
  border: 1px solid rgba(106, 17, 203, 0.2);
  padding: 20px;
  border-radius: 10px;
  text-align: left;
  flex-grow: 1;
}

.process-content h3 {
  margin-bottom: 10px;
  color: var(--primary-color);
}

/* Studio Team Section */
.studio-team {
  padding: 60px 5%;
  text-align: center;
  background-color: rgba(50, 50, 100, 0.1);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.team-member {
  background-color: rgba(50, 50, 100, 0.2);
  border: 1px solid rgba(106, 17, 203, 0.2);
  border-radius: 15px;
  padding: 30px;
  transition: all 0.3s ease;
}

.member-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  border: 3px solid var(--primary-color);
}

.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-member h3 {
  font-size: 1.3rem;
  margin-bottom: 5px;
}

.team-member p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 15px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 15px;
}

.social-link {
  width: 35px;
  height: 35px;
  background-color: rgba(50, 50, 100, 0.3);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  transform: translateY(-3px);
}

/* Studio CTA Section */
.studio-cta {
  padding: 60px 5%;
  text-align: center;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
}

.cta-content h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.studio-cta .cta-button {
  background-color: white;
  color: white;
  font-size: 1.1rem;
  padding: 12px 30px;
}

/* Responsive Design for Studio Page */
@media (max-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .studio-container {
    grid-template-columns: 1fr;
  }

  .studio-image {
    order: -1;
  }

  .studio-stats {
    flex-direction: column;
    gap: 20px;
  }

  .features-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .process-timeline::before {
    left: 25px;
  }

  .process-number {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    margin-right: 20px;
  }
}
/* Portfolio Page Styles */

.skill-slide {
  opacity: 1 !important;
  visibility: visible !important;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.skill-slide-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
}

.skills-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease;
  min-height: 250px;
}

.skills-slider {
  overflow: hidden;
  padding: 20px 0;
  min-height: 250px;
}

.skill-slide.visible {
  opacity: 1 !important;
  transform: scale(1) !important;
}
/* Portfolio Section Styles */

/* Portfolio Intro */
.portfolio-intro {
  padding: 50px 5%;
  text-align: center;
}

.portfolio-intro-content {
  max-width: 800px;
  margin: 0 auto;
}

.portfolio-intro h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(135deg, #6a11cb, #2575fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.portfolio-intro p {
  font-size: 1.1rem;
  line-height: 1.7;
  opacity: 0.9;
}

/* Skills Slider Section */
.skills-slider-section {
  padding: 30px 5% 60px;
  position: relative;
}

.skills-slider-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}

.skills-slider {
  overflow: hidden;
  padding: 20px 0;
  min-height: 250px;
}

.skills-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease;
  min-height: 250px;
}

.skill-slide {
  min-width: calc(33.333% - 20px);
  background-color: rgba(50, 50, 100, 0.2);
  border: 1px solid rgba(106, 17, 203, 0.2);
  border-radius: 15px;
  padding: 30px;
  transition: all 0.3s ease;
  opacity: 1 !important;
  visibility: visible !important;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  color: white;
}

.skill-slide:hover,
.skill-slide.visible {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(106, 17, 203, 0.3);
  background-color: rgba(50, 50, 100, 0.4);
  opacity: 1 !important;
}

.skill-slide-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #6a11cb, #2575fc);
  border-radius: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.skill-slide-icon svg {
  stroke: white;
}

.skill-slide h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.skill-slide p {
  font-size: 0.95rem;
  opacity: 0.8;
  line-height: 1.6;
}

.slider-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  padding: 0 20px;
}

.slider-arrow {
  width: 50px;
  height: 50px;
  background-color: rgba(0, 0, 0, 0.5);
  border: none;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  pointer-events: auto;
}

.slider-arrow:hover {
  background-color: #6a11cb;
  transform: scale(1.1);
}

.slider-arrow svg {
  stroke: white;
}

/* Portfolio Filter */
.portfolio-filter {
  padding: 20px 5%;
  text-align: center;
}

.filter-container {
  max-width: 1000px;
  margin: 0 auto;
}

.filter-container h3 {
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-bottom: 30px;
}

.filter-btn {
  background-color: rgba(50, 50, 100, 0.2);
  border: 1px solid rgba(106, 17, 203, 0.2);
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: linear-gradient(135deg, #6a11cb, #2575fc);
  transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .skill-slide {
    min-width: calc(50% - 20px);
  }
}

@media (max-width: 768px) {
  .skill-slide {
    min-width: calc(100% - 20px);
  }

  .slider-controls {
    position: relative;
    margin-top: 20px;
    justify-content: center;
    gap: 20px;
  }
}

/* General Layout & Colors */
:root {
  --primary-color: #6c5ce7;
  --primary-hover: #5649c0;
  --dark-bg: #121212;
  --card-bg: #1e1e1e;
  --text-light: #ffffff;
  --text-secondary: #a0a0a0;
  --spacing: 1.5rem;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--dark-bg);
  color: var(--text-light);
  margin: 0;
  padding: 0;
}

/* Portfolio Filter Section */
.portfolio-filter {
  padding: var(--spacing) 0;
  width: 100%;
}

.filter-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing);
  text-align: center;
}

.filter-container h3 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  color: var(--text-light);
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.filter-btn {
  padding: 0.5rem 1rem;
  background-color: rgba(255, 255, 255, 0.05);
  border: none;
  border-radius: 50px;
  color: var(--text-light);
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.filter-btn.active {
  background-color: var(--primary-color);
}

.filter-btn:hover {
  background-color: var(--primary-hover);
}

/* Portfolio Projects Grid */
.portfolio-projects {
  padding: var(--spacing) 0;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing);
}

.project-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.project-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.05);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-details {
  text-align: center;
  padding: 1rem;
}

.project-details h3 {
  margin: 0 0 0.5rem;
  color: var(--text-light);
}

.project-details p {
  margin: 0 0 1rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.view-project-btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 50px;
  font-size: 0.9rem;
  transition: background-color 0.3s ease;
}

.view-project-btn:hover {
  background-color: var(--primary-hover);
}

.project-info {
  padding: 1rem;
}

.project-info h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.project-tag {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* Stats Section */
.portfolio-stats {
  padding: 4rem 0;
  background-color: rgba(255, 255, 255, 0.02);
}

.stats-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-icon {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.stat-label {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* CTA Section */
.portfolio-cta {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--primary-color), #5e72e4);
  text-align: center;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--spacing);
}

.cta-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.cta-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.8);
}

.cta-button {
  display: inline-block;
  padding: 0.75rem 2rem;
  background-color: var(--text-light);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Animation for Stats Counter */
@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stat-box.animate .stat-number {
  animation: countUp 1s ease forwards;
}

/* Filter JavaScript Logic */
/* For visibility toggling */
.project-card.hidden {
  display: none;
}
/* Mobile Sidebar Navigation */
@media (max-width: 768px) {
  /* Hide default navigation */
  .nav-links {
    display: none;
  }

  /* Hamburger menu button */
  .menu-toggle {
    display: block;
    cursor: pointer;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    width: 30px;
    height: 24px;
  }

  .menu-toggle span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--text-light);
    border-radius: 3px;
    transition: all 0.3s ease;
  }

  .menu-toggle span:nth-child(1) {
    top: 0;
  }

  .menu-toggle span:nth-child(2) {
    top: 10px;
  }

  .menu-toggle span:nth-child(3) {
    top: 20px;
  }

  /* Hamburger menu animation */
  .menu-toggle.active span:nth-child(1) {
    top: 10px;
    transform: rotate(45deg);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    top: 10px;
    transform: rotate(-45deg);
  }

  /* Sidebar */
  .sidebar {
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100vh;
    background-color: var(--bg-dark);
    z-index: 999;
    padding-top: 70px;
    transition: left 0.3s ease;
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
  }

  .sidebar.active {
    left: 0;
  }

  /* Sidebar navigation links */
  .sidebar-nav {
    display: flex;
    flex-direction: column;
    padding: 0 20px;
  }

  .sidebar-nav a {
    display: block;
    padding: 15px 0;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: color 0.3s ease;
  }

  .sidebar-nav a:hover,
  .sidebar-nav a.active {
    color: var(--primary-color);
  }

  /* Logo in sidebar */
  .sidebar-logo {
    text-align: center;
    padding: 20px 0;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  /* Push content when sidebar is open */
  .content-wrapper {
    transition: margin-left 0.3s ease;
  }

  .push-content .content-wrapper {
    margin-left: 250px;
  }

  /* Overlay when sidebar is open */
  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
    display: none;
  }

  .overlay.active {
    display: block;
  }

  /* Adjust main navigation and content */
  nav {
    padding: 20px 50px 20px 20px;
  }

  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* CTA button in sidebar */
  .sidebar-cta {
    padding: 20px;
    margin-top: 20px;
  }

  .sidebar-cta .cta-button {
    width: 100%;
  }
}

/* Additional adjustment for extra small screens */
@media (max-width: 480px) {
  .sidebar {
    width: 220px;
    left: -220px;
  }

  .push-content .content-wrapper {
    margin-left: 220px;
  }
}
