/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
  }
  
  /* Header */
  header {
    background: #52147B;
    color: white;
    padding: 10px 20px;
    position: sticky;
    top: 0;
    z-index: 10;
  }
   
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .navbar ul {
    list-style: none;
    display: flex;
    gap: 15px;
  }
  section{
    padding:20px;
  }
  li{
    margin-left: 20px;;
  }
  .navbar a {
    color: white;
    text-decoration: none;
    font-weight: bold;
  }
  
  .hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
  }
  
  .line {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
  }
  
  .nav-links.mobile.show {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 50px;
    right: 10px;
    background: #52147B;
    padding: 15px;
    border-radius: 5px;
  }
  
  @media (max-width: 768px) {
    .nav-links {
      display: none;
    }
  
    .hamburger {
      display: flex;
    }
  }
  
  /* Hero Section */
  .hero {
    background: linear-gradient(to bottom, #52147B, #630EAD);
    color: white;
    text-align: center;
    padding: 100px 20px;
  }
  
  .hero button {
    background: white;
    color: #52147B;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
  
  /* Footer */
  footer {
    background: #52147B;
    color: white;
    text-align: center;
    padding: 10px 0;
  }
  

  /* Form Section */
form {
    background: white;
    padding: 30px 20px;
    margin: 20px auto;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 600px;
  }
  
  form h2 {
    margin-bottom: 20px;
    color: #52147B;
    text-align: center;
  }
  
  form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
  }
  
  form input,
  form textarea,
  form button {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
  }
  
  form input:focus,
  form textarea:focus {
    outline: none;
    border: 1px solid #52147B;
    box-shadow: 0 0 5px rgba(82, 20, 123, 0.5);
  }
  
  form textarea {
    height: 120px;
    resize: none;
  }
  .carousel{
    padding: 20px;
    max-width: 800px;
  }
  form button {
    background: linear-gradient(to right, #52147B, #630EAD);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    transition: background 0.3s ease;
  }
  
  form button:hover {
    background: linear-gradient(to right, #630EAD, #52147B);
  }
  
  form button:active {
    transform: scale(0.98);
  }
  
  /* Responsive Form */
  @media (max-width: 768px) {
    form {
      padding: 20px;
      width: 90%;
    }
  }
  

  

  h1, h2 {
    text-align: center;
    margin: 20px 0;
  }

  p {
    margin: 10px 0;
  }

  /* Container for Blog Content */
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
  }

  /* Styling for Blog Sections */
  .section {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
  }

  .section:nth-child(odd) {
    flex-direction: row;
  }

  .section:nth-child(even) {
    flex-direction: row-reverse;
  }

  /* Image Styles */
  .section img {
    width: 50%;
    height: auto;
    object-fit: cover;
  }

  /* Text Content Styles */
  .content {
    padding: 20px;
    width: 50%;
  }

  .content h3 {
    font-size: 1.8rem;
    color: #52147B;
    margin-bottom: 10px;
  }

  .content p {
    font-size: 1rem;
    line-height: 1.8;
  }

  /* Button Style for Call-to-Actions */
  .content button {
    margin-top: 20px;
    padding: 10px 20px;
    background: #52147B;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
  }

  .content button:hover {
    background: #630EAD;
  }

  /* Footer */
  footer {
    text-align: center;
    background-color: #52147B;
    color: white;
    padding: 10px 0;
    margin-top: 20px;
  }

   /* Reset Styles */
    body, html {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: Arial, sans-serif;
    }

    /* Navbar Styles */
    .navbar {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      background-color: rgba(0, 0, 0, 0.7);
      color: white;
      z-index: 1000;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 10px 20px;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    }

    .navbar .logo {
      font-size: 1.5rem;
      font-weight: bold;
    }

    .navbar ul {
      list-style: none;
      display: flex;
      gap: 20px;
    }

    .navbar ul li {
      display: inline;
    }

    .navbar ul li a {
      text-decoration: none;
      color: white;
      font-size: 1rem;
      transition: color 0.3s;
    }

    .navbar ul li a:hover {
      color: #630EAD;
    }

    /* Hamburger Menu */
    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
    }

    .hamburger div {
      width: 25px;
      height: 3px;
      background-color: white;
      transition: transform 0.3s ease;
    }

    .navbar ul.mobile {
      display: none;
      flex-direction: column;
      gap: 10px;
      background-color: rgba(0, 0, 0, 0.9);
      position: absolute;
      top: 60px;
      left: 0;
      width: 100%;
      padding: 10px;
    }

    .navbar.open ul.mobile {
      display: flex;
    }

    /* Header with Slideshow Background */
    header {
      position: relative;
      height: 100vh;
      overflow: hidden;
      color: white;
    }

    .slideshow {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      display: flex;
      animation: slide-animation 18s linear infinite;
    }

    .slideshow img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      flex-shrink: 0;
      padding: 0.5px;
      
    }

    @keyframes slide-animation {
      0% { transform: translateX(0); }
      20% { transform: translateX(-100%); }
      40% { transform: translateX(-200%); }
      60% { transform: translateX(-300%); }
      80% { transform: translateX(-400%); }
      100% { transform: translateX(0); }
    }

    /* Gradient Overlay */
    .gradient-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
      z-index: 1;
    }

    /* Text Overlay */
    .header-content {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      text-align: center;
      z-index: 2;
    }

    .header-content h1 {
      font-size: 3rem;
      margin-bottom: 20px;
      text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
    }

    .header-content p {
      font-size: 1.2rem;
      margin-bottom: 30px;
      text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.7);
    }

    .header-content button {
      padding: 10px 20px;
      background: #52147B;
      border: none;
      color: white;
      cursor: pointer;
      font-size: 1rem;
      border-radius: 5px;
      transition: background 0.3s ease;
    }

    .header-content button:hover {
      background: #630EAD;
    }

    /* Responsive Adjustments */
    @media (max-width: 768px) {
      .navbar ul {
        display: none;
      }

      .hamburger {
        display: flex;
      }

      .header-content h1 {
        font-size: 2rem;
      }

      .header-content p {
        font-size: 1rem;
      }
    }

    /* Default styles for articles */
