body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}


/* NAVBAR CSS */

.clinic-heading {
    font-family: 'Roboto', sans-serif; 
    font-weight: bold;
    color: #0d1b3d; 
    letter-spacing: 2px; 
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2); 
    margin-bottom: 5px;
  }
  
  @media (max-width: 1200px) {
  .clinic-heading {
    font-size: 2rem;
  }
  }
  
  @media (max-width: 992px) {
  .clinic-heading {
    font-size: 1.8rem;
  }
  }
  
  @media (max-width: 768px) {
  .clinic-heading {
    font-size: 1.6rem;
  }
  }
  
  @media (max-width: 576px) {
  .clinic-heading {
    font-size: 1.4rem;
  }
  }
  
  
  
  /* MEDIA QUERIES OF DROPDOWN HOME */
  
  @media (max-width: 768px) {
  .dropdown-menu {
    width: 100%;
    padding: 20px;
  }
      
  .dropdown-item {
    padding: 15px;
    font-size: 1.1rem;
  }
  }
      
  @media (max-width: 576px) {
  .dropdown-menu {
    width: 100%;
    padding: 15px;
    border-radius: 0;
  }
      
  .dropdown-item {
    padding: 12px;
    font-size: 1rem;
  }
  }
  @media (max-width: 480px) {
  .dropdown-menu {
    padding: 10px;
  }
      
  .dropdown-item {
    padding: 10px;
    font-size: 0.9rem;
  }
  }
  .navbar-nav .nav-link:hover {
    color: blue;
    border-radius: 5px;
  }
    
  .navbar-nav .nav-link {
    font-size: 16px;
    color: green;
    font-weight: bold;
    padding-left: 20px;
    text-transform: uppercase;
    transition: color 0.3s ease;
  }
    
  .navbar-nav .nav-link:hover {
    color: #0056b3;
    border-bottom: 3px solid #007BFF;
  }
  
  
    /* DROPDOWN CSS */
  
  .stylish-dropdown {
    border-radius: 8px; 
    padding: 10px; 
    }
    
  .stylish-dropdown .dropdown-item {
    color:green ;
    font-weight: 500;
  }
  
  .stylish-dropdown .dropdown-item:hover{
    color: blue;
  }

header {
    background-color: #0d1b3d;
    color: #fff;
    padding: 10px 0;
}

.top-menu {
    display: flex;
    justify-content: center;
    align-items: center;
}

.top-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.top-menu li {
    margin: 0 15px;
}

.top-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    padding: 5px 10px;
}

.top-menu a:hover {
    background-color: #0056b3;
    border-radius: 4px;
}

main {
    padding: 20px;
}

.category-section {
    margin-bottom: 40px;
}

.category-section h2 {
    font-size: 24px;
    margin-bottom: 20px;
    border-bottom: 2px solid #007bff;
    padding-bottom: 20px;
}

.product-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Centering the cards */
    gap: 20px;
}

.product-card {
    width: calc(25% - 20px); 
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    box-sizing: border-box;
}

.product-card img {
    width: 100%;
    height: auto;
}

.product-card .product-info {
    padding: 15px;
    text-align: center;
}

.product-title {
    font-size: 18px;
    margin: 0 0 10px;
}

.product-description {
    font-size: 14px;
    color: #666;
    margin: 0 0 10px;
}

.product-price {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    display: block;
    margin: 0 0 10px;
}

.add-to-cart-button {
    background-color: #007bff;
    border: none;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    padding: 10px 15px;
    text-transform: uppercase;
    transition: background-color 0.3s;
    margin-top: 10px;
}

.add-to-cart-button:hover {
    background-color: #0056b3;
}


#cart {
    display: none; /* Initially hidden */
    background-color: #fff;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: absolute; /* Make it overlay */
    top: 60px; /* Adjust as needed */
    right: 20px; /* Adjust as needed */
    width: 300px; /* Set a width for the cart */
    z-index: 1000; /* Make sure it overlays other content */
}

#cart h2 {
    margin-top: 0;
}
#cart-items {
    list-style: none;
    padding: 0;
}

#cart-items li {
    display: flex;
    align-items: center;
    margin-bottom: 10px; /* Space between items */
}

#cart-items img {
    width: 50px; /* Set image width */
    height: auto; /* Maintain aspect ratio */
    margin-right: 10px; /* Space between image and text */
}

/* Responsive Design */
@media (min-width: 2000px) {
    .product-card {
        width: calc(20% - 20px); 
    }
}

@media (min-width: 1600px) and (max-width: 1999px) {
    .product-card {
        width: calc(25% - 20px); 
    }
}

@media (max-width: 1200px) {
    .product-card {
        width: calc(33.333% - 20px);
    }
}

@media (max-width: 900px) {
    .product-card {
        width: calc(50% - 20px); 
    }
}

@media (max-width: 600px) {
    .product-card {
        width: calc(100% - 20px); 
    }
}



/* FOOTER CSS */

  .footer {
    background-color: #0d1b3d;
    color: #fff;
    padding: 40px 0;
    font-size: 15px;
  }
  .footer h5 {
    font-weight: bold;
    margin-bottom: 20px;
  }
  .footer p {
    color: #b5b9bf;
  }
  .footer a {
    color: #b5b9bf;
    text-decoration: none;
  }
  .footer a:hover {
    color: #fff;
    text-decoration: none;
  }
  .footer .icon {
    margin-right: 10px;
  }
  .footer .social-icons a {
    margin-right: 10px;
    display: inline-block;
    font-size: 20px;
    color: #b5b9bf;
  }
  .footer .social-icons a:hover {
    color: #fff;
  }
  .footer .opening-hours i {
    margin-right: 10px;
  }
  .footer .copyright {
    margin-top: 30px;
    text-align: center;
    color: white;
  }
  
  .back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #1f73f0;
    color: white;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }
  
  /* Media queries */
  @media (max-width: 767px) {
  .footer {
    text-align: center;
  }
  .footer .col-md-3 {
    margin-bottom: 20px;
  }
  }
  
  .ankor{
    margin-left: 10px;
  }
  
  .links{
    margin-left: 20px;
  }
  
  .others{
    margin-left: 20px;
  }
  
  #clock{
    font-size: 30px;
  }
  
  #phone{
    font-size: 20px;
    color: white;
  }
  #location{
  
    font-size: 20px;
    color: white;
  }
  #envelope{
  
    font-size: 20px;
    color: white;
  }
  
  
  #facebook{
  
    font-size: 30px;
    color: white;
  
  }
  #insta{
  
    font-size: 30px;
    color: white;
  
  }
  #twitter{
    font-size: 30px;
    color: white;
  }