:root {
  --primary-teal: #368186;
  --secondary-blue: #6ba3d6;
  --accent-red: #e74c3c;
  --light-gray: #f8f9fa;
  --dark-gray: #4f4f4f;
  --primary: #377f7e;
  --primary-light: #4a8887;
  --primary-dark: #4a8887;
  --secondary: #10b981;
  --dark: #1e293b;
  --light: #f8fafc;
  --gray: #64748b;
  --gray-light: #e2e8f0;
  --white: #ffffff;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --radius: 8px;
  --transition: all 0.3s ease;
}

body {
  background: var(--light) !important;
  min-height: auto !important;
  position: relative;
}

.footer {
  position: unset !important;
}

.hero-content {
  background: white;
  color: black;
  padding: 10px 30px;
  box-shadow: var(--shadow);
  border-radius: 0px;
}

.hero-content .hero-title {
  margin-bottom: 8px !important;
  font-size: 1.8rem !important;
}

.m-hero-content {
  width: 100%;
  background: #368186;
  color: white;
  padding: 20px 40px;
  text-align: center !important;
}

.home-container {
  min-height: 100vh !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: 10px;
}

.hero-section {
  text-align: center;
  padding: 0 !important;
  color: white;
}

.hero-title {
  color: #1e293b;
  margin-bottom: 4px;
  background: linear-gradient(90deg, #377f7e, #10b981);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 2rem;
  font-weight: bold;
  text-align: left;
  margin-bottom: 10px;
}

.hero-text {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  width: 100%;
}

.profile-btn {
  position: unset !important;
  right: 20px;
  background: #fff;
  padding: 5px 10px;
  border-radius: 50px;
  display: flex;
  gap: 10px;
  border: 2px solid #efefef;
}

.desktop-stats-info {
  background: white;
  margin-top: 15px !important;
  width: fit-content;
  margin: auto;
  color: #64748b;
  padding: 10px 10px;
  font-size: 10px !important;
  border-radius: 8px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
.desktop-stats-info img {
  width: 23px !important;
}
.desktop-stats-info span {
  font-size: 14px !important;
}

.hero-text span {
  font-size: 0.85rem;
  opacity: 0.8;
}

.hero-subtitle {
  color: #368186;
  font-size: 1rem;
  text-align: left;
  margin-bottom: 30px;
  font-weight: 500;
}

.stats-info {
  opacity: 0.8;
  /* margin-top: -15px !important; */
  font-size: 17px;
}

.stats-info span {
  font-size: 15px !important;
  font-weight: 500 !important;
  margin: 0 5px;
}

.medical img {
  max-width: 170px;
  width: 100%;
  cursor: pointer;
  margin-bottom: 10px;
  object-fit: cover;
}

/* Medical Services Button */
.medical-services {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}

.medical-circle {
  width: 100px !important;
  height: 100px !important;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 16px;
}

.medical-circle:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.medical-circle i {
  font-size: 40px;
  color: var(--primary);
}

.medical-label {
  font-weight: 600;
  color: var(--dark);
}

.medical-circle i {
  background: rgba(37, 99, 235, 0.1);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.medical-circle:hover i {
  background: rgba(37, 99, 235, 0.2);
  transform: scale(1.1);
}

.sponsored-section {
  background: #d0deff;
  padding: 20px;
}

.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: unset !important;
  z-index: 0 !important;
}

.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;
  background: white !important;
  font-size: 17px;
  border: 0 !important;
  position: unset !important;
  z-index: 0 !important;
  outline: none !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: 30px auto !important;
  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 {
  /* display: none; */
  z-index: -1;
}

@media (max-width: 991px) {
  .sidebar {
    width: 250px;
    background: #ffffff;
    display: flex !important;
    flex-direction: column !important;
    justify-items: space-between !important;
    border-right: 1px solid #e5e7eb;
    min-height: 100vh !important;
    max-height: auto !important;
    /* height: 100% !important; */
    height: auto !important;

    padding: 20px 0;
  }
  .home-container {
    min-height: 93.7vh !important;
  }
  .header {
    background: white !important;
  }
}
@media (max-width: 768px) {
  .hero-content {
    box-shadow: 0px 0px 0px transparent !important;
    padding-top: 0 !important;
  }

  .mobile-profile-btn{
    border: 2px solid #80808036;
  }

  .header {
    padding-bottom: 5px !important;
  }

  .hero-content .hero-title {
    margin-bottom: 2px !important;
    font-size: 1.3rem !important;
}

.hero-subtitle {
  font-size: 0.9rem;
}

.desktop-stats-info span:nth-child(1) {
  font-size: 0px !important;
}

.desktop-stats-info .time-date {
  font-size: 14px !important;
}

  .search-section {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
  .search-section #dropdown {
    font-size: 16px !important;
  }
  .search-section #dropdown option {
    font-size: 16px !important;
  }
  .search-section #dropdown option:nth-child(1) {
    font-size: 16px !important;
  }

  .emergency-text{
    font-size: 16px !important;
    
  }

  .desktop-stats-info span:nth-child(1){
    font-size: 16px !important;
    color: #1d1d1d;
  }
  .desktop-stats-info .time-date{
    font-size: 13px !important;
    color: #1d1d1d;
  }

  .emergency-text {
    font-size: 15px !important;
}

  .hero-content {
    padding-bottom: 5px !important;
  }

  .desktop-stats-info {
    background: white;
    /* margin-top: 30px !important; */
    width: fit-content;
    margin: auto;
    color: #64748b;
    padding: 1px 25px !important;
    padding-bottom: 20px !important;
    width: 100% !important;
    font-size: 10px !important;
    text-align: left;
    border-radius: 0px;
    margin-top: 0 !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
}

/* Floating mobile menu */
.floating-mobile-menu {
  display: block;
  background: var(--white);
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  padding: 12px 16px;
  z-index: 1000;
  width: 90%;
  margin: auto;
  max-width: 500px;
}

.mobile-menu-container {
  display: flex;
  align-items: center;
  position: relative;
}

.mobile-menu-scroll {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  -ms-overflow-style: none; /* Hide scrollbar for IE and Edge */
  scrollbar-width: none; /* Hide scrollbar for Firefox */
  padding: 0 10px;
  width: calc(100% - 60px);
  margin: 0 30px;
}

.mobile-menu-scroll::-webkit-scrollbar {
  display: none; /* Hide scrollbar for Chrome, Safari and Opera */
}

.mobile-menu-item {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 12px;
  margin: 0 4px;
  border-radius: 30px;
  background: rgba(37, 99, 235, 0.05);
  color: var(--gray);
  text-decoration: none;
  transition: var(--transition);
  min-width: 70px;
}

.mobile-menu-item.active {
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
  font-weight: 600;
}

.mobile-menu-item i {
  font-size: 18px;
  margin-bottom: 4px;
}

.mobile-menu-item span {
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}

.mobile-menu-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.mobile-menu-arrow:hover {
  background: var(--primary-dark);
}

.mobile-menu-arrow.left {
  left: 0;
}

.mobile-menu-arrow.right {
  right: 0;
}

.mobile-menu-arrow.hidden {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Show floating menu only on mobile */
@media (max-width: 1024px) {
  .floating-mobile-menu {
    display: block;
  }
}


@media (min-width: 767px) {
  .stats-info-mobile {
    display: none;
  }
}

.stats-info-mobile #headerDateTime {
  font-size: 12px;
  display: block;
}

@media (max-width: 766px) {
  .hero-stats {
    display: none !important;
  }
}
/* Notification icon styling */
.notification-btn img {
  filter: drop-shadow(0 2px 2px rgba(0,0,0,0.1));
  transition: transform 0.2s ease;
}

.notification-btn:hover img {
  transform: scale(1.1);
}

/* Dropdown styling */
.notification-dropdown {
  display: none;
  position: absolute;
  right: 20px;
  top: 70px;
  width: 320px;
  z-index: 1000;
  border-radius: 14px;
  backdrop-filter: blur(12px) saturate(180%);
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Notification items */
.notification-item {
  padding: 10px 12px;
  border-radius: 8px;
  transition: all 0.2s ease;
  margin-bottom: 6px;
}

/* 🔴 Unread notifications */
.notification-item.unread {
  background: #2a6d7133;
  font-weight: 600;
}

/* ⚪ Read notifications */
.notification-item.read {
  background: #f5f5f5;
  color: #333;
}

/* Hover effect */
.notification-item:hover {
  opacity: 0.9;
}

/* List scroll styling */
.notif-list {
  max-height: 300px;
  overflow-y: auto;
  scrollbar-width: thin;
}

.notif-list::-webkit-scrollbar {
  width: 5px;
}

.notif-list::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 10px;
}

/* Responsive dropdown */
@media (max-width: 992px) {
  .notification-dropdown {
    right: 10px;
    top: 60px;
    width: 90%;
  }
}

/* View All buttons */
#viewAllBtnMobile, #viewAllBtnDesktop {
  width: 100%;
  background: transparent !important;
  border: none !important;
  color: #368186 !important;
  text-decoration: underline !important;
}

/* Read All button */
.readAllBtn {
  background: #368186 !important;
  border: none !important;
  color: #fff !important;
  font-weight: 500;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.readAllBtn:hover {
  background: #2a6d71 !important;
}

.sponsored-heading {
  font-size: 16px;
 font-weight: 500;
 color: #535353 !important;
 text-align: left !important;
}