@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --primary-color: #ff3d00; 
    --secondary-color:var(--icon-change-color)/* Define your primary color here */
  }
.btn-primary{
  background: var(--primary-color)!important;
  border: none!important;
  padding: 10px 20px!important;
}
.btn-secondary{
  background: #40a8a0!important;
  border: none!important;
  padding: 10px 20px!important;
}
body{
    font-family: "Roboto Condensed", sans-serif;
}

header{
  z-index: 99;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); 
}
header a{
    font-weight: 400;
}

.nav .nav-item {
  position: relative;
  display: flex;
  align-items: center;
}
.nav .nav-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 1em;
  border-right: 1px solid #ddd;
}
.nav .nav-link {
  padding: 0.5rem 1rem;
}

.navbar .nav-item .nav-link{
  margin-right: 20px;
  font-size: 16px;

}
.nav .nav-item .nav-link{
  font-size: 14px;
  color: #333333;
}

.navbar-nav .nav-link{
    color: #000000!important;
}

.mobile-btn .nav-item{
  margin: 20px 0px;
}
.mobile-btn .nav-item .nav-link{
  color: #fff!important;
}
.navbar-nav .nav-link {
    font-family: "Roboto Condensed", sans-serif;
    position: relative;
    padding-bottom: 5px;
  }

  .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    display: block;
    margin-top: 5px;
    right: 0;
    background: var(--primary-color); /* Change this color to match your theme */
    transition: width 0.3s ease;
    -webkit-transition: width 0.3s ease;
  }

  .navbar-nav .nav-link:hover::after {
    width: 100%;
    left: 0;
    background: var(--primary-color); /* Change this color to match your theme */
  }
  .nav-item .btn{
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 600;
  }
  .button {
    line-height: 1;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    background-color: var(--clr);
    color: #fff;
    border-radius: 10rem;
    font-weight: 600;
    padding: .75rem 1.5rem;
    padding-left: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: background-color .3s;
  }
  
  .button__icon-wrapper {
    flex-shrink: 0;
    width: 25px;
    height: 25px;
    position: relative;
    color: var(--clr);
    background-color: #fff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    overflow: hidden;
  }
  
  .button:hover {
    background-color: var(--clr);
    text-decoration: none;
    color: #ffffff;
  }
  
  .button:hover .button__icon-wrapper {
    color: var(--clr);
  }
  
  .button__icon-svg--copy {
    position: absolute;
    transform: translate(-150%, 150%);
  }
  
  .button:hover .button__icon-svg:first-child {
    transition: transform .3s ease-in-out;
    transform: translate(150%, -150%);
  }
  
  .button:hover .button__icon-svg--copy {
    transition: transform .3s ease-in-out .1s;
    transform: translate(0);
  }

