* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  text-align: center;
  line-height: 1.6;
  color: #333;
}

/* Navigation */
nav {
  background-color: #2c3e50;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 3rem;
  font-weight: bold;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin: 0 1rem;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #f4f4f4;
}

.burger {
  display: none;
  cursor: pointer;
}

.burger div {
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 5px;
  transition: all 0.3s ease;
}

/* Header */
header {
  color: white;
  padding: 4rem 2rem 4rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.header-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  z-index: 0;
}

.header-background img {
  flex: 1;
  height: 100%;
  object-fit: cover;
}

header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(44, 62, 80, 0.5);
  z-index: 1;
}

header > *:not(.header-background) {
  position: relative;
  z-index: 2;
}

/* Services Overlay */
.services-overlay {
  margin-top: 2rem;
  width: 100%;
  max-width: 1200px;
}

.services-overlay h2 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.services-overlay .service-card {
  background-color: rgba(255, 255, 255, 0.9);
  color: #333;
  transition: all 0.3s ease;
}

.services-overlay .service-card:hover {
  background-color: rgba(255, 255, 255, 0.95);
  transform: translateY(-10px);
}

.services-overlay .service-card h3 {
  color: #333;
}

.services-overlay .service-card p {
  color: #666;
}



.carousel-container {
  position: relative;
  width: 200%;
  margin: 3rem -50%;
  overflow: hidden;
}

.carousel-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.carousel {
  display: flex;
  transition: transform 0.5s ease;
  height: 550px;
  width: 100%;
}

.carousel-item {
  flex: 0 0 10%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  opacity: 1;
  z-index: 1;
  cursor: pointer;
  transition: all 0.5s ease;
  position: relative;
  transform: scale(1.2);
}

.carousel-item img {
  width: 100%;
  height: 275px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 
              0 0 10px rgba(0, 0, 0, 0.1),
              inset 2px 2px 5px rgba(255, 255, 255, 0.3),
              inset -2px -2px 5px rgba(0, 0, 0, 0.2);
  transition: transform 0.5s ease, box-shadow 0.3s ease;
  filter: contrast(1.1) brightness(1.05);
}

.carousel-item-content {
  position: relative;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  color: #333;
  padding: 1rem;
  border-radius: 0 0 8px 8px;
  text-align: center;
  display: block;
  transition: all 0.3s ease;
  z-index: 5;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-top: -10px;
  width: 90%;
}

/* Active item */
.carousel-item.active {
  opacity: 1;
  z-index: 10;
  transform: scale(1.32);
}

.carousel-item.active img {
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3), 
              0 0 20px rgba(0, 0, 0, 0.2),
              inset 3px 3px 8px rgba(255, 255, 255, 0.4),
              inset -3px -3px 8px rgba(0, 0, 0, 0.25);
  filter: contrast(1.15) brightness(1.1);
}

.carousel-item.active .carousel-item-content {
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

.carousel-item-content h3 {
  font-size: 1.5rem;
  margin: 0 0 10px;
  color: #333;
}

.carousel-item-content p {
  font-size: 1rem;
  margin: 0 0 15px;
  color: #666;
  line-height: 1.4;
}

.product-price {
  font-size: 1.2rem;
  color: #333;
}

.product-price .price {
  font-size: 1.5rem;
  font-weight: bold;
  color: #3498db;
}

/* Navigation buttons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.9);
  border: none;
  font-size: 2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.carousel-btn:hover {
  background-color: white;
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
  left: 20px;
}

.carousel-btn.next {
  right: 20px;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .carousel {
    height: 400px;
  }
  
  .carousel-item img {
    width: 90%;
    height: 250px;
  }
  
  .carousel-item-content h3 {
    font-size: 1.2rem;
  }
  
  .carousel-item-content p {
    font-size: 0.9rem;
  }
  
  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
}

/* Product Details Section */
#product-details {
  background-color: #f9f9f9;
  padding: 4rem 2rem;
  margin: 2rem 0;
}

.product-details-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 100%;
  margin: 0 auto;
  text-align: left;
}

.product-info h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #333;
}

.specs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  padding: 0.8rem;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.spec-label {
  font-weight: bold;
  color: #333;
}

.spec-value {
  color: #666;
}

.uses-list {
  list-style-type: disc;
  padding-left: 1.5rem;
  color: #666;
  line-height: 1.4;
  margin: 0;
}

.uses-list li {
  margin-bottom: 0.3rem;
}

.purchase-section {
  background-color: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-top: 0.5rem;
}

.purchase-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.purchase-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.purchase-form label {
  font-weight: bold;
  color: #333;
}

.purchase-form input,
.purchase-form select,
.purchase-form textarea {
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.purchase-form input:focus,
.purchase-form select:focus,
.purchase-form textarea:focus {
  border-color: #3498db;
}

.price-info {
  margin: 0.5rem 0;
  padding: 0.8rem;
  background-color: #f0f0f0;
  border-radius: 4px;
  font-size: 1.1rem;
}

.price-info .price {
  font-size: 1.3rem;
  font-weight: bold;
  color: #3498db;
}

.purchase-btn {
  width: 100%;
  padding: 0.8rem;
  font-size: 1rem;
  margin-top: 0.5rem;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: white;
  margin: 15% auto;
  padding: 2rem;
  border-radius: 8px;
  width: 80%;
  max-width: 500px;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

#order-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

/* Responsive Product Details */
@media screen and (max-width: 768px) {
  .product-details-container {
    flex-direction: column;
    gap: 2rem;
  }
  
  .modal-content {
    width: 90%;
    margin: 20% auto;
  }
}

header h1 {
  font-size: 12rem;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, #3b82f6, #10b981, #3b82f6, #10b981);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), 0 0 15px rgba(59, 130, 246, 0.7);
  font-weight: bold;
  letter-spacing: 2px;
}

header p {
  font-size: 2.4rem;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 0 10px rgba(59, 130, 246, 0.7);
}

/* Section */
section {
  max-width: 1400px;
  padding: 0 2rem;
  margin: 0 auto;
}

/* Remove margin between products and logistics sections */
#products {
  margin-bottom: 0;
}

#about {
  margin-top: 0;
  padding-top: 2rem;
}



