/* General Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: #f5f5f5;
  color: #333;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  background: white;
  overflow: hidden; /* Prevents margin collapse and contains floats */
}

/* Header */
.header {
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  padding: 40px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.header::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
}

.logo-container {
  background: rgba(255, 255, 255, 0.801);
  padding: 30px 40px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  gap: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
}

.logo-left {
  flex-shrink: 0;
}

.logo-container img {
  max-width: 250px;
  height: auto;
  display: block;
}

.logo-right {
  flex: 1;
  text-align: left;
}

.logo-subtext {
  font-size: 18px;
  color: #666;
  margin-bottom: 20px;
  font-weight: 600;
}

.trust-indicators {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #2c3e50;
  font-weight: 500;
}

.trust-item-icon {
  width: 24px; /* Corrected: Use width/height for img */
  height: 24px;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 0;
  background: #2c3e50;
}

.feature-box {
  padding: 30px 20px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  transition: all 0.3s ease;
}

.feature-box:last-child {
  border-right: none;
}

.feature-box:hover {
  background: #34495e;
  transform: translateY(-5px);
}

.feature-box-icon {
  width: 50px; /* Corrected: Use width/height for img */
  height: 50px;
  margin-bottom: 15px;
  filter: invert(1);
}

.feature-box-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 8px;
}

.feature-box-desc {
  font-size: 14px;
  opacity: 0.9;
}

/* Content Section */
.content-section {
  padding: 50px 20px;
}

.section-title {
  font-size: 32px;
  color: #2c3e50;
  text-align: center;
  margin-bottom: 50px;
  font-weight: bold;
}

.section-title-accent {
  color: #ff6b35;
}

/* Order Process Timeline */
.timeline {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  max-width: 1100px;
  margin: 0 auto 60px;
  padding: 0 20px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 60px; /* Aligns with the center of the icon */
  left: 10%;
  right: 10%;
  height: 4px;
  background: linear-gradient(to right, #ff6b35, #f7931e);
  z-index: 0;
}

.timeline-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-icon {
  /* Corrected: Styling for the image tag to look like a container */
  width: 140px;
  height: 120px;
  background: white;
  border: 5px solid #ff6b35;
  border-radius: 30%;
  display: block; /* Use block for img margin auto to work */
  margin: 0 auto 20px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(255, 107, 53, 0.2);
  object-fit: contain; /* Ensures icon scales properly */
}

.timeline-step:hover .step-icon {
  transform: scale(1.1);
  box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
}

.step-title {
  font-size: 18px;
  font-weight: bold;
  color: #2c3e50;
  margin-bottom: 10px;
}

.step-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  padding: 0 10px;
}

/* Pfand Steps */
.pfand-steps {
  max-width: 900px;
  margin: 40px auto;
}

.pfand-step {
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
  align-items: flex-start;
  padding: 30px;
  background: #f8f9fa;
  border-radius: 15px;
  border-left: 5px solid #ff6b35;
  transition: all 0.3s ease;
}

