/* Hero Section Background Container */
.hero-body-container {
  background: linear-gradient(180deg, #008d3347, #00ad476e);
  padding: 50px 0;
  height: 600px;
}

/* Hero Carousel Container */
.hero-container {
  position: relative;
  width: 90%;
  max-width: 1200px;
  margin: 20px auto;
  background: linear-gradient(135deg, #1b0b26, #3e1556);
  border-radius: 15px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  border: 10px solid white;
  transition: transform 0.3s ease-in-out;
}

/* Enable hover effect only after load */
.hero-container.loaded:hover {
  transform: scale(1.01);
  cursor: pointer;
}

/* Hero Carousel Section */
.hero-carousel {
  position: relative;
  width: 100%;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 15px;
}

.carousel {
  width: 100%;
  height: 100%;
  display: flex;
  position: relative;
  transition: transform 0.5s ease-in-out;
}

.carousel-item {
  min-width: 100%;
  height: 100%;
  display: none;
  position: relative;
}

.carousel-item.active {
  display: block;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
}

/* Pagination Dots */
.pagination-dots {
  position: absolute;
  bottom: 15px;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  background-color: #aaa;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.dot.active {
  background-color: #b43bff;
  transform: scale(1.2);
}

/* Carousel Controls */
.carousel-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  z-index: 10;
}

.control {
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  padding: 10px 15px;
  font-size: 1.5rem;
  cursor: pointer;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.control:hover {
  background-color: #b43bff;
  color: #fff;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero-body-container {
    padding: 30px 0;
    height: auto;
  }

  .hero-container {
    height: auto;
    border-radius: 10px;
    margin: 10px auto;
  }

  .hero-carousel {
    height: 200px;
  }

  .control {
    font-size: 1.2rem;
    padding: 8px 12px;
  }

  .dot {
    width: 10px;
    height: 10px;
  }
}


/* General Styles */
/* General Styles */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #f9fafc;
}

/* Container Styles */
.why-venom-container {
  padding: 20px;
  background-color: #f3f9f6;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  width: 100%;
  margin: auto auto;
}

/* Wrapper Styles */
.venom-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 20px auto;
}

/* Header Styles */
.why-venom-header {
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
}
.why-venom-header h1 {
  font-size: 30px;
  color: #2a7d4f;
  text-align: center;
  margin-bottom: 15px;
  line-height: 1.4;
  font-weight: bold;
}
.why-venom-header p {
  font-size: 18px;
  color: #444;
  text-align: justify;
  margin: 0 auto;
  max-width: 750px;
  line-height: 1.8;
}

/* Features Grid */
.why-venom-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 10px;
  padding: 0 15px;
}

/* Individual Feature Box */
.feature {
  text-align: center;
  padding: 25px 20px;
  border: none;
  border-radius: 12px;
  background: #ffffff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* Feature Icon */
.feature-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 15px;
  border-radius: 50%;
  background-color: #f0f9f4;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  background-size: 50%;
  background-repeat: no-repeat;
  background-position: center;
}

/* Feature Heading */
.feature h3 {
  font-size: 20px;
  color: #2a7d4f;
  margin-bottom: 10px;
  font-weight: bold;
  text-align: center;
}

/* Feature Paragraph */
.feature p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
  margin: 0;
  text-align: justify;
}

/* Responsive Design: Mobile Enhancements */
@media (max-width: 768px) {
  .why-venom-container {
    padding: 15px;
    background-color: #ffffff;
  }

  .why-venom-header {
    padding: 15px;
  }
  .why-venom-header h1 {
    font-size: 26px;
  }
  .why-venom-header p {
    font-size: 16px;
  }

  .why-venom-features {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .feature {
    padding: 20px;
    margin-bottom: 10px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
  }

  .feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 12px;
  }

  .feature h3 {
    font-size: 18px;
  }

  .feature p {
    font-size: 14px;
  }
}

