/* Import Graphik Font */
@font-face {
  font-family: "Graphik";
  src: url("font/GraphikRegular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
}

/* Import Graphik SemiBold */
@font-face {
  font-family: "Graphik";
  src: url("font/GraphikSemibold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
}

/* Root Variables */
:root {
  /* Colors */
  --color-white: #ffffff;
  --color-orange: #ff6a39;
  --color-orange-hover: #e64a19;
  --color-purple: #6a6dcd;
  --color-purple-hover: #5558b0;

  /* Layout */
  --header-padding: 15px 0;
  --section-padding: 0 20px 100px;

  /* Logo */
  --logo-height: 64px;
  --logo-max-width: 116px;

  /* Buttons */
  --btn-radius: 8px;
  --btn-padding: 12px 18px;
  --btn-font-weight: 600;
  --btn-transition: 0.3s;

  /* Background patterns */
  --pattern1-size: 1220px auto;
  --pattern2-size: 1100px auto;

  /* Font */
  --font-regular: "Graphik", Arial, sans-serif;
  --font-semibold: "Graphik", Arial, sans-serif;
}

/* Apply Regular font for body & p */
body,
p {
  font-family: var(--font-regular);
  font-weight: 400;
  /* Regular */
}

/* Apply SemiBold font for headings */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-semibold);
  font-weight: 600;
}

.container {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
}

::-webkit-scrollbar-track {
  box-shadow:  transparent;
}

::-webkit-scrollbar {
  width: 5px !important;
  height: 5px !important;
}
  
::-webkit-scrollbar-thumb {
  background: #ff6a39;
  border-radius: 5px;
}

