/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    background-color: #fafafa;
    color: #333;
    font-size: 16px;
  }
  
  /* Color Palette */
  :root {
    --primary-color: #2e9c87; /* Green */
    --secondary-color: #0077cc; /* Blue */
    --text-color: #333333;
    --background-color: #f9f9f9;
    --cta-bg-color: #2e9c87;
    --cta-hover-color: #24897a;
    --footer-bg-color: #212121;
    --footer-text-color: #ffffff;
    --card-bg-color: #ffffff;
    --border-color: #e1e1e1;
  }
  
  /* Reset */
  a {
    text-decoration: none;
    color: inherit;
  }
  
  ul {
    list-style: none;
  }
  
  /* Header Section */
  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 10;
  }
  
  header .logo img {
    height: 50px;
    width: auto;
  }
  
  .nav-links {
    display: flex;
    gap: 5px;
    position: relative;
  }
  
  .nav-links a {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  text-transform: uppercase;
  transition: color 0.3s ease;
  margin-left: 30px;
  }
  .nav-links a:hover {
  color: var(--primary-color);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .nav-links li {
    padding: 0px 0;
  }
  
  .nav-links li a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
  }
  
  .hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 11; /* Ensure it stays above the dropdown menu */
  }
  
  .hamburger div {
    width: 25px;
    height: 3px;
    background-color: #000;
    transition: 0.4s;
  }
  
  /* Rotate hamburger icon into X when active */
  .hamburger.active div:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
  }
  
  .hamburger.active div:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active div:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
  }
  
  .cta-btn {
    padding: 12px 25px;
    background-color: var(--primary-color);
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: 5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .cta-btn2 {
    padding: 10px 20px;
    background-color: rgb(235, 145, 0);
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: 5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  .cta-btn:hover {
    background-color: var(--cta-hover-color);
  }
  
  
  /* Hero Section */
  .hero {
    background-image: url('https://www.stanley1913.com/cdn/shop/articles/DSC07120-blog.jpg');
    background-size: cover;
    background-position: center;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
  }
  
  .hero-text {
    z-index: 2;
    padding: 0 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  }
  
  .hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 1px;
  }
  
  .hero p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 400;
  }
  
  .hero .cta-btn {
    padding: 15px 30px;
    font-size: 1.2rem;
    text-transform: none;
  }
  
  
  .shipping-banner {
    text-align: center;
    background-color: rgba(87, 2, 22, 0.901);
    color: rgb(255, 255, 255);
  }
  
  
/* Blog Section */
.blog-section {
    padding: 60px 30px;
    background-color: var(--background-color);
    text-align: center;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
}

/* Blog Cards */
.blog-card {
    background: var(--card-bg-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-content {
    padding: 20px;
    text-align: left;
}

.blog-content h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 10px;
}

.blog-content p {
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
    margin-bottom: 15px;
}

/* Read More Link */
.read-more {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--secondary-color);
}

/* Hover Effects */
.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.blog-card:hover img {
    transform: scale(1.05);
}
  
  /* Footer */
  footer {
    background-color: var(--footer-bg-color);
    color: var(--footer-text-color);
    padding: 40px 50px;
    text-align: center;
  }
  
  .footer-links ul {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 20px;
  }
  
  .footer-links ul li a {
    color: var(--footer-text-color);
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: 600;
    transition: color 0.3s ease;
  }
  
  .footer-links ul li a:hover {
    color: var(--primary-color);
  }
  
  /* Responsive Design */
  @media (max-width: 900px) {
      .nav-links {
          list-style: none;
          display: flex;
          gap: 20px;
          flex-direction: column;
          position: fixed;
          top: 100px;
          left: 0px;
          width: 100%;
          height: 100%;
          background-color: rgb(255, 255, 255); /* Slightly transparent background */
          justify-content: center;
          align-items: start;
          display: none;
          padding-top: 0px; /* Adjust this value if necessary to account for the header height */
      }
    
      .nav-links.active {
          display: flex;
          width: 100%;
          height: 100%;
          border-bottom: 1px solid #000000;
      }
    
      .hamburger {
          display: flex;
          z-index: 11;
          position: sticky;
          top: 43px;
          right: 40px;
      }
    
      header.active {
          position: fixed;
          top: 25px;
          left: 0px;
          width: 100%;
          z-index: 10;
      }
    }
  
  /* Responsive Design */
  @media (max-width: 768px) {
      .nav-links {
          list-style: none;
          display: flex;
          gap: 20px;
          flex-direction: column;
          position: fixed;
          top: 100px;
          left: 0px;
          width: 100%;
          height: 100%;
          background-color: rgb(255, 255, 255); /* Slightly transparent background */
          justify-content: center;
          align-items: start;
          display: none;
          padding-top: 0px; /* Adjust this value if necessary to account for the header height */
      }
    
      .nav-links.active {
          display: flex;
          width: 100%;
          height: 100%;
          border-bottom: 1px solid #000000;
      }
    
      .hamburger {
          display: flex;
          z-index: 11;
          position: sticky;
          top: 43px;
          right: 40px;
      }
    
      header.active {
          position: fixed;
          top: 25px;
          left: 0px;
          width: 100%;
          z-index: 10;
      }
    }
  