/* =================================== */
/* Modern Portfolio - Beautiful UI/UX
/* 2025 Standards with Smooth Animations
/* =================================== */

/* ===== ROOT VARIABLES ===== */
:root {
  --primary: #00d4aa;
  --primary-dark: #00b894;
  --primary-light: #55efc4;
  --secondary: #667eea;
  --accent: #764ba2;
  --dark: #1a202c;
  --dark-light: #2d3748;
  --gray: #4a5568;
  --gray-light: #718096;
  --gray-lighter: #a0aec0;
  --light: #f7fafc;
  --white: #ffffff;
  --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  --gradient-secondary: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
  --gradient-dark: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
  --shadow-primary: 0 10px 30px rgba(0, 212, 170, 0.3);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.3;
  color: var(--dark);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* ===== TYPOGRAPHY ===== */
.text-primary { color: var(--primary) !important; }
.bg-primary { background-color: var(--primary) !important; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
  text-transform: none;
  letter-spacing: 0.3px;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 212, 170, 0.4);
  background: var(--primary-dark);
  color: var(--white);
}

.btn-outline-dark {
  background: transparent;
  color: var(--dark);
  border-color: var(--dark);
}

.btn-outline-dark:hover {
  background: var(--dark);
  color: var(--white);
  transform: translateY(-3px);
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1.1rem;
}

/* ===== HERO SECTION ===== */
.hero-section,
#home {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #00d4aa 100%);
  background-size: 200% 200%;
  animation: gradientShift 15s ease infinite;
  padding: 120px 0 80px;
  overflow: hidden;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.5;
  pointer-events: none;
}

.hero-badge .badge {
  background: rgba(255, 255, 255, 0.2) !important;
  backdrop-filter: blur(10px);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-section h1 {
  color: var(--white);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero-section h1 .text-primary {
  color: var(--primary-light) !important;
  text-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.hero-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  line-height: 1.8;
  max-width: 600px;
}

/* Hero Stats */
.hero-stats {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item {
  text-align: center;
  padding: 15px;
}

.stat-item h3 {
  color: var(--white);
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 5px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.stat-item p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Hero Image */
.hero-image-wrapper {
  position: relative;
  display: inline-block;
}

.hero-image-wrapper img {
  width: 350px;
  height: 350px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 2;
}

.hero-image-bg {
  position: absolute;
  top: -15px;
  left: -15px;
  width: calc(100% + 30px);
  height: calc(100% + 30px);
  background: var(--gradient-primary);
  border-radius: 50%;
  z-index: 1;
  opacity: 0.6;
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.08); opacity: 0.4; }
}

/* Floating Badges */
.floating-badge {
  position: absolute;
  background: var(--white);
  padding: 12px 20px;
  border-radius: 50px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark);
  z-index: 3;
  animation: float 4s ease-in-out infinite;
}

.floating-badge i {
  font-size: 1.3rem;
  color: var(--primary);
}

.floating-badge.badge-1 {
  top: 5%;
  right: -5%;
  animation-delay: 0s;
}

.floating-badge.badge-2 {
  bottom: 25%;
  left: -10%;
  animation-delay: 1s;
}

.floating-badge.badge-3 {
  top: 45%;
  right: -15%;
  animation-delay: 2s;
}

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

/* Scroll Down Arrow */
.scroll-down-arrow {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  font-size: 1.5rem;
  animation: bounce 2s ease-in-out infinite;
}

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

/* ===== SECTIONS ===== */
.section {
  padding: 100px 0;
  position: relative;
}

.section.bg-light {
  background: var(--light);
}

/* Section Headers */
.section p.text-center .bg-primary {
  display: inline-block;
  background: var(--gradient-primary) !important;
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section h2.text-10 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--dark);
}

/* ===== ABOUT SECTION ===== */
#about h2 .text-primary {
  color: var(--primary) !important;
}

.about-features .feature-check {
  display: flex;
  align-items: center;
  font-size: 0.95rem;
  color: var(--gray);
  padding: 8px 0;
}

.about-features .feature-check i {
  color: var(--primary);
  font-size: 1.1rem;
  margin-right: 10px;
}

