:root {
    font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
    line-height: 1.5;
    font-weight: 400;
    color-scheme: light dark;
    color: #213547;
    background-color: #ffffff;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  body {
    margin: 0;
    min-width: 320px;
    min-height: 100vh;
    overflow-x: hidden;
  }
  
  /* Navbar styles */
  .navbar {
    background-color: #fff;
    padding: 0.5rem 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 100px;
    box-sizing: border-box;
  }
  
  .logo {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0.5rem;
    height: 100%;
    background-color: #fff;
  }
  
  .logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 1rem;
  }
  
  .logo-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
  }
  
  .company-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c3e50;
    white-space: nowrap;
  }
  
  .nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
  }
  
  .nav-links a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
  }
  
  .nav-links a:hover,
  .nav-links a.active {
    color: #3498db;
  }
  
  /* Main content */
  main {
    padding-top: 100px;
  }
  
  /* Hero section */
  .hero, .contact-hero, .about-hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1631217868264-e5b90bb7e133');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 6rem 2rem;
    text-align: center;
    margin: -2rem -2rem 2rem -2rem;
}

.contact-hero {
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1576091160399-112ba8d25d1d');
}

.about-hero {
    background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1576091160550-2173dba999ef');
}

.hero-content, .contact-hero-content, .about-hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero h1, .contact-hero h1, .about-hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p, .contact-hero p, .about-hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.hero-secondary {
    font-size: 1.1rem !important;
    opacity: 0.9;
}
  /* Features section */
  .features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .feature-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
  }
  
  .feature-card:hover {
    transform: translateY(-5px);
  }
  
  .feature-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
  }
  
  .feature-card h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
  }
  
  .feature-card p {
    color: #666;
    font-size: 0.95rem;
  }

  /* Products grid */
.products-grid {
    max-width: 1200px;
    margin: 0 auto;
    position: relative; /* Added for absolute positioning of product details */
}

