@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200;300;400;500;600;700;800;900&display=swap');

:root {
  --primary-color: #20b2aa;
  --secondary-color: #17a2b8;
  --accent-color: #28a745;
  --Green-start: #20b2aa;
  --Red-end: #e91e63;
  --teal-end: #06b6d4;
  --text-dark: #2d3748;
  --text-muted: #718096;
  --border-color: #e2e8f0;
  --purple-start: #8B5CF6;
  --purple-end: #A855F7;
  --green-end: #059669;
  --blue-start: #3B82F6;
  --blue-end: #1D4ED8;
  --teal-color: #06B6D4;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Cairo", sans-serif;
}

html {
  /* font-size: 90; */
  zoom: 95%;
}

body {
  line-height: 1.6;
}


/* Header Styles */
.logo-container {
  width: 148px;
  height: 148px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.header-top {
  border-bottom: 1px solid var(--border-color);
}

/* Login Button */
.btn-login {
  color: var(--Green-start);
  background-color: #fff;
  border: 1px solid var(--Green-start);
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  white-space: nowrap;
  flex-shrink: 0;
  font-size: 0.85rem;
}

.btn-login:hover {
  background-color: rgba(62, 158, 113, 0.1);
  border-color: var(--Green-start);
  color: #000;
}

.navbar {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
  background: white !important;
}

.nav-link {
  position: relative;
  font-weight: 500;
  color: var(--text-dark) !important;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}


/* Active Link */
.nav-link.active {
  position: relative;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 2px;
}


.nav-link::before {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.nav-link:hover::before {
  width: 100%;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-1px);
}

/* Mobile Toggle Button */
.navbar-toggler {
  border: 1px solid var(--border-color);
  padding: 0.4rem 0.6rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* Mobile Navigation */
#mobileNavbar {
  border-top: 1px solid var(--border-color);
}

#mobileNavbar .nav-link {
  padding: 0.75rem 0;
  border-bottom: 1px solid #f8f9fa;
  margin: 0;
}

#mobileNavbar .nav-link:last-child {
  border-bottom: none;
}

/* ------------------------------------------------------------------------- */
/* Exclusive Offers SubNavbar */