.about-info-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 30px;
}

.experience-badge {
  background: var(--gradient-primary) !important;
  border-radius: var(--radius-md);
  color: var(--white) !important;
}

.experience-badge .text-10 {
  color: var(--white) !important;
}

/* ===== EXPERTISE SECTION ===== */
.expertise-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 35px 30px;
  height: 100%;
  border-top: 4px solid var(--primary);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.expertise-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.expertise-icon {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.expertise-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--dark);
}

.expertise-card p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===== PROJECTS SECTION ===== */
.portfolio-menu {
  background: transparent;
  border: none !important;
  gap: 10px;
  flex-wrap: wrap;
}

.portfolio-menu .nav-link {
  background: var(--light);
  color: var(--gray);
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 2px solid transparent;
  transition: var(--transition);
}

.portfolio-menu .nav-link:hover {
  background: rgba(0, 212, 170, 0.1);
  color: var(--primary);
}

.portfolio-menu .nav-link.active {
  background: var(--gradient-primary);
  color: var(--white) !important;
  border-color: var(--primary);
}

.project-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.project-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-secondary);
  min-height: 220px;
  position: relative;
  overflow: hidden;
}

.project-image-placeholder::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(255,255,255,0.1) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.1) 75%, transparent 75%);
  background-size: 30px 30px;
  animation: movePattern 2s linear infinite;
}

@keyframes movePattern {
  0% { background-position: 0 0; }
  100% { background-position: 30px 30px; }
}

.project-image-placeholder i {
  font-size: 3.5rem;
  color: var(--white);
  opacity: 0.9;
}

.project-image-placeholder h5 {
  color: var(--white);
  font-weight: 700;
  margin-top: 15px;
}

.project-content {
  padding: 25px;
}

.project-badge .badge {
  font-size: 0.75rem;
  padding: 6px 12px;
  border-radius: 50px;
  font-weight: 600;
  margin-right: 8px;
  margin-bottom: 8px;
}

.project-badge .badge-primary {
  background: var(--gradient-primary);
  color: var(--white);
}

.project-badge .badge-secondary {
  background: var(--light);
  color: var(--gray);
}

.project-card h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--dark);
}

.project-card p {
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 15px;
}

.project-tech .badge {
  background: var(--light);
  color: var(--gray);
  font-size: 0.75rem;
  padding: 5px 10px;
  border-radius: 5px;
  font-weight: 500;
}

.project-card .btn-primary {
  padding: 10px 20px;
  font-size: 0.85rem;
}

/* Different gradient backgrounds */
.bg-gradient-primary { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important; }
.bg-gradient-secondary { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%) !important; }
.bg-gradient-info { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%) !important; }

/* ===== RESUME SECTION ===== */
.timeline {
  position: relative;
}

.timeline-item {
  padding-bottom: 30px;
  position: relative;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-date {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.timeline-item h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--dark);
}

.timeline-item p.text-muted {
  color: var(--gray-light) !important;
  font-size: 0.9rem;
}

/* Skills */
.skill-item {
  margin-bottom: 25px;
}

.skill-item .font-weight-600 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
}

.progress {
  height: 10px;
  border-radius: 10px;
  background: var(--light);
  overflow: hidden;
}

.progress-bar {
  background: var(--gradient-primary);
  border-radius: 10px;
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.testimonial-card .text-primary {
  color: var(--primary) !important;
  font-size: 3rem;
  margin-bottom: 20px;
}

.testimonial-card p {
  color: var(--gray);
  font-size: 1.1rem;
  line-height: 1.8;
  font-style: italic;
}

.testimonial-author strong {
  color: var(--dark);
  font-size: 1.1rem;
}

.testimonial-author span {
  color: var(--gray-light);
  font-size: 0.9rem;
}

/* Owl Carousel Nav */
.owl-carousel .owl-nav button {
  width: 50px;
  height: 50px;
  background: var(--white) !important;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  color: var(--dark) !important;
  font-size: 1.2rem !important;
  transition: var(--transition);
}

.owl-carousel .owl-nav button:hover {
  background: var(--primary) !important;
  color: var(--white) !important;
}

/* ===== CTA SECTION ===== */
.cta-section .hero-wrap {
  position: relative;
}

.cta-section .hero-content {
  position: relative;
  z-index: 2;
}

.cta-section h2 {
  color: var(--white);
  font-size: 2.5rem;
  font-weight: 800;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
}

/* ===== CONTACT SECTION ===== */
#contact {
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
}

#contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></svg>');
  background-size: 100px 100px;
  pointer-events: none;
}

#contact h2 {
  color: var(--white);
}

#contact p {
  color: rgba(255, 255, 255, 0.9);
}

#contact .contact-info h4 {
  color: var(--white);
}

#contact .contact-info address,
#contact .contact-info p {
  color: rgba(255, 255, 255, 0.8);
}

#contact .contact-info a {
  color: var(--white);
}

#contact .contact-info a:hover {
  color: var(--dark);
}

/* Contact text + spacing fixes (Bootstrap overrides) */
#contact .text-white-50 {
  color: rgba(255, 255, 255, 0.85) !important;
}

#contact .contact-info .contact-item {
  margin-bottom: 22px;
}

#contact .contact-info .contact-item:last-child {
  margin-bottom: 0;
}

#contact .contact-info h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.35;
}

#contact .contact-info h4 i {
  color: rgba(255, 255, 255, 0.95) !important;
  margin-right: 0 !important; /* override Bootstrap mr-* on icon */
}

#contact .contact-info address {
  line-height: 1.65;
}

#contact .contact-info p {
  margin-bottom: 0;
}

/* Contact Form */
#contact-form .form-control {
  background: var(--white);
  border: none;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  font-size: 1rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

#contact-form .form-control:focus {
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.3);
  outline: none;
}

#contact-form label {
  color: var(--white);
  font-weight: 600;
  margin-bottom: 10px;
}

#contact-form .btn {
  background: var(--white);
  color: var(--primary);
  font-weight: 700;
  padding: 16px 40px;
}

#contact-form .btn:hover {
  background: var(--dark);
  color: var(--white);
  transform: translateY(-3px);
}

/* Social Icons */
.social-icons li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--white);
  transition: var(--transition);
}

.social-icons li a:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-5px);
}

/* ===== FOOTER ===== */
#footer {
  background: var(--dark);
  padding: 30px 0;
}

#footer p {
  color: var(--gray-light);
  font-size: 0.9rem;
}

#footer a {
  color: var(--primary);
}

#footer a:hover {
  color: var(--primary-light);
}

/* ===== BACK TO TOP ===== */
#back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-primary);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
}

#back-to-top.show {
  opacity: 1;
  visibility: visible;
}

#back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 212, 170, 0.5);
}

/* ===== PRELOADER ===== */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}

.preloader .lds-ellipsis div {
  background: var(--primary);
}

/* ===== ANIMATIONS ===== */
.wow {
  visibility: hidden;
}

.animated {
  animation-duration: 1s;
  animation-fill-mode: both;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .hero-section h1 {
    font-size: 3rem;
  }
  
  .hero-image-wrapper img {
    width: 300px;
    height: 300px;
  }
}

@media (max-width: 991px) {
  .section {
    padding: 80px 0;
  }
  
  .hero-section h1 {
    font-size: 2.5rem;
  }
  
  .hero-image-wrapper img {
    width: 280px;
    height: 280px;
  }
  
  .floating-badge {
    display: none;
  }
  
  .stat-item h3 {
    font-size: 2.2rem;
  }
}

@media (max-width: 767px) {
  .section {
    padding: 60px 0;
  }
  
  .hero-section {
    padding: 100px 0 60px;
    text-align: center;
  }
  
  .hero-section h1 {
    font-size: 2rem;
  }
  
  .hero-section p {
    font-size: 1rem;
  }
  
  .hero-image-wrapper img {
    width: 220px;
    height: 220px;
  }
  
  .hero-cta .btn {
    display: block;
    width: 100%;
    margin-bottom: 15px;
  }
  
  .section h2.text-10 {
    font-size: 2rem;
  }
  
  .expertise-card {
    margin-bottom: 20px;
  }
  
  .project-card {
    margin-bottom: 20px;
  }
}