section h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #333;
}

/* Services Section */
.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

/* Visual Enhancements */
.service-card {
  position: relative;
  overflow: hidden;
  background-color: #f4f4f4;
  padding: 0;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 800px;
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, #3498db, #2980b9);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Fade-in animation for sections */
section {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 0.8s ease forwards;
}

section:nth-child(2) {
  animation-delay: 0.2s;
}

section:nth-child(3) {
  animation-delay: 0.4s;
}

section:nth-child(4) {
  animation-delay: 0.6s;
}

section:nth-child(5) {
  animation-delay: 0.8s;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-icon {
  margin-bottom: 1.5rem;
}

.service-icon img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #333;
}

.service-card p {
  color: #666;
  line-height: 1.6;
}

/* Contact Section */
.contact-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-top: 2rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  text-align: left;
}

.contact-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.contact-item p {
  color: #666;
  margin: 0;
}

.contact-form {
  background-color: #f4f4f4;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 1.5rem;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
  color: #333;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
}

.form-group textarea {
  resize: vertical;
}

.btn {
  background-color: #3498db;
  color: white;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #2980b9;
}

/* Logistics Section */
#about {
  background-color: #f9f9f9;
  padding: 4rem 2rem;
}

.logistics-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
  width: 100%;
}

.logistics-item {
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logistics-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.logistics-image {
  flex: 1;
  overflow: hidden;
  min-height: 200px;
}

.logistics-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.logistics-item:hover .logistics-image img {
  transform: scale(1.05);
}

.logistics-item h3 {
  padding: 1rem;
  margin: 0;
  font-size: 1.2rem;
  color: #333;
}

.logistics-item p {
  padding: 0 1rem 1rem;
  margin: 0;
  color: #666;
  line-height: 1.6;
}

/* Footer */
footer {
  background-color: #2c3e50;
  color: white;
  padding: 2rem 0;
  margin-top: 3rem;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: left;
}

.footer-info h3 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.footer-info p {
  color: #f4f4f4;
  margin: 0;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #f4f4f4;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #ddd;
}

.footer-social h4 {
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  color: #f4f4f4;
  text-decoration: none;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #ddd;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid #555;
  color: #f4f4f4;
}

/* Chat Interface */
.chat-toggle {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #3498db;
  color: white;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.chat-toggle:hover {
  background-color: #2980b9;
  transform: scale(1.1);
}

.chat-container {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 350px;
  max-height: 500px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  display: none;
  flex-direction: column;
}

.chat-container.active {
  display: flex;
}

.chat-header {
  background-color: #2c3e50;
  color: white;
  padding: 15px;
  border-radius: 10px 10px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-header h3 {
  margin: 0;
  font-size: 1.2rem;
}

.chat-close {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.chat-close:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.chat-body {
  display: flex;
  flex-direction: column;
  height: 400px;
}

.chat-messages {
  flex: 1;
  padding: 15px;
  overflow-y: auto;
  background-color: #f9f9f9;
}

.message {
  margin-bottom: 15px;
  max-width: 80%;
  padding: 10px 15px;
  border-radius: 18px;
  line-height: 1.4;
}

.bot-message {
  background-color: #e1e1e1;
  align-self: flex-start;
  border-radius: 18px 18px 18px 5px;
}

.user-message {
  background-color: #3498db;
  color: white;
  align-self: flex-end;
  border-radius: 18px 18px 5px 18px;
}

.chat-input-container {
  display: flex;
  padding: 10px;
  border-top: 1px solid #e1e1e1;
  background-color: white;
  border-radius: 0 0 10px 10px;
}

.chat-input {
  flex: 1;
  padding: 10px 15px;
  border: 1px solid #e1e1e1;
  border-radius: 20px;
  margin-right: 10px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s ease;
}

.chat-input:focus {
  border-color: #3498db;
}

.chat-send {
  background-color: #3498db;
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.chat-send:hover {
  background-color: #2980b9;
}

/* Responsive Chat */
@media screen and (max-width: 768px) {
  .chat-container {
    width: 300px;
    bottom: 90px;
    right: 20px;
  }
  
  .chat-toggle {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .nav-links {
    position: absolute;
    right: 0px;
    height: 92vh;
    top: 8vh;
    background-color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 50%;
    transform: translateX(100%);
    transition: transform 0.5s ease-in;
  }

  .nav-links li {
    opacity: 0;
  }

  .burger {
    display: block;
  }

  .nav-active {
    transform: translateX(0%);
  }

  @keyframes navLinkFade {
    from {
      opacity: 0;
      transform: translateX(50px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  .toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
  }

  .toggle .line2 {
    opacity: 0;
  }

  .toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
  }

  header h1 {
    font-size: 2rem;
  }

  header p {
    font-size: 1rem;
  }
}