* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}


body {
  
  margin: 0;
  padding: 0;
  background-color: #f8f8f8;
}

/* General styling for the header */
/* Style for the header and icons container */
.header-icons {
margin-top: 20px;
}

.icons {
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 20px; /* Add padding for spacing */
}

a {
text-decoration: none;
display: inline-block; /* Ensure the link wraps the image fully */
}


/* Style the link container */
.left-icon {
display: flex;
align-items: center; /* Align the icon and text vertically */
text-decoration: none; /* Remove underline from the link */
color: #000; /* Text color (can be customized) */
gap: 10px; /* Space between the icon and the text */
}

/* Style the icon */
.left-icon img {
width: 20px; /* Set icon size */
height: 20px;
}

.right-icons {
display: flex;
gap: 10px; /* Space between the right-side icons */
}

.right-icons img {
width: 20px; /* Set icon size */
height: 20px;
}

/* Style the phone number */
.left-icon span {
font-size: 16px; /* Adjust font size */
}

/* Header Styling */
header {
width: 100%;
background-color: #f8f8f8;
}

/* General Header Styling */
.header-container {
  max-width: 1200px; /* Restrict container width */
  margin: 0 auto; /* Center the container */
  padding: 0 15px; /* Small padding for better alignment */
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid #ddd; /* Optional: Add a bottom border */
  background-color: #fff; /* Set header background color */
}

/* Logo Styling */
.navbar-logo {
  flex-shrink: 0; /* Prevent logo from resizing */
}

.navbar-logo img {
  max-height: 70px;
  display: block;
  border-radius: 15px; /* Smoother corners */
  overflow: hidden;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.navbar-logo img:hover {
  transform: scale(1.3);
  opacity: 0.9;
}

/* Menu Styling */
.menu {
  display: flex;
  align-items: center;
  gap: 20px; /* Even spacing between menu items */
  font-family: 'poppins' sans-serif;
}

.menu .nav-link {
  display: flex; /* Ensures equal size */
  align-items: center;
  justify-content: center;
  width: 140px; /* Fixed width */
  height: 50px; /* Fixed height */
  text-align: center; /* Centers text */
  padding: 10px 15px;
  margin: 0; /* Remove default margin */
  color: #161515; /* Default text color */
  background-color: #f9f9f9; /* Light background */
  border: 1px solid #ddd; /* Border for structure */
  border-radius: 5px;
  transition: background-color 0.3s, transform 0.3s;
}

.menu .nav-link:hover {
  background-color: #40413f; /* Hover background */
  color: #fad60c; /* Hover text color */
  transform: scale(1.05); /* Hover zoom effect */
}

/* Button Styling */
.menu .btn {
  background: linear-gradient(#b49900e5, rgb(255, 170, 14), rgb(77, 68, 68));
  color: rgb(8, 8, 8);
  border: none;
  padding: 10px 20px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.menu .btn:hover {
  background-color: #0c0c0c;
  color: white;
  transform: scale(1.05);
}

/* Responsive Menu Button */
.btn-primary {
  font-size: 1rem;
  padding: 8px 12px;
  border-radius: 4px;
}

/* Small Screens */
@media (max-width: 768px) {
  .navbar {
      flex-wrap: wrap;
      justify-content: space-between;
  }

  .navbar-logo img {
      max-height: 50px; /* Smaller logo */
  }

  .menu {
      display: none; /* Hide menu links */
  }

  #navbarMenu {
      display: none; /* Hidden by default */
      flex-direction: column;
      align-items: center;
      gap: 15px;
      margin-top: 15px;
  }

  .collapse.show {
      display: flex !important; /* Display menu when toggled */
  }

  #navbarMenu .nav-link {
      width: 100%; /* Full width for links */
      text-align: center;
  }

  .btn-primary {
      margin: 10px 0;
  }
}

/* Adjusted Spacing for Center Alignment */
.navbar .menu {
  flex-grow: 1;
  justify-content: center;
  margin-left: 20px; /* Space between logo and menu */
}

.navbar .btn {
  margin-left: auto; /* Push button to far right */
}



.slider-container {
  width: 100%;
  height: 300px;
  overflow: hidden;
  position: relative;
}

.slider {
  display: flex;
  width: calc(100% * 10); /* Number of images + duplicates */
  animation: slide var(60s) linear infinite; /* Uses variable for duration */
}

.slider img {
  flex: 0 0 100%; /* Ensures each image takes up 100% of the slider width */
  max-width: 400px; /* Avoids overflow issues */
  height: 300px;
  object-fit: cover;
}

@keyframes slide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%); /* Slides the width of all images */
  }
}

