body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* Prevent horizontal overflow */
}

/* Prevent horizontal overflow globally */
html, body {
  width: 100%;
  max-width: 100%;
}

/* Custom Scrollbar */
/* Works in Chrome, Edge, and Opera */
::-webkit-scrollbar {
  width: 12px; /* Width of the scrollbar */
}

::-webkit-scrollbar-track {
  background: #f1f1f1; /* Light gray background for the track */
  border-radius: 10px; /* Rounded corners for the track */
}

::-webkit-scrollbar-thumb {
  background: #007bff; /* Blue color for the thumb (matches primary button) */
  border-radius: 10px; /* Rounded corners for the thumb */
  border: 3px solid #f1f1f1; /* Add padding around the thumb */
}

::-webkit-scrollbar-thumb:hover {
  background: #0056b3; /* Darker blue on hover (matches primary button hover) */
}

* {
  scrollbar-width: thin; /* "auto" or "thin" */
  scrollbar-color: #007bff #f1f1f1; /* Thumb and track color */
}

/* Navbar */
.navbar {
  padding: 10px 20px;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 50px;
  margin: 10px auto;
  max-width: 95%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  width: 95%;
}

/* Active Navbar Link */
.navbar-nav .nav-link.active {
  background-color: #007bff; /* Background color for active link */
  color: #fff !important;
}

/* Navbar Brand (Logo) */
.navbar-brand img {
  width: 200px; /* Default logo size for desktop */
  height: auto; /* Maintain aspect ratio */
}

/* Media Query for Mobile Devices */
@media (max-width: 768px) {
  .navbar-brand img {
    width: 300px; /* Adjust logo size for mobile */
  }
}

/* Navbar Links */
.navbar-nav .nav-link {
  color: #fff !important;
  margin: 0 10px;
  font-weight: 500;
  padding: 8px 20px; /* Add padding for pill shape */
  border-radius: 25px; /* Pill shape for links */
  transition: all 0.3s ease-in-out;
}

.navbar-nav .nav-link:hover {
  background-color: #007bff; /* Background color on hover */
  color: #fff !important;
  transform: scale(1.05); /* Slight zoom effect */
}

/* Mobile Navbar Toggle Button */
.navbar-toggler {
  border: none; /* Remove border */
  padding: 0.5rem; /* Add padding */
}

.navbar-toggler:focus {
  box-shadow: none; /* Remove focus outline */
}

/* Mobile Navbar Links */
.navbar-collapse {
  background-color: transparent; /* Remove dark background */
  padding: 10px 0; /* Add padding */
}



/* Hero Section with Video Background */
.hero-section {
  height: 100vh; /* Full viewport height */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* Hide video overflow */
  position: relative;
}

/* Video Background */
#hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -1; /* Place video behind content */
  transform: translate(-50%, -50%);
  object-fit: cover; /* Ensure video covers the entire section */
}

/* Overlay */
.hero-overlay {
  background: rgba(0, 0, 0, 0.5); /* Dark overlay for better text visibility */
  z-index: 0; /* Place overlay between video and content */
}

/* Content */
.hero-section .container {
  z-index: 1; /* Ensure content is above video and overlay */
}

/* Hero Content */
.hero-section h1 {
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  animation: fadeInContent 1.5s ease-in-out 1s forwards; /* Delay content fade-in */
  opacity: 0; /* Start invisible */
}

.hero-section p {
  font-size: 1.25rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  animation: fadeInContent 1.5s ease-in-out 1.5s forwards; /* Delay content fade-in */
  opacity: 0; /* Start invisible */
}

.hero-section .btn {
  animation: fadeInContent 1.5s ease-in-out 2s forwards; /* Delay content fade-in */
  opacity: 0; /* Start invisible */
}

/* Keyframes for Content Fade-In */
@keyframes fadeInContent {
  0% {
    opacity: 0;
    transform: translateY(20px); /* Start slightly below */
  }
  100% {
    opacity: 1;
    transform: translateY(0); /* Move to original position */
  }
}

/* About Section */
.about-section {
  background-color: #f8f9fa;
  padding: 100px 0; /* Increased padding */
  min-height: 80vh; /* Minimum height */
  display: flex;
  align-items: center;
}

/* Products Section */
.products-section {
  padding: 100px 0; /* Increased padding */
  min-height: 80vh; /* Minimum height */
  display: flex;
  align-items: center;
}