.exclusive-offers-subnav {
  position: relative;
  z-index: 10;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.offers-title {
  font-size: 1rem;
  font-weight: 700;
  /* color: #2d3748; */
  animation: slideDownFade 0.8s ease-out;
  background: linear-gradient(135deg, #31dabd 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.offers-title i {
  animation: none;
}


offers-container {
  overflow: hidden;
  position: relative;
  padding-bottom: 12px;
}

.offers-row {
  scrollbar-width: thin;
  scrollbar-color: rgba(32, 178, 170, 0.6) rgba(241, 241, 241, 0.3);
  -ms-overflow-style: auto;
}

/* Offer Items */
.offer-item {
  min-width: 140px;
  background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
  border-radius: 16px;
  padding: 0.6rem;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s ease;
  border: 2px solid transparent;
  transform: scale(1);
}

.offer-item:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Offer Icons */
.offer-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.offer-icon:hover {
  transform: rotate(150deg);
  transition: transform 0.3s ease;
}

/* Offer Content */
.offer-content {
  flex: 1;
  min-width: 0;
}

.offer-main-text {
  font-size: 0.7rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 2px;
  line-height: 1.2;
}

.offer-sub-text {
  font-size: 0.6rem;
  color: #718096;
  line-height: 1.2;
}

.offer-consultation {
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
  border-color: #10b981;
}

.offer-consultation .offer-icon {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
}

.offer-discount {
  background: linear-gradient(135deg, #fecaca 0%, #fca5a5 100%);
  border-color: #ef4444;
}

.offer-discount .offer-icon {
  background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
}

.offer-medicine {
  background: linear-gradient(135deg, #e9d5ff 0%, #c4b5fd 100%);
  border-color: #8b5cf6;
}

.offer-medicine .offer-icon {
  background: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 100%);
}

.offer-delivery {
  background: linear-gradient(135deg, #dbeafe 0%, #93c5fd 100%);
  border-color: #3b82f6;
}

.offer-delivery .offer-icon {
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
}

.offer-golden {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border-color: #f59e0b;
}

.offer-golden .offer-icon {
  background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
}

.offer-pharmacy {
  background: linear-gradient(135deg, #ccfbf1 0%, #99f6e4 100%);
  border-color: #06b6d4;
}

.offer-pharmacy .offer-icon {
  background: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%);
}

.offer-premium {
  background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%);
  border-color: #ec4899;
}

.offer-premium .offer-icon {
  background: linear-gradient(135deg, #be185d 0%, #ec4899 100%);
}

/* Limited Time Text */
.btn-exclusive-offers {
  background: linear-gradient(135deg, #ec4899 0%, #f97316 100%);
  color: white;
  border: none;
  font-size: 0.75rem;
  display: inline-block;
  text-decoration: none;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  animation: pulseScale 2s ease-in-out infinite;
}

@keyframes pulseScale {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
}

/* Animations */
@keyframes slideDownFade {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Animation for Offer Items */
.offer-item:nth-child(1) {
  animation-delay: 0.1s;
}

.offer-item:nth-child(2) {
  animation-delay: 0.2s;
}

.offer-item:nth-child(3) {
  animation-delay: 0.3s;
}

.offer-item:nth-child(4) {
  animation-delay: 0.4s;
}

.offer-item:nth-child(5) {
  animation-delay: 0.5s;
}

.offer-item:nth-child(6) {
  animation-delay: 0.6s;
}

.offer-item:nth-child(7) {
  animation-delay: 0.7s;
}


/* ------------------------------------------------------------------------- */
/* Doctor Booking Banner Section */

.doctor-booking-banner {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--purple-end) 100%);
  position: relative;
  overflow: hidden;
}

.doctor-booking-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
}

.doctor-booking-banner-content {
  position: relative;
  z-index: 2;
}


.doctor-booking-banner-image {
  position: relative;
  z-index: 2;
}

/* Doctor Booking Banner Animations */
.doctor-booking-animate-slide-up {
  animation: doctorBookingSlideUp 0.8s ease-out;
}

.doctor-booking-animate-slide-up-delay {
  animation: doctorBookingSlideUp 0.8s ease-out 0.2s both;
}


.doctor-booking-animate-float {
  animation: doctorBookingFloat 3s ease-in-out infinite;
}

@keyframes doctorBookingSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes doctorBookingFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Doctor Booking Search Section */


.doctor-booking-search-input {
  border-radius: 50px;
  border: 2px solid #e9ecef;
  padding: 0.75rem 3rem 0.75rem 1.5rem;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.doctor-booking-search-input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.2);
}

.doctor-booking-search-icon {
  position: absolute;
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-color);
  font-size: 1.2rem;
  pointer-events: none;
}
/* ------------------------------------------------------------------------- */
/* Hero First Section */

.hero-section {
  min-height: 80vh;
  background: linear-gradient(135deg, #f9f5fe 0%, #f2fdfb 100%);
  padding: 2rem 0 4rem 0;
}

/* Background Bubbles */
.bubble {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
}

.bubble-right {
  width: 150px;
  height: 150px;
  background: var(--primary-color);
  top: 10%;
  right: 12px;
}

.bubble-left {
  width: 150px;
  height: 150px;
  background: var(--purple-end);
  bottom: 10%;
  left: 20px;
}

.hero-text {
  flex: 1;
  animation: slideUpFade 1s ease-out;
}

.top-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(45deg, #af44e0, #c376d3) !important;
  backdrop-filter: blur(10px);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  color: white;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  animation: slideUpFade 1s ease-out 0.2s both;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: white;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  animation: slideUpFade 1s ease-out 0.1s both;
}

.highlight {
  color: #4facfe;
}

.highlight-secondary {
  color: var(--primary-color);
}

.hero-description {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  animation: slideUpFade 1s ease-out 0.3s both;
}


/*  buttons */
.medical-search-submit-button {
  background: linear-gradient(45deg, #009291, #9231f2);
  border: none;
  color: white;
}

.medical-search-submit-button:hover {
  background: linear-gradient(45deg, #158686, #8748c7);
  color: white;
}


.medical-online-indicator {
  color: #10b981 !important;
  animation: pulse 2s infinite;
}


/* Carousel */
#heroCarousel {
  border-radius: 16px;
  overflow: hidden;
}

#heroCarousel .carousel-item {
  transition: all 1s ease-in-out;
}

#heroCarousel .carousel-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  max-width: 100%;
  transition: all 0.8s ease-in-out;
  transform-origin: center center;
}



#heroCarousel .carousel-item:not(.active) img {
  opacity: 0.3;
  scale: 0.9;
}