.container .section {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  gap: 20px;
  padding: 10px;
}

.container .section img {
  width: 40%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

.container .section .content {
  width: 60%;
}

/* Responsive styles for smaller devices */
@media (max-width: 768px) {
  .container .section {
    flex-direction: column;
    text-align: center;
  }

  .container .section img {
    width: 100%;
    order: 1; /* Move image below content */
  }

  .container .section .content {
    width: 100%;
    order: 2; /* Move content above image */
  }
}



/* Styling for the Recycle Section */
.recycle-section {
  padding: 50px 20px;
  background-color: #f5f5f5;
}

.importance-container {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.importance-text {
  flex: 1;
  max-width: 600px;
}

.importance-text h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #4a4a4a;
}

.importance-text p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #6a6a6a;
}

.importance-image {
  flex: 1;
  max-width: 600px;
}

.importance-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.recycle-process {
  margin-top: 50px;
  text-align: center;
}

.recycle-process h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #333;
}

.process-steps {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  max-width: 300px;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.step img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
}

.step h4 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #4a4a4a;
}

.step p {
  font-size: 1rem;
  line-height: 1.5;
  color: #6a6a6a;
}

/* Responsive Styling */
@media (max-width: 768px) {
  .importance-container {
    flex-direction: column;
    text-align: center;
  }

  .importance-text, .importance-image {
    max-width: 100%;
  }

  .process-steps {
    flex-direction: column;
  }

  .step {
    max-width: 100%;
  }
}





.logo img {
  height: 50px;
  margin-right: 10px;
  vertical-align: middle;
}