.pfand-step:hover {
  transform: translateX(10px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.pfand-number {
  min-width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: bold;
  box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.pfand-content h3 {
  color: #2c3e50;
  font-size: 20px;
  margin-bottom: 12px;
}

.pfand-content p {
  color: #666;
  line-height: 1.8;
  font-size: 15px;
}

.important-note {
  background: #fff3cd;
  border-left: 5px solid #ffc107;
  padding: 20px;
  margin: 30px auto;
  border-radius: 8px;
  max-width: 900px;
}

.important-note strong {
  color: #856404;
}

/* Quality & Testing Section */
.test-process-section {
  padding: 60px 20px;
  background: white;
}

.test-steps {
  max-width: 1000px;
  margin: 40px auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.test-step {
  background: #f8f9fa;
  padding: 30px 20px;
  border-radius: 12px;
  text-align: center;
  border: 2px solid #e8e8e8;
  transition: all 0.3s ease;
}

.test-step:hover {
  border-color: #ff6b35;
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(255, 107, 53, 0.1);
}

.test-step-number {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: bold;
  margin: 0 auto 15px;
}

.test-step-icon {
  width: 48px; /* Corrected: Use width/height for img */
  height: 48px;
  margin-bottom: 15px;
}

.test-step-title {
  font-size: 16px;
  font-weight: bold;
  color: #2c3e50;
  margin-bottom: 10px;
}

.test-step-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* Quality Cards Section */
.quality-section {
  padding: 60px 20px;
  background: linear-gradient(to bottom, #ffffff, #f8f9fa);
}

.quality-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 25px;
  max-width: 1100px;
  margin: 0 auto;
}

.quality-card {
  background: white;
  border: 2px solid #e8e8e8;
  padding: 35px 25px;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.quality-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(to right, #ff6b35, #f7931e);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

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

.quality-card:hover {
  border-color: #ff6b35;
  box-shadow: 0 15px 35px rgba(255, 107, 53, 0.15);
  transform: translateY(-8px);
}

.quality-card-icon {
  width: 64px; /* Corrected: Use width/height for img */
  height: 64px;
  margin-bottom: 20px;
}

.quality-card-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #2c3e50;
}

.quality-card-desc {
  color: #666;
  line-height: 1.8;
  font-size: 15px;
  margin-bottom: 15px;
}

.quality-highlight {
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  color: white;
  padding: 10px 15px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: bold;
  margin-top: 15px;
  display: inline-block;
}

/* Service Excellence Section */
.service-section {
  padding: 60px 20px;
  background: #2c3e50;
  color: white;
}

.service-intro {
  max-width: 800px;
  margin: 0 auto 40px;
  text-align: center;
  font-size: 18px;
  line-height: 1.8;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.service-card {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 107, 53, 0.3);
  padding: 35px 25px;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #ff6b35;
  transform: translateY(-5px);
}

.service-card-icon {
  width: 56px; /* Corrected: Use width/height for img */
  height: 56px;
  margin-bottom: 20px;
  filter: invert(1);
}

.service-card-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #ff6b35;
}

.service-card-desc {
  line-height: 1.8;
  font-size: 15px;
  margin-bottom: 15px;
  opacity: 0.9;
}

.service-list {
  list-style: none;
  margin-top: 15px;
  padding-left: 0; /* Remove default padding */
}

.service-list li {
  padding: 8px 0;
  padding-left: 25px;
  position: relative;
  font-size: 14px;
  opacity: 0.85;
}

.service-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #ff6b35;
  font-weight: bold;
  font-size: 16px;
}

/* HSN/TSN Section */
.hsn-section {
  background: #f8f9fa;
  padding: 50px 20px;
  margin-top: 40px;
}

.hsn-content {
  max-width: 900px;
  margin: 0 auto;
}

.hsn-title {
  font-size: 24px;
  color: #2c3e50;
  margin-bottom: 20px;
  font-weight: bold;
}

.hsn-info {
  background: white;
  padding: 25px;
  border-radius: 8px;
  margin-top: 15px;
  border-left: 4px solid #ff6b35;
}

.hsn-info ul {
  margin-top: 10px;
  line-height: 2;
  margin-left: 20px;
}

/* Disclaimer Section */
.disclaimer-section {
  padding: 50px 20px;
  background: #f8f9fa;
}

.disclaimer-box {
  max-width: 900px;
  margin: 0 auto;
  background: white;
  padding: 40px;
  border-radius: 15px;
  border: 2px solid #e8e8e8;
}

.disclaimer-box h2 {
  color: #ff6b35;
  margin-bottom: 25px;
  font-size: 28px;
}

.disclaimer-box p {
  line-height: 2;
  font-size: 15px;
  margin-bottom: 20px;
  color: #666;
}

/* Trust Badges */
.trust-badges {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 40px 20px;
  background: white;
  flex-wrap: wrap;
}

.trust-badge {
  text-align: center;
}

.trust-badge-icon {
  width: 52px; /* Corrected: Use width/height for img */
  height: 52px;
  margin-bottom: 12px;
}

.trust-badge-text {
  font-size: 15px;
  color: #666;
  font-weight: bold;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  color: white;
  padding: 35px 20px;
  text-align: center;
}

.footer-text {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}

.footer-subtext {
  font-size: 14px;
  opacity: 0.9;
}

/* Responsive */
@media (max-width: 968px) {
  .timeline {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .timeline::before {
    display: none;
  }

  .timeline-step {
    margin-bottom: 20px;
    max-width: 300px;
  }

  .pfand-step {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .pfand-number {
    margin: 0 auto 20px;
  }

  .logo-container {
    flex-direction: column;
    text-align: center;
    padding: 25px;
  }

  .logo-right {
    text-align: center;
  }

  .trust-indicators {
    justify-content: center;
  }

  .logo-container img {
    max-width: 200px;
  }

  .section-title {
    font-size: 28px;
  }

  .test-steps,
  .quality-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-box {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .feature-box:last-child {
    border-bottom: none;
  }
}
