:root {
  --primary-teal: #368186;
  --secondary-blue: #6ba3d6;
  --accent-red: #e74c3c;
  --light-gray: #f8f9fa;
  --dark-gray: #4f4f4f;
}

body{
  min-height: auto !important;
  position: relative;
  height: 93.2vh;
  /* overflow: hidden; */
}

.hero-content {
  background: white;
  color: black;
  padding: 20px 40px;
  border-radius: 10px;
}

.m-hero-content {
  width: 100%;
  background: #368186;
  color: white;
  padding: 20px 40px;
  text-align: center !important;
}

.m-hero-content .hero-text {
  text-align: center !important;
}

.m-hero-content .hero-title {
  color: white;
  text-align: center;
}

.m-hero-content .hero-subtitle {
  margin-bottom: 0 !important;
  text-align: center;
  color: white;
}

.m-hero .stats-info {
  color: #4f4f4f;
  font-size: 16px;
  margin-top: 20px;

}

.hero-section {
  text-align: center;
  padding: 20px 20px;
  color: white;
}

.hero-title {
  color: #368186;
  font-size: 2rem;
  font-weight: bold;
  text-align: left;
  margin-bottom: 10px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-text {
  text-align: left;
  width: 100%;
}

.profile-btn {
  position: absolute;
  right: 20px;
  background: #fff;
  padding: 5px 10px;
  border-radius: 50px;
  display: flex;
  gap: 10px;
  border: 2px solid #efefef;
}

.hero-text span {
  width: 100%;
  font-size: 1.2rem;
  opacity: 0.8;
}

.hero-subtitle {
  color: #2c6f91;
  font-size: 1.1rem;
  text-align: left;
  margin-bottom: 30px;
  opacity: 0.9;
}

.stats-info {
  opacity: 0.8;
  /* margin-top: -15px !important; */
  font-size: 17px;
}

.stats-info span {
  font-size: 17px !important;
  font-weight: 500 !important;
  margin: 0 5px;
}

.medical img {
  max-width: 170px;
  width: 100%;
  cursor: pointer;
  margin-bottom: 10px;
  object-fit: cover;
}

.circle-icon {
  font-size: 3rem;
  margin-bottom: 15px;
  position: relative;
}

.circle-icon::after {
  content: "";
  position: absolute;
  top: -5px;
  right: -5px;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.circle-text {
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
  line-height: 1.2;
}

.circle-subtext {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-top: 5px;
}

.search-section {
  max-width: 500px;
  margin: 0 auto 30px;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 12px 20px 12px 50px;
  border: none;
  outline: none;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  font-size: 1rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.search-input::placeholder {
  color: #000000;
}

.search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.overlay.show {
  opacity: 1;
  visibility: visible;
}

.location-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 30px;
  border-radius: 7px;
  box-shadow: 0 10px 18px #0c0c0d21;
  z-index: 1001;
  max-width: 650px;
  width: 90%;
  text-align: center;
  display: none;
}

.location-modal.show {
  display: block;
}

.location-modal h3 {
  color: #29343d;
  margin-bottom: 15px;
}

.location-modal p {
  color: var(--dark-gray);
  margin-bottom: 25px;
  line-height: 1.5;
}

.location-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.btn-location {
  padding: 10px 40px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600 !important;
  transition: all 0.3s ease;
}

.btn-allow {
  background: #3681861a !important;
  color: #368186;
  border-radius: 5px !important;
}

.btn-deny {
  border-radius: 5px !important;
  background: #ffe5ed;
  color: #ff6692 !important;
}

.location-status {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 10px 15px;
  border-radius: 25px;
  color: white;
  font-size: 0.9rem;
  z-index: 1000;
  display: none;
}

.location-status.success {
  background: #28a745;
}

.location-status.error {
  background: #dc3545;
}

.location-status.show {
  display: block;
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10000;
  padding: 0 5%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.seacrch-card {
  z-index: 100001 !important;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  width: 95%;
  margin: auto;
  padding: 20px 40px;
  border-radius: 10px;
  max-width: 600px;
}

.seacrch-card h5 {
  color: #368186;
  font-weight: bold;
}

#searchForm button {
  background: #3681861a;
  color: var(--primary-teal);
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
}

.modal-header {
  background-color: #f8f9fa;
  border-bottom: 1px solid #dee2e6;
}

.modal-title {
  color: #5a9fd4;
  font-weight: 600;
}

.form-label {
  font-weight: 500;
  color: #495057;
  margin-bottom: 8px;
}

.form-select {
  border: 1px solid #ced4da;
  border-radius: 6px;
  padding: 10px 12px;
}

.btn-search {
  background-color: #5a9fd4;
  border-color: #5a9fd4;
  padding: 10px 30px;
  font-weight: 500;
}

.btn-search:hover {
  background-color: #4a8bc2;
  border-color: #4a8bc2;
}

.swiper {
  /* max-width: ; */
  width: 32% !important;
  height: auto !important;
}

.seacrch-card  .services-type{
  position: relative;
}
.seacrch-card  .services-type i{
  position: absolute;
  top: 50%;
  right: 30px;
  transform: translateY(60%);
  color: #98A4AE;
  font-size: 15px;
}


.swiper img {
  width: 100%;
  height: 100%;
}

/* .swiper-slide img { */
/* width: 100%; */
/* height: 100%; */
/* object-fit: cover; */
/* border-radius: 10px; */
/* } */

.pages-link h5{
  margin-top: 15px;
  margin-bottom: 5px;
}

.pages-link button{
  border: 2px solid #377F7E80;
  padding: 5px 12px;
  border-radius: 5px;
  margin-top: 10px;
  background: transparent;
  color: #646464;
  font-size: 16px ;
}

.pages-link a{
 margin-top: 50px  !important;
  font-size: 14px  !important;
  text-decoration: none;
  margin-bottom: 0;
  color: #646464;
}
.pages-link span{
  color: #646464;
}

@media (max-width: 991px) {
  .main-content {
      min-height: auto !important;
  }
  footer{
    position: absolute !important;
    margin-top: 0 !important;
    bottom: 0px !important;
    /* height: 40px; */
  }
}

.search-section #dropdown{
  width: 100%;
  text-align: start;
  font-size: 17px;
  border: 0 !important;
  outline: none !important;
  background: white !important;
}
.search-section {
  /* position: relative; */
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 25px;
  background: white !important;
  padding: 8px 15px;
  max-width: 470px;
  margin: 50px auto;
  margin-top: 0 !important;
}
.search-input {
  display: none;
  flex: 1;
  border: none !important;
  outline: none;
  font-size: 16px;
  padding: 5px;
}
.search-icon {
  color: #666;
}
.dropdown {
  padding: 5px;
  font-size: 14px;
}
.tag {
  background: #377E7E26;
  color: #377F7E;
  padding: 5px 10px;
  border-radius: 15px;
  margin-right: 5px;
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  
}

.tag i {
  margin-left: 6px;
  cursor: pointer;
}

.submit-btn {
  padding: 6px 12px;
  background: #368186;
  color: white;
  border: none;
  border-radius: 30px !important;
  float: right;
  cursor: pointer;

}
.tags-container {
  /* width: 100%; */
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
}

.m-hero  {
  z-index: -1;
}

@media (max-width: 768px) {
  .search-section #dropdown{
    font-size: 13px !important;
  }
  .search-section #dropdown option{
    font-size: 16px !important;
  }
  .search-section #dropdown option:nth-child(1){
    font-size: 13px !important;
  }
}