/* ===== UTILITY CLASSES ===== */
.shadow-lg { box-shadow: var(--shadow-lg) !important; }
.rounded-lg { border-radius: var(--radius-lg) !important; }
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =================================== */
/* PROJECT DETAIL PAGE - Modern UI/UX
/* =================================== */

.project-detail-page {
  overflow-x: hidden;
}

/* ===== PROJECT HERO ===== */
.project-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 140px 0 100px;
  overflow: hidden;
}

.project-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #00d4aa 100%);
  background-size: 200% 200%;
  animation: gradientShift 15s ease infinite;
}

.project-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.08)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  pointer-events: none;
}

.project-hero .container {
  position: relative;
  z-index: 2;
}

.project-hero-content {
  max-width: 800px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 25px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.back-link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(-5px);
}

.project-category-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.project-hero h1 {
  color: var(--white);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.project-hero-desc {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 30px;
  max-width: 700px;
}

.project-tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tech-pill {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
}

.tech-pill:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.project-hero-shape {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 3;
}

.project-hero-shape svg {
  display: block;
  width: 100%;
  height: auto;
}

/* ===== PROJECT CONTENT SECTION ===== */
.project-content-section {
  padding: 80px 0;
  background: var(--white);
}

.content-block {
  margin-bottom: 60px;
}

.content-block .section-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 35px;
}

.content-block .section-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  box-shadow: var(--shadow-primary);
}

.content-block .section-header h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0;
}

/* ===== FEATURES GRID ===== */
.features-grid {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.feature-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 25px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  opacity: 0;
  transform: translateX(-20px);
}

.feature-card.animate-in {
  opacity: 1;
  transform: translateX(0);
}

.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(10px);
  border-color: var(--primary);
}

.feature-number {
  min-width: 45px;
  height: 45px;
  background: var(--light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  transition: var(--transition);
}

.feature-card:hover .feature-number {
  background: var(--gradient-primary);
  color: var(--white);
}

.feature-content {
  flex: 1;
}

.feature-content p {
  margin: 0;
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.6;
}

.feature-icon {
  width: 30px;
  height: 30px;
  background: rgba(0, 212, 170, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 0.8rem;
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  opacity: 1;
}

/* ===== PROCESS TIMELINE ===== */
.process-timeline {
  position: relative;
  padding-left: 30px;
}

.process-item {
  display: flex;
  gap: 25px;
  padding: 30px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
}

.process-item.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.process-item:hover {
  box-shadow: var(--shadow-md);
}

.process-marker {
  min-width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--white);
  position: relative;
  z-index: 2;
}

.process-item.challenge .process-marker {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  box-shadow: 0 10px 30px rgba(245, 87, 108, 0.3);
}

.process-item.solution .process-marker {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.process-item.result .process-marker {
  background: var(--gradient-primary);
  box-shadow: var(--shadow-primary);
}

.process-content {
  flex: 1;
}

.process-label {
  display: inline-block;
  padding: 5px 15px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.process-item.challenge .process-label {
  background: rgba(245, 87, 108, 0.1);
  color: #f5576c;
}

.process-item.solution .process-label {
  background: rgba(102, 126, 234, 0.1);
  color: #667eea;
}

.process-item.result .process-label {
  background: rgba(0, 212, 170, 0.1);
  color: var(--primary);
}

.process-content h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.process-content p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}

.process-connector {
  width: 3px;
  height: 40px;
  background: linear-gradient(to bottom, var(--primary), rgba(0, 212, 170, 0.2));
  margin: 0 0 0 56px;
  border-radius: 3px;
}

/* ===== SIDEBAR ===== */
.project-sidebar-wrapper {
  position: sticky;
  top: 100px;
}

.sidebar-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px;
  margin-bottom: 25px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.05);
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
}

.sidebar-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.sidebar-card:hover {
  box-shadow: var(--shadow-md);
}

.sidebar-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sidebar-card h3 i {
  color: var(--primary);
}

/* Info Card */
.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.info-list li:last-child {
  border-bottom: none;
}

.info-label {
  color: var(--gray-light);
  font-size: 0.85rem;
  font-weight: 500;
}

