:root {
    --primary-color: #0e7afd;
    --secondary-color: #6c757d;
    --accent-color: #00d5ac;
    --hover-color: #e9f5ff;
  }
  
  body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
      Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #fff;
    font-size: 14px;
  }
  
  @media (min-width: 1200px) {
    .main-container {
      max-width: 100%;
    }
  }
  
  .top-bar {
    background: #1f845a;
    padding: 5px 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  }
  
  .navbar-brand img {
    max-height: 35px;
  }
  
  .nav-link {
    color: #ffffff;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
    transition: color 0.3s ease;
  }
  
  .nav-link:hover {
    color: var(--primary-color);
  }
  
  .search-container {
    background: #212529;
    padding: 1rem 0;
    text-align: center;
  }
  
  .search-box {
    max-width: 600px;
    margin: 0 auto;
  }
  
  .search-box h1 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
  }
  
  .search-input {
    border-radius: 5px;
    padding: 0.6rem 1.2rem;
    font-size: 1rem;
    border: 1px solid #ddd;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
  }
  
  .search-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(14, 122, 253, 0.25);
  }
  
  .search-button {
    position: absolute;
    right: 15px;
    top: 7px;
    background: none;
    border: none;
    color: #777;
    transition: color 0.3s ease;
  }
  
  .search-button:hover {
    color: var(--primary-color);
  }
  
  .trending-searches {
    margin-top: 0.3rem;
    font-size: 0.75rem;
  }
  
  a {
    text-decoration: none;
    color: #0a7469;
    transition: color 0.3s ease;
  }
  
  a:hover {
    color: var(--primary-color);
  }
  
  .trending-item {
    text-decoration: none;
    margin-right: 0.4rem;
    color: #95d8d1;
    transition: color 0.3s ease, text-decoration 0.3s ease;
}
  
  .trending-item:hover {
    color: var(--primary-color);
    text-decoration: underline;
  }
  
  .featured-banner {
    border-radius: 8px;
    margin-bottom: 0.4rem;
    overflow: hidden;
  }
  
  .carousel-item img {
    height: 350px;
    object-fit: cover;
  }
  
  .carousel-caption {
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 5px;
    padding: 10px;
  }
  
  .quick-links {
    display: flex;
    margin-bottom: 0.4rem;
    gap: 0.4rem;
  }
  
  .quick-link {
    text-decoration: none;
    background: #206b74;
    color: #fff!important;
    border-radius: 10px;
    padding: 0.75rem 0.5rem;
    flex: 1;
    text-align: center;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #e0e9f7;
    font-weight: bold;
    padding: 24px 0px;
    font-size: 15px;
  }
  


  .quick-link:hover {
    background: #2598a5;
 
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  
  .quick-link i {
    display: inline;
    margin-bottom: 0.3rem;
    color: #e2e8ef;
    font-size: 27px;
    margin-right: 10px;
    transition: transform 0.3s ease;
  }
  
  .quick-link:hover i {

  }
  
  .section-title {
    padding: 0.5rem 0.75rem;
    border-radius: 5px;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
    text-align: center;
    padding: 20px !important;
    font-size: 22px;
    font-weight: bold;
    display: block;
    position: unset;
  }
  
  .drug-card {
    background: white;
    border-radius: 6px;
    padding: 0.75rem;
    margin-bottom: 0.75rem;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    position: relative;
    overflow: hidden;
    box-shadow: 1px 1px 2px 0px #969ea4;
  }
  
  .drug-card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
  }
  
  .drug-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
    transition: transform 0.3s ease;
  }
  
  .card-category {
    font-size: 0.65rem;
    text-transform: uppercase;
    color: #777;
    margin-bottom: 0.2rem;
    font-weight: 600;
    transition: color 0.3s ease;
  }
  
  .drug-card:hover .card-category {
    color: var(--primary-color);
  }
  
  .card-title {
    font-size: 0.85rem;
    margin-bottom: 0.2rem;
    color: #202020;
    font-weight: 500;
    transition: color 0.3s ease;
  }
  
  .drug-card:hover .card-title {
    color: var(--primary-color);
  }
  
  .card-date {
    font-size: 0.7rem;
    color: #999;
    margin-top: auto;
  }
  
  .three-column-section {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
  }
  
  .column {
    flex: 1;
  }
  
  .column-header {
    background: #ffffff;
    padding: 0.4rem;
    border-radius: 3px 3px 0 0;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    text-align: justify;
    padding-bottom: 10px;
  }
  
  .job-listing,
  .news-item,
  .health-day {
    display: flex;
    margin-bottom: 0.5rem;
    padding: 10px 8px;
    border-bottom: 1px solid #eee;
    background: #fff;
    transition: all 0.3s ease;
    border-radius: 4px;
  }
  
  .job-listing:hover,
  .news-item:hover,
  .health-day:hover {
    background: #dde0f7;
  }
  
  .listing-logo {
    width: 100px;
    height: 100%;
    margin-right: 0.75rem;
    border-radius: 4px;
    overflow: hidden;
  }
  
  .listing-details h3 {
    font-size: 0.8rem;
    margin-bottom: 0.2rem;
    transition: color 0.3s ease;
  }
  
  .job-listing:hover .listing-details h3,
  .news-item:hover .listing-details h3,
  .health-day:hover .listing-details h3 {
    color: var(--primary-color);
  }
  
  .listing-meta {
    font-size: 0.7rem;
    color: #777;
  }
  
  .sidebar-ad {
    background: #fff;
    border-radius: 6px;
    padding: 0.5rem;
    margin-bottom: 0.75rem;
    border: 1px solid #eee;
    transition: all 0.3s ease;
  }
  
  .sidebar-ad:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  
  .price-section {
    background: #fff;
    border-radius: 6px;
    padding: 0.75rem;
    border: 1px solid #eee;
    transition: all 0.3s ease;
  }
  
  .price-section:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  
  .price-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
  }
  
  .price-card {
    padding: 0.6rem 0.8rem;
    border-radius: 8px;
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
    border-left: 3px solid var(--primary-color);
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .price-card:hover {
    background-color: var(--hover-color);
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  }
  
  .price-title {
    font-size: 0.75rem;
    color: var(--primary-color);
    font-weight: 500;
  }
  
  .price-meta {
    font-size: 0.65rem;
    color: #777;
  }
  
  .price-info {
    flex: 1;
  }
  
  .price-percentage {
    background-color: #ff5722;
    color: white;
    border-radius: 4px;
    padding: 3px 6px;
    font-size: 0.7rem;
    font-weight: bold;
    margin-left: 8px;
    white-space: nowrap;
  }
  
  /* For lower percentages */
  .percentage-low {
    background-color: #ff9800;
  }
  
  /* For higher percentages */
  .percentage-high {
    background-color: #f44336;
  }
  
  .card-row {
    margin-bottom: 0rem;
  }
  
  .main-container {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }
  
  .newpublish {
    background-color: #c2ddfc;
    border-radius: 10px;
    padding: 15px;
  }
  
  .newpublishinner {
    max-width: 900px;
    margin: auto;
    padding: 10px;
    border-radius: 10px;
  }
  
  .newly-published-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 20px;
  }
  
  .new-drug-card {
    background: white;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border-left: 3px solid transparent;
  }
  
  .new-drug-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-left: 3px solid var(--primary-color);
  }
  
  .new-drug-category {
    color: var(--secondary-color);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 5px;
  }
  
  .new-drug-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
    transition: color 0.3s ease;
  }
  
  .new-drug-card:hover .new-drug-title {
    color: var(--primary-color);
  }
  
  .new-drug-manufacturer {
    font-size: 0.8rem;
    color: #777;
    margin-top: auto;
  }
  
  .new-drug-date {
    font-size: 0.7rem;
    color: #999;
    margin-top: 5px;
  }
  
  @media (max-width: 768px) {
    .three-column-section {
      flex-direction: column;
    }
  
    .quick-links {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      margin-bottom: 0.4rem;
      gap: 0.4rem;
    }
  
    .carousel-item img {
      max-height: 195px;
    }
  
    .sidebar {
      margin-top: 1rem;
    }
  
    .newly-published-grid {
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
  }
  
  /* Carousel */
  
  .carousel-container {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
  }
  
  .carousel {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
  }
  
  .slide {
    min-width: 100%;
    height: 100%;
    position: relative;
  }
  
  .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .slide-content {
    position: absolute;
    bottom: 100px;
    left: 100px;
    color: white;
    max-width: 400px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
  }
  
  .slide-content h2 {
    font-size: 2rem;
    margin-bottom: 10px;
  }
  
  .slide-content p {
    font-size: 1rem;
    margin-bottom: 15px;
  }
  
  .btn-carousel {
    display: inline-block;
    padding: 8px 20px;
    background-color: #ff5722;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  }
  
  .carousel-nav {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
  }
  
  .nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s;
  }
  
  .nav-dot.active {
    background: white;
  }
  
  .carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s;
  }
  
  .carousel-arrow:hover {
    background: rgba(0, 0, 0, 0.6);
  }
  
  .prev {
    left: 20px;
  }
  
  .next {
    right: 20px;
  }
  
  .drug-card.d-flex img {
    width: 59px;
  }
  
  @media (max-width: 768px) {
    .carousel-container {
      position: relative;
      width: 100%;
      height: 240px;
      overflow: hidden;
    }
  }
  
  /* Enhanced Drug Classes Styling */
  .category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 2rem;
  }
  
  .category-btn {
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  }
  
  .category-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  .category-btn.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: scale(1.05);
  }
  
  .btn-hover-effect {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  .subcategories-section {
    margin-bottom: 2rem;
    transition: all 0.3s ease;
  }
  
  .subcategories-section .card {
    border: none;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-radius: 0.5rem;
    overflow: hidden;
  }
  
  .subcategories-section .card-header {
    background-color: #f8f9fa;
    border-bottom: none;
    padding: 1rem 1.5rem;
  }
  
  .subcategory-list {
    padding: 1rem;
  }
  
  .subcategory-list .card {
    transition: all 0.3s ease;
    height: 100%;
    border: none;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  }
  
  .subcategory-list .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
  }
  
  .subcategory-list .card-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.75rem;
  }
  
  .hover-card {
    transition: all 0.3s ease;
  }
  
  .hover-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1) !important;
  }
  
  .drug-class-description {
    line-height: 1.6;
    color: #444;
    margin-bottom: 1.5rem;
    font-size: 1rem;
  }
  
  /* Table styles */
  .table-striped > tbody > tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.02);
  }
  
  .table th {
    font-weight: 600;
    color: #444;
    background-color: #f8f9fa;
    border-top: none;
    padding: 0.75rem 1rem;
  }
  
  .table td {
    padding: 0.75rem 1rem;
    vertical-align: middle;
  }
  
  .table-hover tbody tr:hover {
    background-color: rgba(0, 123, 255, 0.05);
  }
  
  .btn-link {
    color: #212529;
    padding: 0;
    text-decoration: none;
  }
  
  .btn-link:hover {
    color: var(--primary-color);
  }
  
  .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
  }
  
  .btn-primary:hover {
    background-color: #0069d9;
    border-color: #0062cc;
  }
  
  .btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
  }
  
  .btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
  }
  
  /* Animation for fade-in effects */
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  .fade-in-element {
    animation: fadeIn 0.5s ease forwards;
  }
  
  /* Responsive fixes */
  @media (max-width: 768px) {
    .category-pills {
      justify-content: center;
    }
    
    .subcategory-list .col-md-4 {
      margin-bottom: 1rem;
    }
    
    .card-header {
      padding: 0.75rem 1rem;
    }
    
    .table-responsive {
      border: none;
    }
  }
  
  /* Breadcrumb styling */
  .breadcrumb {
    background-color: transparent;
    padding: 10px 0;
    margin-bottom: 20px;
  }
  
  .breadcrumb-item + .breadcrumb-item::before {
    content: ">";
  }
  
  .breadcrumb-item.active {
    color: var(--primary-color);
    font-weight: 600;
  } 