.products-grid h1 {
    text-align: center;
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.products-intro {
    text-align: center;
    margin: 1rem 0 3rem;
    color: #666;
    font-size: 1.2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.product-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    padding: 1rem;
    background-color: #f8f9fa;
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.product-info p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.view-details {
    display: inline-block;
    color: #3498db;
    font-weight: 500;
    margin-top: 0.5rem;
    position: relative;
} 

.view-details::after {
    content: '→';
    margin-left: 5px;
    transition: transform 0.3s ease;
} 

 .product-link:hover .view-details::after {
    transform: translateX(5px);
}

/* Product Detail Styles - Using :target for JavaScript-free interaction */
.product-detail {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    overflow-y: auto;
}

.product-detail:target {
    opacity: 1;
    visibility: visible;
}

.product-detail-content {
    background: white;
    width: 90%;
    max-width: 1000px;
    margin: 5vh auto;
    border-radius: 12px;
    padding: 2rem;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.close-detail {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    color: #333;
    text-decoration: none;
    line-height: 1;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
}

.product-detail-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.product-detail-info h2 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.product-tagline {
    color: #3498db;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.product-composition, .product-description, .product-usage {
    margin-bottom: 1.5rem;
}

.product-composition h3, .product-description h3, .product-usage h3 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
}

.product-description ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.product-description li {
    margin-bottom: 0.5rem;
}

.contact-btn {
    display: inline-block;
    background-color: #3498db;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.contact-btn:hover {
    background-color: #2980b9;
}


/* About Section */
.about-section {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.about-content {
    background: white;
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.about-text h2 {
    color: #2c3e50;
    font-size: 2rem;
    margin: 2rem 0 1rem;
}

.about-text p {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.value-item {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    text-align: center;
}

.value-item h3 {
    color: #3498db;
    margin-bottom: 1rem;
}

/* Team Section */
.team-section {
    margin-top: 4rem;
}

.team-section h2 {
    text-align: center;
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 2rem;
}

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

.team-member {
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-member img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.team-member h3 {
    color: #2c3e50;
    margin: 1rem 0 0.5rem;
}

.team-member p {
    color: #666;
    margin-bottom: 0.5rem;
}

.team-bio {
    font-style: italic;
    padding: 0 1rem 1rem;
}

/* Contact Form */
.contact-form-container {
    max-width: 800px;
    margin: 4rem auto;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.contact-form-container h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 2rem;
}

.contact-form {
    display: grid;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: #2c3e50;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #3498db;
    outline: none;
}

.submit-button {
    background-color: #3498db;
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #2980b9;
}

/* Contact info */
.contact-info-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.contact-card p {
    color: #666;
    margin-bottom: 0.5rem;
}





  
  /* Expertise section */
  .expertise-section {
    background-color: #f8f9fa;
    padding: 4rem 2rem;
  }
  
  .section-header {
    text-align: center;
    margin-bottom: 3rem;
  }
  
  .section-header h2 {
    color: #2c3e50;
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
  }
  
  .section-header p {
    color: #666;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
  }
  
  .expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .expertise-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
  }
  
  .expertise-card:hover {
    transform: translateY(-5px);
  }
  
  .expertise-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
  }
  
  .expertise-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .expertise-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
  }
  
  .expertise-card p {
    color: #666;
  }


  /* Why Choose Us Section */
.why-choose-section {
    max-width: 1200px;
    margin: 4rem auto;
}

.why-choose-content {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 3rem;
    align-items: center;
}

.why-choose-text h2 {
    color: #2c3e50;
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.why-choose-text > p {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.benefits-list {
    list-style: none;
    margin-bottom: 2rem;
}

.benefits-list li {
    display: flex;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.benefit-icon {
    background-color: #3498db;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.benefit-text h3 {
    color: #2c3e50;
    margin-bottom: 0.3rem;
    font-size: 1.2rem;
}

.benefit-text p {
    color: #666;
}

.learn-more-btn {
    display: inline-block;
    background-color: #3498db;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.learn-more-btn:hover {
    background-color: #2980b9;
}

.why-choose-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}


  
  /* Featured Products section */
  .featured-products {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .featured-products-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
  }
  
  .featured-product {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
  }
  
  .featured-product:hover {
    transform: translateY(-5px);
  }
  
  .featured-product img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    padding: 1rem;
    background-color: #f8f9fa;
  }
  
  .featured-product-info {
    padding: 1.5rem;
  }
  
  .featured-product-info h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
  }
  
  .featured-product-info p {
    color: #666;
    margin-bottom: 1rem;
  }
  
  .featured-product-link {
    display: inline-block;
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    position: relative;
  }
  
  .featured-product-link::after {
    content: '→';
    margin-left: 5px;
    transition: transform 0.3s ease;
  }
  
  .featured-product-link:hover::after {
    transform: translateX(5px);
  }
  
  /* CTA Buttons */
  .cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
  }
  
  .cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
  }
  
  .cta-button:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
  }
  
  /* Footer */
  .enhanced-footer {
    background-color: #2c3e50;
    color: white;
    padding: 3rem 2rem 1.5rem;
    margin-top: 4rem;
  }
  
  .footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
  }
  
  .footer-section h4 {
    color: #3498db;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
  }
  
  .footer-section ul {
    list-style: none;
    padding: 0;
  }
  
  .footer-section ul li {
    margin-bottom: 0.5rem;
  }
  
  .footer-section a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .footer-section a:hover {
    color: #3498db;
  }
  
  .footer-section p {
    margin-bottom: 0.5rem;
  }
  
  .footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  
  /* Responsive design */
  @media (max-width: 1200px) {
    .hero h1 {
      font-size: 2.5rem;
    }
    
    .section-header h2 {
      font-size: 2rem;
    }
    .why-choose-content {
        gap: 2rem;
    }

    .why-choose-text h2 {
        font-size: 2rem;
    }
  }

  @media (max-width: 992px) {
    .why-choose-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .why-choose-image {
        order: -1;
        max-width: 600px;
        margin: 0 auto;
    }

    .why-choose-text {
        text-align: center;
    }

    .benefits-list li {
        justify-content: center;
        text-align: left;
    }

    .benefits-list {
        max-width: 600px;
        margin: 0 auto 2rem;
    }
}
  
  @media (max-width: 768px) {
    .navbar {
      padding: 0.5rem 1rem;
      height: auto;
      min-height: 100px;
    }
  
    .logo {
      padding: 0.5rem;
    }
  
    .logo-img {
      width: 70px;
      height: 70px;
    }
  
    .company-name {
      font-size: 1.2rem;
    }
  
    .nav-links {
      gap: 1rem;
    }
  
    .nav-links a {
      padding: 0.3rem 0.5rem;
    }
  
    .hero {
      padding: 4rem 1rem;
    }
  
    .hero h1 {
      font-size: 2rem;
    }
  
    .hero p {
      font-size: 1rem;
    }
  
    .features,
    .expertise-grid,
    .featured-products-slider{
      grid-template-columns: 1fr;
      padding: 2rem 1rem;
    }

    .why-choose-section {
        margin: 2rem auto;
        padding: 0 1rem;
    }

    .why-choose-text h2 {
        font-size: 1.8rem;
    }

    .benefit-text h3 {
        font-size: 1.1rem;
    }

    .benefit-text p {
        font-size: 0.95rem;
    }
  }
  
  @media (max-width: 480px) {
    .navbar {
      flex-direction: column;
      align-items: flex-start;
      padding: 0.5rem;
    }
  
    .logo {
      margin-bottom: 0.5rem;
    }
  
    .logo-img {
      width: 60px;
      height: 60px;
    }
  
    .company-name {
      font-size: 1.1rem;
    }
  
    .nav-links {
      width: 100%;
      justify-content: space-around;
      gap: 0.5rem;
    }
  
    .nav-links a {
      font-size: 0.9rem;
      padding: 0.2rem 0.4rem;
    }
  
    .hero h1 {
      font-size: 1.7rem;
    }
  
    .section-header h2 {
      font-size: 1.8rem;
    }
  
    .footer-content {
      grid-template-columns: 1fr;
    }

    .why-choose-section {
        margin: 1rem auto;
    }

    .why-choose-text h2 {
        font-size: 1.6rem;
    }

    .why-choose-text > p {
        font-size: 1rem;
    }

    .benefits-list li {
        margin-bottom: 1rem;
    }

    .benefit-icon {
        width: 25px;
        height: 25px;
        font-size: 0.9rem;
    }

    .benefit-text h3 {
        font-size: 1rem;
    }

    .benefit-text p {
        font-size: 0.9rem;
    }

}


/* New styles for product detail pages */
.product-detail-page {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 2rem;
}

.product-detail-container {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.back-btn {
  display: inline-block;
  background-color: #f8f9fa;
  color: #2c3e50;
  padding: 0.8rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease;
  margin-left: 1rem;
  border: 1px solid #ddd;
}

.back-btn:hover {
  background-color: #e9ecef;
}

/*Responsive adjustments for product detail page*/ 
@media (max-width: 768px) {
  .product-detail-grid {
      grid-template-columns: 1fr;
  }
  
  .product-detail-image {
      margin-bottom: 2rem;
  }
  
  .back-btn, .contact-btn {
      display: block;
      margin: 1rem 0;
      text-align: center;
  }
} 