/* Premium Projects Page Styling - Complete */

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #0a1628;
}

/* Hero Section */
.projects-hero-premium {
  position: relative;
  min-height: 70vh;
  background: linear-gradient(135deg, #0a1628 0%, #1e3a5f 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 40px 80px;
  overflow: hidden;
}

.hero-grid-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(0, 225, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 225, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.5;
}

.container-premium {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 2;
}

.hero-badge-premium {
  display: inline-block;
  padding: 10px 24px;
  background: rgba(0, 225, 255, 0.1);
  border: 1px solid rgba(0, 225, 255, 0.3);
  border-radius: 50px;
  color: #00e1ff;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-title-premium {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  color: white;
  margin-bottom: 30px;
  line-height: 1.1;
  text-align: center;
}

.gradient-text {
  background: linear-gradient(135deg, #00e1ff, #1e50ff, #9d4edd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle-premium {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 800px;
  margin: 0 auto 60px;
  text-align: center;
  line-height: 1.8;
}

.hero-stats-premium {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.stat-box {
  text-align: center;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: #00e1ff;
  line-height: 1;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Project Showcase */
.project-showcase-premium {
  padding: 120px 0;
  background: white;
}

.project-showcase-premium.alt-bg {
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.project-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.project-layout.reverse {
  direction: rtl;
}

.project-layout.reverse>* {
  direction: ltr;
}

/* Visual Side */
.project-visual-side {
  position: relative;
}

.project-image-wrapper {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  background: #f0f0f0;
  min-height: 400px;
}

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

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

.floating-badge {
  position: absolute;
  top: 30px;
  right: 30px;
  background: linear-gradient(135deg, #ff6b6b, #ff8e53);
  color: white;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 30px rgba(255, 107, 107, 0.4);
  z-index: 10;
}

.floating-badge.success {
  background: linear-gradient(135deg, #00e1ff, #1e50ff);
  box-shadow: 0 10px 30px rgba(0, 225, 255, 0.4);
}

.badge-icon {
  font-size: 1.2rem;
}

.project-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.metric-item {
  background: white;
  padding: 25px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.metric-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.metric-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: #1e50ff;
  margin-bottom: 8px;
  line-height: 1;
}

.metric-label {
  font-size: 0.9rem;
  color: #5a6c7d;
  font-weight: 600;
}

/* Content Side */
.project-content-side {
  position: relative;
}

.project-category {
  display: inline-block;
  padding: 8px 20px;
  background: linear-gradient(135deg, #00e1ff20, #1e50ff20);
  border: 1px solid #00e1ff;
  border-radius: 50px;
  color: #1e50ff;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.project-title-main {
  font-size: 2.8rem;
  font-weight: 800;
  color: #0a1628;
  margin-bottom: 25px;
  line-height: 1.2;
}

.project-description-lead {
  font-size: 1.2rem;
  color: #5a6c7d;
  line-height: 1.8;
  margin-bottom: 40px;
}

/* Features List */
.features-list {
  margin-bottom: 40px;
}

.feature-item {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
  padding-bottom: 25px;
  border-bottom: 1px solid #e8e8e8;
}

.feature-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.feature-icon {
  width: 28px;
  height: 28px;
  color: #00e1ff;
  flex-shrink: 0;
  stroke-width: 2.5;
}

.feature-item strong {
  display: block;
  font-size: 1.1rem;
  color: #0a1628;
  margin-bottom: 5px;
}

.feature-item p {
  color: #5a6c7d;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* Impact Stats */
.impact-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 40px 0;
  padding: 30px;
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
  border-radius: 16px;
}

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

.impact-icon {
  font-size: 2.5rem;
}

.impact-number {
  font-size: 2rem;
  font-weight: 800;
  color: #1e50ff;
  line-height: 1;
}

.impact-text {
  font-size: 0.9rem;
  color: #0c4a6e;
  font-weight: 600;
}

/* Project Tags */
.project-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.project-tag {
  padding: 8px 18px;
  background: #f0f0f0;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #5a6c7d;
  transition: all 0.3s ease;
}

.project-tag:hover {
  background: #e0f2fe;
  color: #0c4a6e;
}

/* CTA Buttons */
.project-cta-group {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-project-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 40px;
  background: linear-gradient(135deg, #00e1ff, #1e50ff);
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 225, 255, 0.3);
}

.btn-project-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 225, 255, 0.5);
  color: white;
}

.btn-project-primary svg {
  transition: transform 0.3s ease;
}

.btn-project-primary:hover svg {
  transform: translateX(5px);
}

.btn-project-secondary {
  display: inline-flex;
  align-items: center;
  padding: 18px 40px;
  background: transparent;
  border: 2px solid #1e50ff;
  color: #1e50ff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-project-secondary:hover {
  background: #1e50ff;
  color: white;
  transform: translateY(-2px);
}

/* More Projects Section */
.more-projects-section {
  padding: 120px 0;
  background: #f8f9fa;
}

.section-header-premium {
  text-align: center;
  margin-bottom: 80px;
}

.section-title-premium {
  font-size: 3rem;
  font-weight: 800;
  color: #0a1628;
  margin-bottom: 20px;
}

.section-subtitle-premium {
  font-size: 1.2rem;
  color: #5a6c7d;
  max-width: 600px;
  margin: 0 auto;
}

.projects-grid-premium {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

/* Mini Project Cards */
.mini-project-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.mini-project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.mini-project-image {
  height: 220px;
  overflow: hidden;
  background: #f0f0f0;
}

.mini-project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.mini-project-card:hover .mini-project-image img {
  transform: scale(1.1);
}

.mini-project-content {
  padding: 30px;
}

.mini-category {
  display: inline-block;
  padding: 6px 16px;
  background: linear-gradient(135deg, #00e1ff20, #1e50ff20);
  border: 1px solid #00e1ff;
  border-radius: 50px;
  color: #1e50ff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.mini-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0a1628;
  margin-bottom: 15px;
  line-height: 1.3;
}

.mini-description {
  color: #5a6c7d;
  line-height: 1.6;
  margin-bottom: 20px;
}

.mini-stats {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.mini-stats span {
  padding: 8px 16px;
  background: #f0f9ff;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #0c4a6e;
}

.mini-link {
  color: #1e50ff;
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.mini-link:hover {
  color: #00e1ff;
  transform: translateX(5px);
}

/* CTA Section */
.cta-section-premium {
  padding: 100px 0;
  background: linear-gradient(135deg, #0a1628, #1e3a5f);
  position: relative;
  overflow: hidden;
}

.cta-section-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(0, 225, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 225, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.3;
}

.cta-content-box {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-title {
  font-size: 3rem;
  font-weight: 800;
  color: white;
  margin-bottom: 25px;
  line-height: 1.2;
}

.cta-text {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  line-height: 1.8;
}

.cta-buttons-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.btn-cta-large {
  display: inline-block;
  padding: 20px 50px;
  background: linear-gradient(135deg, #00e1ff, #1e50ff);
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.2rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 225, 255, 0.3);
}

.btn-cta-large:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 225, 255, 0.5);
  color: white;
}

.btn-cta-outline {
  display: inline-block;
  padding: 20px 50px;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.2rem;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-cta-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #00e1ff;
  transform: translateY(-2px);
  color: white;
}

.cta-guarantee {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .container-premium {
    padding: 0 30px;
  }

  .project-title-main {
    font-size: 2.3rem;
  }
}

@media (max-width: 1024px) {
  .project-layout {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .project-layout.reverse {
    direction: ltr;
  }

  .project-metrics {
    grid-template-columns: repeat(3, 1fr);
  }

  .impact-stats {
    grid-template-columns: 1fr;
  }

  .projects-grid-premium {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .container-premium {
    padding: 0 20px;
  }

  .projects-hero-premium {
    padding: 100px 20px 60px;
  }

  .hero-title-premium {
    font-size: 2.5rem;
  }

  .hero-subtitle-premium {
    font-size: 1.1rem;
  }

  .hero-stats-premium {
    gap: 40px;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .project-showcase-premium {
    padding: 80px 0;
  }

  .project-title-main {
    font-size: 2rem;
  }

  .project-description-lead {
    font-size: 1.1rem;
  }

  .project-metrics {
    grid-template-columns: 1fr;
  }

  .projects-grid-premium {
    grid-template-columns: 1fr;
  }

  .section-title-premium {
    font-size: 2.3rem;
  }

  .more-projects-section {
    padding: 80px 0;
  }

  .cta-section-premium {
    padding: 80px 0;
  }

  .cta-title {
    font-size: 2rem;
  }

  .cta-text {
    font-size: 1.1rem;
  }

  .cta-buttons-group {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-cta-large,
  .btn-cta-outline {
    text-align: center;
  }

  .cta-guarantee {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .hero-badge-premium {
    font-size: 0.75rem;
    padding: 8px 16px;
  }

  .project-cta-group {
    flex-direction: column;
  }

  .btn-project-primary,
  .btn-project-secondary {
    width: 100%;
    justify-content: center;
  }

  .floating-badge {
    padding: 10px 16px;
    font-size: 0.8rem;
    top: 20px;
    right: 20px;
  }
}

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

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.project-showcase-premium {
  animation: fadeInUp 0.8s ease-out;
}

/* Print Styles */
@media print {

  .chatbot-button,
  .u-header,
  .u-footer,
  .cta-section-premium {
    display: none;
  }

  .project-showcase-premium {
    page-break-inside: avoid;
  }
}