@font-face {
  font-family: Apex New Trial;
  src: url("~/ApexNewTrial-Medium-BF66724ea5881a1.otf");
}

:root {
  --primary-font-family: Apex New Trial;
  --secondary-font-family: Tahoma;
  --primary-font: Apex New Trial;
  --secondary-font: Tahoma;
  --dark-gradient: linear-gradient(90deg, #D42E12 -7.18%, #AF1900 109.08%);
  --primary-blue: #1C3687;
  --icon-color: #6EAB24;
  --primary-green: #D42E12;
  --primary-color: #E44124;
  --Primary-Green: #7DBA00;
  --dark-grey: #2E2C2C;
  --green-grey: #A2A89A;
  --mono-colours-mid-light-grey: #DFDFDF;
  --light-green: #F7FFEE;
  --white: #FFFFFF;
  --kendo-color-border: rgba(33, 33, 33, 0.12);
  --stone-100: #66594D;
  --stone-50: rgba(102, 89, 77, 0.50);
  --border-radius-null: 0px;
  --letter-spacing-null: 1px;
  --kendo-spacing-0: 0px;
  --kendo-spacing-2: 8px;
  --kendo-spacing-3: 12px;
  --kendo-spacing-4: 16px;
  --kendo-spacing-6: 24px;
  --kendo-spacing-15: 60px;

  --primary-font-size: 18px;
  --secondary-font-size: 16px;
  --tertiary-font-size: 14px;
  --quaternary-font-size: 12px;

  --primary-font-weight: 700;
  --secondary-font-weight: 400;
}

html,
body {
  font-family: var(--primary-font-family);
  background-color: #F5F5F5;
  cursor: default;
}

p {
  font-family: var(--secondary-font-family, Tahoma);
}

.primary-font {
  font-family: var(--primary-font-family);
}

.secondary-font {
  font-family: var(--secondary-font-family);
}

.full-height {
  height: 100%;
}

.k-loader-primary {
  color: var(--icon-color) !important;
}

.primary-color {
  color: var(--Primary-Green);
}

.secondary-color {
  color: var(--stone-100, #66594D);
}

.font-weight-700 {
  font-weight: 700;
}

.static-top.navbar-dark {
  background-color: var(--white);
}

.custom-icon-color {
  color: var(--icon-color);
}

.background-white {
  background-color: var(--white);
}

.text-color-white {
  color: var(--white);
}

.hide {
  display: none !important;
}

.cursor {
  cursor: pointer;
}

/* Ensure navbar is in front of the welcome content */
.navbar {
  position: relative;
  z-index: 10;
  /* Increase this to ensure it stays in front of other elements */
}

/* Adjust the dropdown menu to stay visible on top */
.navbar-collapse {
  z-index: 11;
  /* Ensure dropdown is above other navbar elements */
  background-color: rgba(255, 255, 255, 0.95);
  /* Make the dropdown slightly opaque */
}

/* Title and description adjustments */
.welcome-row {
  z-index: 1;
  /* Pushes this below the navbar */
}

/* Optional: To add a fading effect behind the navbar menu */
.navbar-collapse.show+.welcome-row {
  opacity: 0.5;
  /* Lower opacity when the menu is expanded */
  transition: opacity 0.3s ease-in-out;
  /* Smooth transition effect */
}

.navbar-height {
  height: 115px;
}

.static-top.navbar .menu-bar>.navbar-nav>li>a {
  font-family: var(--primary-font-family);
  font-weight: 400;
  font-size: 18px;
  border: 1px solid transparent;
  line-height: 30px;
}

.static-top.navbar .menu-bar>.navbar-nav>li>a:hover {
  text-decoration: underline;
}

.footer-height {
  height: 135px;
}

.welcome-row {
  display: flex;
  height: 369px;
  padding: 0px 147px;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 4px;
  background: url('/1440.jpg');
  background-repeat: no-repeat;
  background-size: cover;
}

.welcome-header {
  font-family: var(--primary-font-family);
  color: var(--white);
  font-feature-settings: 'clig' off, 'liga' off;
  font-size: 44px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.welcome-description {
  color: var(--white);
  font-feature-settings: 'clig' off, 'liga' off;
  font-family: var(--secondary-font-family);
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 32px;
}

footer .footer-bottom {
  background-color: var(--stone-50, rgba(102, 89, 77, 0.50)) !important;
  color: var(--white) !important;
}

.footer-logo {
  margin-right: 10px;
  width: 80px;
}

.footer-container {
  color: var(--white);
  padding: 20px 32px;
  display: flex;
  justify-content: space-between;
  /* Distribute links to the left and social icons to the right */
  align-items: center;
  font-size: 0.9em;
  flex-wrap: wrap;
  /* Allow wrapping on smaller screens */
  width: 100%;
  min-height: 150px;
  /* Ensure the footer has enough height to contain all content */
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: flex-start;
  align-items: center;
  flex: 1;
}

.footer-social {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  align-items: center;
  flex: 0;
}

.footer-height {
  min-height: 180px;
  /* Adjusted to ensure the footer grows to fit all content */
}

.footer-text {
  color: var(--white);
  font-feature-settings: 'salt' on;
  font-family: var(--secondary-font);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 16px;
  text-decoration: none;
}

.footer-text:hover {
  text-decoration: underline;
}

.social-icon {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}

.search-container {
  background: var(--dark-gradient);
  padding: 40px;
  position: relative;
  display: flex;
  align-items: center;
}

.block {
  background-color: var(--white);
  border: 1px solid var(--Green-Grey, #A2A89A);
  padding: var(--kendo-spacing-6) var(--kendo-spacing-4);
  display: grid;
  gap: var(--kendo-spacing-4);
  align-items: start;
  transition: border-color 0.3s ease;
}

.block:hover {
  border-color: var(--Primary-Green);
  /* Your primary color */
}

#pinnedservices>.block:hover {
  box-shadow: 3px 4px 5px 0px rgba(102, 89, 77, 0.26);
}

.block-icon {
  grid-template-columns: 16px 1fr;
}

.block-image {
  grid-template-columns: 120px 1fr;
}

.block i {
  width: 16px;
  height: 16px;
}

.block img {
  width: 120px;
  height: 100px;
}

.block .image-landscape {
  object-fit: cover;
  width: 100%;
  height: 120px;
}

.block-height-1 {
  max-height: 67px;
}

.block-height-2 {
  max-height: inherit;
}

.block-height-3 {
  max-height: 131px;
}

.block-height-4 {
  max-height: 153px;
}

.block-height-5 {
  max-height: 148px;
}

.block-height-6 {
  max-height: 149px;
}

.block-height-7 {
  max-height: 171px;
}

.block-height-8 {
  max-height: 239px;
}

.block-height-9 {
  max-height: 263px;
}

.block-height-10 {
  max-height: 285px;
}

#pinnedservices,
#categories {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

#pinnedservices .block,
#categories .block {
  flex: 1 1 calc(33.333% - 30px);
  /* 3 blocks per row with gap */
  max-width: calc(33.333% - 30px);
  box-sizing: border-box;
}

#skeleton {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  width: 100%;
  height: 300px;
  margin: 0 30px;
}

#skeleton-cases {
  width: 100%;
  height: 300px;
  margin: 0 30px;
}

