/* Base Reset */

html {
  scroll-behavior: smooth;
}

/* Ensure nav bar doesn't cover sections when scrolled into view */
#about,
#services,
#contact {
  scroll-margin-top: 100px; /* Equal or more than navbar height */
}

/* Fix the navbar at the top */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  background-color: rgba(0, 0, 0, 0.6); /* Already present */
  padding: 10px 30px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
  }
  
  body {
    margin: 0;
    line-height: 1.6;
    background-color: #ffffff;
    color: #333;
  }

  /*.logo-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #C1A75F;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
  }
  */
/*start logo*/
.navbar-left {
  display: flex;
  align-items: center;
  
}

.logo-img {
  max-height: 60px;
  width: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
  color: #d9b66b; /* golden-yellow like your current */
}

.logo-title {
  font-size: 1.2rem;
  font-weight: bold;
}

.logo-tagline {
  font-size: 0.75rem;
  color: #eee; /* light text below main name */
  margin-top: 2px;
  letter-spacing: 0.5px;
  font-style: italic;
}

/*end logo*/


  /* HERO SECTION */
  .hero-section {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                url('https://images.unsplash.com/photo-1603935151744-6e425fe69b6e?auto=format&fit=crop&w=1400&q=80') 
                no-repeat center center/cover;
    color: #fff;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  .hero-text {
    text-align: center;
    padding: 100px 20px;
  }
  
  .hero-text h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
  }
  
  .hero-text p {
    font-size: 1.2rem;
    margin-bottom: 25px;
  }
  
  .btn {
    background: #fff;
    color: #007bff;
    padding: 10px 25px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
  }
  
  .btn:hover {
    background: #0056b3;
    color: #fff;
  }
  
  /* NAVIGATION */
  nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
  }
  
  .logo {
    font-size: 1.8rem;
    font-weight: 600;
    color: #fff;
  }
  
  .nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
  }
  
  .nav-links li a {
    text-decoration: none;
    color: white;
    font-weight: 500;
  }
  
  .nav-links li a:hover {
    text-decoration: underline;
  }
  
  /* CONTENT SECTIONS */
  section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
  }
  
  h2 {
    margin-bottom: 20px;
    font-size: 2rem;
    color: #007bff;
    text-align: center;
  }
  
  /* SERVICES */
  .services {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }
  
  .service-box {
    flex: 1 1 300px;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
  }
  
  .service-box i {
    font-size: 2rem;
    color: #007bff;
    margin-bottom: 10px;
    display: block;
  }
  
  .service-box ul {
    padding-left: 20px;
    text-align: left;
    margin-top: 10px;
  }
  
  /* PRODUCT TABLE */
  .product-table table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
  }
  
  .product-table th, .product-table td {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: left;
  }
  
  .product-table th {
    background: #007bff;
    color: white;
  }
  
  /* CONTACT */
  .contact-container {
    
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
  }
  
  form {
    flex: 1;
    min-width: 280px;
  }
  
  form input,
  form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
  }
  
  form button {
    background: #007bff;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
  }
  
  .contact-info {
    flex: 1;
    min-width: 280px;
    padding-right: 30%;;
    
  }
  
  /* FOOTER */
  footer {
    text-align: center;
    padding: 20px;
    background: #002147;
    color: white;
  }
  
  .footer-links a {
    color: #fff;
    margin: 0 8px;
    text-decoration: none;
  }
  
  .footer-links a:hover {
    text-decoration: underline;
  }
  
  /* RESPONSIVE */
  @media (max-width: 768px) {
    .hero-text h1 {
      font-size: 2rem;
    }
  
    .hero-text p {
      font-size: 1rem;
    }
  
    .services {
      flex-direction: column;
      align-items: center;
    }
  
    nav {
      flex-direction: column;
    }
  
    .nav-links {
      flex-direction: column;
      align-items: center;
    }
  }

  
  /* === Navbar & Hero === */
  .custom-hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                url('img/product2.jpg') no-repeat center center/cover;
    color: white;
    margin-top: 0;
    padding-top: 0;
    min-height: 100vh;
    position: relative;
  }
  .slider-overlay {
    margin-top: 0;
    padding-top: 0;
  }
/* for multi image*/
  .custom-hero {
    
    padding-top: 8%;
    position: relative;
    height: 100vh;
    animation: backgroundCycle 15s infinite;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  .custom-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
  }

  .hero-content {
    position: relative;
    z-index: 2;
  }


  /* Background image animation */
