/* Project Page Styles */
.project-hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  overflow: hidden;
  color: white;
  text-align: center;
  padding: 0 20px;
}

.project-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(93, 155, 255, 0.1) 0%, transparent 70%);
  animation: pulse 8s infinite alternate;
}

.hero-content {
  max-width: 800px;
  z-index: 2;
  transform: translateY(20px);
  opacity: 0;
  animation: fadeInUp 0.8s 0.3s forwards;
}

.project-hero h1 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(90deg, #ff6ec7, #5d9bff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 10px rgba(255, 110, 199, 0.3);
  animation: glow 2s infinite alternate;
}

.project-hero h1 span {
  display: inline-block;
  animation: bounce 2s infinite;
}

.project-hero p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
  line-height: 1.6;
}

.hero-btns {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-bottom: 3rem;
}

.btn {
  padding: 12px 25px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  transform: translateY(0);
}

.btn-primary {
  background: linear-gradient(45deg, #ff6ec7, #b36eff);
  color: white;
  box-shadow: 0 5px 15px rgba(179, 110, 255, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(179, 110, 255, 0.6);
}

.btn-primary.pulse {
  animation: pulse 2s infinite;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.project-meta {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.meta-item {
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
}

.meta-item:nth-child(1) { animation: fadeInUp 0.5s 0.5s forwards; }
.meta-item:nth-child(2) { animation: fadeInUp 0.5s 0.7s forwards; }
.meta-item:nth-child(3) { animation: fadeInUp 0.5s 0.9s forwards; }

.meta-item h4 {
  font-size: 0.9rem;
  color: #5d9bff;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.meta-item p {
  font-size: 1.1rem;
  margin: 0;
  color: white;
}

/* Project Sections */
.project-section {
  padding: 100px 0;
  position: relative;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.5s 0.3s forwards;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: white;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #ff6ec7, #5d9bff);
}

.project-overview {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-bottom: 80px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.5s 0.5s forwards;
}

.project-overview.reverse {
  flex-direction: row-reverse;
}

.project-text {
  flex: 1;
}

.project-text h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: white;
}

.project-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
}

.project-features {
  margin-top: 30px;
}

.project-features h4 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: white;
}

.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
}

.feature-list li::before {
  content: '▹';
  position: absolute;
  left: 0;
  color: #5d9bff;
}

.project-image {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  transform: perspective(1000px) rotateY(-5deg);
  transition: all 0.5s ease;
}

.project-overview.reverse .project-image {
  transform: perspective(1000px) rotateY(5deg);
}

.project-image:hover {
  transform: perspective(1000px) rotateY(0deg) scale(1.02);
  box-shadow: 0 20px 40px rgba(93, 155, 255, 0.3);
}

.project-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.project-image:hover img {
  transform: scale(1.05);
}

/* Tech Stack */
.tech-stack {
  background: rgba(15, 15, 26, 0.5);
  position: relative;
}

.tech-stack::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #6eff8e, transparent);
  animation: scanline 3s linear infinite;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 20px;
  margin-top: 50px;
}

.tech-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 30px 20px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  opacity: 0;
  transform: translateY(20px);
}

.tech-card:nth-child(1) { animation: fadeInUp 0.5s 0.2s forwards; }
.tech-card:nth-child(2) { animation: fadeInUp 0.5s 0.4s forwards; }
.tech-card:nth-child(3) { animation: fadeInUp 0.5s 0.6s forwards; }
.tech-card:nth-child(4) { animation: fadeInUp 0.5s 0.8s forwards; }
.tech-card:nth-child(5) { animation: fadeInUp 0.5s 1.0s forwards; }
.tech-card:nth-child(6) { animation: fadeInUp 0.5s 1.2s forwards; }

.tech-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(110, 255, 142, 0.2);
  border-color: #6eff8e;
}

.tech-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #5d9bff;
}

.tech-card h4 {
  font-size: 1.1rem;
  color: white;
  margin: 0;
}

/* Project Gallery */
.project-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 20px;
  margin-top: 50px;
}

.gallery-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  height: 250px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  opacity: 0;
  transform: translateY(20px);
}

.gallery-item:nth-child(1) { animation: fadeInUp 0.5s 0.2s forwards; }
.gallery-item:nth-child(2) { animation: fadeInUp 0.5s 0.4s forwards; }
.gallery-item:nth-child(3) { animation: fadeInUp 0.5s 0.6s forwards; }
.gallery-item:nth-child(4) { animation: fadeInUp 0.5s 0.8s forwards; }
.gallery-item:nth-child(5) { animation: fadeInUp 0.5s 1.0s forwards; }
.gallery-item:nth-child(6) { animation: fadeInUp 0.5s 1.2s forwards; }

.gallery-item:hover {
  transform: translateY(-10px) rotate(2deg);
  box-shadow: 0 15px 30px rgba(255, 110, 199, 0.4);
  z-index: 10;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: white;
  transform: translateY(100%);
  transition: all 0.3s ease;
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

.gallery-caption h4 {
  margin: 0 0 5px 0;
  font-size: 1.2rem;
}

.gallery-caption p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Testimonial */
.testimonial {
  background: rgba(255, 110, 199, 0.05);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.testimonial::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 30%, rgba(93, 155, 255, 0.1) 0%, transparent 50%);
  animation: pulse 10s infinite alternate;
}