/* Hero Banner */
.hero-banner {
  min-height: 100vh;
  background: linear-gradient(#004073cc, #004073cc),
    url("image/home-bg.svg") center center / cover no-repeat;
  padding: var(--section-padding);
  position: relative;
  overflow: hidden;
}

/* Mesh background effect */
.hero-banner::before {
  content: none;
}

/* Make sure everything sits above background */
.hero-banner > * {
  position: relative;
  z-index: 1;
}

/* banner sec */
.banner-sec {
  max-width: 1164px;
  width: 100%;
  margin: 0 auto;
  text-align: left;
  margin-top: 120px;
}

.banner-sec h1 {
  font-size: 61px;
  line-height: 110.00000000000001%;
  letter-spacing: 0% !important;
}

.banner-sec p {
  font-size: 18px;
  color: #d6d6d6 !important;
}

.devider {
  border-left: 1px solid #d9d9d9;
  height: 80px;
}

/* Header */
.custom-header {
  background: transparent;
  padding: var(--header-padding);
}

/* Logo */
.logo {
  height: var(--logo-height);
  max-width: var(--logo-max-width);
}

/* Nav Links */
.nav-link {
  color: var(--color-white) !important;
  font-size: 15px;
  transition: var(--btn-transition);
}

.nav-link:hover {
  text-decoration: underline;
}

/* Buttons */
.btn-orange {
  background-color: var(--color-orange);
  color: var(--color-white);
  font-weight: var(--btn-font-weight);
  border-radius: var(--btn-radius);
  padding: var(--btn-padding);
  transition: var(--btn-transition);
}

.btn-purple {
  background-color: var(--color-purple);
  color: var(--color-white);
  font-weight: var(--btn-font-weight);
  border-radius: var(--btn-radius);
  padding: var(--btn-padding);
  transition: var(--btn-transition);
}

/* Categories Section */
.categories-section {
  padding: 120px 0;
}

.categories-section .text-danger {
  color: var(--color-orange) !important;
}

.categories-section h2 {
  font-size: 48px;
  line-height: 104%;
}

.category-card {
  background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
  border-radius: 22px;
  text-align: left;
  box-shadow: 0px 3px 5px 0px #0000001f;
  transition: all 0.5s ease;
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.8s ease;
}

.category-card:hover::before {
  left: 100%;
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.8);
  background: linear-gradient(135deg, #fff 0%, #ffffff 100%);
}

.category-card h5 {
  font-size: 24px;
  margin-bottom: 20px;
}

.category-card p {
  font-size: 14px;
  color: #555;
  margin-bottom: 0px;
}

.explor-sec {
  background: #ff6a390d;
  padding: 8px 24px;
  border-end-end-radius: 22px;
  border-end-start-radius: 22px;
}

@media (max-width: 768px) {
  .categories-section h2 {
    font-size: 24px;
  }
}

/* Explore Button */
.btn-explore {
  border: 1px solid var(--color-orange);
  font-weight: 400;
  color: var(--color-orange);
  background-color: #ff6a390d;
  border-radius: 8px;
  padding: 8px 8px;
  font-size: 16px;
}

/* Center Image */
.image-box {
  position: relative;
  display: inline-block;
}

/* suitability section */
.suitability-section {
  position: relative;
  overflow: hidden;
  padding: 0px;
}

.suitability-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.suitability-content {
  background-color: var(--color-orange);
  padding: 32px;
  max-width: 577px;
  width: 100%;
  color: #fff;
  margin-left: auto;
  transform: translateY(-50%);
}

.suitability-content h2 {
  font-weight: 600;
  font-size: 48px;
  line-height: 104%;
}

.suitability-content p {
  margin: 15px 0 25px;
  font-weight: 400;
  font-size: 16px;
  line-height: 126%;
}

.suitability-content .btn {
  background-color: var(--color-purple);
  color: #fff;
  font-weight: 500;
  border-radius: var(--btn-radius);
  padding: 12px 24px;
}

@media (max-width: 768px) {
  .image-box {
    display: none;
  }
}

/* why us section */
.why-us-section {
  padding: 0px 0px 120px 0px;
  background-color: #fff;
}

.why-us-section h6 {
  color: var(--color-orange);
  font-weight: 600;
  font-size: 16px;
  margin: 15px 0px 10px 0px;
  line-height: 110.00000000000001%;
}

.why-us-section h2 {
  font-weight: 700;
  font-size: 32px;
}

.why-us-section p {
  font-size: 16px;
  margin-bottom: 20px;
}

.why-us-list img {
  width: 28px;
  height: 28px;
}

.why-us-list h5 {
  font-weight: 600;
  margin-bottom: 6px;
}

.why-us-list p {
  margin: 0;
  font-size: 15px;
}

.why-us-img {
  position: relative;
}

.why-us-img img {
  max-width: 100%;
}

/* footer section */
.footer {
  padding: 50px 0 24px 0;
}

.footer-logo img {
  max-width: 135px;
  width: 100%;
  max-height: 74px;
  height: auto;
}

.footer-text {
  font-size: 16px;
  line-height: 1.7;
  color: #7c878e;
  margin-bottom: 0;
}

.footer-last-txt {
  text-align: justify;
  font-size: 14px;
}

.footer-strong {
  color: #000;
  font-size: 14px;
}

.footer-bottom {
  font-size: 14px;
  color: #000;
  margin-top: 34px;
}

.social-icons {
  margin-top: 50%;
  display: flex;
}

.social-icons a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Keep your existing desktop CSS as-is */

/* Mobile Header */
.navbar-toggler {
  border: none;
  background: transparent;
}

.navbar-toggler-icon {
  background-image: url("image/menu-bar.svg");
  width: 30px;
  height: 30px;
  background-size: contain;
  background-repeat: no-repeat;
}

/* Mobile menu (<768px) */
.mobile-menu {
  width: 100%;
  background: #002c50;
  padding: 16px;
  margin-top: 10px;
}

.mobile-menu nav {
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.mobile-menu .btn {
  width: 100%;
  justify-content: center;
}

/* Desktop menu override */
@media (min-width: 768px) {
  .mobile-menu {
    display: none;
    /* Mobile div hidden on desktop */
  }
}

/* Responsive fixes */
@media (max-width: 991px) {
  .banner-sec {
    margin-top: 120px;
    padding: 0 15px;
  }

  .banner-sec h1 {
    font-size: 40px;
  }

  .banner-sec p {
    font-size: 16px;
  }

  .suitability-content {
    transform: none;
    margin: -0px auto 0;
    max-width: 90%;
  }
}

@media (max-width: 576px) {
  .hero-banner {
    padding: 0px;
    min-height: 90vh;
  }

  .banner-sec {
    margin-top: 80px;
  }

  .banner-sec h1 {
    font-size: 30px;
  }

  .banner-sec p {
    font-size: 14px;
  }

  .btn-orange,
  .btn-purple {
    width: 100%;
  }

  .suitability-content h2 {
    font-size: 26px;
  }

  .why-us-section h2 {
    font-size: 22px;
  }

  .social-icons {
    justify-content: center;
    margin-top: 30px;
  }
}

@media (max-width: 576px) {
  .why-us-section {
    padding: 50px 0;
    text-align: center;
  }

  .why-us-img {
    margin-bottom: 20px;
  }

  .why-us-section h2 {
    font-size: 22px;
    line-height: 1.3;
  }

  .why-us-list {
    flex-direction: column;
  }

  .why-us-list .col-sm-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .why-us-list h5 {
    font-size: 16px;
    text-align: left;
  }

  .why-us-list p {
    font-size: 14px;
    text-align: left;
  }

  .footer-text {
    text-align: justify;
  }

  .footer-last-txt {
    text-align: justify;
  }

  .footer {
    padding: 0;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .custom-header .container-fluid {
    gap: 16px;
    text-align: center;
  }

  .right-side {
    flex-direction: column;
    gap: 12px;
  }

  .banner-sec {
    margin-top: 30px;
    padding: 0 10px;
  }

  .banner-sec h1 {
    font-size: 32px;
  }

  .banner-sec p {
    font-size: 14px;
  }

  .btn-orange,
  .btn-purple {
    width: 100%;
    justify-content: center;
  }

  .categories-section {
    padding: 60px 0;
  }

  .category-card {
    margin-bottom: 20px;
  }

  .suitability-content h2 {
    font-size: 28px;
  }

  .suitability-content p {
    font-size: 14px;
  }

  .why-us-section h2 {
    font-size: 24px;
  }

  .why-us-list {
    flex-direction: column;
  }

  .social-icons {
    margin-top: 40px;
    justify-content: center;
  }
}

/* ------------------------------------------------------------- */

/* digital product */
.inner-section {
  background: radial-gradient(50% 50% at 50% 50%, #b8baf4 0%, #f9f9f9 100%);
  padding-top: 50px;
}

/* Hero Banner */
.hero-banner-sec {
  position: relative;
  min-height: 80vh;
  padding: var(--section-padding);
  display: flex;
  padding-bottom: 0px;
  flex-direction: column;
  justify-content: flex-start;
  color: #fff;
  overflow: hidden;
}

/* Background applied here */
.digital-prduct-banner {
  background: linear-gradient(#004073cc, #004073cc),
    url("image/digital-bg.jpg") center center / cover no-repeat;
}

/* Ensure content is above background */
.hero-banner-sec > * {
  position: relative;
  z-index: 2;
}

/* Header Styling */
.custom-header {
  position: relative;
  z-index: 2;
}

/* Buttons */
.btn-orange {
  background: #ff7133;
  color: #fff;
  border-radius: 8px;
  padding: 8px 16px;
  font-weight: 500;
  border: none;
}

.btn-purple {
  background: #6a5acd;
  color: #fff;
  border-radius: 8px;
  padding: 8px 16px;
  font-weight: 500;
  border: none;
}

/* Banner Content */
.banner-content {
  max-width: 1250px;
  margin: 50px auto 40px auto;
  text-align: center;
  padding: 20px;
}

.banner-content h1 {
  font-size: 48px;
  font-weight: 600;
  line-height: 104%;
}

.banner-content p {
  font-size: 16px;
  margin-top: 10px;
  color: #e1e1e1;
  padding: 0px 70px;
}

/* Outer Search Box */
.search-box {
  background: #fff;
  border-radius: 20px;
  padding: 13px 13px 0px 13px;
  margin: 40px auto 0px auto;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

/* Main Search Input */
.search-input {
  display: flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 14px 14px;
  margin: 12px;
  background: #fff;
}

.search-input svg {
  margin-right: 10px;
  flex-shrink: 0;
}

.search-input input {
  border: none;
  outline: none;
  flex: 1;
  font-size: 1rem;
}

.search-input input:focus {
  outline: none;
  box-shadow: none;
}

/* Filter Container */
.filter-box {
  background: #f7f7fb;
  padding: 12px;
  margin-top: 0px;
  border-end-end-radius: 20px;
  border-end-start-radius: 20px;
}

.filter-txt {
  font-size: 14px;
  color: #000;
  line-height: 110.00000000000001%;
  text-align: left;
  margin: 20px 0px 16px 0px;
}

/* Dropdowns + Inputs */
.filter-box .form-select,
.filter-box .form-control {
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 10px;
  font-size: 0.9rem;
}

.filter-box .form-select:focus,
.filter-box .form-control:focus {
  border-color: #6a5acd;
  box-shadow: 0 0 0 2px rgba(106, 90, 205, 0.15);
}

@media (max-width: 768px) {
  .banner-content {
    padding: 0;
    margin-top: 25px;
  }

  .banner-content h1 {
    font-size: 24px;
  }

  .banner-content p {
    padding: 0;
    font-size: 12px;
  }

  .filter-box {
    padding: 15px 0;
    margin-top: 0;
  }
}

/* Data table section */

.main-table-section {
  background: white;
  border: 12px solid #8787871a;
  border-radius: 32px;
  padding: 30px 0px;
  box-shadow: -4px var(--sds-size-depth-400) 45px 2px #0c0c0d1a;
  margin: 0 auto;
}

.header-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px 30px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 15px;
}

.header-section h5 {
  font-weight: 600;
  font-size: 18px;
  color: #2c3e50;
  margin: 0;
}

.btn-orange {
  background: #ff6a39;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  width: fit-content;
}

.btn-purple {
  background: #6366f1;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.button-group {
  display: flex;
  gap: 10px;
}

.table-container {
  overflow-x: auto;
  margin-bottom: 20px;
}

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

thead {
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
  background: #f9fafb;
}

th {
  padding: 16px 12px;
  text-align: left;
  font-weight: 600;
  font-size: 14px;
  border-bottom: 1px solid #e5e7eb;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  position: relative;
}

th:hover {
  background: #f3f4f6;
}

th .sort-icon {
  margin-left: 8px;
  display: inline-block;
  opacity: 0.5;
  transition: all 0.3s;
}

th.sorted .sort-icon {
  opacity: 1;
  color: #ff6a39;
}

td {
  padding: 20px 12px;
  border-bottom: 1px solid #f3f4f6;
  vertical-align: middle;
  font-size: 14px;
  font-weight: 400;
}

strong {
  font-weight: 400 !important;
}

tbody tr:hover {
  background: #f9fafb;
}

tbody tr:last-child td {
  border-bottom: none;
}

.badge-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  margin-right: 6px;
  margin-bottom: 4px;
}

.badge-renal {
  background: #dbeafe;
  color: #1e40af;
}

.badge-process {
  background: #f3e8ff;
  color: #7c3aed;
}

.price-text {
  color: #ff6a39;
  font-weight: 400;
  font-size: 14px;
}

.btn-view-product {
  background: #fff;
  color: #ff6a39;
  border: 1px solid #ff6a39;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  align-items: center;
  font-size: 14px;
  transition: all 0.3s;
  text-wrap-mode: nowrap;
}

.scroll-more-wrapper {
  position: relative;
  text-align: center;
  margin: 40px 0;
}

.scroll-more-wrapper .line {
  border: none;
  border-top: 1px solid #ddd;
  margin: 0;
}

.scroll-more-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 5px;
}

.scroll-more-text span {
  color: #999;
  font-weight: 500;
  font-size: 14px;
}

#load-more {
  width: 30px;
  height: 30px;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background-color: transparent;
}

/* Popup Modal Style */
.custom-modal .modal-content {
  border-radius: 18px;
  padding: 20px;
  border: none;
}
.custom-modal .modal-header {
  border: none;
  padding-bottom: 0;
}

.modal-title {
  font-size: 32px;
  font-weight: 600;
}

button.btn-close {
  background-color: rgba(185, 185, 185, 1);
  border-radius: 50px;
  font-size: 12px;
}

.custom-modal .modal-body {
  padding-top: 0;
}
.share-btn {
  background-color: #ff6a39;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px;
  font-weight: 500;
  width: 100%;
  transition: 0.3s;
}

@media (max-width: 768px) {
  /* Modal width and padding */
  .custom-modal .modal-dialog {
    margin: 1rem;
  }

  .custom-modal .modal-header {
    padding-bottom: 10px;
  }

  .custom-modal .modal-content {
    padding: 16px;
    border-radius: 14px;
  }

  /* Title font size */
  .modal-title {
    font-size: 24px;
  }

  /* Description text */
  .custom-modal .modal-body p {
    font-size: 14px;
    line-height: 1.4;
  }

  /* Labels and input fields */
  .custom-modal .form-label {
    font-size: 14px;
  }

  .custom-modal .form-control {
    font-size: 14px;
    padding: 10px;
  }

  /* Share button */
  .share-btn {
    padding: 10px;
    font-size: 14px;
  }

  .share-btn img {
    width: 14px;
  }

  /* Close button */
  .button.btn-close {
    font-size: 8px;
  }
}

@media (max-width: 480px) {
  /* Even smaller screens (mobile portrait) */
  .modal-title {
    font-size: 20px;
  }

  .custom-modal .modal-header {
    padding-bottom: 10px;
  }

  .custom-modal .modal-content {
    padding: 14px;
  }

  .custom-modal .modal-body p {
    font-size: 13px;
  }

  .share-btn {
    font-size: 13px;
    padding: 9px;
  }

  .share-btn img {
    width: 12px;
  }

  /* Close button */
  .button.btn-close {
    font-size: 8px;
  }
}

@media (max-width: 768px) {
  .main-table-section {
    padding: 20px 15px;
  }

  .header-section {
    flex-direction: column;
    align-items: flex-start;
  }

  .button-group {
    width: 100%;
    flex-direction: column;
  }

  .btn-orange,
  .btn-purple {
    width: 100%;
    justify-content: center;
  }

  th,
  td {
    padding: 12px 8px;
    font-size: 13px;
  }
}

.btn-outline-red {
      color: #dc3545; /* Bootstrap red */
      border-color: #dc3545;
      background-color: transparent;
    }

    .btn-outline-red:hover {
      color: #fff;
      background-color: #dc3545;
      border-color: #dc3545;
    }

