@charset "UTF-8";

:root {
  --primaryFont: "Inter", Halvetica, sans-serif;
  --secondaryFont: "Inter", Halvetica, sans-serif;
  --primaryColor: #1F5FFF;
  --secondaryColor: #04CE78;
  --optionalColor: #FF5A39;
  --titleColor: #000D44;
  --paraColor: #555555;
  --darkColor:#18251B;
  --grayColor:#f9f9f9;
  --ashColor:#F5F7FA;
  --whiteColor: #fff;
  --offwhiteColor: #DDE7E8;
  --aztechColor:#111828;
  --codColor: #12131B;
  --mildColor: #222;
  --fontSize: 16px;
  --transition: all ease 300ms;
}

/*---------------------------------
    General Styles
-----------------------------------*/
* {
  box-sizing: border-box;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="number"],
input[type="tel"],
input[type="search"],
input[type="date"],
input[type="time"],
input[type="datetime-local"],
input[type="month"],
input[type="week"],
textarea,
select {
  font-size: 16px !important;
}

html {
  scroll-behavior: smooth;
  height: -moz-fit-content;
  height: fit-content;
}



a,
button,
input[type=submit] {
  cursor: pointer;
}



a {
  text-decoration: none;
  transition: all 0.4s ease;
}

a:hover,
a:focus {
  text-decoration: none;
  box-shadow: none;
}

img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}

.logo img{
  max-width: 80%;
  height: auto;
  display: inline-block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--titleColor);
  font-family: var(--secondaryFont);
}

body {
  color: var(--paraColor);
  font-size: var(--fontSize);
  font-family: var(--primaryFont);
  font-weight: 400;
  line-height: 26px;
}



.text_secondary {
  color: var(--secondaryColor);
} 

.text-title {
  color: var(--titleColor);
}

.text-red {
  color: var(--redColor);
}

.text-para {
  color: var(--paraColor);
}

.text-offwhite {
  color: var(--offwhiteColor);
}

.text-optional {
  color: var(--optionalColor);
}

.font-primary {
  font-family: var(--primaryFont);
}

.font-secondary {
  font-family: var(--secondaryFont);
}

.bg_primary {
  background-color: var(--primaryColor);
}

.bg_secondary {
  background-color: var(--secondaryColor);
}

.bg-ash {
  background-color: var(--ashColor);
}

.bg-optional {
  background-color: var(--optionalColor);
}

.bg-mauve {
  background-color: #ECB2FF;
}

.bg-yellow {
  background-color: #F0DA69;
}

.bg-melanine {
  background-color: #E7C2D4;
}

.bg-flower {
  background-color: #A3DAC2;
}

.bg-chard {
  background-color: #FEC091;
}

.bg-jordyBlue {
  background-color: #92BDF6;
}

.bg-morning {
  background-color: #A0E1E1;
}

.bg-berylGreen {
  background-color: #CBE2AE;
}

.bg-mailbu {
  background-color: #8A89FF;
}

.bg-peach {
  background-color: #FFD6A5;
}

.bg-lilac {
  background-color: #D4A5FF;
}

.bg-powderBlue {
  background-color: #BDE0FE;
}

.bg-rose {
  background-color: #FFB5C2;
}

.bg-mint {
  background-color: #B8F2E6;
}

.bg-honeydew {
  background-color: #DFFFD6;
}

.bg-sky {
  background-color: #A7D8FF;
}

.bg-lavender {
  background-color: #E5C6FF;
}

.bg-ice {
  background-color: #E0F7FA;
}

.bg-blush {
  background-color: #FADADD;
}

.bg-softCoral {
  background-color: #FFA69E;
}

.bg-vanilla {
  background-color: #FFF5BA;
}

.fs-12 {
  font-size: 12px;
}

.fs-13 {
  font-size: 13px;
}

.fs-14 {
  font-size: 14px;
}

.fs-15 {
  font-size: 15px;
}

.fs-16 {
  font-size: 16px;
}

.fs-17 {
  font-size: 17px;
}

.fs-18 {
  font-size: 18px;
}

.fs-20 {
  font-size: 20px;
}