.testimonial-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.5s 0.3s forwards;
}

.testimonial-text {
  font-size: 1.5rem;
  font-style: italic;
  line-height: 1.6;
  color: white;
  margin-bottom: 40px;
  position: relative;
}

.testimonial-text::before,
.testimonial-text::after {
  content: '"';
  font-size: 3rem;
  color: #ff6ec7;
  opacity: 0.3;
  position: absolute;
}

.testimonial-text::before {
  top: -20px;
  left: -30px;
}

.testimonial-text::after {
  bottom: -40px;
  right: -30px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.author-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #5d9bff;
}

.author-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info h4 {
  margin: 0;
  color: white;
  font-size: 1.2rem;
  text-align: left;
}

.author-info p {
  margin: 5px 0 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  text-align: left;
}

/* CTA */
.cta {
  text-align: center;
  padding: 100px 0;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 50%, rgba(110, 255, 142, 0.1) 0%, transparent 50%);
  animation: pulse 8s infinite alternate-reverse;
}

.cta h2 {
  font-size: 2.5rem;
  color: white;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.5s 0.3s forwards;
}

.cta p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.6;
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.5s 0.5s forwards;
}

.cta .btn {
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.5s 0.7s forwards;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  100% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

@keyframes glow {
  0% {
    text-shadow: 0 0 10px rgba(255, 110, 199, 0.3);
  }
  100% {
    text-shadow: 0 0 20px rgba(255, 110, 199, 0.6), 0 0 30px rgba(93, 155, 255, 0.4);
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes scanline {
  0% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(calc(100% + 10px));
  }
}

/* Responsive */
@media (max-width: 992px) {
  .project-overview {
    flex-direction: column;
  }
  
  .project-overview.reverse {
    flex-direction: column;
  }
  
  .project-image {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .project-hero h1 {
    font-size: 3rem;
  }
  
  .hero-btns {
    flex-direction: column;
    align-items: center;
  }
  
  .project-meta {
    gap: 30px;
  }
  
  .tech-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }
  
  .project-gallery {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .project-hero h1 {
    font-size: 2.5rem;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .testimonial-text {
    font-size: 1.2rem;
  }
  
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}





/* Fix for white text visibility with optimized contrast */
/* Text Visibility Fixes (No Background Boxes) */
/* Custom Color Control Variables */
:root {
  /* Background Colors */
  --bg-primary: #0f0f1a;       /* Dark default background */
  --bg-secondary: #1a1a2e;     /* Slightly lighter background */
  --bg-accent: #16213e;        /* Blueish accent background */
  
  /* Text Colors */
  --text-primary: #ffffff;      /* Pure white for main text */
  --text-secondary: #e0e0e0;   /* Slightly off-white */
  --text-accent: #5d9bff;      /* Neon blue for headings */
  --text-bullet: #ff6ec7;      /* Neon pink for bullets */
  
  /* Glow Effects */
  --glow-intensity: 0.6;       /* Control glow strength (0-1) */
}

/* Background Colors */
body {
  background-color: var(--bg-primary);
}

.project-section:nth-child(odd) {
  background-color: var(--bg-secondary);
}

.project-section:nth-child(even) {
  background-color: var(--bg-accent);
}

/* Text Styling - No Background Boxes */
.project-text h3 {
  color: var(--text-accent);
  text-shadow: 
    0 0 calc(10px * var(--glow-intensity)) rgba(93, 155, 255, 0.7),
    0 0 calc(5px * var(--glow-intensity)) rgba(255, 255, 255, 0.9);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.project-text p {
  color: var(--text-primary);
  text-shadow: 
    0 0 calc(8px * var(--glow-intensity)) rgba(0, 0, 0, 0.9),
    0 0 calc(3px * var(--glow-intensity)) rgba(0, 0, 0, 0.7);
  line-height: 1.8;
}

.feature-list li {
  color: var(--text-secondary);
  text-shadow: 
    0 0 calc(6px * var(--glow-intensity)) rgba(0, 0, 0, 0.8),
    0 0 calc(2px * var(--glow-intensity)) rgba(0, 0, 0, 0.6);
  padding-left: 1.8rem;
}

.feature-list li::before {
  content: "»";
  color: var(--text-bullet);
  position: absolute;
  left: 0;
  font-weight: bold;
  animation: bulletPulse 1.5s infinite;
}

/* Animations */
@keyframes bulletPulse {
  0%, 100% { 
    opacity: 0.8;
    transform: translateX(0);
  }
  50% { 
    opacity: 1;
    transform: translateX(5px);
    text-shadow: 0 0 10px var(--text-bullet);
  }
}

/* Color Change Examples - Adjust These! */
.theme-dark {
  --bg-primary: #0a0a12;
  --bg-secondary: #121220;
  --bg-accent: #0d1a2e;
  --text-primary: #f0f0f0;
}

.theme-bright {
  --bg-primary: #1e1e2e;
  --bg-secondary: #2a2a3e;
  --bg-accent: #2a3a5e;
  --text-accent: #6eff8e; /* Neon green */
  --text-bullet: #b36eff; /* Neon purple */
  --glow-intensity: 0.8;
}


