/* Trust Banner Styles */
.trust-banner {
  padding: 2rem 0;
  background-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(5px);
  border-bottom: 1px solid rgba(200, 200, 200, 0.5);
}

.trust-points {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.trust-item {
  flex: 1;
  min-width: 200px;
  text-align: center;
  padding: 1rem;
}

.trust-item img {
  height: 40px;
  margin-bottom: 0.5rem;
}

.trust-item h4 {
  color: #333;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.trust-item p {
  color: #ffffff;
  font-size: 0.9rem;
}

/* Component Intro Section */
.component-intro {
  padding: 4rem 0 2rem;
}

.component-intro .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  background-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(5px);
  border-radius: 10px;
  border: 1px solid rgba(200, 200, 200, 0.5);
}

.component-intro h2 {
  color: #dfc9c9;
  margin-bottom: 1rem;
  font-size: 2.2rem;
  text-align: center;
}

.component-intro p {
  color: #ffffff;
  line-height: 1.6;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

/* Component Category Styles */
.component-category {
  max-width: 1200px;
  margin: 0 auto 4rem;
  padding: 0 1rem;
}

.category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(0, 102, 204, 0.3);
}

.category-header h2 {
  color: #c5e7e2;
  font-size: 1.8rem;
  margin: 0;
}

.category-cta {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background-color: #0066cc;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.category-cta:hover {
  background-color: #0055aa;
}

.component-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 1.5rem;
}

/* Component Card Styles */
.component-card {
  background-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(5px);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(200, 200, 200, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.component-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.component-manufacturer {
  padding: 1rem;
  background-color: rgba(245, 245, 245, 0.5);
  border-bottom: 1px solid rgba(200, 200, 200, 0.3);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.component-manufacturer img {
  height: 60px;
  max-width: 160px;
  object-fit: contain;
}

.stock-status {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
}

.in-stock {
  background-color: rgba(46, 204, 113, 0.2);
  color: #27ae60;
}

.limited {
  background-color: rgba(241, 196, 15, 0.2);
  color: #f39c12;
}

.component-details {
  padding: 1.5rem;
}

.component-details h3 {
  margin: 0 0 0.5rem;
  color: #333;
  font-size: 1.3rem;
}

.manufacturer {
  color: #eff3d7;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.specs-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.specs-list li {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: #ffffff;
}

.component-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.component-btn {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  background-color: #0066cc;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background-color 0.3s ease;
}

.component-btn:hover {
  background-color: #0055aa;
}

.component-link {
  color: #0066cc;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.component-link:hover {
  color: #0055aa;
  text-decoration: underline;
}

/* Quality Section Styles */
.quality-section {
  padding: 4rem 0;
  background-color: rgba(240, 240, 240, 0.1);
  backdrop-filter: blur(5px);
}

.quality-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  border: 1px solid rgba(200, 200, 200, 0.1);
}

.quality-content {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 3rem;
  align-items: center;
}

.quality-text h2 {
  color: #b5cfcde8;
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

.quality-text > p {
  color: #ffffff;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.quality-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.quality-point {
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  padding: 1.5rem;
  border: 1px solid rgba(200, 200, 200, 0.3);
}

.quality-point h4 {
  color: #ffffff;
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
}

.quality-point p {
  color: #ffffff;
  font-size: 0.9rem;
  line-height: 1.5;
}

.quality-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Sourcing Section Styles */
.sourcing-section {
  padding: 4rem 0;
}

.sourcing-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  border-radius: 10px;
  border: 1px solid rgba(200, 200, 200, 0.1);
  text-align: center;
}

.sourcing-content h2 {
  color: #d6becf;
  margin-bottom: 1rem;
  font-size: 2rem;
}

.sourcing-content > p {
  color: #ffffff;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 2rem;
}

.sourcing-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.sourcing-service {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 1.5rem;
  border: 1px solid rgba(200, 200, 200, 0.1);
  transition: transform 0.3s ease;
}

.sourcing-service:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.1);
}

.sourcing-service img {
  height: 50px;
  margin-bottom: 1rem;
}

.sourcing-service h4 {
  color: #ffffff;
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
}

.sourcing-service p {
  color: #ffffff;
  font-size: 0.9rem;
}

.sourcing-cta {
  margin-top: 2rem;
}

.cta-btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  background-color: #0066cc;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
}

.cta-btn:hover {
  background-color: #0055aa;
}

.cta-note {
  color: #666;
  font-size: 0.9rem;
  margin-top: 1rem;
  font-style: italic;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
  .quality-content {
    grid-template-columns: 1fr;
  }
  
  .quality-image {
    order: -1;
    margin-bottom: 2rem;
  }
  
  .quality-image img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 992px) {
  .trust-points {
    justify-content: center;
  }
  
  .trust-item {
    flex: 0 0 50%;
    margin-bottom: 1.5rem;
  }
  
  .component-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
  
  .quality-points {
    grid-template-columns: 1fr;
  }
  
  .sourcing-services {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (max-width: 768px) {
  .category-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .trust-item {
    flex: 0 0 100%;
  }
  
  .component-manufacturer {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
  }
  
  .stock-status {
    align-self: flex-start;
  }
}

/* Animations for AOS */
[data-aos="fade-up"] {
  opacity: 0;
  transform: translateY(30px);
  transition-property: opacity, transform;
}

[data-aos="fade-up"].aos-animate {
  opacity: 1;
  transform: translateY(0);
}