.fs-22 {
  font-size: 22px;
}

.fs-24 {
  font-size: 24px;
}

.fs-25 {
  font-size: 25px;
}

.fs-30 {
  font-size: 30px;
}

.fs-36 {
  font-size: 36px;
}

.ls-15 {
  letter-spacing: 0.15em;
}

.lh-23 {
  line-height: 23px;
}

.ht-40 {
  height: 40px;
}

.ht-50 {
  height: 50px;
}

.ht-54 {
  height: 54px;
}

.ht-56 {
  height: 56px;
}

.ht-60 {
  height: 60px;
}

.ht-150 {
  height: 150px;
}

.ht-200 {
  height: 200px;
}

.fw-extrabold {
  font-weight: 800;
}

.fw-black {
  font-weight: 900;
}

.resize-0 {
  resize: none;
}

.round-5 {
  border-radius: 5px;
}

.round-10 {
  border-radius: 10px;
}

.round-12 {
  border-radius: 12px;
}

.round-15 {
  border-radius: 15px;
}

.round-20 {
  border-radius: 20px;
}

.pt-90 {
  padding-top: 90px;
}

.pt-95 {
  padding-top: 95px;
}

.pt-110 {
  padding-top: 110px;
}

.pt-120 {
  padding-top: 120px;
}

.pb-10 {
  padding-bottom: 10px !important;
}

.pb-90 {
  padding-bottom: 90px;
}

.pb-95 {
  padding-bottom: 95px;
}

.pb-120 {
  padding-bottom: 120px;
}

.ptb-120 {
  padding-top: 120px;
  padding-bottom: 120px;
}

.mb-6 {
  margin-bottom: 6px;
}

.mb-8 {
  margin-bottom: 8px;
}

.mb-10 {
  margin-bottom: 10px;
}

.mb-12 {
  margin-bottom: 12px;
}

.mb-13 {
  margin-bottom: 12px;
}

.mb-15 {
  margin-bottom: 15px;
}

.mb-18 {
  margin-bottom: 18px;
}

.mb-20 {
  margin-bottom: 20px;
}

.mb-22 {
  margin-bottom: 22px;
}

.mb-23 {
  margin-bottom: 23px;
}

.mb-25 {
  margin-bottom: 25px;
}

.mb-28 {
  margin-bottom: 28px;
}

.mb-30 {
  margin-bottom: 30px;
}

.mb-32 {
  margin-bottom: 32px;
}

.mb-35 {
  margin-bottom: 35px;
}

.mb-38 {
  margin-bottom: 38px;
}

.mb-40 {
  margin-bottom: 40px;
}

.mb-45 {
  margin-bottom: 45px;
}

.mb-50 {
  margin-bottom: 50px;
}

.mb-55 {
  margin-bottom: 55px;
}

.mb-120 {
  margin-bottom: 120px;
}

.top-n2 {
  top: -2px;
}

.top-n1 {
  top: -1px;
}

.top-1 {
  top: 1px;
}

.top-2 {
  top: 2px;
}

.top-3 {
  top: 3px;
}

.btn {
  z-index: 1;
  font-weight: 400;
  padding: 13px 20px 13px 20px;
  border: none;
  overflow: hidden;
  transition: var(--transition);
}


.btn span {
  position: relative;
  padding-right: 30px;
  display: inline-block;
}

.link {
  height: 20px;
  display: inline-flex;
}

.bg-title {
  background-color: var(--titleColor);
}


.section-subtitle {
  padding: 0 19px;
}



/*---------------------------------
    Footer CSS 
-----------------------------------*/
.footer-area.style-one .footer-top, .footer-area.style-two .footer-top {
  margin: 0 10px;
}

.footer-area .footer-widget-title {
  padding-bottom: 22px;
  margin-bottom: 37px;
}
.footer-area .footer-widget-title:before, .footer-area .footer-widget-title:after {
  position: absolute;
  left: 0;
  content: "";
  background-color: rgba(255, 255, 255, 0.5);
}
.footer-area .footer-widget-title:before {
  bottom: 0;
  width: 80px;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.5);
}
.footer-area .footer-widget-title:after {
  bottom: -1px;
  width: 25px;
  height: 3px;
  background-color: var(--secondaryColor);
}

