/* Modern Products Page Styles */
:root {
  --primary-color: #e94e4e;
  --secondary-color: #2c3e50;
  --accent-color: #3498db;
  --light-bg: #f8f9fa;
  --dark-bg: #2c3e50;
  --text-color: #333;
  --light-text: #fff;
  --border-radius: 8px;
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
}

/* Hero Section */
.hero-section {
  background-color: var(--light-bg);
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--secondary-color);
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: #666;
  line-height: 1.6;
}

.hero-cta {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 15px 40px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 10px 20px rgba(233, 78, 78, 0.2);
}

.hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(233, 78, 78, 0.3);
}

/* Product Cards */
.products-container {
  padding: 80px 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

/* Product Carousel */
.product-carousel-container {
  position: relative;
  padding: 0;
  margin: 50px 0;
  overflow: hidden;
  background-color: #000;
  color: white;
}

.carousel-header {
  padding: 40px 60px 20px;
}

.carousel-header h2 {
  color: white;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.carousel-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 0 60px;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-item {
  flex: 0 0 calc(50% - 15px);
  min-width: calc(50% - 15px);
  padding: 0 15px 0 0;
  box-sizing: border-box;
}

.carousel-nav-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  font-size: 1rem;
  color: white;
  transition: all 0.3s ease;
}

.carousel-nav-button:hover {
  background-color: rgba(255, 255, 255, 0.4);
}

.carousel-prev {
  left: 20px;
}

.carousel-next {
  right: 20px;
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  margin: 30px 0;
  gap: 10px;
}

.carousel-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-indicator.active {
  background-color: white;
}

/* Product Card Styling */
.product-card-modern {
  background-color: transparent;
  border-radius: 0;
  overflow: hidden;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  color: white;
}

.product-image {
  height: 300px;
  width: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.product-content {
  padding: 20px 0;
}

.product-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: white;
  text-transform: uppercase;
}

.product-description {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 15px;
  font-size: 1rem;
}

.product-features {
  margin-bottom: 20px;
}

.feature-item {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.8);
}

.feature-icon {
  color: var(--primary-color);
  margin-right: 10px;
}

.product-cta {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-top: auto;
}

.product-cta:hover {
  background-color: #d43b3b;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .carousel-item {
    flex: 0 0 calc(100% - 30px);
    min-width: calc(100% - 30px);
  }
}

@media (max-width: 768px) {
  .carousel-header {
    padding: 30px 20px 15px;
  }
  
  .carousel-wrapper {
    padding: 0 20px;
  }
  
  .carousel-nav-button {
    width: 30px;
    height: 30px;
  }
  
  .carousel-prev {
    left: 10px;
  }
  
  .carousel-next {
    right: 10px;
  }
}

/* Default product card styling for non-carousel cards */
.product-detail .product-card-modern {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  position: relative;
  color: var(--text-color);
}

.product-card-modern:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.product-detail .product-image {
  height: 220px;
  width: 100%;
  object-fit: cover;
}

.product-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: var(--primary-color);
  color: white;
  padding: 8px 15px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.8rem;
}

.product-content {
  padding: 30px;
}

.product-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.product-description {
  color: #666;
  margin-bottom: 20px;
  line-height: 1.6;
}

.product-features {
  margin-bottom: 25px;
}

.feature-item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.feature-icon {
  color: var(--primary-color);
  margin-right: 10px;
}

.product-cta {
  display: inline-block;
  padding: 12px 25px;
  background-color: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: var(--transition);
}

.product-cta:hover {
  background-color: #d43b3b;
}

.product-cta.outline {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.product-cta.outline:hover {
  background-color: var(--primary-color);
  color: white;
}

/* Product Detail Section */
.product-detail {
  padding: 100px 0;
  background-color: var(--light-bg);
}

.product-detail:nth-child(even) {
  background-color: white;
}

.product-detail-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.product-detail-content {
  max-width: 540px;
}

.product-detail-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.product-detail-subtitle {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 30px;
  line-height: 1.6;
}

.detail-features {
  margin-bottom: 30px;
}

.detail-feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.detail-feature-icon {
  color: var(--primary-color);
  margin-right: 15px;
  font-size: 1.2rem;
  margin-top: 3px;
}

.detail-feature-content h4 {
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--secondary-color);
}

.detail-feature-content p {
  color: #666;
  line-height: 1.5;
}

.product-detail-image {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.product-detail-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Testimonials Section */
.testimonials {
  padding: 80px 0;
  background-color: white;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.testimonial-card {
  background-color: var(--light-bg);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.testimonial-content {
  font-style: italic;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.6;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 15px;
}

.testimonial-info h4 {
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--secondary-color);
}

.testimonial-info p {
  color: #777;
  font-size: 0.9rem;
}

/* Trust Badges */
.trust-badges {
  padding: 60px 0;
  background-color: var(--light-bg);
}

.badges-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
}

.badge-item {
  max-width: 120px;
  opacity: 0.7;
  transition: var(--transition);
}

.badge-item:hover {
  opacity: 1;
}

/* Call to Action */
.cta-section {
  padding: 100px 0;
  background-color: var(--secondary-color);
  color: white;
  text-align: center;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.cta-subtitle {
  font-size: 1.2rem;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.cta-btn {
  padding: 15px 40px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

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

.cta-btn-primary:hover {
  background-color: #d43b3b;
}

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

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

/* Module Lists */
.module-list {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--box-shadow);
  margin-top: 50px;
}

.module-list h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--secondary-color);
  font-weight: 700;
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
}

.module-item {
  padding: 15px;
  background-color: var(--light-bg);
  border-radius: 5px;
  transition: var(--transition);
}

.module-item:hover {
  background-color: #e9ecef;
}

/* Section Headers */
.section-header-modern {
  text-align: center;
  margin-bottom: 60px;
}

.section-subtitle {
  color: var(--primary-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
  display: block;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.section-description {
  max-width: 700px;
  margin: 0 auto;
  color: #666;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .product-detail-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .product-detail-content {
    max-width: 100%;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
}

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