
.button-container
.cta-button,
.info-box,
.info-btn,
.learn-more,
.menu-toggle,
.back-button {
  -webkit-tap-highlight-color: transparent; /* Remove gray overlay on iOS/Android */
  -webkit-touch-callout: none;              /* Disable long-press menu on iOS */
  outline: none;                            /* Optional: remove focus outline */
}


.cta-button,
.learn-more{ -webkit-tap-highlight-color: transparent; /* Remove gray overlay on iOS/Android */
  -webkit-touch-callout: none;              /* Disable long-press menu on iOS */
  outline: none;    

}

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Arial', sans-serif;
}
 .ad-container {
      width: 100%;
      max-width: 1200px;
      margin: 20px auto;
      display: flex;
      justify-content: space-between;
      gap: 10px;
    }
    .ad {
      flex: 1;
      min-height: 250px;
      background-color: #f0f0f0;
      border: 1px solid #ccc;
      text-align: center;
      padding: 20px;
      box-sizing: border-box;
    }
    .ad img {
      max-width: 100%;
      height: auto;
    }
    @media (max-width: 768px) {
      .ad-container {
        flex-direction: column;
      }
      .ad {
        width: 100%;
      }
    }
header {
    display: flex;
    align-items: center;
    background-color: #fdfdfd;
    padding: 8px 20px; /* Slightly increase top-bottom padding for balance */
    border-bottom: 2px solid #ddd; /* Use a subtle grey for a modern touch */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    justify-content: space-between;
    z-index: 1000;
    height: 60px; /* Reduce height for a sleeker look */
    pointer-events: auto;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Add a subtle shadow for depth */
    overflow: hidden; /* Prevent scrolling */
    border-bottom: 0.3px solid;
}
:root {
    --primary-color: #4361ee;
    --secondary-color: #3a0ca3;
    --accent-color: #f72585;
    --light-gray: #f8f9fa;
    --dark-gray: #343a40;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  }
  .cart-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #333; /* Change to match your theme */
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 20px;
    transition: all 0.3s ease;
    transform: none;
    overflow: hidden;
  }
  
  .cart-link:hover {
    background: rgba(0,0,0,0.05);
  }
  
  .cart-counter {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    background-color: #4361ee; /* Primary color */
    color: white;
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
    padding: 2px;
    position: relative;
    top: -2px;
    animation: pulse 2s infinite;
  }
  
  /* Pulse animation for attention */
  @keyframes pulse {
    0% {
      transform: scale(1);
      box-shadow: 0 0 0 0 rgba(67, 97, 238, 0.7);
    }
    70% {
      transform: scale(1.05);
      box-shadow: 0 0 0 8px rgba(67, 97, 238, 0);
    }
    100% {
      transform: scale(1);
      box-shadow: 0 0 0 0 rgba(67, 97, 238, 0);
    }
  }
  
  /* When cart has items */
  .cart-counter:not([data-count="0"]) {
    background-color: #f72585; /* Accent color when items exist */
  }
  
  /* Responsive adjustments */
  @media (max-width: 768px) {
    .cart-link {
      padding: 6px 10px;
      font-size: 14px;
    }
    
    .cart-counter {
      min-width: 20px;
      height: 20px;
      font-size: 11px;
    }
  }
  /* ---------------- Contact Section ---------------- */
.contact-section {
  background-color: #007BFF;
  color: #ffffff;
  padding: 60px 20px;
  font-family: "Poppins", system-ui, -apple-system, sans-serif;
  width: 100%;
  box-sizing: border-box;
}

/* Grid layout for contact content */
.contact-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

/* Individual contact card */
.contact-box {
  background: rgba(255, 255, 255, 0.08);
  padding: 25px 20px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

/* Section titles */
.contact-box h2 {
  font-size: 1.2rem;
  margin-bottom: 14px;
  text-transform: uppercase;
  text-decoration: underline;
  color: #ffffff;
  letter-spacing: 0.5px;
  font-weight: 600;
}

/* Contact paragraphs */
.contact-box p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #f5faff;
  margin: 8px 0;
}