.footer-area .footer-widget .footer-menu li {
  margin-bottom: 11px;
}
.footer-area .footer-widget .footer-menu li:last-child {
  margin-bottom: 0;
}

.footer-area .footer-bottom {
  padding: 22.5px 0;
}

.footer-area .footer-bottom .footer-bottom-menu li {
  display: inline-block;
  margin-right: 15px;
  padding-right: 25px;
  position: relative;
}
.footer-area .footer-bottom .footer-bottom-menu li:after {
  position: absolute;
  top: 50%;
  right: 0;
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--primaryColor);
  transform: translateY(-50%);
}
.footer-area .footer-bottom .footer-bottom-menu li:last-child {
  margin-right: 0;
  padding-right: 0;
}
.footer-area .footer-bottom .footer-bottom-menu li:last-child:after {
  display: none;
}

/*---------------------------------
    Footer Responsive CSS 
-----------------------------------*/

@media only screen and (min-width: 1400px) {
  .footer-area.style-one .footer-top, .footer-area.style-two .footer-top {
    margin: 0 10px;
  }

}
@media only screen and (min-width: 1600px) {
  .footer-area.style-one .footer-top, .footer-area.style-two .footer-top {
    margin: 0 20px;
  }

}

@media only screen and (min-width: 1600px) {
  .container {
      max-width: 1585px;
  }
}


/*---------------------------------
    CUSTOM
-----------------------------------*/


.btn-outline-primary {
  border: 1px solid #0d6efd;
}

.btn-success {
  background-color: #04ce78 !important;
}

.lekar-post.ajax-loaded,
.ustanova-post.ajax-loaded {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.lekar-post.ajax-loaded.loaded,
.ustanova-post.ajax-loaded.loaded {
  opacity: 1;
  transform: translateY(0);
}

.card-shadow {
  box-shadow: 0 4px 15px rgba(0, 13, 68, 0.1);
}

.breadcrumb-scroll-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}

.breadcrumb-scroll-wrapper {
  flex-wrap: nowrap !important;
  white-space: nowrap;
}

/* Hide scrollbar for all browsers */
.breadcrumb-scroll-wrapper {
  scrollbar-width: none;
  /* Firefox */
}

.breadcrumb-scroll-wrapper::-webkit-scrollbar {
  display: none;
  /* Chrome/Safari */
}

.breadcrumb-item {
  flex-shrink: 0;
}



/* Legacy scrollable-nav styles - keeping for backward compatibility */
.scrollable-nav {
  overflow-x: auto;
  white-space: nowrap;
}

.scrollable-nav a {
  display: inline-block;
  text-decoration: none;
  color: #000;
}

.scrollable-nav::-webkit-scrollbar {
  display: none;
}

.category-card h3 {
  word-wrap: break-word;
}

@media only screen and (max-width: 767px) {
  .category-card h3 {
    font-size: 1rem;
  }
}

.object-fit-cover {
  object-position: top center;
}

.specialty-card {
  transition: box-shadow 0.18s, transform 0.18s;
  min-height: 100px;
  overflow: hidden;
}

.specialty-card:hover,
.specialty-card:focus-within {
  box-shadow: 0 4px 18px 0 rgba(30, 60, 120, 0.12),
    0 1.5px 3px 0 rgba(10, 30, 80, 0.06);
  transform: translateY(-2px) scale(1.018);
}

.icon-circle {
  border-radius: 50%;
}

.specialty-arrow-link {
  padding: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 1px 5px rgba(20, 60, 100, 0.06);
  transition: background 0.13s;
}

.specialty-card:hover .specialty-arrow-link {
  background: #e3eefd;
}

@media (max-width: 575px) {
  .specialty-card {
    padding: 1.2rem;
  }
}

/* Custom Hero Tabs */
.hero-tabs .nav-link {
  border: none;
  border-bottom: 2px solid transparent;
  /* Default transparent bottom border */
  color: var(--bs-gray-600);
  /* Muted color for inactive tabs */
  padding: 0.6rem 1rem;
  /* Adjust padding as needed */
  margin-bottom: -1px;
  /* Overlap container's bottom border if it has one, aligns with tab content */
}