#skeleton-knowledge {
  width: 100%;
  height: 300px;
  margin: 0 30px;
}

#skeleton-cases .k-skeleton {
  padding: 11px 0;
  margin: 15px 0;
}

#skeleton-knowledge .k-skeleton {
  padding: 11px 0;
  margin: 15px 0;
}

.k-skeleton-rectangle {
  height: 200px;
  width: 100%;
  background-color: #e0e0e0;
  border-radius: 15px;
}

.content {
  display: flex;
  flex-direction: column;
}

.content h3 {
  font-feature-settings: 'clig' off, 'liga' off;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin: 0;
}

.content p {
  color: var(--green-grey);
  font-feature-settings: 'salt' on;
  font-family: Helvetica;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 16px;
  -webkit-box-orient: vertical;
  margin-top: 8px;
  margin-bottom: 8px;
}

.content-lines-2 p {
  -webkit-line-clamp: 2;
}

.content-lines-3 p {
  -webkit-line-clamp: 3;
}

.k-card-price {
  font-feature-settings: 'salt' on;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 16px;
}

.card-brand {
  font-feature-settings: 'clig' off, 'liga' off;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.brand-spacing {
  margin: 8px 0;
}

.brand-image-spacing {
  margin: 0 0 8px 0;
}


@media (max-width: 768px) {

  .container {
    flex-direction: column;
  }

  #categories .block,
  #pinnedservices .block {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

.annoucement-card {
  padding: 24px;
  width: 100%;
  min-height: 42px;
}

.background-color-info {
  background-color: #D4DEFF
}

.background-color-warning {
  background-color: #FFE8AE
}

.background-color-error {
  background-color: #FFE8AE
}

.annoucement-section {
  margin-top: 24px;
}

.notification {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 24px;
  margin-bottom: 30px;
}

.section-card-body .notification {
  display: flex;
  align-items: center;
  padding: 24px;
  border-radius: 5px;
  margin-bottom: 30px;
  margin-left: -15px;
  margin-right: -15px;
  width: auto;
}

.notification-heading {
  color: var(--Primary-Green);
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0.2px;
  padding-left: 10px;
}


.notifcation-message {
  color: #2E2C2C;
  font-family: var(--secondary-font-family);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 0.2px;
}


.message-section {
  margin-left: 24px;
  padding-left: 10px;
}

.notifaction-icon {
  margin-right: 12px;
  margin-top: -6px !important;
  padding-right: 20px;
}

.accordion-collapse {
  margin-top: 0px !important;
}

/* .customAccordionBorder {
    margin-top: 16px !important;
  } */

.accordion-header {
  margin-top: 0px !important;
  margin-bottom: 0px !important;
}

.breadcrum-section {
  display: none;
  width: 100%;
  padding: 10px 0px;
  align-content: center;
}

.breadcrum-section>.container {
  padding: 10px 0px;
}

.k-breadcrumb-item-text {
  color: #6EAB24 !important;
  font-size: 16px;
}

.k-breadcrumb-link,
.k-breadcrumb-root-link {
  text-decoration: none !important;
}

.k-breadcrumb-link:hover,
.k-breadcrumb-root-link:hover {
  text-decoration: none !important;
}

.k-breadcrumb *,
.k-breadcrumb *::before,
.k-breadcrumb *::after {
  box-sizing: border-box;
  text-decoration: none !important;
}

.k-breadcrumb *,
.k-breadcrumb *::before,
.k-breadcrumb *:hover {
  box-sizing: border-box;
  text-decoration: none !important;
}

.k-breadcrumb {
  background-color: transparent !important;
}

.padding-bottom-0 {
  padding-bottom: 0px;
}

.display-flex {
  display: flex;
}

.padding-left-right-8 {
  padding-right: 8px;
  padding-left: 8px;
}

.gap-30 {
  gap: 30px;
}

.pinned-service-background {
  background-color: var(--primary-color);
}

.width-min-content {
  width: min-content;
}

.sectionFixedStyle {
  display: flex;
  flex-wrap: wrap;
  text-align: center;
}

.page-section-container {
  display: flex;
  flex-wrap: wrap;
}

.page-section-column {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.notification-message {
  color: var(--stone-100, #66594D);
  font-feature-settings: 'salt' on;
  font-family: Tahoma;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 16px;
  /* 114.286% */
}

.navbar-collapse {
  background-color: var(--white);
  z-index: 1;
}

#mainContent {
  position: relative; /* Establishes a positioning context */
}

#mainContent .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent background */
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #333;
  z-index: 10; /* Ensures the overlay is on top */
}

/* Media Queries for Responsive Design */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    /* Stack items vertically */
    align-items: center;
    text-align: center;
    gap: 20px;
    padding: 0px 32px;
  }

  .footer-links,
  .footer-social {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }

  .footer-social {
    margin-top: 10px;
    /* Add spacing between links and icons on mobile */
  }

  .navbar-collapse {
    width: 100%;
  }
}