.info-value {
  color: var(--dark);
  font-size: 0.9rem;
  font-weight: 600;
}

/* Tech Card */
.tech-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-item {
  background: var(--light);
  color: var(--gray);
  padding: 8px 15px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: var(--transition);
}

.tech-item:hover {
  background: var(--gradient-primary);
  color: var(--white);
}

/* CTA Card */
.cta-card {
  background: var(--gradient-secondary) !important;
  text-align: center;
  border: none !important;
}

.cta-icon {
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  color: var(--white);
}

.cta-card h3 {
  color: var(--white) !important;
  justify-content: center;
}

.cta-card p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  margin-bottom: 25px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  color: var(--dark);
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  width: 100%;
  justify-content: center;
}

.cta-btn:hover {
  background: var(--dark);
  color: var(--white);
  transform: translateY(-3px);
}

.cta-contact {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-contact a {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  transition: var(--transition);
}

.cta-contact a:hover {
  background: var(--white);
  color: var(--dark);
  transform: translateY(-5px);
}

/* ===== OTHER PROJECTS SECTION ===== */
.other-projects-section {
  padding: 80px 0;
  background: var(--light);
}

.other-projects-section .section-header {
  margin-bottom: 50px;
}

.section-badge {
  display: inline-block;
  background: var(--gradient-primary);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.other-projects-section h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--dark);
}

.other-project-card {
  display: block;
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 35px;
  height: 100%;
  min-height: 220px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(20px);
}

.other-project-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.other-project-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.other-project-card .card-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--gradient-primary);
  transition: var(--transition);
}

.other-project-card:hover .card-gradient {
  height: 100%;
  opacity: 0.05;
}

.other-project-card .card-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.other-project-card .card-category {
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.other-project-card h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: auto;
  line-height: 1.4;
}

.other-project-card .card-link {
  color: var(--gray);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  transition: var(--transition);
}

.other-project-card:hover .card-link {
  color: var(--primary);
}

.other-project-card:hover .card-link i {
  transform: translateX(5px);
}

.other-project-card .card-link i {
  transition: var(--transition);
}

.view-all-btn {
  display: inline-flex;
  align-items: center;
  background: var(--gradient-primary);
  color: var(--white);
  padding: 14px 35px;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: var(--shadow-primary);
}

.view-all-btn:hover {
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 212, 170, 0.4);
}

/* ===== FOOTER STYLES ===== */
.footer-logo .logo-text {
  font-size: 1.5rem;
  font-weight: 800;
}

.footer-logo .logo-first {
  color: var(--white);
}

.footer-logo .logo-last {
  color: var(--primary);
}

.footer-tagline {
  color: var(--gray-light);
  font-size: 0.9rem;
  margin-top: 5px;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.footer-social a {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-5px);
}

.copyright {
  color: var(--gray-light);
  font-size: 0.9rem;
}

/* ===== RESPONSIVE - PROJECT DETAIL ===== */
@media (max-width: 991px) {
  .project-hero {
    min-height: auto;
    padding: 120px 0 80px;
  }
  
  .project-hero h1 {
    font-size: 2.2rem;
  }
  
  .project-sidebar-wrapper {
    position: relative;
    top: 0;
  }
  
  .process-timeline {
    padding-left: 0;
  }
  
  .process-connector {
    margin-left: 26px;
  }
}

@media (max-width: 767px) {
  .project-hero {
    padding: 100px 0 60px;
  }
  
  .project-hero h1 {
    font-size: 1.8rem;
  }
  
  .project-hero-desc {
    font-size: 1rem;
  }
  
  .feature-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  
  .feature-number {
    min-width: 40px;
    height: 40px;
  }
  
  .process-item {
    flex-direction: column;
    gap: 15px;
    padding: 25px;
  }
  
  .process-marker {
    min-width: 50px;
    height: 50px;
  }
  
  .process-connector {
    height: 30px;
    margin-left: 23px;
  }
  
  .content-block .section-header h2 {
    font-size: 1.4rem;
  }
  
  .other-projects-section h2 {
    font-size: 1.8rem;
  }
}