.form {
    --input-bg: #FFf;
   /*  background of input */
    --padding: 1.5em;
    --rotate: 80deg;
   /*  rotation degree of input*/
    --gap: 2em;
    /*  gap of items in input */
    --icon-change-color: #15A986;
   /*  when rotating changed icon color */
    --height: 60px;
   /*  height */
    width: 100%;
    padding-inline-end: 1em;
   /*  change this for padding in the end of input */
    background: var(--input-bg);
    position: relative;
    border-radius: 4px;
  }
  
  .form label {
    display: flex;
    align-items: center;
    width: 100%;
    height: var(--height);
  }
  
  .form input {
    width: 100%;
    padding-inline-start: calc(var(--padding) + var(--gap));
    outline: none;
    background: none;
    border: 0;
  }
  /* style for both icons -- search,close */
  .form svg {
    /* display: block; */
    color: #111;
    transition: 0.3s cubic-bezier(.4,0,.2,1);
    position: absolute;
    height: 15px;
  }
  /* search icon */
  .icon {
    position: absolute;
    left: var(--padding);
    transition: 0.3s cubic-bezier(.4,0,.2,1);
    display: flex;
    justify-content: center;
    align-items: center;
  }
  /* arrow-icon*/
  .swap-off {
    transform: rotate(-80deg);
    opacity: 0;
    visibility: hidden;
  }
  /* close button */
  .close-btn {
    /* removing default bg of button */
    background: none;
    border: none;
    right: calc(var(--padding) - var(--gap));
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111;
    padding: 0.1em;
    width: 10px;
    height: 20px;
    border-radius: 50%;
    transition: 0.3s;
    opacity: 0;
    transform: scale(0);
    visibility: hidden;
  }
  
  .form input:focus ~ .icon {
    transform: rotate(var(--rotate)) scale(1.3);
  }
  
  .form input:focus ~ .icon .swap-off {
    opacity: 1;
    transform: rotate(-80deg);
    visibility: visible;
    color: var(--icon-change-color);
  }
  
  .form input:focus ~ .icon .swap-on {
    opacity: 0;
    visibility: visible;
  }
  
  .form input:valid ~ .icon {
    transform: scale(1.3) rotate(var(--rotate))
  }
  
  .form input:valid ~ .icon .swap-off {
    opacity: 1;
    visibility: visible;
    color: var(--icon-change-color);
  }
  
  .form input:valid ~ .icon .swap-on {
    opacity: 0;
    visibility: visible;
  }
  
  .form input:valid ~ .close-btn {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    transition: 0s;
  }
  .sec-title{
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 800;
    font-size: 34px;
  }
  .search p{
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 600;
    font-size: 1.2em;
  }
  .search{
    background: #ffecec url('images/search-bg.png') no-repeat bottom center;
    min-height: 350px;
    background-size: 100% auto;
    position: relative;
    background-blend-mode: Darken;
    padding: 50px 0;
}
.card {
    border: 1px solid #ddd; /* Light border for card */
    border-radius: 10px; /* Rounded corners */
  }
  .card-title {
    display: flex;
    justify-content: space-between; /* Space between the name and location */
    align-items: center; /* Align items vertically in the center */
    font-size: 1.25rem; /* Adjust font size for the title */
  }

 .location{
    font-size: 15px;
 }
 .location i{
    color: var(--primary-color);
 }
 .hospital-name{
    font-weight: bold;
    font-family: "Roboto Condensed", sans-serif;
    font-size: 24px;
 }
 
 .controls {
    display: flex;
    flex-wrap: wrap; /* Ensure buttons wrap on smaller screens */
    margin-top: 10px; /* Space above buttons */
  }
 .button {
    flex: 1;
    display: inline-block;
    border: 1px solid #4f4f4f;
    border-radius: 4px;
    transition: all 0.2s ease-in;
    position: relative;
    overflow: hidden;
    font-size: 0.8rem; /* Font size for buttons */
    cursor: pointer;
    color: black;
    z-index: 1;
    margin-right: 10px; /* Space between buttons */
    margin-bottom: 10px;
  }
  
  .button:before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%) scaleY(1) scaleX(1.25);
    top: 100%;
    width: 140%;
    height: 180%;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    display: block;
    transition: all 0.5s 0.1s cubic-bezier(0.55, 0, 0.1, 1);
    z-index: -1;
  }
  
  .button:after {
    content: "";
    position: absolute;
    left: 55%;
    transform: translateX(-50%) scaleY(1) scaleX(1.45);
    top: 180%;
    width: 160%;
    height: 190%;
    background-color: #ff6835;
    border-radius: 50%;
    display: block;
    transition: all 0.5s 0.1s cubic-bezier(0.55, 0, 0.1, 1);
    z-index: -1;
  }
  
  .button:hover {
    color: #ffffff;
    border: 1px solid #ff6835;
  }
  
  .button:hover:before {
    top: -35%;
    background-color: #ff6835;
    transform: translateX(-50%) scaleY(1.3) scaleX(0.8);
  }
  
  .button:hover:after {
    top: -45%;
    background-color: #ff6835;
    transform: translateX(-50%) scaleY(1.3) scaleX(0.8);
  }

  @media (max-width: 576px) {
    .controls {
      flex-direction: column; /* Stack buttons vertically on small screens */
    }
    .controls .button {
      margin-right: 0; /* Remove right margin on small screens */
    }
  }
  .button-text {
    display: block; /* Default state: show text */
  }
  .button-icon-only {
    display: none; /* Default state: hide icon only */
  }
  .button.hidden-text .button-text {
    display: none; /* Hide text if overflow */
  }
  .button.hidden-text .button-icon-only {
    display: block; /* Show icon only if overflow */
  }
  
  .features-list li i {
    color: #28a745; /* Green color for checkmark */
    font-size: 1rem; /* Icon size */
    margin-right: 5px; /* Space between icon and text */
  }
  