/* Dots navigation */
.dots {
  position: absolute;
  bottom: 20px;
  width: 100%;
  text-align: center;
}

.dot {
  height: 12px;
  width: 12px;
  margin: 0 5px;
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: rgba(255, 255, 255, 1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .slider img {
    height: auto; /* Auto-height for better fit */
  }

  .dot {
    height: 10px;
    width: 10px;
  }
}

@media (max-width: 480px) {
  .dot {
    height: 8px;
    width: 8px;
  }
}

/* General styling for the product categories section */
.product-categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  padding: 20px;
  background-color: #f9f9f9;
}

.category-optirex {
  width: 100%;
  text-align: center;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  background-color: #fff;
  position: relative;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* Image styling with hover effect */
.category-optirex img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease-in-out;
}

/* Hover effect on image */
.category-optirex:hover img {
  transform: scale(1.05); /* Slight zoom effect on hover */
}

.category-optirex button {
  background-color: #262726;
  color: white; /* Button text color */
  border: none;
  padding: 10px 20px;
  text-transform: uppercase;
  cursor: pointer;
  font-size: 16px;
  width: 100%;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

/* Hover effect on button */
.category-optirex button:hover {
  background-color: #d8c302;
  transform: translateY(-3px); /* Slight lift effect on hover */
}

/* Text styling (inside the button link) */
.category-optirex a {
  color: inherit; /* Inherit color from the button */
  text-decoration: none;
  display: block;
}

/* Independent styling for the link text */
.category-optirex a:hover {
  color: #161515; /* Change text color on hover, example: tomato */
  text-decoration: italic; /* Underline text on hover */
}

/* Hover effect on category card */
.category-optirex:hover {
  transform: translateY(-5px); /* Slight lift effect on hover */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Shadow effect for depth */
}

/* Media Queries for responsiveness */
@media (min-width: 768px) {
  .category-optirex {
    width: 48%; /* Two categories per row on tablet and larger screens */
  }
}

@media (min-width: 1024px) {
  .category-optirex {
    width: 30%; /* Three categories per row on desktop screens */
  }
}

@media (max-width: 600px) {
  .product-categories {
    padding: 10px;
  }

  .category-optirex {
    width: 100%; /* Full width for each category on mobile */
  }

  .category-optirex button {
    font-size: 14px;
    padding: 8px 16px;
  }
}

/* General reset for padding and margin to avoid spacing issues */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.categories-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 15px;
  padding: 20px;
}

.category-fanta {
  position: relative;
  width: 24%; /* Make sure there is space for 4 items per row */
  height: 300px; /* Set a fixed height for the images */
  overflow: hidden; /* Hide overflow to keep images within the container */
  
}

.category-fanta img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures images fill the container without distortion */
  transition: transform 0.3s ease; /* Smooth scale on hover */
}

.category-fanta p {
  position: absolute;
  bottom: 10px;
  left: 10px;
  padding: 5px;
  visibility: hidden; /* Hide the text initially */
  font-size: 16px;
  font-weight: bold;
}