/* Why Choose Us Section */
.why-choose-section {
  padding: 100px 0; /* Increased padding */
  min-height: 80vh; /* Minimum height */
  display: flex;
  align-items: center;
}

/* Contact Section */
.contact-section {
  background-color: #f8f9fa; /* Light gray background */
  padding: 100px 0; /* Add padding */
}

.contact-section h2 {
  font-size: 2.5rem; /* Heading size */
  color: #333; /* Dark text color */
  margin-bottom: 20px; /* Add spacing below heading */
}

.contact-section .lead {
  font-size: 1.25rem; /* Subheading size */
  color: #555; /* Medium text color */
  margin-bottom: 40px; /* Add spacing below subheading */
}

/* Contact Information */
.contact-info {
  text-align: left; /* Align text to the left */
}

.contact-info h3 {
  font-size: 1.75rem; /* Subheading size */
  color: #007bff; /* Primary color for subheading */
  margin-bottom: 15px; /* Add spacing below subheading */
}

.contact-info p {
  font-size: 1rem; /* Paragraph size */
  color: #555; /* Medium text color */
  margin-bottom: 10px; /* Add spacing below paragraphs */
}

.contact-info strong {
  color: #333; /* Dark text color for labels */
}

.contact-info a {
  color: #007bff; /* Link color */
  text-decoration: none; /* Remove underline */
}

.contact-info a:hover {
  text-decoration: underline; /* Add underline on hover */
}

/* Maps */
.corporate-map iframe,
.factory-map iframe {
  border-radius: 10px; /* Rounded corners */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

/* Buttons */
.contact-buttons {
  margin-top: 30px; /* Add spacing above buttons */
}

.btn-primary {
  background-color: #007bff; /* Primary button color */
  border: none; /* Remove border */
  padding: 10px 20px; /* Button padding */
  font-size: 1rem; /* Button text size */
  transition: background-color 0.3s ease; /* Smooth hover effect */
}

.btn-primary:hover {
  background-color: #0056b3; /* Darker blue on hover */
}

.btn-success {
  background-color: #28a745; /* Green button color */
  border: none; /* Remove border */
  padding: 10px 20px; /* Button padding */
  font-size: 1rem; /* Button text size */
  transition: background-color 0.3s ease; /* Smooth hover effect */
}

.btn-success:hover {
  background-color: #218838; /* Darker green on hover */
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  font-size: 1.25rem; /* Slightly smaller icon */
  color: #fff; /* White icon color */
  background-color: #007bff; /* Blue background */
  border: none; /* Remove border */
  border-radius: 6px; /* Slightly smaller rounded corners */
  padding: 10px 14px; /* Smaller padding for a more compact button */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Subtle shadow */
  transition: background-color 0.3s ease, transform 0.3s ease; /* Smooth hover effect */
  display: none; /* Hidden by default */
  z-index: 1000; /* Ensure it's above other elements */
  transform: translateX(0); /* Ensure no horizontal offset */
}

.back-to-top:hover {
  background-color: #0056b3; /* Darker blue on hover */
  transform: translateY(-3px); /* Slight lift on hover */
}

.back-to-top i {
  vertical-align: middle; /* Align icon properly */
}

/* Ensure the button doesn't overflow on small screens */
@media (max-width: 768px) {
  .back-to-top {
    right: 10px; /* Adjust position for smaller screens */
    bottom: 10px; /* Adjust position for smaller screens */
    padding: 8px 12px; /* Reduce padding for smaller screens */
    font-size: 1rem; /* Reduce icon size for smaller screens */
  }
}

/* Preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw; 
  height: 100vh; 
  background-color: #fff; /* White background */
  display: flex;
  justify-content: center; /* Center horizontally */
  align-items: center; /* Center vertically */
  z-index: 9999; /* Ensure it's on top of everything */
  transition: opacity 0.5s ease; /* Extended fade-out transition (1s) */
  overflow: hidden; /* Hide any overflow */
}

.preloader.fade-out {
  opacity: 0; /* Fade out the preloader */
}

.preloader-gif {
  width: 900px; /* Default size for larger screens */
  height: auto; /* Maintain aspect ratio */
  max-width: 100%; /* Ensure it doesn't overflow on small screens */
}

/* Optimize for smaller displays */
@media (max-width: 768px) {
  .preloader-gif {
    width: 350px; /* Smaller size for tablets */
  }
}

