/* ============================================
   D-WALL PROCESS PAGE STYLES - Naved Infratech
   ============================================ */

/* D-Wall Hero Section */
.dwall-hero {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  padding: 8rem 2rem 4rem;
  margin-top: 70px;
  position: relative;
  overflow: hidden;
}

.dwall-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 50%,
      rgba(255, 255, 255, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(255, 255, 255, 0.1) 0%,
      transparent 50%
    );
}

.dwall-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.dwall-hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: var(--white);
  margin-bottom: 1rem;
  font-weight: 900;
}

.dwall-hero-subtitle {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
  line-height: 1.6;
}

/* D-Wall Overview Section */
.dwall-overview {
  padding: 6rem 0;
  background: var(--white);
}

.overview-content h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  text-align: center;
}

.overview-lead {
  font-size: 1.375rem;
  color: var(--text-dark);
  font-weight: 600;
  text-align: center;
  margin-bottom: 3rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.overview-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  align-items: start;
}

.overview-text p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text-gray);
  margin-bottom: 1.5rem;
}

.overview-features {
  background: var(--light-bg);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--primary);
}

.overview-features h3 {
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.applications-list {
  list-style: none;
  padding: 0;
}

.applications-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  font-size: 1.0625rem;
  color: var(--text-gray);
  line-height: 1.6;
}

.applications-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
  font-size: 1.25rem;
}

/* D-Wall Benefits Section */
.dwall-benefits {
  padding: 5rem 0;
  background: var(--light-bg);
}

.dwall-benefits .section-title {
  margin-bottom: 3rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.benefit-item {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  border: 2px solid transparent;
}

.benefit-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.benefit-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  display: block;
}

.benefit-item h4 {
  font-size: 1.375rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.benefit-item p {
  font-size: 1rem;
  color: var(--text-gray);
  line-height: 1.7;
}

/* Process Timeline Section */
.dwall-process {
  padding: 6rem 0;
  background: var(--white);
}

.process-timeline {
  margin-top: 4rem;
  position: relative;
}

/* Timeline Line */
.process-timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--primary), var(--primary-dark));
  transform: translateX(-50%);
}

/* Process Step */
.process-step {
  position: relative;
  margin-bottom: 5rem;
}

.step-number {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(0, 102, 204, 0.3);
  z-index: 10;
}

.step-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 0 2rem;
}

/* Alternate Left-Right Layout */
.process-step:nth-child(even) .step-content {
  direction: rtl;
}

.process-step:nth-child(even) .step-content > * {
  direction: ltr;
}

.step-image .image-placeholder {
  background: var(--light-bg);
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--border-light);
  transition: all var(--transition-normal);
}

.step-image:hover .image-placeholder {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.step-image .placeholder-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.step-image .image-placeholder p {
  color: var(--text-gray);
  font-weight: 600;
  font-size: 1.125rem;
}

.step-details {
  background: var(--light-bg);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--primary);
}

.step-details h3 {
  font-size: 1.75rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.step-details p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text-gray);
  margin-bottom: 1.5rem;
}

.step-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.highlight-tag {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--white);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid var(--border-light);
}

/* Why Choose Us Section */
.dwall-why-us {
  padding: 6rem 0;
  background: var(--light-bg);
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.why-us-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.why-us-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-8px);
}

.why-us-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  display: block;
}

.why-us-card h4 {
  font-size: 1.375rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.why-us-card p {
  font-size: 1rem;
  color: var(--text-gray);
  line-height: 1.7;
}

/* CTA Section */
.dwall-cta {
  padding: 5rem 0;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  position: relative;
  overflow: hidden;
}

.dwall-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 50%,
      rgba(255, 255, 255, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(255, 255, 255, 0.1) 0%,
      transparent 50%
    );
}

.dwall-cta .cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.dwall-cta h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 1rem;
}

.dwall-cta p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
}

.dwall-cta .cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.dwall-cta .btn-primary {
  background: var(--white);
  color: var(--primary);
}

.dwall-cta .btn-primary:hover {
  background: var(--light-bg);
  color: var(--primary-dark);
}

.dwall-cta .btn-secondary {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}

.dwall-cta .btn-secondary:hover {
  background: var(--white);
  color: var(--primary);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .process-timeline::before {
    display: none;
  }

  .step-number {
    position: relative;
    left: 0;
    transform: none;
    margin-bottom: 2rem;
  }

  .step-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .process-step:nth-child(even) .step-content {
    direction: ltr;
  }

  .overview-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .dwall-hero {
    padding: 6rem 2rem 3rem;
  }

  .dwall-overview,
  .dwall-benefits,
  .dwall-process,
  .dwall-why-us,
  .dwall-cta {
    padding: 4rem 0;
  }

  .process-step {
    margin-bottom: 3rem;
  }

  .step-content {
    padding: 0;
  }

  .step-number {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .step-details {
    padding: 2rem;
  }

  .step-details h3 {
    font-size: 1.5rem;
  }

  .benefits-grid,
  .why-us-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .dwall-cta .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .dwall-cta .btn {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 640px) {
  .dwall-hero {
    padding: 5rem 1.5rem 2.5rem;
  }

  .overview-content h2 {
    font-size: 2rem;
  }

  .overview-lead {
    font-size: 1.125rem;
  }

  .benefit-icon,
  .why-us-icon {
    font-size: 2.5rem;
  }

  .step-image .placeholder-icon {
    font-size: 3rem;
  }
}

/* Animation on Scroll */
.process-step {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.process-step.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   D-WALL PROCESS - IMAGE SIZE ADJUSTMENTS ONLY
   Add these styles to your existing dwall.css
   ============================================ */

/* Desktop - Default Image Sizing */
.step-image .image-placeholder {
  max-width: 450px; /* Limit maximum width */
  height: 280px; /* Fixed height for consistency */
  margin: 0 auto;
}

.step-image .image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: var(--radius-lg);
}

/* Large Tablets (1024px and below) */
@media (max-width: 1024px) {
  .step-image .image-placeholder {
    max-width: 100%;
    height: 300px;
  }
}

/* Tablets (768px and below) */
@media (max-width: 768px) {
  .step-image .image-placeholder {
    height: 280px;
  }
}

/* Mobile Landscape (640px and below) */
@media (max-width: 640px) {
  .step-image .image-placeholder {
    height: 240px;
  }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
  .step-image .image-placeholder {
    height: 220px;
  }
}

/* Extra Small Mobile (360px and below) */
@media (max-width: 360px) {
  .step-image .image-placeholder {
    height: 200px;
  }
}