@keyframes backgroundCycle {
  0%   { background-image: url('img/page1_product_only.jpeg'); }
  33%  { background-image: url('img/product2.jpg'); }
  66%  { background-image: url('img/plastic-pellets-background.jpg'); }
  100% { background-image: url('img/global.jpg'); }
}
  /* end for multi image*/
  .logo-img {
    max-height: 110px;
    width: auto;
    object-fit: contain;
    margin: 0;
    padding: 0;
    display: block;
    
  }
  
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 30px;
    background-color: rgba(0, 0, 0, 0.6);
    height: 70px;
  }

  .navbar-left {
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
  }
  
  .navbar-left .logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
  }
  
  .navbar-center {
    display: flex;
    list-style: none;
    gap: 25px;
  }
  
  .navbar-center li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
  }
  
  .navbar-right {
    color: white;
    font-weight: 600;
  }
  
  .hero-content {
    text-align: center;
    margin-top: 100px;
  }
  
  .hero-content h5 {
    font-weight: 400;
    color: #ccc;
    letter-spacing: 2px;
  }
  
  .hero-content h1 {
    font-size: 3rem;
    margin: 20px 0;
  }

  .hero-tagline {
    font-size: 1.15rem;
    font-weight: 400;
    max-width: 800px;
    margin: 15px auto 25px;
    color: #f0f0f0;
    text-align: center;
    line-height: 1.6;
  }
  
  .hero-content h1 span {
    color: #ff4c4c;
  }

  .hero-content p span {
    color: #ff4c4c;
  }
  
  .hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
  }
  
  .hero-buttons .btn {
    padding: 10px 25px;
    margin: 0 10px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
  }
  
  .btn.red {
    background-color: #ff4c4c;
    color: white;
  }
  
  .btn.blue {
    background-color: #00c6ff;
    color: white;
  }
  
  
 
  .about-section {
    
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    padding: 60px 20px;
    background-color: #f9f9f9;
    border-top: 1px solid #e0e0e0;
  }

  .about-slider {
    flex: 1;
    min-width: 300px;
    position: relative;
    overflow: hidden;
    height: 300px;
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }
  
  .about-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    opacity: 0;
    transition: opacity 1s ease-in-out;
  }
  
  .about-slider img.active {
    opacity: 1;
    position: relative;
  }
  
  
  
  .about-img {
    flex: 1;
    min-width: 300px;
  }
  
  .about-img img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  }
  
  .about-content {
    flex: 1;
    min-width: 300px;
  }
  
  .about-content h6 {
    color: #007bff;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
  }
  
  .about-content h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #333;
  }
  
  .about-content p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 25px;
    line-height: 1.6;
  }
  
  .features {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 25px;
  }
  
  .feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    flex: 1 1 250px;
  }
  
  .feature i {
    font-size: 1.8rem;
    color: #ff4c4c;
  }
  
  .feature h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #333;
  }
  
  .feature p {
    font-size: 0.95rem;
    color: #666;
  }
  
  @media (max-width: 768px) {
    .about-section {
      flex-direction: column;
      text-align: center;
    }
  
    .features {
      flex-direction: column;
      align-items: center;
    }
  
    .feature {
      justify-content: center;
      text-align: left;
    }
  }


  .services-section {
    padding: 60px 20px;
    background-color: #f5f7fa;
    max-width: 1100px;
    margin: auto;
  }
  
  .services-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    color: #007bff;
  }
  
  .service-category {
    margin-bottom: 25px;
  }
  
  .toggle-btn {
    background-color: #ff4c4c;
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 1rem;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
    text-align: left;
    transition: background 0.3s ease;
  }
  
  .toggle-btn:hover {
    background-color: #8b363682;
  }
  
  .details {
    background-color: white;
    padding: 15px 25px;
    margin-top: 8px;
    border: 1px solid #ddd;
    border-radius: 5px;
    display: none;
  }
  
  .details ul {
    list-style: disc;
    padding-left: 20px;
  }
  
  .details li {
    margin-bottom: 10px;
    color: #333;
  }

  /*drop down */

  .dropbtn {
    background-color: #04AA6D;
    color: white;
    padding: 16px;
    font-size: 16px;
    border: none;
  }
  
  .dropdown {
    position: relative;
    display: inline-block;
  }
  
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: black;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
  }
  
  .dropdown-content a {
    color: #f1f1f1;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
  }
  
  .dropdown-content a:hover {background-color: #ff4c4c;}
  
  .dropdown:hover .dropdown-content {display: block;}
  
  .dropdown:hover .dropbtn {background-color: #3e8e41;}
  /* end drop down */


  

  
  