/* Carousel Indicators */
#heroCarousel .carousel-indicators {
  bottom: 20px;
  z-index: 10;
}

#heroCarousel .carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.6);
  border: 2px solid rgba(255, 255, 255, 0.8);
  margin: 0 6px;
  transition: all 0.3s ease;
}

#heroCarousel .carousel-indicators button.active {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  transform: scale(1.3);
}

#heroCarousel .carousel-indicators button:hover {
  background-color: var(--primary-color);
  transform: scale(1.2);
}



@keyframes pulse {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.9;
  }

  100% {
    opacity: 1;
  }
}

/* animations */
.medical-hero-image-wrapper-container {
  animation: floatImageTiltRightDown 4s ease-in-out infinite;
}

@keyframes floatImageTiltRightDown {

  0%,
  100% {
    transform: translateY(15px) translateX(0px) rotate(0deg);
  }

  50% {
    transform: translateY(1px) translateX(1px) rotate(1deg);
  }
}

/* badges */
.hero-floating-badge {
  width: 150px;
  min-height: 80px;
  animation: floatBadge 3s ease-in-out infinite;
}

.hero-badge-online {
  top: -10px;
  right: -20px;
}

.hero-badge-rating {
  bottom: -40px;
  left: 10px;
  animation-delay: 1s;
}

/* Badge icon  */

.hero-badge-online .hero-badge-icon i {
  color: #10b981 !important;
  background: rgba(16, 185, 129, 0.15);
  padding: 8px;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero-badge-rating .hero-badge-icon i {
  color: #8b5cf6 !important;
  background: rgba(245, 158, 11, 0.1);
  padding: 8px;
  border-radius: 50%;
}

/* Badge text styling */
.hero-badge-label {
  font-size: 0.7rem !important;
}

.hero-badge-number {
  font-size: 0.8rem !important;
}

@keyframes floatBadge {

  0%,
  100% {
    transform: translateY(0px);
    opacity: 1;
  }

  50% {
    transform: translateY(-10px);
    opacity: 0.7;
  }
}

@keyframes floatRating {

  0%,
  100% {
    transform: translateY(0px) scale(1);
  }

  50% {
    transform: translateY(-8px) scale(1.05);
  }
}

/* Search form */
.medical-appointment-search-form-container {
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: slideUpFade 1.2s ease-out 0.5s both;
}

@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ------------------------------------------------------------------------- */
/* Specialty Cards Section*/

.specialty-card-one {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}


.specialty-icon-one {
  width: 60px;
  height: 60px;
  /* background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  color: white;
  font-size: 1rem;
}

/* Specialty Images */
.specialty-card-one:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-color);
  text-decoration: none;
  color: inherit;
}

.specialty-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}




/* ------------------------------------------------------------------------- */
/* Doctor Search & Filter Section */

.doctor-filter-form {
  margin-bottom: 30px;
}

.doctor-filter-container {
  background: #f8f9fa;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 15px 20px;
}

.doctor-filter-label {
  color: #6c757d;
  font-weight: 500;
  font-size: 14px;
  margin-left: 15px;
}

.doctor-filter-select {
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 14px;
  color: #6c757d;
  background: white;
  min-width: 120px;
  margin-left: 10px;
}

.doctor-filter-select:focus {
  border-color: var(--Green-start);
  box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.25);
}

.doctor-available-btn {
  background: var(--Green-start);
  color: white;
  border: none;
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  margin-left: 15px;
}

.doctor-available-btn:hover {
  background: #157347;
}

/* Doctor Card */
.doctor-profile-card {
  border-radius: 16px;
  border: 1px solid var(--border-color);
  margin-bottom: 20px;
}

.doctor-profile-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.doctor-profile-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  position: relative;
  border: 3px solid white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.doctor-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.doctor-online-indicator {
  width: 12px;
  height: 12px;
  background: #198754;
  border: 2px solid white;
  border-radius: 50%;
  position: absolute;
  bottom: 4px;
  right: 4px;
}