.contact-box p strong {
  text-decoration: overline;
  color: #ffecb3;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Links inside boxes */
.contact-link {
  display: inline-block;
  font-size: 0.9rem;
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease, text-decoration 0.3s;
  word-break: break-word;
}

.contact-link:hover {
  color: #aad4ff;
  text-decoration: underline;
}

/* Glovo button */
.glovo-link {
  background-color: gold;
  padding: 12px 20px;
  display: inline-block;
  border-radius: 5px;
  color: #007BFF;
  font-weight: bold;
  transition: background 0.3s ease, color 0.3s ease;
  text-decoration: none;
}

.glovo-link:hover {
  background-color: black;
  color: #ffffff;
}

/* ---------------- Social Media Bar ---------------- */
.social-media-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-top: 40px;
  padding: 12px;
  background-color: #0056b3;
  flex-wrap: wrap;
  overflow: hidden;
}
i.fab {
  font-style: normal;
  font-weight: normal;
  display: inline-block;
  line-height: 1;
}

.social-icon {
  color: white;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.social-icon:hover {
  color: #cce0ff;
  transform: scale(1.1);
}

.fab {
  font-family: 'Font Awesome 5 Brands' !important;
}

/* ---------------- Footer ---------------- */
.footer {
  text-align: center;
  padding: 15px;
  font-size: 0.9rem;
  background: rgba(0, 0, 0, 0.1);
  color: #ffffff;
}

/* ---------------- Mobile Fixes ---------------- */
@media (max-width: 480px) {
  .contact-box h2 {
    font-size: 1rem;
  }

  .contact-box p,
  .contact-link {
    font-size: 0.85rem;
  }

  .social-icon {
    font-size: 1.2rem;
  }

  .glovo-link {
    font-size: 0.9rem;
    padding: 10px 16px;
  }
}

  .contact-section {
    overflow: hidden !important; /* Ensures no scrolling */
    max-height: fit-content; /* Prevents excessive height */
}
.contact-container {
    overflow: hidden !important; /* Stops any inner scrolling */
    max-height: fit-content !important;
    white-space: nowrap; /* Prevents text from wrapping */
}
.contact-box {
    white-space: nowrap; /* Ensures text stays in one line */
    overflow: hidden; /* Stops any unwanted scrolling */
    text-overflow: ellipsis; /* Optional: Adds "..." if text overflows */
}
.contact-link {
    display: inline-block; /* Prevents link expansion */
    text-decoration: none; /* Removes underlines */
    white-space: nowrap; /* Ensures links don’t wrap */
}

header ::-webkit-scrollbar {
    display: none;
}

nav ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
}

nav ul li {
    padding: 5px 10px; /* Adjust space around nav links */
}

nav a {
    font-size: 16px; /* Adjust font size */
    padding: 5px 8px; /* Reduce padding inside links */
    font-weight: 300; /* Thin font for a sleek look */
    font-family: 'Poppins', sans-serif; /* Premium modern font */
    text-transform: uppercase; /* Stylish uppercase text */
    letter-spacing: 1px; /* Slight letter spacing for elegance */
}
.cart-counter {
    background-color: #ff0000;
    color: white;
    border-radius: 5px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}
/* Navigation links (Desktop View) */
.nav-links {
    display: flex;
    gap: 20px;
    z-index: 1001;
    position: static;
}

@media (min-width: 768px) {
    .menu-toggle {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        margin-top: 50px;
        margin-left: 130px;
        border-radius: 5px;
        width: 50%;
        height: 70vh; /* Full height */
        background-color: rgba(0, 0, 0, 0.9); /* Dark background for contrast */
        display: none;
        flex-direction: column;
        align-items: center;
        padding: 30px 0;
        z-index: 2000; /* Ensure it's above everything */
        overflow: hidden; /* Prevents scrolling */
        max-height: 100%; /* Ensures it doesn’t expand beyond its content */
    }

    .nav-links.active {
        display: flex;
    }

    /* Prevent scrolling when the menu is open */
    body.menu-open {
        overflow: hidden;
    }
    .cart-popup {
        display: flex;
        position: fixed;
        bottom: 20px;
        right: 20px;
        padding: 20px;
        background: white;
        border: 1px solid #ddd;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        z-index: 9999;
    }
    .menu-toggle {
        display: block;
        position: absolute;
        top: 50%;
        right: 20px; /* Adjust for better placement */
        transform: translateY(-50%);
        font-size: 24px;
        background: none;
        border: none;
        color: black;
        cursor: pointer;
        z-index: 3000; /* Ensure it's above everything */
        overflow: hidden; /* Prevents scrolling */
        max-height: 100%; /* Ensures it doesn’t expand beyond its content */
    }
}