/* Responsive Design: Large Screens */
@media (min-width: 1024px) {
  .why-venom-features {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* General Styles */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #f9fafc;
}

/* Container Styles */
.blog-container {
  padding: 20px;
  background-color: transparent; /* Transparent background */
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  width: 100%;
  margin: 20px auto;
}

/* Wrapper Styles */
.blog-content-wrapper {
  width: 100%;
  max-width: 1250px;
  margin: 0 auto;
  padding-left: 20px;   /* Left padding for side gap */
  padding-right: 20px;  /* Right padding for side gap */
  text-align: center;
}

/* Header Styles */
.section-title {
  font-size: 30px;
  color: #2a7d4f;
  margin-bottom: 15px;
  line-height: 1.4;
  font-weight: bold;
}

/* Featured Blogs Grid */
.featured-blogs {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 columns on desktop */
  gap: 20px;
  margin-top: 20px;
  padding-left: 10px;   /* Small internal padding left */
  padding-right: 10px;  /* Small internal padding right */
}

/* Individual Blog Card */
.blog-card {
  text-align: center;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 12px; /* Reduced padding for shorter height */
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* Blog Image */
.blog-image {
  width: 100%;
  height: 150px; /* Fixed smaller height */
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 10px; /* Reduced margin */
}

/* Blog Content */
.blog-content {
  padding: 8px; /* Reduced padding */
  text-align: justify; /* Justify content text */
}

/* Blog Title */
.blog-title {
  font-size: 20px; /* Slightly smaller font */
  color: #333;
  font-weight: bold;
  margin-bottom: 8px; /* Reduced margin */
  text-align: center; /* Center title */
}

/* Blog Category */
.blog-category {
  font-size: 14px; /* Smaller font */
  color: #777;
  margin-bottom: 8px; /* Reduced margin */
  text-align: center;
}

/* Blog Description */
.blog-description {
  font-size: 13px; /* Slightly smaller font */
  color: #555;
  line-height: 1.4; /* Slightly tighter line height */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .featured-blogs {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
  }
}

@media (max-width: 768px) {
  .blog-container {
    padding: 15px;
  }

  .blog-content-wrapper {
    padding-left: 10px;
    padding-right: 10px;
    max-width: 600px; /* Smaller container width on mobile */
  }

  .section-title {
    font-size: 26px;
  }

  .featured-blogs {
    grid-template-columns: 1fr; /* 1 column on mobile */
    gap: 15px;
    padding-left: 5px;
    padding-right: 5px;
  }

  .blog-card {
    padding: 10px; /* Slightly less padding on mobile */
  }

  .blog-image {
    height: 130px; /* Smaller image height on mobile */
  }

  .blog-title {
    font-size: 18px;
  }

  .blog-category {
    font-size: 14px;
  }

  .blog-description {
    font-size: 13px;
  }
}

/* Footer Styling */
footer {
  background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
  width: 100%;
  max-width: 100%;
  color: #333;
  padding: 40px 20px;
  font-family: Arial, sans-serif;
  margin: 0; /* Ensure no margin is applied */
  position: relative; /* default, good for layering */
  box-sizing: border-box;
}

/* Footer Container */
.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  gap: 0; /* No gap between columns by default, adjust if needed */
  box-sizing: border-box;
}

/* Footer Columns */
.footer-column {
  flex: 1;
  min-width: 200px;
  text-align: center;
  box-sizing: border-box;
}

/* Footer Headings */
footer h3 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
  text-transform: uppercase;
}

/* Footer Links */
footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer ul li {
  margin-bottom: 10px;
}

footer a {
  text-decoration: none;
  color: #333;
  transition: color 0.3s;
}

footer a:hover {
  color: #ff6f61;
}

/* Contact Button */
.contact-btn {
  display: inline-block;
  color: #fff;
  background-color: #ff6f61;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: bold;
  text-align: center;
  transition: background 0.3s, transform 0.3s;
  cursor: pointer;
}

.contact-btn:hover {
  background-color: #e55b51;
  transform: scale(1.05);
}

/* Social Icons */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 15px;
}

.social-icons img {
  width: 35px;
  height: 35px;
  transition: transform 0.3s;
  cursor: pointer;
}

.social-icons img:hover {
  transform: scale(1.2);
}

/* Footer Divider */
.divider {
  text-align: center;
  margin-top: 30px;
  font-size: 14px;
  color: #666;
}

.divider a {
  color: #333;
  margin: 0 8px;
  text-decoration: none;
  transition: color 0.3s;
}

.divider a:hover {
  color: #ff6f61;
}

/* Responsive Design */
@media (max-width: 768px) {
  /* Stack footer columns vertically and center them */
  .footer-container {
    flex-direction: column;
    align-items: center;
  }

  /* Add bottom padding to footer to prevent overlap with fixed bottom floating menu */
  footer {
    padding-bottom: 120px; /* Adjust this value to match the height of your floating menu */
  }

  .footer-column {
    margin-bottom: 20px;
  }

  .social-icons {
    justify-content: center;
  }
}