.doctor-rating-stars {
  color: #ffc107;
}

.doctor-specialties-tag {
  background: #e9ecef;
  color: #495057;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 500;
  margin: 2px;
  display: inline-block;
  border: 1px solid #dee2e6;
}

.doctor-experience-tag {
  background: #e3f2fd;
  color: var(--blue-start);
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
}

.doctor-status-available {
  background-color: #d1e7dd;
  color: #0f5132;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}

.doctor-status-tomorrow {
  background-color: #fff3cd;
  color: #664d03;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Doctor Contact */
.doctor-contact-section {
  background: rgba(108, 117, 125, 0.1);
  border-radius: 8px;
  padding: 15px;
}

.doctor-contact-title {
  color: #495057;
  font-weight: 600;
  margin-bottom: 15px;
}

.doctor-contact-info {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 2px 0;
}

.doctor-action-btn {
  font-size: 0.875rem;
  padding: 6px 12px;
  border-radius: 8px;
  text-decoration: none;
}

/* زرار احجز الآن */
.doctor-action-btn.btn-success {
  background-color: var(--Green-start);
  border-color: var(--Green-start);
}

/* زرار التواصل الأخضر */
.doctor-action-btn.btn-outline-secondary:nth-child(2) {
  border-color: var(--primary-color);
  color: var(--Green-start);
}

.doctor-action-btn.btn-outline-secondary:nth-child(2):hover {
  background-color: var(--Green-start);
  color: white;
}


.doctor-action-btn.btn-success:hover {
  background-color: var(--green-end);
}

/* ---------------------------------------------------------------------------*/
/* Banner Section */

.banner-section {
  background: linear-gradient(135deg, #009786 0%, #83c98d 100%);
  position: relative;
  overflow: hidden;
}

.banner-section::before {
  content: '';
  position: absolute;
  top: 1px;
  left: -130px;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  opacity: 0.5;
}

.banner-section::after {
  content: '';
  position: absolute;
  top: 22px;
  right: 2px;
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  opacity: 0.5;
}

.banner-feature-icon {
  width: 50px;
  height: 50px;
}

.banner-icon-container {
  width: 50px;
  height: 50px;
  background: rgba(40, 167, 69, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ---------------------------------------------------------------------------*/
/* Pharmacy Header */

.pharmacy-main-title {
  font-size: 2.1rem;
  font-weight: 700;
  background: linear-gradient(90deg, var(--primary-color), #a50feb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Search  */
.search-section {
  max-width: 700px;
  margin: 0 auto;
}

.search-input {
  padding: 12px 50px 12px 20px;
  border: 2px solid var(--border-color);
  border-radius: 20px;
  font-size: 1rem;
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.search-input:focus {
  border-color: var(--text-muted);
  box-shadow: 0 4px 20px rgba(66, 133, 244, 0.15);
  outline: none;
}

.search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Category Cards */
.category-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  transition: all 0.3s ease;
  display: block;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-color);
}

.category-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: white;
}

.medicines-icon {
  background: linear-gradient(135deg, #ff6b6b, #ee5a24);
}

.vitamins-icon {
  background: linear-gradient(135deg, #feca57, #ff9ff3);
}

.skincare-icon {
  background: linear-gradient(135deg, #48dbfb, #0abde3);
}

.children-icon {
  background: linear-gradient(135deg, #ff9ff3, #f368e0);
}

.allergies-icon {
  background: linear-gradient(135deg, #ff9ff3, #f368e0);
}

.diabetes-icon {
  background: linear-gradient(135deg, #ff6b6b, #ee5a24);
}

.antibiotics-icon {
  background: linear-gradient(135deg, #a55eea, #8854d0);
}

.blood-pressure-icon {
  background: linear-gradient(135deg, #fd79a8, #e84393);
}


.category-title {
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.category-subtitle {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 0.9rem;
  line-height: 1.4;
}

.product-count {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.category-btn {
  background: rgba(239, 241, 241, 0.9);
  color: var(--text-dark);
  padding: 0.6rem 1.2rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  backdrop-filter: blur(10px);
}

.category-card:hover .category-btn {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  transform: scale(1.05);
}

/* Section Header  */
.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(135deg, #5bd4c0 0%, #751cce 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* End of Pharmacy Section */
/* ------------------------------------------------------------------------- */
/* Back to Top Button */

.back-to-top-btn {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-color);
  color: white;
  border: none;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.back-to-top-btn.show {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top-btn:hover {
  background: #1a9a91;
  transform: translateY(-3px);
}

/* scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #20b2aa 0%, #059669 100%);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

/* ------------------------------------------------------------------------- */


/* Footer */
footer {
  background-color: #182131 !important;
}

footer h6 {
  color: white;
  font-weight: 600;
  margin-bottom: 1rem;
}

footer .text-muted {
  color: #a0aec0 !important;
}

footer a.text-muted:hover {
  color: var(--primary-color) !important;
}

.footer-logo {
  width: 160px;
  height: auto;
}

.social-links a {
  display: inline-block;
  width: 40px;
  height: 40px;
  /* background: var(--primary-color); */
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--secondary-color);
}



/* ---------------------------------------------------------------------------*/
/* About Us Page Styles */

.about_Us-Section {
  background: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 100%);
}

.vision-icon {
  width: 50px;
  height: 50px;
}

.vision-icon.vision {
  background: linear-gradient(135deg, #10b981, #059669);
}

.vision-icon.mission {
  background: linear-gradient(135deg, #ec4899, #be185d);
}

.vision-icon.values {
  background: linear-gradient(135deg, #22c55e, #16a34a);
}

.medical-team-img {
  height: 400px;
}

.aboutUs-icon {
  width: 60px;
  height: 60px;
}

.aboutUs-icon.time,
.aboutUs-icon.consultation,
.aboutUs-icon.doctor,
.aboutUs-icon.patient {
  background: linear-gradient(135deg, #139195, #5153e2);
}

.statistic-number {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary-color);
}

.team-avatar {
  width: 100px;
  height: 100px;
}

.aboutUs-buttonCt {
  background: linear-gradient(45deg, #af44e0, #c376d3) !important;
  transition: all 0.3s ease;
  border: none;
}

.aboutUs-buttonCt:hover {
  box-shadow: 0 8px 25px rgba(175, 68, 224, 0.4);
  background: linear-gradient(45deg, #9c3dd1, #b05cc0) !important;
}



.aboutUs-Card-hover {
  transition: box-shadow 0.25s ease;
  transition: all 0.3s ease;
  cursor: pointer;
}

.aboutUs-Card-hover:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}




/* ---------------------------------------------------------------------------*/
/* Exclusive Offers ؛شلث */

.exclusive-offer-banner {
  background: linear-gradient(135deg, #af44e0 0%, #1abc9c 100%);
  position: relative;
  overflow: hidden;
}




.advertise-btn-link {
  background: linear-gradient(135deg, #af44e0 0%, #1abc9c 100%) !important;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.advertise-btn-link:hover {
  background: linear-gradient(135deg, #9c3dd1 0%, #3de4f0 100%);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.advertising-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #af44e0 0%, #1abc9c 100%);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 1rem;
}

/* ---------------------------------------------------------------------------*/
/* Medical Info Page  */

.medical-info-section {
  background: linear-gradient(135deg, #7946a5 0%, #47a1b9 100%);
}

.medical-category-card {
  border: none;
  border-radius: 15px;
  padding: 25px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  height: 100%;
}

.medical-category-card:hover {
  transform: translateY(-5px);
  filter: brightness(1.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* btn  */
.btn-teal {
  background-color: #20c997 !important;
  border-color: #20c997 !important;
  color: white !important;
  margin: 0;
  padding: 8px 16px;
  margin-top: 10px;
}

.btn-teal:hover {
  background-color: #1ba085 !important;
  border-color: #1ba085 !important;
  color: white !important;
}

.medical-category-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

/* Category colors */
.bg-pink-light {
  background-color: #fce7f3;
  border: 2px solid #F9A8D4;
}

.bg-red-light {
  background-color: #FEF2F2;
  border: 2px solid #FCA5A5;
}

.bg-blue-light {
  background-color: #EFF6FF;
  border: 2px solid #93C5FD;
}

.bg-purple-light {
  background-color: #FAF5FF;
  border: 2px solid #C4B5FD;
}

.bg-green-light {
  background-color: #F0FDF4;
  border: 2px solid #86EFAC;
}

.bg-cyan-light {
  background-color: #cffafe;
  border: 2px solid #91e0e7;
}

.bg-yellow-light {
  background-color: #FFFBEB;
  border: 2px solid #FCD34D;
}

.bg-emerald-light {
  background-color: #d1fae5;
  border: 1px solid #76e4ab;
}


.text-pink {
  color: #ec4899;
}

.text-red {
  color: #ef4444;
}

.text-blue {
  color: #3b82f6;
}

.text-purple {
  color: #8b5cf6;
}

.text-green {
  color: #10b981;
}

.text-cyan {
  color: #06b6d4;
}

.text-yellow {
  color: #f59e0b;
}

.text-emerald {
  color: #10b981;
}

/* Newsletter Section */
.newsletter-form-container {
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-input::placeholder {
  text-align: right;
  color: #6c757d;
}

/* Article Cards */
.article-card {
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  overflow: hidden;
}

.article-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.article-image-container {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.article-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
}

.category-tag {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  color: white;
  background: linear-gradient(135deg, #17a2b8 0%, #108791 100%);
}






/* ---------------------------------------------------------------------------*/
/* Contact Us Page */

.contact-hero-section {
  background: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 100%);
}


.contact-form-card {
  border-radius: 1rem;
  background-color: #f4fbfc;
}

.contact-form-card .form-control {
  background-color: transparent;
  border-color: #e2e8f0;
}

.contact-form-card .form-control:focus {
  background-color: transparent;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(32, 178, 170, 0.25);
}

.contact-submit-btn {
  background: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 100%);
  border: none;
  transition: all 0.9s ease;
}

.contact-submit-btn:hover {
  background: linear-gradient(135deg, #3e1896 0%, #3599aa 100%);
}


.contact-info-card {
  border-radius: 1rem;
  background-color: transparent;
  border: none;
}

.contact-info-item {
  border: 2px solid transparent;
}

.contact-info-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-phone-icon {
  background: linear-gradient(135deg, #10b981, #059669);
}

.contact-email-icon {
  background: linear-gradient(135deg, #8b5cf6, #6366f1);
}

.contact-location-icon {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.contact-clock-icon {
  background: linear-gradient(135deg, #06b6d4, #0891b2);
}

/* ---------------------------------------------------------------------------*/
/* Exclusive Pharmacy Offers  */

.pharmacy-banner {
  background: linear-gradient(135deg, #dc2626 0%, #ff700d 100%);
  box-shadow: 0 10px 25px rgba(220, 38, 38, 0.3);
}

/* ---------------------------------------------------------------------------*/
/* Medical Information Section  */

.medical-title {
  background: linear-gradient(135deg, #8B5CF6 0%, #06B6D4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1..9rem;
}

.MoreThan-Gradient {
  background: linear-gradient(135deg, #8B5CF6 0%, #06B6D4 100%);
  width: fit-content;
}

/* Medical Search Banner */
.medical-search-banner {
  background: linear-gradient(to right, #f3e8ff, #f0fdf4);
  border-radius: 16px;
  padding: 2.5rem 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: none;
}

.btn-gradient-primary {
  background: linear-gradient(135deg, #06B6D4 0%, #8B5CF6 100%);
  border: none;
  color: white;
  padding: 0.4rem 1.2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.btn-gradient-primary:hover {
  background: linear-gradient(135deg, #0891B2 0%, #7C3AED 100%);
  box-shadow: 0 8px 25px rgba(6, 182, 212, 0.3);
  color: white;
}

.btn-outline-teal {
  color: #06B6D4;
  border: 2px solid var(--Green-start);
  background-color: white;
  padding: 0.4rem 1.2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.btn-outline-teal:hover {
  background-color: hsl(0, 0%, 100%) transparent;
  color: black;
  border-color: var(--Green-start);
}

/* Specialty Cards Two */
.specialty-card {
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  overflow: hidden;
}

.specialty-card:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.specialty-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-size: 1.5rem;
  transition: transform 0.6s ease;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
}

.specialty-icon:hover {
  transform: rotate(360deg);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* ---------------------------------------------------------------------------*/
/* Most Searched Topics Section */

.topic-tag {
  background-color: #f8f9fa;
  color: #495057;
  border: 2px solid #e9ecef;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  white-space: nowrap;
}

.topic-tag:hover {
  background-color: rgba(25, 135, 84, 0.1);
  border-color: #20c997;
  box-shadow: 0 4px 12px rgba(32, 201, 151, 0.2);
}

.topic-tags-container {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.topic-tags-container::-webkit-scrollbar {
  display: none;
}

/* ---------------------------------------------------------------------------*/
/* Login and Register Pages Styles */

.auth-page-bg {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #f0fdf4 100%);
  min-height: 100vh;
}

/* Auth Cards */
.auth-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  padding: 3rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

/* Auth Icons */
.auth-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--Green-start), var(--teal-color));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  color: white;
  font-size: 2.5rem;
  box-shadow: 0 10px 30px rgba(32, 178, 170, 0.3);
}

/* Auth Titles */
.auth-title {
  color: var(--text-dark);
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.auth-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 0;
}

/* Auth Form  */
.auth-form-section {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid #e9ecef;
}

.auth-section-title {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}
/*  Btns */
.auth-btn-submit {
  background: linear-gradient(135deg, var(--Green-start), var(--teal-color));
  border: none;
  color: white;
  font-weight: 600;
  padding: 0.875rem 1.5rem;
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(32, 178, 170, 0.3);
}

.auth-btn-submit:hover {
  background: linear-gradient(135deg, #1a9a8a, #0891b2);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(32, 178, 170, 0.4);
  color: white;
}

.auth-btn-register {
  background: linear-gradient(135deg, var(--purple-start), var(--purple-end));
  border: none;
  color: white;
  font-weight: 600;
  padding: 0.875rem 1.5rem;
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.auth-btn-register:hover {
  background: linear-gradient(135deg, #7c3aed, #9333ea);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
  color: white;
}

/* Auth Links */
.auth-forgot-password,
.auth-login-link,
.auth-register-link {
  color: var(--Green-start);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.auth-forgot-password:hover,
.auth-login-link:hover,
.auth-register-link:hover {
  color: var(--teal-color);
  text-decoration: underline;
}

.auth-terms-link,
.auth-privacy-link {
  color: var(--purple-start);
  text-decoration: none;
  font-weight: 500;
}

.auth-terms-link:hover,
.auth-privacy-link:hover {
  color: var(--purple-end);
  text-decoration: underline;
}
/* Password Toggle */
.password-toggle-btn {
  border: 2px solid #e9ecef;
  border-right: none;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  background: #f8f9fa;
  color: var(--text-muted);
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
}

.password-toggle-btn:hover {
  background: #e9ecef;
  color: var(--text-dark);
  border-color: var(--Green-start);
}

.password-toggle-btn:focus {
  box-shadow: 0 0 0 0.2rem rgba(32, 178, 170, 0.25);
  outline: none;
}

/* Auth Form Check */
.auth-form-check-input:checked {
  background-color: var(--Green-start);
  border-color: var(--Green-start);
}

.auth-form-check-input:focus {
  border-color: var(--Green-start);
  box-shadow: 0 0 0 0.2rem rgba(32, 178, 170, 0.25);
}

.register-form input[type="date"] {
  text-align: right;
}

.auth-card input::placeholder {
  text-align: right;
}

/* Reset Password */
.reset-password-form .form-text {
  background: rgba(32, 178, 170, 0.1);
  border: 1px solid rgba(32, 178, 170, 0.2);
  border-radius: 8px;
  padding: 0.5rem;
  margin-top: 0.5rem;
}

.new-password-form .form-text {
  background: rgba(32, 178, 170, 0.1);
  border: 1px solid rgba(32, 178, 170, 0.2);
  border-radius: 8px;
  padding: 0.5rem;
  margin-top: 0.5rem;
}

.password-strength {
  background: rgba(32, 178, 170, 0.1);
  border: 1px solid rgba(32, 178, 170, 0.2);
  border-radius: 8px;
  padding: 0.5rem;
  margin-top: 0.5rem;
}

/* Privacy Policy Pages */
.accordion-button {
  font-size: 1.1rem;
  font-weight: 600;
}

.accordion-body {
  font-size: 1rem;
  line-height: 1.7;
}

.accordion-body ul {
  font-size: 1rem;
}

.accordion-body li {
  margin-bottom: 0.5rem;
}