@media (min-width: 769px) {
    .nav-links {
        display: flex !important; /* Forces menu to show on larger screens */
    }
}

/* Navigation Links */
.nav-links a {
    color: royalblue;
    display: block;
    padding: 10px;
    text-align: center;
    z-index: 1002;
    position: relative;
    font-weight: 300; /* Thin font */
    transition: color 0.3s ease-in-out; /* Smooth color transition */
}

/* Underline Animation */
.nav-links a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: black;
    transition: width 0.5s ease-in-out, left 0.5s ease-in-out; /* Slow-motion effect */
}
.logo-container .logo {
    width: 50px;
    border-radius: 5px;
    transition: transform 0.3s ease;
}
.nav-links a:hover {
    color: darkblue; /* Darker color on hover */
}

.nav-links a:hover::after {
    width: 100%;
    left: 0;
}
.logo{
    max-width: 150px; 
    height: auto;
    margin-right: 10px;
}
.logo-container {
    display: flex;
    align-items: center;
}
a{
    text-decoration: none;
    padding: 20px;
    align-content: center;
    color: white;
    font-weight: 700;
}
a:hover{
     text-decoration: overline;
     animation-duration: 3ms;
     text-decoration-color:royalblue;
}
body {
    font-family: "Poppins", sans-serif;
    font-weight: 300; /* Thin but readable for a sleek look */
    font-size: 16px; /* Balanced size for readability */
    color: #333; /* Soft black for a refined feel */
    line-height: 1.6; /* Improves text readability */
    text-rendering: optimizeLegibility; /* Enhances text clarity */
    background-color: #fdfdfd; /* Off-white for a premium aesthetic */
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: opacity 0.7s ease-in-out; /* Slightly smoother transition */
}
body {
    animation: fadeIn 0.7s ease-in-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}


/* Additional Touch for Smooth Loading Experience */
html {
    scroll-behavior: smooth; /* Ensures a smooth scrolling effect */
}

#lis{
    color: black;
}
* {
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

h3, h4 {
    text-decoration-thickness: 2px; /* Makes the overline visible */
    text-underline-offset: 5px; /* Proper spacing */
}
h6 {
    font-family: "Poppins", sans-serif;
    font-weight: 400; /* Slightly bold but still elegant */
    font-size: 18px; /* Adjusted for readability */
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px; /* Gives it a modern, high-end look */
    text-decoration: none; /* Remove overline for a cleaner appearance */
    position: relative;
    color: #222; /* Deep black for contrast */

    /* Elegant Underline Effect */
    display: inline-block;
    padding-bottom: 5px;
}

h6::after {
    content: "";
    display: block;
    width: 50%;
    height: 2px;
    background: linear-gradient(to right, royalblue, #0056b3);
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    transition: width 0.4s ease-in-out;
}

h6:hover::after {
    width: 80%;
}

#one {
    background: linear-gradient(to bottom right, white, #f7f9fc); /* Subtle gradient for depth */
    border-radius: 10px; /* Softer, more premium feel */
    padding: 20px;
    margin: 140px 5px 20px 5px; /* Adjusted margins for spacing */
    border: 1px solid rgba(0, 0, 0, 0.1); /* Lighter border for sophistication */
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1); /* Soft shadow for a premium touch */
    text-align: center;
    max-width: 1200px; /* Ensures a refined, centered layout */
    margin-left: auto;
    margin-right: auto;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* Responsive Design for Smaller Screens */
@media (max-width: 768px) {
    #one {
        max-width: 90%; /* Allows it to fit within smaller screens */
        margin: 80px auto 20px auto; /* Adjust top margin */
        padding: 15px; /* Slightly reduced padding */
    }
}

/* Subtle hover effect */
#one:hover {
    transform: translateY(-3px);
    box-shadow: 0px 6px 16px rgba(0, 0, 0, 0.15);
}
#even{
    font-weight: 700;
    text-decoration: underline;
}


p{
    color: black;
}
li{
    list-style: none;
    color: white;
}