@media (max-width: 576px) {
  .preloader-gif {
    width: 450px; /* Smaller size for mobile devices */
  }
}

/* Banner Section */
.banner-section {
  position: relative;
  overflow: hidden;
  margin-top: 70px; /* Adjust based on navbar height */
}

.banner-section img {
  width: 100%;
  height: auto;
  display: block;
}

/* Banner Overlay */
.banner-overlay {
  background: rgba(0, 0, 0, 0.5); /* Dark overlay for better text visibility */
}

/* Responsive Heading */
@media (max-width: 768px) {
  .banner-section h1 {
    font-size: 2.5rem; /* Smaller font size for tablets */
  }
}

@media (max-width: 576px) {
  .banner-section h1 {
    font-size: 2rem; /* Smaller font size for mobile devices */
  }
}


















/* Quick Links Hover Effect */
.quick-links li {
  position: relative;
  padding-left: 0;
  transition: padding-left 0.3s ease;
}

.quick-links li a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.quick-links li:hover {
  padding-left: 20px;
}

.quick-links li:hover a {
  color: #007bff;
}

.quick-links li::before {
  content: "\F138";
  font-family: "bootstrap-icons";
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity 0.3s ease, left 0.3s ease;
  color: #007bff;
}

.quick-links li:hover::before {
  opacity: 1;
  left: 0;
}

/* Email and Phone Hover Effect */
.hover-primary {
  transition: color 0.3s ease, text-decoration 0.3s ease;
}

.hover-primary:hover {
  color: #007bff !important;
  text-decoration: underline;
}

/* Mobile Optimization */
@media (max-width: 768px) {
  .banner-section img {
    max-height: 200px; /* Adjust this value as needed */
    object-fit: cover; /* Ensures the image covers the area without distortion */
  }
}

@media (max-width: 576px) {
  .banner-section img {
    max-height: 150px; /* Adjust this value as needed */
  }
}

/* Mobile-First Styles */
@media (max-width: 768px) {
  /* Navbar */
  .navbar {
    width: 100vw;  /* Force full viewport width */
    max-width: 100vw;
    margin: 0;
    border-radius: 0;
    left: 0;
    right: 0;
    position: fixed;
  }

  .navbar-collapse {
    width: 100%;
    margin: 0;
    padding: 10px;
  }

  .container {
    padding-right: 10px;
    padding-left: 10px;
    width: 100%;
    max-width: 100%;
  }

  body {
    overflow-x: hidden;  /* Prevent horizontal scroll */
  }

  .navbar-brand img {
    width: 120px; /* Reduce logo size */
  }

  .navbar-nav .nav-link {
    padding: 8px 15px; /* Reduce padding for links */
  }

  /* Hero Section */
  .hero-section h1 {
    font-size: 2rem; /* Reduce heading size */
  }

  .hero-section p {
    font-size: 0.9rem; /* Reduce paragraph size */
  }

  .hero-section .btn {
    font-size: 0.9rem; /* Reduce button text size */
    padding: 8px 16px; /* Adjust button padding */
  }

  /* Products Section */
  .products-section .col-md-3 {
    flex: 0 0 100%; /* Show 1 product per row on mobile */
    max-width: 100%;
  }

  /* Why Choose Us Section */
  .why-choose-section .col-md-3 {
    flex: 0 0 100%; /* Show 1 item per row on mobile */
    max-width: 100%;
  }
}

@media (max-width: 576px) {
  /* Navbar */
  .navbar-brand img {
    width: 100px; /* Further reduce logo size */
  }

  .navbar-nav .nav-link {
    padding: 8px 10px; /* Further reduce padding for links */
  }

  /* Hero Section */
  .hero-section h1 {
    font-size: 1.75rem; /* Further reduce heading size */
  }

  .hero-section p {
    font-size: 0.8rem; /* Further reduce paragraph size */
  }

  .hero-section .btn {
    font-size: 0.8rem; /* Further reduce button text size */
    padding: 6px 12px; /* Further adjust button padding */
  }
}




/* =artner sections */
.trusted-partners-section {
  padding: 60px 0;
  background: #fdfdfd;
}

.partner-logos {
  display: flex;
  justify-content: center;
  gap: 80px; /* Space between logos */
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 0;
}

.partner-logo {
  height: 320px; /* Fixed height for consistency */
  width: auto; /* Maintain original aspect ratio */
  transition: transform 0.3s ease;
}



