/* Enhanced Process Section - Maman Corp Inspired */
.process {
  background: #ffffff;
  position: relative;
}

.process__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-top: 60px;
  position: relative;
}

.process__step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 2;
}

.process__number {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  font-weight: 700;
  color: rgba(26, 54, 93, 0.1);
  line-height: 1;
  margin-bottom: 20px;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.process__step:hover .process__number {
  color: rgba(26, 54, 93, 0.3);
  transform: scale(1.1);
}

.process__icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #1a365d, #2d5a87);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 25px rgba(26, 54, 93, 0.15);
  position: relative;
}

.process__icon::before {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid rgba(26, 54, 93, 0.2);
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.process__step:hover .process__icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 15px 40px rgba(26, 54, 93, 0.25);
}

.process__step:hover .process__icon::before {
  opacity: 1;
  inset: -10px;
}

.process__icon i {
  font-size: 2.5rem;
  color: #ffffff;
}

.process__title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a202c;
  margin-bottom: 16px;
  transition: color 0.3s ease;
}

.process__step:hover .process__title {
  color: #1a365d;
}

.process__description {
  color: #718096;
  line-height: 1.7;
  font-size: 1rem;
}

.process__line {
  flex: 0 0 60px;
  height: 2px;
  background: linear-gradient(90deg, rgba(26, 54, 93, 0.2), rgba(135, 206, 235, 0.4));
  position: relative;
}

.process__line::before {
  content: '';
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid rgba(135, 206, 235, 0.4);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

/* Stats Section */
.stats__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 60px;
  text-align: center;
}

.stat-item {
  color: #ffffff;
}

.stat-counter {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 16px;
  display: block;
}

.stat-counter::after {
  content: '+';
  font-size: 3rem;
  opacity: 0.8;
  margin-left: 8px;
}

.stat-label {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* Enhanced Hero with Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.scroll-indicator i {
  font-size: 1.5rem;
  animation: scrollBounce 2s infinite;
}

/* Enhanced section spacing and typography */
.section {
  position: relative;
}

.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 100px;
  background: linear-gradient(180deg, transparent, rgba(26, 54, 93, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.6s ease;
}

.section.animate-in::before {
  opacity: 1;
}

/* Improved CTA section */
.cta {
  position: relative;
  overflow: hidden;
}

.cta__bg {
  background: url('/images/WhatsApp Image 2025-09-08 at 00.28.06_304c0770.jpg') center/cover;
}

.cta__content {
  position: relative;
  z-index: 2;
}

.cta__title {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: #ffffff;
  margin-bottom: 24px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.cta__subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 48px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* Enhanced Featured Projects */
.featured-projects {
  background: #f7fafc;
}

.featured-projects__container {
  position: relative;
}

/* Responsive Design for Process Section */
@media (max-width: 1024px) {
  .process__container {
    flex-wrap: wrap;
    gap: 60px;
  }

  .process__step {
    flex: 1 1 calc(50% - 30px);
    min-width: 250px;
  }

  .process__line {
    display: none;
  }
}

@media (max-width: 768px) {
  .process__container {
    flex-direction: column;
    gap: 50px;
  }

  .process__step {
    flex: 1 1 100%;
  }

  .process__number {
    font-size: 3rem;
  }

  .process__icon {
    width: 80px;
    height: 80px;
  }

  .process__icon i {
    font-size: 2rem;
  }

  .process__title {
    font-size: 1.3rem;
  }

  .stat-counter {
    font-size: 3rem;
  }

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

  .cta__title {
    font-size: 2rem;
  }

  .cta__subtitle {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .stats__container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

  .process__number {
    font-size: 2.5rem;
  }
}

/* Enhanced hover effects for overview cards */
.overview__card {
  cursor: pointer;
  will-change: transform;
}

.overview__card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(26, 54, 93, 0.05), rgba(135, 206, 235, 0.05));
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.overview__card:hover::after {
  opacity: 1;
}

/* Improved link animations */
.overview__link,
.hero__button {
  position: relative;
  overflow: hidden;
}

.overview__link::before,
.hero__button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.overview__link:hover::before,
.hero__button:hover::before {
  width: 300px;
  height: 300px;
}

/* Smooth section transitions */
.section {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Page load fade-in */
@keyframes pageLoad {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.main-content.show .section {
  animation: pageLoad 0.8s ease forwards;
}

/* Enhanced button states */
.hero__button {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero__button:active {
  transform: translateY(-1px) scale(0.98);
}

/* Improved section headers */
.section__header {
  position: relative;
  padding-bottom: 20px;
}

.section__label {
  position: relative;
  overflow: hidden;
}

.section__label::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: translateX(-100%);
  animation: shimmerLabel 3s infinite;
}

@keyframes shimmerLabel {
  to {
    transform: translateX(100%);
  }
}

/* Loading state improvements */
.loading-message {
  text-align: center;
  padding: 60px 20px;
  color: #718096;
  font-size: 1.1rem;
}

.loading-message::after {
  content: '...';
  animation: loadingDots 1.5s infinite;
}

@keyframes loadingDots {
  0%, 20% {
    content: '.';
  }
  40% {
    content: '..';
  }
  60%, 100% {
    content: '...';
  }
}