.hero-tabs .nav-link:hover,
.hero-tabs .nav-link:focus {
  border-bottom-color: var(--bs-gray-400);
  /* Light border on hover for inactive */
  color: var(--bs-gray-700);
}

.hero-tabs .nav-link.active,
.hero-tabs .nav-link.active:hover,
.hero-tabs .nav-link.active:focus {
  color: var(--bs-primary);
  /* Active tab text color */
  background-color: transparent;
  /* Ensure no background color */
  border-bottom: 2px solid var(--bs-primary);
  /* Active tab bottom border */
}

/* Modernized Pop effect for Stats */
.transition-hover-pop {
  transition: 0.2s ease-out, transform 0.2s ease-out;
}

.transition-hover-pop:hover,
.transition-hover-pop:focus,
.transition-hover-pop:focus-within {
  transform: translateY(-2px) scale(1.018);
}

/* Ensure icon inside button is vertically centered */
.btn .bi,
.btn svg {
  /* Assuming your icon() function outputs <svg> or <i class="bi bi-..."> */
  vertical-align: middle;
  /* Helps if icon has weird default alignment */
  margin-bottom: 0.125em;
  /* Fine-tune if needed for optical centering with text */
}

.doctor-profile-card {
  transition: box-shadow 0.18s, transform 0.18s;
  overflow: hidden;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: stretch;
}

.doctor-profile-card:hover,
.doctor-profile-card:focus-within {
  box-shadow: 0 4px 18px 0 rgba(30, 60, 120, 0.12),
    0 1.5px 3px 0 rgba(10, 30, 80, 0.06);
  transform: translateY(-2px) scale(1.018);
}