/* Responsive adjustments */
@media (max-width: 768px) {
  .partner-logos {
    gap: 40px;
    padding: 20px 0;
  }
  
  .partner-logo {
    height: 120px; /* Reduced height for mobile */
  }
}






























/* USP Section Styling */
.usp-section {
  position: relative;
  overflow: hidden;
  padding: 100px 0; /* Increased padding */
}

/* Video Background */
#usp-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -1; /* Place video behind content */
  transform: translate(-50%, -50%);
  object-fit: cover; /* Ensure video covers the entire section */
}

/* Overlay */
.usp-overlay {
  background: rgba(0, 0, 0, 0.5); /* Dark overlay for better text visibility */
  z-index: 0; /* Place overlay between video and content */
}

/* Content */
.usp-section .container {
  z-index: 1; /* Ensure content is above video and overlay */
}

/* Cards */
.usp-section .card {
  border: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: rgba(255, 255, 255, 0.9); /* Semi-transparent white background */
}

.usp-section .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.usp-section .icon {
  color: #007bff; /* Primary color for icons */
}

/* Responsive Design */
@media (max-width: 768px) {
  .usp-section .card {
    margin-bottom: 20px; /* Add spacing between cards on smaller screens */
  }
}


.responsive-image-section {
  margin: 40px 0; /* Adds spacing above and below the image */
}

.responsive-image-section img {
  border-radius: 10px; /* Optional: Adds rounded corners to the image */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Optional: Adds a subtle shadow */
}






/* Custom class for the 200ml bottle container */
.bottle-200ml-container {
  position: relative;
}

.bottle-200ml-desktop,
.bottle-200ml-mobile {
  width: 100%;
  height: auto;
}

/* Hide mobile image by default */
.bottle-200ml-mobile {
  display: none;
}

/* Media query for mobile devices */
@media (max-width: 768px) {
  .bottle-200ml-desktop {
    display: none;
  }
  
  .bottle-200ml-mobile {
    display: block;
  }
}


/* Center images in mobile views */
@media (max-width: 768px) {
  #mission img,
  #process img,
  #vision img {
    max-width: 100% !important;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
  
  /* Ensure parent columns are centered */
  .mission-section .col-md-6,
  .process-section .col-md-6,
  .vision-section .col-md-6 {
    text-align: left;
  }
}



.accreditations {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px; /* Space between images */
    flex-wrap: wrap; /* Ensures images wrap to next line on smaller screens */
}

.accreditations img {
    max-width: 150px; /* Set a maximum width for all images */
    height: auto; /* Maintain aspect ratio */
    
}


/* ================== */
/* === Ad Popup === */
/* ================== */

.ad-popup {
  position: fixed; /* Stay in place */
  z-index: 9999; /* Sit on top of everything */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(0, 0, 0, 0.7); /* Black w/ opacity */
  display: flex;
  align-items: center;
  justify-content: center;
  
  /* Hide by default */
  opacity: 0;
  visibility: hidden;
  transform: scale(1.1); /* Start slightly larger */
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0.3s; /* Animate opacity and scale. Hide visibility only after transition ends. */
}

/* Show the popup */
.ad-popup.show {
  opacity: 1;
  visibility: visible;
  transform: scale(1); /* Scale to normal size */
  transition: opacity 0.3s ease, transform 0.3s ease; /* Define transition for showing */
}

.ad-popup-content {
  position: relative;
  margin: auto;
  display: block;
  /* Let the image define the size */
}

.popup-image {
  display: block;
  /* Responsive image scaling */
  max-width: 90vw; /* Max width is 90% of viewport width */
  max-height: 90vh; /* Max height is 90% of viewport height */
  width: auto;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.4);
}

.close-btn {
  position: absolute;
  top: -15px; /* Position it slightly above the image */
  right: -15px; /* Position it slightly to the right */
  background-color: #007bff;
  color: white;
  font-size: 24px;
  font-weight: bold;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  z-index: 10000; /* Ensure it's above the image */
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.close-btn:hover {
  background-color: #0056b3;
  transform: scale(1.1);
}

/* Adjust close button for small screens */
@media (max-width: 768px) {
  .close-btn {
    top: 5px;
    right: 5px;
    width: 35px;
    height: 35px;
    font-size: 20px;
  }
}
/* ================== */
