.lower-gradient1,
.upper-gradient1 {
  position: absolute;
  margin: 0 !important;
  filter: blur(500px);
  border-radius: 50%;
}
.upper-gradient1 {
  width: 54.75rem;
  top: 74.375rem;
  right: -73.125rem;
  background: radial-gradient(40% 40% at 40% 40%, #ff544c, #ff544c);
  height: 60.75rem;
  transform: rotate(180deg);
  transform-origin: 0 0;
  opacity: 0.6;
  z-index: 0;
}

.lower-gradient1 {
  position: absolute;
  margin: 0 !important;
  filter: blur(500px);
  border-radius: 50%;
  width: 50rem;
  pointer-events: none;
  height: 60rem; /* ✅ fixed height */
  right: -15rem;
  bottom: 0; /* ✅ push it to bottom */
  background: radial-gradient(40% 40% at 40% 40%, #ff544c, #ff544c);
  opacity: 0.21;
  z-index: 1;
}

.container {
  max-width: 100%;
  margin-left: 3rem;
  margin-right: 3rem;
}

/* Header */
.header {
  padding: 20px 0;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: #ff6b4a;
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a:hover {
  color: #ff6b4a;
  transform: translateY(-2px);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #ff6b4a, #ff8e53);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.cta-button {
  background: linear-gradient(135deg, #ff6b4a, #ff8e53);
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 107, 74, 0.4);
}

/* Back Navigation */
.back-nav {
  padding: 30px 0;
  cursor: pointer;
  color: #8892b0;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  width: fit-content;
}

.back-nav:hover {
  color: #ff544c;
  transform: translateX(-5px);
}

/* Project Header */
.project-header {
  padding: 40px 0 60px;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 60px;
  margin-top: 5rem;
  align-items: center;
}

.project-info h1 {
  font-size: 3.5rem;
  font-weight: 800;
  background-color: var(--new-red);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease;
}

.project-subtitle {
  font-size: 1.4rem;
  color: white;
  margin-bottom: 30px;
  font-weight: 300;
}

.project-description {
  font-size: 1.1rem;
  color: var(--Dark-dim);
  line-height: 1.8;
  margin-bottom: 40px;
}

.project-actions {
  display: flex;
  gap: 20px;
}

.btn {
  padding: 14px 28px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 17px;
}

.btn-primary {
  background-color: #cf4038;
  color: var(--Pure-Light);
  border-radius: 15px;
  appearance: none;
}

.btn-secondary {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1) inset,
    0 4px 4px rgba(0, 0, 0, 0.25) inset;
  border-radius: 16px;
  background-color: var(--Dark-Background);
  border: 1.5px solid var(--Dark-plus);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.5rem;
  cursor: pointer;
  gap: 0.625rem;
  font-size: 1rem;
  color: var(--Dark-dim);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-secondary:hover {
  background: black;
}
.project-visual {
  position: relative;
  width: 100%;
  transition: transform 0.3s ease-in-out;
  border-radius: 20px;
  cursor: pointer;
  overflow: hidden;
  text-align: center;
}

.project-visual img.n8nImage {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: inline-block;
  border-radius: 20px;
  transition: transform 0.3s ease-in-out; /* Smooth animation */
}

.project-visual:hover {
  transform: translateY(-5px); /* Slight zoom and upward jump */
}

.visual-elements {
  position: absolute;
  width: 100%;
  height: 100%;
}

.floating-element {
  position: absolute;
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.element-1 {
  width: 80px;
  height: 80px;
  background: #cc433d;
  top: 20%;
  left: 20%;
  animation-delay: 0s;
}

.element-2 {
  width: 60px;
  height: 60px;
  background: #cc433d;
  top: 60%;
  right: 20%;
  animation-delay: 2s;
}

.element-3 {
  width: 40px;
  height: 40px;
  background: #cc433d;
  bottom: 20%;
  left: 50%;
  animation-delay: 4s;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 60px 0;
}

.stat-card {
  background: rgba(0, 0, 0, 0.5); /* instead of black + opacity */
  backdrop-filter: blur(10px);
  border: 1.5px solid var(--Dark-plus);
  border-radius: 16px;
  padding: 30px 20px;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #cc433d;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-10px);
}

.stat-card:hover::before {
  transform: scaleX(1);
}

.stat-icon {
  font-size: 2rem;
  color: #ff6b4a;
  margin-bottom: 15px;
}

.stat-value {
  font-size: 1.1rem;
  color: white;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.9rem;
  color: white;
}

/* Metrics Section */
.metrics-section {
  margin: 80px 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 50px;
  color: #ffffff;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.metric-card {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  border: 1.5px solid var(--Dark-plus);
  border-radius: 20px;
  cursor: pointer;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.metric-card:hover {
  transform: translateY(-10px);
}

.metric-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #cc433d, #cc433d);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
}

.metric-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 10px;
}

.metric-label {
  color: white;
  font-size: 1.1rem;
}

/* Technologies Section */
.tech-section {
  margin: 80px 0;
}

.tech-list.unified-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  text-align: center;
  overflow: visible; 
  transition: all 0.3s ease;
}

.tech-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: white;
  margin-bottom: 20px;
}

.tech-list {
  display: flex;
  gap: 10px;
}

.tech-tag {
  position: relative;
  background: rgba(255, 107, 74, 0.1);
  color: #ff6b4a;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid rgba(255, 107, 74, 0.2);
  flex-shrink: 0;
  z-index: 1;
  transition: all 0.3s ease;
}

.tech-tag:hover {
  background: rgba(255, 107, 74, 0.2);
  transform: scale(1.05);
}

/* Results Section */
.results-section {
  margin: 80px 0;
  padding: 60px 40px;
  border-radius: 30px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  border: 1.5px solid var(--Dark-plus);
}

.results-grid {
  display: grid;
  opacity: 1;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.result-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  opacity: 1;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 15px;
  transition: all 0.3s ease;
}

.result-item:hover {
  transform: translateX(10px);
}

.result-dot {
  width: 12px;
  height: 12px;
  background: #ff544c;
  border-radius: 50%;
  flex-shrink: 0;
}

.result-text {
  font-size: 1.1rem;
  color: white;
}

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

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

/* Responsive */
@media (max-width: 1024px) {
  .project-header {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .stats-grid,
  .metrics-grid,
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .results-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    margin-right: 2.8rem;
    margin-top: -3rem;
  }

  .nav-links {
    display: none;
  }

  .project-info h1 {
    font-size: 2.5rem;
  }

  .stats-grid,
  .metrics-grid,
  .tech-grid {
    grid-template-columns: 1fr;
  }

  .project-actions {
    flex-direction: column;
  }
}
.navigation-buttons-corner {
  display: flex;
  justify-content: space-between;
  margin: 40px 0 60px;
  width: 100%;
  max-width: 1350px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

.nav-btn {
  background: rgba(255, 107, 74, 0.1);
  color: #ff544c;
  border: 1.5px solid rgba(255, 107, 74, 0.6);
  border-radius: 30px;
  padding: 12px 13px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  justify-content: center;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  min-width: 120px;
}

.nav-btn i {
  font-size: 1.1rem;
}

.nav-btn:hover {
  background: rgba(255, 107, 74, 0.3);
  transform: scale(1.05);
  border-color: #ff544c;
}

.back-btn i {
  margin-right: 0.3rem;
}

.next-btn i {
  margin-left: 0.3rem;
}

.contact1 {
  margin-top: 8rem;
}
/* Tablet and mobile styles */
@media (max-width: 786px) {
  .navigation-buttons-corner {
    margin: 30px 0 40px;
    padding: 0 15px;
    justify-content: space-between;
  }

  .nav-btn {
    padding: 10px 16px;
    font-size: 0.85rem;
    min-width: 100px;
    border-radius: 25px;
  }
  .contact1 {
    margin-top: 15rem;
  }
  .nav-btn i {
    font-size: 0.9rem;
  }

  .back-btn i {
    margin-right: 0.25rem;
  }

  .next-btn i {
    margin-left: 0.25rem;
  }
}

/* Small mobile styles */
@media (max-width: 480px) {
  .nav-btn {
    padding: 8px 12px;
    font-size: 0.8rem;
    min-width: 80px;
    margin-right: 1.6rem;
    border-radius: 20px;
  }

  .nav-btn i {
    font-size: 0.85rem;
  }

  .nav-btn:hover {
    transform: scale(1.02); /* Reduce scale effect on mobile */
  }
}
