/* Project Page Enhancements: Attractive, Animations, 3D */

/* Hero with Wave BG */

.project-hero {
  min-height: 50vh;
  background: linear-gradient(to bottom, var(--light-bg), var(--white));
}

.wave-bg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: url('data:url("data:image/svg+xml,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' viewBox=\'0 0 1440 320\'%3E%3Cpath fill=\'%23f8f9fa\' fill-opacity=\'1\' d=\'M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z\'%3E%3C/path%3E%3C/svg%3E")') bottom repeat-x;
  animation: wave 20s linear infinite;
}

@keyframes wave {
  0% {
    background-position: 0 bottom;
  }
  100% {
    background-position: -1440px bottom;
  }
}

/* Logo Showcase */

.logo-showcase {
  display: inline-block;
  perspective: 1000px;
  transition: transform 0.3s ease;
}

.project-logo-large {
  width: 200px;
  height: auto;
  animation: pulse 2s infinite ease-in-out;
  transform-style: preserve-3d;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Scope Card */

.project-scope-card {
  background: var(--white);
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  perspective: 1000px;
  transition: box-shadow 0.3s ease;
}

.project-scope-card:hover {
  box-shadow: 0 8px 20px rgba(74,144,226,0.15);
}

/* Interactive List with Tooltips */

.interactive-list .list-item {
  position: relative;
  transition: transform 0.3s ease;
  padding: 0.5rem 0;
}

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

.tooltip-text {
  position: absolute;
  bottom: 100%;
  left: 0;
  background: var(--primary);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 5px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  white-space: nowrap;
}

.list-item:hover .tooltip-text {
  opacity: 1;
}

/* Accordion Styles */

.accordion-button {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}

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

/* Interactive Map */

.map-svg {
  max-width: 100%;
  transition: transform 0.3s ease;
}

.map-region {
  cursor: pointer;
  transition: fill 0.3s ease, transform 0.3s ease;
}

.map-region:hover {
  fill: #007bff;
  transform: scale(1.2);
}

.popup {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--secondary);
  padding: 1rem;
  border-radius: 5px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  z-index: 10;
}