.doctor-photo-wrap {
  background: linear-gradient(135deg, #f7fafd, #e3eefd);
}

@media (max-width: 767.98px) {
  .doctor-avatar-header {
    width: 50%;
  }
}

.sticky-ad {
  position: sticky;
  top: 120px;
  z-index: 2;
}



/*---------------------------------
    RESPONSIVE
-----------------------------------*/


@media only screen and (max-width: 767px) {

  .mb-sm-10 {
    margin-bottom: 10px;
  }

  .fs-xx-14 {
    font-size: 14px;
    line-height: 24px;
  }

  .pt-90 {
    padding-top: 30px;
  }

  .link {
    font-size: 14px;
  }
  .fs-15 {
    font-size: 14px;
  }
  .fs-24 {
    font-size: 22px;
  }
  .btn {
    font-size: 14px;
    padding: 12px 21px 12px;
  }
}


@media only screen and (max-width: 991px) {

  .mb-md-6 {
    margin-bottom: 6px;
  }
}


/*---------------------------------
    DOCTOR CARD
-----------------------------------*/

.doctor-card {
  max-width: 400px;
  margin: 0 auto;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  border: none;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.avatar-section {
  background: linear-gradient(135deg, #f7fafd, #e3eefd);
  padding: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.doctor-avatar {
  position: relative;
  display: inline-block;
  aspect-ratio: 1/1;
}

.doctor-avatar img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  background: #fff;
}

.doctor-specialty {
  color: #666;
  font-weight: 500;
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.doctor-location {
  color: #888;
  font-size: 0.9rem;
}

.star-rating {
  display: flex;
  align-items: start;
  justify-content: start;
  gap: 0.5rem;
  margin: .5rem 0;
}

.stars {
  margin-top: 1.9px;
  display: flex;
  gap: 2px;
}

.star {
  color: var(--warning);
  font-size: 1rem;
}

.star.empty {
  color: #dee2e6;
}

.rating-text {
  font-weight: 600;
  color: #333;
}

.rating-count {
  color: #666;
  font-size: 0.9rem;
}

.employment-container {
  border-radius: 15px;
  margin: 1rem 0 0 0;
}

.employment-title {
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: .5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.institution {
  background: #fff;
  border-radius: 10px;
  padding: .7rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  line-height: 19px;
  background-color: #f6f8f9;
  min-width: 0;
}

.institution > .flex-grow-1 {
  min-width: 0;
  flex: 1 1 0;
}


.institution {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.institution:hover {
  transform: scale(1.03);
  z-index: 1;
}


.institution-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.institution-icon.state {
  background: white;
  color: var(--primaryColor);
}

.institution-name {
  font-size: .9rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  min-width: 0;
}

.institution-name > span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

.institution-name a {
  color: var(--paraColor);
}

.institution-icon.private {
  background: white;
  color: var(--secondaryColor);
}

.institution-type {
  font-size: .7rem;
  font-weight: 500;
}

.institution-type.state {
  color: var(--primaryColor);
}

.institution-type.private {
  color: var(--secondaryColor);
}

.btn-profile {
  background: linear-gradient(135deg, var(--medical-blue), var(--info));
  border: none;
  color: white;
  font-weight: 700;
  padding: 0.75rem 2rem;
  border-radius: 25px;
  width: 100%;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  display: inline-block;
}

.btn-profile:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(11, 114, 133, 0.3);
  background: linear-gradient(135deg, #0a6975, #0bb8d4);
  color: white;
  text-decoration: none;
}

.info-row {
  display: flex;
  /* align-items: center;
  justify-content: center; */
  gap: 0.5rem;
}

.info-icon {
  color: var(--medical-blue);
  width: 16px;
}

.button-section {
  margin-top: auto;
  flex-shrink: 0;
}

/* Specialty Pills Styling */
.doctor-specialties-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.specialty-pill-link {
  text-decoration: none;
  display: inline-block;
}

.specialty-pill {
  display: inline-flex;
  align-items: center;
  padding: 0rem 0.5rem;
  background: transparent;
  border: 1px solid var(--primaryColor);
  color: var(--primaryColor);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
}

.specialty-pill-link:hover .specialty-pill {
  background: var(--primaryColor);
  color: white;
  transform: translateY(-1px);
}

.specialty-pill.non-clickable {
  border-color: #6c757d;
  color: #6c757d;
  cursor: default;
}

.specialty-pill svg {
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.specialty-pill-link:hover .specialty-pill svg {
  opacity: 1;
}


/*---------------------------------
    PAGE NAVIGATION SCROLL
-----------------------------------*/

/* Professional Page Navigation */
.page-navigation {
  padding: 1rem 0;
}

.page-navigation-scroll {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 0.75rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.page-navigation-scroll::-webkit-scrollbar {
  display: none;
}

.page-nav-item {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 1.25rem;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  white-space: nowrap;
  min-height: 40px;
}



@media (max-width: 767px) {
  .page-navigation {
      margin: 1.5rem 0 0;
      padding: 0.75rem 0;
  }
  
  .page-navigation-scroll {
      gap: 0.5rem;
  }
  

}

.form-select:focus {
  border-color: none !important;
  outline: 0;
  box-shadow: none !important;
}

/* Doctor Count Pill */
.doctor-count-pill {
    background: #f8f9fa;
    color: #6c757d;
    padding: 1px 10px;
    border-radius: 50px;
    font-size: 0.70rem;
    display: inline-flex;
    align-items: center;
    border: 1px solid #dee2e6;
    transition: all 0.2s ease;
    cursor: pointer;
    width: fit-content;
}

.doctor-count-pill:hover {
    background: #e9ecef;
    color: #495057;
}

/* Institution Card Styles */
.card-institution {
    overflow: hidden;
}

.card-institution .row {
    margin: 0;
}

.card-institution .row > [class*="col-"] {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.card-institution .row > [class*="col-"]:first-child {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.card-institution img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

@media (max-width: 767.98px) {
    .card-institution {
        overflow: hidden;
    }
    
    .card-institution .row {
        margin: 0;
    }
    
    .card-institution .row > [class*="col-"] {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
    
    .card-institution .row > [class*="col-"]:first-child {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-bottom: 1rem !important;
    }
    
    .card-institution img {
        max-width: 100%;
        width: 100%;
        height: auto;
        object-fit: contain;
    }
    
    .card-institution h2 {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    .card-institution h2 a {
        display: block;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}