/* Info Section */
.info-section {
    display: flex;
    justify-content: center;
    align-items: center; 
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 20px;
    padding: 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Info Box (Each Container) */
.info-box {
    background: linear-gradient(to right, #0047ab, #007bff); /* Royal Blue Gradient */
    color: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    text-align: center;
    flex: 1;
    min-width: 280px;
    max-width: 400px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
}

/* Hover effect for info boxes */
.info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

/* Image Container */
.info-image {
    width: 100%; 
    max-height: 220px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
    transition: transform 0.3s ease-in-out;
}

/* Image Styling */
.info-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

/* Image Hover Effect */
.info-box:hover .info-image img {
    transform: scale(1.05);
}

/* Heading */
.info-box h3 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 10px;
    font-family: "Poppins", sans-serif;
}

/* Paragraph */
.info-box p {
    font-size: 16px;
    font-weight: 300;
    color: #f1f1f1;
    margin-bottom: 15px;
}

/* Button Styling */
.info-btn {
    display: inline-block;
    padding: 12px 25px;
    background: white;
    color: black;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.3s ease-in-out, transform 0.3s ease-in-out;
    font-family: "Poppins", sans-serif;
}

/* Button Hover Effect */
.info-btn:hover {
    background: #f1f1f1;
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 768px) {
    .info-section {
        flex-direction: column;
        align-items: center;
    }

    .info-box {
        max-width: 100%;
    }
}

.shop-box {
    background-color: gold;
    border: 1px solid;
    border-color: black;
}
.faq-box {
    background-color: royalblue; 
    border: 1px solid;
    border-color: black;
}



/* Glovo Box Centering */
.contact-box .glovo-box {
    display: flex;
    justify-content: center;
    align-items: center;
    background: gold;
    border-radius: 8px;
    padding: 10px;
    width: fit-content;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-box {
        max-width: 100%;
    }
}


.contact-box .glovo-box{
    justify-content: center;
}
.contact-link:hover {
    text-decoration: overline;
    text-decoration-color:darkblue ;
}
/* General Layout */
.healthcare-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 40px 10%;
    gap: 20px;
    border-radius: 10px;
    background: linear-gradient(to bottom right, #ffffff, #eef3ff); /* Softer gradient */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    border: 0.3px solid;
    margin: 15px;
}


.healthcare-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

/* Content Wrapper */
.healthcare-content {
  flex: 1;
  min-width: 320px;
  max-width: 600px;
  padding: 20px;
  box-sizing: border-box;
}

/* Title Styling */
.healthcare-content h2 {
  font-size: 2.4rem;
  color: #1a4fc3;
  font-weight: 500; /* Balanced visibility */
  font-family: "Poppins", sans-serif;
  letter-spacing: 0.3px;
  margin-bottom: 20px;
  text-transform: capitalize;
  border-left: 4px solid #1a4fc3;
  padding-left: 12px;
  line-height: 1.3;
  overflow: hidden;
}

/* Feature Section */
.healthcare-features {
  margin-top: 25px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Single Feature Item */
.feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.feature:hover {
  transform: translateX(5px);
  background-color: #f9f9ff;
  border-radius: 6px;
}

/* Feature Label/Text */
.feature strong {
  font-size: 1.05rem;
  color: #1a4fc3;
  font-weight: 400;
  font-family: "Poppins", sans-serif;
  padding: 4px 0;
}


/* Image Container */
.healthcare-image {
    flex: 1;
    max-width: 500px;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Image Styling */
.healthcare-image img {
    width: 100%;
    border-radius: 12px;
    transition: transform 0.3s ease-in-out;
}

.healthcare-image:hover img {
    transform: scale(1.05);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .healthcare-section {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .healthcare-content h2 {
        font-size: 2rem;
        text-decoration: underline;
    }

    .healthcare-content p,
    .feature strong {
        font-size: 0.95rem;
    }

    .healthcare-image {
        max-width: 100%;
    }
}
/* General Layout */
.medication-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 40px;
    background: linear-gradient(to bottom right, #ffffff, #eef3ff);
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
    border: 0.3px solid;
    margin: 10px;
}

.medication-section:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

/* Content */
.medication-content {
    max-width: 50%;
    padding: 20px;
}

.medication-content h2 {
  font-size: 2.2rem;                /* Slightly larger for impact */
  color: #1a4fc3;                   /* A deeper, richer royal blue */
  font-weight: 600;                 /* More weight for visibility */
  font-family: "Poppins", sans-serif;
  letter-spacing: 0.3px;            /* Slightly tighter spacing */
  margin-bottom: 20px;              /* More space below for clarity */
  text-decoration: none;            /* Underline removed for a cleaner look */
  border-bottom: 2px solid #1a4fc3; /* Add a bottom border instead */
  padding-bottom: 5px;
}

/* Services List */
.services-list {
    margin: 20px 0;
}

/* Individual Service Items */
.service-item {
    background: white;
    padding: 12px;
    margin: 5px 0;
    border-radius: 8px;
    font-size: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.service-item:hover {
    transform: translateX(6px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Learn More Button */
.learn-more {
    background: royalblue;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease-in-out, transform 0.2s ease-in-out;
}

.learn-more:hover {
    background: black;
    transform: scale(1.05);
}

/* Image Container */
.medication-image {
    max-width: 45%;
    display: flex;
    justify-content: center;
}

.medication-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

.medication-image:hover img {
    transform: scale(1.05);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .medication-section {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }

    .medication-content, .medication-image {
        max-width: 100%;
    }

    .medication-content h2 {
        font-size: 1.5rem;
    }

    .service-item {
        font-size: 0.9rem;
    }
}

/* Banner Section */
.banner {
    position: relative;
    background: linear-gradient(to bottom right, #ffccd5, #f78fb3); /* Premium gradient */
    padding: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 12px;
    max-width: 800px;
    margin: 50px auto;
    flex-wrap: wrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Soft shadow for elegance */
    transition: all 0.3s ease-in-out;
    border: 0.3px solid;
    margin: 10px;
}

/* Text Content */
.banner-text {
    max-width: 50%;
}

.banner h1 {
    color: #333;
    font-size: 2rem;
    font-weight: 300;
    font-family: "Poppins", sans-serif;
    letter-spacing: 0.5px;
}

.banner p {
    color: #444;
    font-size: 1rem;
    font-weight: 400;
    margin-top: 10px;
}

/* Call-to-Action Button */
.cta-button {
    background: #e63977;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 6px;
    display: inline-block;
    margin-top: 15px;
    font-size: 1rem;
    font-weight: 500;
    transition: background 0.3s ease-in-out, transform 0.2s ease-in-out;
}

.cta-button:hover {
    background: black;
    transform: scale(1.05);
}

/* Ribbon */
.ribbon {
    position: absolute;
    bottom: 10px;
    right: 30px;
    background: #e63977;
    color: white;
    padding: 15px 30px;
    font-size: 14px;
    font-weight: bold;
    transform-origin: top right;
    white-space: nowrap;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
}

.ribbon:hover {
    background: #d62c69;
    transform: scale(1.05);
}

/* Banner Image */
.banner img {
    max-width: 220px;
    border-radius: 12px;
    transition: transform 0.3s ease-in-out;
}

.banner img:hover {
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 768px) {
    .banner {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }

    .banner-text {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .banner img {
        max-width: 150px;
    }

    .ribbon {
        top: 5px;
        right: -10px;
        padding: 10px 20px;
        font-size: 12px;
    }
}

.shop-container {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping */
    justify-content: center;
    gap: 2px;
    padding: 2px;
    margin-top: 120px;
    padding-bottom: 5px;
}
/* General styling for the flyer container */
.flyer-container {
    width: 90%; /* Makes it responsive */
    max-width: 800px; /* Limits the max width */
    margin: 30px auto; /* Centers it */
    padding: 15px;
    background: #fff; /* Clean background */
    border-radius: 15px; /* Smooth edges */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Premium shadow effect */
    text-align: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* Add a hover effect */
.flyer-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

/* Flyer image styling */
.flyer-img {
    width: 100%; /* Ensures responsiveness */
    height: auto; /* Maintains aspect ratio */
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

/* Add a subtle zoom effect on hover */
.flyer-img:hover {
    transform: scale(1.02);
}

/* Responsive design for smaller screens */
@media (max-width: 768px) {
    .flyer-container {
        width: 95%; /* Slightly wider on small screens */
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .flyer-container {
        width: 100%; /* Full width on very small screens */
        padding: 5px;
    }
}

.shop-container {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping */
    justify-content: center;
    gap: 2px;
    padding: 2px;
    margin-top: 120px;
    padding-bottom: 5px;
}
@media (max-width: 768px) {
    .shop-container {
        grid-template-columns: repeat(1, 2fr);
    }
}
/* Container for the medicine cards */
.medicine-cards-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0.5rem;
    width: 100%;
    overflow: hidden; /* Prevent container scrollbars */
}

/* Medicine card - scrollbar fixes applied */
.medicine-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    width: calc(25% - 1rem);
    box-sizing: border-box;
    min-height: 320px;
    position: relative;
    overflow: hidden; /* Crucial for removing scrollbars */
}

/* Image fixes - no scrollbar guaranteed */
.medicine-card img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    display: block; /* Remove inline spacing */
}

/* Title with proper overflow handling */
.medicine-card h2 {
    font-size: 1rem;
    font-weight: 600;
    color: #1a365d;
    margin: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6em;
}

/* Price styling */
.medicine-card .price {
    font-size: 1.1rem;
    color: #2d3748;
    font-weight: 700;
    margin: 0.5rem 0;
    overflow: hidden; /* Prevent text overflow */
}

/* Button container */
.medicine-card .button-container {
    margin-top: auto;
    overflow: hidden; /* Prevent button overflow */
}

/* Button styles */
.medicine-card button {
    font-family: 'Poppins', sans-serif;
    border: none;
    border-radius: 6px;
    padding: 0.6rem;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    background-color: lightgray;
    color: black;
    overflow: hidden; /* Final safeguard */
}
/* Global scrollbar removal where not needed */
.medicine-card img ::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
}
@-moz-document url-prefix() {
    html, body {
        scrollbar-width: none;
    }
}

.medicine-card button.add-to-cart {
    background-color: royalblue;
}

/* Hover effects */
.medicine-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}


/* Hover Effects */
.medicine-card button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    filter: brightness(1.1);
}

.medicine-card button:hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    animation: shine 1.5s infinite;
}

/* Active State */
.medicine-card button:active {
    transform: scale(0.98);
    filter: brightness(0.9);
}

/* Animation Keyframes */
@keyframes shine {
    100% {
        left: 100%;
    }
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Additional Animation Variations */
.medicine-card button.pulse:hover {
    animation: pulse 1.5s infinite;
}

.medicine-card button.glow:hover {
    box-shadow: 0 0 20px var(--primary-color);
}

.medicine-card button.flow {
    background-size: 200% auto;
    animation: gradientFlow 5s infinite linear;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}
/* Responsive Adjustments */
@media (max-width: 1200px) {
    .medicine-card {
        min-height: 300px;
    }
    
    .medicine-card img {
        height: 160px;
    }
}
@media (max-width: 992px) {
    .medicine-card {
        min-height: 280px;
        padding: 0.8rem;
    }
    
    .medicine-card img {
        height: 140px;
    }
    
    .medicine-card h2 {
        font-size: 0.95rem;
    }
    .medicine-card button {
        font-size: 0.8rem;
        padding: 0.5rem;
    }
}
@media (max-width: 768px) {
    .medicine-card {
        min-height: 260px;
    }
    
    .medicine-card img {
        height: 120px;
    }
    
    .medicine-card .price {
        font-size: 1rem;
    }
}
@media (max-width: 576px) {
    .medicine-card {
        min-height: 240px;
        gap: 0.6rem;
    }
    
    .medicine-card img {
        height: 100px;
    }
    
    .medicine-card h2 {
        font-size: 0.9rem;
        min-height: 2.4rem;
    }
    medicine-card button {
        font-size: 0.75rem;
    }
}
.medicine-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
    padding: 1rem;
}
.medicine-card {
    display: flex; /* Add flex display */
    flex-direction: column; /* Stack children vertically */
    height: auto;
    min-height: 400px;
    overflow: hidden;
    padding: 1rem; /* Set base padding for all sides */
    padding-bottom: 1.5rem; /* Increase bottom padding */
    
}

/* Button Group Container */
.medicine-card button {
    margin-top: auto; /* Pushes button to the bottom */
    /* Rest of your button styles */
}

/* Base Button Fixes */
.medicine-card button {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 8px;
    font-size: 0.85rem;
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}
@media (max-width: 1200px) {
    .medicine-card {
        padding: 0.8rem;
        padding-bottom: 1.5rem;
    }
}

/* Responsive Button Sizing */
@media (max-width: 768px) {
    .medicine-card button {
        font-size: 0.8rem;
        min-height: 32px;
        padding: 0.8rem;
        padding-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    .medicine-card button {
        font-size: 0.6rem;
        min-height: 30px;
        white-space: normal;
        line-height: 1.2;
        padding: 0.8rem;
        padding-bottom: 1.5rem;
    }
}
@media (max-width: 768px) {
    .medicine-card {
        padding-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .medicine-card {
        padding: 0.6rem;
        padding-bottom: 1rem;
    }
}
/* Image Container Adjustment */
.medicine-card img {
    height: 200px; /* Reduce image height */
    flex-shrink: 0; /* Prevent image shrinkage */
}

/* Content Area Fix */
.medicine-card .button{
    margin-top: auto;
    padding-top: 10px;
}


/* Price Section */
.medicine-card .price {
    margin: 8px 0;
    flex-shrink: 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .medicine-card {
        min-height: 360px;
    }
    
    .medicine-card img {
        height: 160px;
    }
}

@media (max-width: 576px) {
    .medicine-card {
        min-height: 320px;
    }
    
    .medicine-card img {
        height: 140px;
    }
    
    .medicine-card h2 {
        font-size: 0.9rem;
    }
    
    .medicine-card button {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
}
/* Medium screens: 2 per row */
@media (max-width: 1024px) {
    .medicine-card {
        flex: 1 1 calc(50% - 20px);
        max-width: calc(50% - 20px);
    }
}

/* Small screens: 2 per row, fix sizes */
@media (max-width: 600px) {
    .medicine-card {
        flex: 1 1 calc(50% - 10px);
        max-width: calc(50% - 10px);
        height: 380px; /* Adjust for small screens */
    }

    .medicine-card img {
        height: 180px; /* Adjust image size */
    }

    .medicine-card button {
        padding: 5px; /* Reduce button size */
        font-size: 0.85rem;
    }
}
.contact-section {
    overflow: hidden !important; /* Ensures no scrolling */
    max-height: fit-content; /* Prevents excessive height */
}
.contact-container {
    overflow: hidden !important; /* Stops any inner scrolling */
    max-height: fit-content !important;
    white-space: nowrap; /* Prevents text from wrapping */
}
.contact-box {
    white-space: nowrap; /* Ensures text stays in one line */
    overflow: hidden; /* Stops any unwanted scrolling */
    text-overflow: ellipsis; /* Optional: Adds "..." if text overflows */
}
.contact-link {
    display: inline-block; /* Prevents link expansion */
    text-decoration: none; /* Removes underlines */
    white-space: nowrap; /* Ensures links don’t wrap */
}
.products-section > .shop-container {
    display: none; /* Hide all by default */
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
}
.products-section > .shop-container.active {
    display: flex; /* Show when active */
}

/* Categories Section */
.categories-section {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 100px;  /* Increased margin to prevent overlap */
    margin-bottom: 50px;
}

.categories-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.category-card {
    width: 200px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 180px;
    border: 0.1px solid;
   border-radius: 3px;
}

.category-card:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.category-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
}

.category-card h3 {
    margin-top: 10px;
    font-size: 0.7em;
    color: royalblue;
    text-decoration: underline;
    font-style: italic;
    overflow: hidden;
}
.category-card::-webkit-scrollbar{
    display: none;
}

/* Products Section (Initially hidden) */
.products-section {
    display: none;
}

.product-category-header {
    text-align: center;
    padding: 20px;
    background-color: #f8f9fa;
    font-size: 1.5em;
    color: #007bff;
    font-weight: bold;
    border-bottom: 2px solid #007bff;
}
.add-to-cart {
    background-color: royalblue;
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

@media (max-width: 768px) {
    .faq-box::-webkit-scrollbar,
    .faq-box *::-webkit-scrollbar {
        display: none;
    }
}
.faq-box p {
    text-align: center;
    margin: 10px auto;
    max-width: 80%;
    word-wrap: break-word;
}
.faq-box i {
   
    overflow: hidden;
}

.faq-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 15px;
    border-radius: 10px;
    overflow: hidden;
}
.faq-container {
    width: 90%;
    max-width: 700px;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    border: 0.2px solid;
}
.faq-item {
    border-bottom: 1px solid #ddd;
    padding: 15px 0;
}

