body {
  overflow-x: hidden;
  font-family: 'Poppins', sans-serif;
}

/* Navigation Links */
.nav-links {
  display: flex;
  gap: 2rem;
}

/* Apply same style to both links and dropdown toggle */
.nav-links a,
.dropdown-toggle {
  font-size: 1.6rem;
  color: var(--text-dark);
  font-weight: 600;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

/* Hover effect */
.nav-links a:hover,
.dropdown-toggle:hover {
  color: var(--color-primary);
}

/* Dropdown container */
.dropdown {
  position: relative;
}

/* Flex for arrow */
.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Arrow animation */
.arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}
.dropdown.active .arrow {
  transform: rotate(180deg);
}



/* Submenu hidden */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 300px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.15);
  border-radius: 6px;
  overflow: hidden;
  z-index: 999;
}
.dropdown-menu a {
  display: block;
  padding: 10px 15px;
  color: #333;
  text-decoration: none;
}
.dropdown-menu a:hover {
  background: #f0f0f0;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-menu {
  display: block;
}

  
    /* Hero section background */
.hero-carousel {
  position: relative;
  height: 100vh;
  overflow: hidden;
  color: white;
background-image: url('../images/blog.webp');
  background-size: cover;
  background-position: center;
   background-attachment: scroll; /* default */
  background-attachment: fixed; /* fallback for desktop */
}

/* Dark overlay */
.hero-carousel::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* darkness */
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 2rem;
  text-align: center;
  top: 40%;
  transform: translateY(-50%);

}


.hero-content h1 {
  font-size: 5rem;
  padding-left: 2rem;
  margin: 0 auto;
  letter-spacing: -2px;
  color: aliceblue;
  font-family: "Poppins", sans-serif;
  text-align: left;
  

}

.clean {
 color: var(--color-accent);
  font-size: 7rem;
}

/* hero-text */
.hero-p {
  font-size: 2rem;
  color: #ddd;
  text-align: left;
  padding-left: 2rem;
  margin-top: 1rem;
}


    /* cards */

    .blog-section {
  padding: 40px 20px;
  text-align: center;
}

.blog-section h2 {
  margin-bottom: 10px;
  color: var(--color-primary);
  border-bottom: 6px solid var(--color-accent);
  display: inline-block;
}

.blog-section p {
  max-width: 600px;
  margin: 0 auto 30px;
  color: #555;
}

.blog-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding-bottom: 3rem;
}

.blog-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  flex: 1 1 300px;
  max-width: 350px;
  text-align: left;
  transition: transform 0.3s ease;
  padding-bottom: 2rem;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-content {
  padding: 20px;
}

.blog-content h3 {
  margin-bottom: 10px;
}

.blog-content p {
  color: #666;
  margin-bottom: 15px;
}

.read-more {
  text-decoration: none;
  color: #0077cc;
  font-weight: 600;
  transition: color 0.3s;
  font-size: 1.4rem;
}

.read-more:hover {
  color: #005fa3;
}

/* More Articles */

.blog-navigation {
  text-align: center;
  margin-bottom: 3rem;
}

.more-articles-btn {
  display: inline-block;
  background: var(--color-primary); /* Primary color */
  color: #fff;
  padding: 0.8rem 1.6rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
  font-size: 1.6rem;
}

.more-articles-btn:hover {
  background-color: var(--color-primary-dark); /* Darker hover */
}



/* Responsiveness */

        @media (max-width: 1180px) {
          .dropdown.active .dropdown-menu {
    display: block;
    position: static; /* makes it stack nicely */
    box-shadow: none;
    background: #f9f9f9;
    /* margin-top: 5px; */
  }
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 1rem;
    background: white;
    position: absolute;
    top: 70px; /* adjust based on your header height */
    left: 0;
    width: 100%;
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.15);
    z-index: 1000;
  }

     .Quote {
    display: none;
  }
        }


        @media (max-width: 900px) {
  .contact-container {
    flex-direction: column;
  }
      .Quote {
    display: none;
  }
}

        @media (max-width: 768px) {
  .dropdown:hover .dropdown-menu {
    display: none;
  }

  .dropdown.active .dropdown-menu {
    display: block;
  }
      .Quote {
    display: none;
  }
}

@media (max-width: 768px) {
  .dropdown-toggle i {
    color: var(--text-dark);
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
      .Quote {
    display: none;
  }
  
.hero-carousel {
  height: 70vh;
  background-attachment: scroll;
}
.hero-content h1 {
  letter-spacing: -1.5px;
  font-size: 3.5rem;
} 
.clean {
  font-size: 3.5rem;
}
.hero-p {
  font-size: 1.4rem;
  /* padding-left: 2rem; */
}


}