.features-list li{
    font-size: 0.8rem;
    margin-right: 15px;
    margin-bottom: 8px;
}
.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
  }

  .footer .footer-links {
    list-style: none; /* Remove default list styling */
    padding: 0; /* Remove default padding */
    margin: 0 0 10px 0; /* Remove default margin and add bottom margin */
    display: flex; /* Flexbox layout for horizontal alignment */
    flex-wrap: wrap; /* Wrap items on smaller screens */
    justify-content: center; /* Center align items */
  }
  .footer .footer-links li {
    margin: 5px 15px; /* Space between links */
  }
  .footer .footer-links a {
    color: #000000; /* Bootstrap primary color */
    text-decoration: none; /* Remove underline */
    font-family: "Roboto Condensed", sans-serif;
    font-size: 18px;
    font-weight: 600;
  }
  .copyright{
    font-family: "Roboto Condensed", sans-serif;
  }
  .disclaimer{
    font-size: 12px;
  }
  .sticky-button {
    display: none; /* Hide by default */
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 15px 0;
    z-index: 1000;
  }
  .sticky-button a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
  }
  @media (max-width: 767.98px) {
    .sticky-button {
      display: block; /* Show on mobile devices */
      text-transform: uppercase;
      font-family: "Roboto Condensed", sans-serif;
    }
    .sticky-button i{
        margin-right: 10px;
        animation: shake 1s infinite; /* Apply shake animation */
    }
  }
  @keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-10px); }
    20%, 40%, 60%, 80% { transform: translateX(10px); }
  }
  .accordion .card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
}
.accordion .card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 400;
    color: #343a40;
    border-radius: 10px 10px 0 0;
}
.accordion .btn-link {
    text-decoration: none;
    color: #464646;
    font-weight: 500;
    width: 100%;
    text-align: left;
}
.accordion .btn-link:hover {
    color: #ff3c01;
    text-decoration: none;
}
.accordion .card-body {
    background-color: #ffffff;
    padding: 20px;
    font-size: 14px;
    color: #495057;
}
.accordion .collapse.show {
    border: 1px solid #dee2e6;
    border-radius: 0 0 10px 10px;
}
.page-title{
  background-image: url('images/page-title.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.page-title h1{
  font-family: "Roboto Condensed", sans-serif;
  font-size: 60px;
  font-weight: 700;
}
.search-non-emergency, .search-emergency{
  background: #ffefef;
}

.partner{
  background: #fff7f7;
}

.contact-form .form-group input{
  height: 60px;
  border: none;
  box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px;
}
.contact-form .form-group textarea{
  border: none;
  height: 120px;
  box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px;
}
.contact-form .btn{
  width: 100%;
  margin: auto;
  display: block;
  height: 60px;
}
.contact-details{
  background: #40a8a0;
  padding: 20px;
}

.single-detail{
  padding: 10px;
}
.single-detail h5{
  font-family: "Roboto Condensed", sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #fff;
}
.single-detail p{
  color: #fff;
  font-weight: 500;
}
.single-detail i{
  background: var(--primary-color);
  color: #fff;
  padding: 15px;
  margin-right: 10px;
  border-radius: 50%;
  font-size: 20px;
}
.single-service{
  display: block;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
}
/* CSS to handle the fixed positioning */
.fixed-top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1020; /* Higher than other elements */
  background-color: #fff; /* Ensure background color is set */
  border-bottom: 1px solid #ddd; /* Optional: Add border for visual separation */
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}

.search-emergency{
  display: none;
}
@media (max-width: 767.98px) {
  .filters {
    display: block !important;
    text-align: center;
  }

  .filters .btn {
    display: block;
    width: 100%;
    margin-bottom: 10px;
  }

  .search-results {
    text-align: center;
    margin-bottom: 20px;
  }
}