.view-all-link {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background-color: #007bff;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  visibility: hidden; /* Hide the button initially */
  font-size: 14px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

/* Hover Effects */
.category-fanta:hover p,
.category-fanta:hover img {
  visibility: visible;
  background-color: #b49900e5;
  color: #000;
}

.category-fanta:hover img {
  transform: scale(1.1); /* Slight zoom effect on image */
}

.view-all-link:hover {
  background-color: #b49900e5;
}

/* Responsive Styles for Smaller Devices */
@media (max-width: 1200px) {
  .category-fanta {
    width: 30%; /* 3 items per row */
  }
}

@media (max-width: 768px) {
  .category-fanta {
    width: 45%; /* 2 items per row */
  }
}

@media (max-width: 480px) {
  .category-fanta {
    width: 100%; /* 1 item per row */
    height: 200px; /* Adjust height for small devices */
  }
  
  /* Move the 'View All' button below images on small screens */
  .view-all-link {
    position: static;
    display: block;
    text-align: center;
    margin-top: 20px;
  }
}


.instagram__container {
  overflow: hidden;
  width: 100%;
  padding: 2rem 0;
  background-color: #b49900e5;
  text-align: center;
}

/* Flex container for the images */
/* Styling for the container */
.instagram__container {
  overflow: hidden; /* Hide overflowing content */
  width: 100%; /* Full width */
  padding: 2rem 0; /* Padding around */
  background-color: #b49900e5; /* Background color */
  text-align: center;
}

/* Flex container for scrolling images */
.instagram__flex {
  display: flex; /* Flex layout */
  gap: 1rem; /* Space between images */
  animation: scroll-loop 15s linear infinite; /* Looping animation */
  align-items: center; /* Center items vertically */
}

.instagram__flex img {
  width: 200px; /* Width of each image */
  height: auto; /* Maintain aspect ratio */
  flex-shrink: 0; /* Prevent shrinking */
}

/* Keyframes for continuous loop scrolling */
@keyframes scroll-loop {
  0% {
    transform: translateX(0); /* Start position */
  }
  100% {
    transform: translateX(-50%); /* Move halfway for seamless looping */
  }
}


/* Individual image styling */
.instagram__flex img {
  flex-shrink: 0; /* Prevent shrinking */
  width: 200px; /* Equal size for all images */
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  object-fit: cover; /* Ensure images cover their container */
}

/* Hover effect */
.instagram__flex img:hover {
  transform: scale(1.1);
}

/* Keyframes for smooth scrolling */
@keyframes scroll {
  0% {
    transform: translateX(0); /* Start position */
  }
  100% {
    transform: translateX(-100%); /* End position */
  }
}

/* Responsive images */
@media (max-width: 1200px) {
  .instagram__flex img {
    width: 180px; /* Slightly smaller images for medium screens */
  }
}

@media (max-width: 992px) {
  .instagram__flex img {
    width: 150px; /* Smaller images for smaller screens */
  }
}

@media (max-width: 768px) {
  .instagram__flex img {
    width: 120px; /* Even smaller images for mobile */
  }
}

.product-categories {
display: flex;
justify-content: center;
align-items: center;
gap: 20px; /* Space between the items */
padding: 20px;
background-color: #f9f9f9;
}

.category {
text-align: center;
flex: 1; /* Make all items have the same size */
}

.category img {
width: 100%;
max-width: 250px; /* Limit image size */
border-radius: 8px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Add a subtle shadow */
margin-bottom: 10px;
}

.category button {
background-color: black;
color: white;
border: none;
border-radius: 5px;
padding: 10px 20px;
font-size: 14px;
cursor: pointer;
transition: background-color 0.3s ease;
}

.category button:hover {
background-color: #ffa705; /* Darker shade on hover */
}
.category button a{
text-decoration: none;
color: #e7e7e7;
font-family: "poppins" serif;
}
.category button a:hover{
color: #000000;
}

/* Responsive Design */
@media (max-width: 768px) {
.product-categories {
flex-direction: column; /* Stack items vertically */
gap: 10px;
}

.category img {
max-width: 100%; /* Adjust width for smaller screens */
}
}
.blog-section {
text-align: center;
padding: 20px;
}

.blog-section h1 {
font-size: 32px;
margin-bottom: 20px;
color: #333;
}

/* Blog Cards Container */
.blog-cards {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 20px;
margin: 0 10px;
}

/* Individual Blog Card */
.blog-card {
background-color: #fff;
border: 1px solid #ddd;
border-radius: 5px;
overflow: hidden;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
text-align: left;
padding: 15px;
}

.blog-card img {
width: 100%;
height: auto;
border-bottom: 1px solid #ddd;
}

.blog-card h2 {
font-size: 18px;
margin: 15px 0;
color: #000000; /* Blue header color */
}

.blog-card p {
font-size: 14px;
color: #555;
line-height: 1.5;
margin: 10px 0;
}

.blog-card a {
font-size: 14px;
color: #000000;
text-decoration: none;
}

.blog-card a:hover {
text-decoration: underline;
}


@media (max-width: 768px) {

.subscription-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  }
  .subscription-text,
  .subscription-form {
    flex: 1;
    width: 100%;
    margin-bottom: 10px;
  }
  .subscription-form {
    justify-content: flex-start;
  }
  .subscription-form input[type="email"],
  .subscription-form button {
    margin-right: 0;
    margin-bottom: 10px;
    width: 100%;
  }
  
header {
    flex-direction: column;
    align-items: center;
}

nav {
    display: none;
    flex-direction: column;
    width: 100%;
}

nav a {
    margin: 10px 0;
    padding: 10px 20px;
    width: 100%;
    text-align: center;
}

.menu-button {
    display: block;
}

.dropdown {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.icons {
    margin-top: 10px;
    gap: 10px;
}
}

@media (max-width: 480px) {
nav a {
    font-size: 14px;
}
}

.subscription-container {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px;
background: linear-gradient(to right, #fae06b, #fae06b);
color: rgb(12, 12, 12);
opacity: 75%;
border-top: 2px solid #dfe7ed;
width: 100%; /* Ensure it takes the full width */
margin: 0; /* Remove any default margins */
box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

.subscription-text {
display: flex;
align-items: center;
}
.subscription-text img {
width: 30px;
height: 30px;
margin-right: 10px;
}
.subscription-text p {
margin: 0;
font-size: 25px;
font-weight: bold;
}
.subscription-form {
display: flex;
flex-direction: column; /* Stack the elements vertically */
align-items: center; /* Center the text and inputs horizontally */
gap: 10px; /* Add spacing between the elements */
}
.subscription-form p {
font-size: 20px;
color: #555;
margin: 0px; /* Remove default paragraph margin */
text-align: center; /* Center-align the text */
}
.input-group {
display: flex;
flex-wrap: wrap; /* Ensure inputs wrap on smaller screens */
justify-content: center; /* Center-align the input group */
gap: 10px; /* Space between input and button */
}

.input-group input[type="email"] {
padding: 10px;
border: 1px solid #ccc;
border-radius: 5px;
flex: 1; /* Allows the input to expand */
min-width: 200px;
}

.input-group button {
background-color: #050505;
color: white;
border: none;
padding: 10px 20px;
border-radius: 5px;
cursor: pointer;
font-size: 16px;
}

.input-group button:hover {
background-color: #f0d910;
color: rgb(14, 13, 13);
}

.icons img {
width: 24px; /* Icon width */
height: 24px; /* Icon height */
border-radius: 30px;
}
.text-box{
  margin-left: 20px;
  margin-right: 20px;
  margin-top: 40px;
}
.banner-container {
  height: 50vh; /* Takes 50% of the viewport height */
  width: 100%; /* Full width */
  overflow: hidden; /* Ensures no extra space shows */
}

/* The image fills the container */
.banner-image {
  height: 100%; /* Fills the container's height */
  width: 110%; /* Fills the container's width */
  object-fit: cover; /* Ensures the image scales proportionally and covers the entire container */
}

/* Media query for small screens (optional adjustments) */
@media (max-width: 768px) {
  .banner-container {
    height: 40vh; /* Reduce height for smaller screens */
  }
}

.hosp-equip a{
  text-decoration: none;
  color: #000;
  
  margin-top: 20px;
  margin-bottom: 20px;
  margin-left: 20px;
  margin-right: 20px;
}

.hosp-equip {
  text-align: center;
  margin-top: 20px;
}
.view a{
  margin-top: 100px;
  text-decoration: none;
  color: #000;
  background-color: #ecad00;
  padding: 20px;
  border-radius: 5px;
}
.view a:hover{
  background-color: #000;
  color: white;
}