/* Modern Responsive Search Bar Styles (from sessionsTherapy) */
.main-search {
  position: relative;
  width: 100%;
  max-width: 700px;
  min-width: 220px;
  margin: 0 auto 2.5rem auto;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
}

.search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 700px;
}

.search-input {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 1.25rem 4rem 1.25rem 1.5rem;
  font-size: 1.1rem;
  border: none;
  border-radius: 24px 0 0 24px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transition: box-shadow 0.2s, background 0.2s;
  color: var(--text-primary);
  font-weight: 500;
  outline: none;
  flex: 1 1 0%;
  height: 3.5rem;
}

.search-input::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

.search-input:focus,
.search-input:hover {
  background: #fff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
              0 0 0 2px rgba(212, 175, 55, 0.2);
}

.search-btn {
  position: absolute;
  right: 0.25rem;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, var(--brown-medium) 0%, var(--brown-light) 100%);
  color: var(--primary-light);
  border: none;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 0 24px 24px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 3;
}

.search-btn:hover {
  background: linear-gradient(135deg, var(--brown-medium) 0%, var(--brown-light) 100%);
  color: #fff;
  transform: translateY(-50%) translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

.search-btn i {
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.search-btn:hover i {
  transform: scale(1.1);
}

@media (max-width: 900px) {
  .main-search, .search-wrapper {
    max-width: 98vw;
  }
}

@media (max-width: 600px) {
  .main-search {
    max-width: 98vw;
    min-width: 0;
    padding: 0 2vw;
    margin: 0 auto 1.5rem auto;
  }
  .search-wrapper {
    width: 100%;
    max-width: 98vw;
  }
  .search-input {
    font-size: 1rem;
    padding: 1rem 2.7rem 1rem 1rem;
    border-radius: 24px 0 0 24px;
    min-width: 0;
    height: 2.7rem;
  }
  .search-btn {
    width: 2.3rem;
    height: 2.3rem;
    border-radius: 0 24px 24px 0;
    right: 0.1rem;
    font-size: 1rem;
  }
}
/* Make all card text (except button) match the doctor text color */
.course-card, .course-card *:not(.enroll-btn):not(.book-btn) {
  color: var(--text-muted) !important;
}
/* Ensure button text color is not overridden */
.course-card .enroll-btn, .course-card .book-btn {
  color: #fff !important;
}

        :root {
  --primary-light: #fefefe;
  --secondary-light: #faf8f5;
  --accent-red: #8b1538;
  --dark-red: #7f1d1d;
  --burgundy: #991b1b;
  --dark-brown: #4a2c17;
  --medium-brown: #6b4423;
  --light-brown: #8b7355;
  --beige: #d4c4b0;
  --beige-light: #e8dcc6;
  --gold: #d4af37;
  --gold-light: #f4d03f;
  --cream: #f5f5dc;
  --text-primary: #2c1810;
  --text-secondary: #4a2c17;
  --text-muted: #6b4423;
  --background-primary: #fefefe;
  --background-secondary: #faf8f5;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Full Page Gallery Background */
body {
  font-family: "Playfair Display", "Inter", sans-serif;
  background:  url(/image/photo.jpeg);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  min-height: 100vh;
  color: white;
  line-height: 1.6;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(139, 21, 56, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(74, 44, 23, 0.3) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}



.search-section {
  margin-bottom: 4rem;
}

.search-hero {
  text-align: center;
  margin-bottom: 3rem;
}

.search-hero h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.search-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  font-style: italic;
}

/* Main Search Bar */
.main-search {
  position: relative;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input {
  width: 100%;
  padding: 1.25rem 4rem 1.25rem 1.5rem;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  color: var(--text-primary);
  font-weight: 500;
}

.search-input::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

.search-input:focus {
  background: white;
  outline: none;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
              0 0 0 2px rgba(212, 175, 55, 0.2);
}

.search-btn {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, var(--brown-medium) 0%, var(--brown-light) 100%);
  color: var(--primary-light);
  border: none;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 3;
}

.search-btn:hover {
  background: linear-gradient(135deg, var(--brown-medium) 0%, var(--brown-light) 100%);
  color: #fff;
  transform: translateY(-50%) translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

.search-btn i {
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.search-btn:hover i {
  transform: scale(1.1);
}

/* Main Container */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 2rem 2rem;
  position: relative;
  z-index: 2;
}

/* Header Styles */
.page-header {
  text-align: center;
  margin-bottom: 5rem;
  position: relative;
  padding: 2rem 0;
  margin-top: 50px;
}

.page-header::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.course-header-container {
  position: relative;
  display: inline-block;
  padding: 0 2.5rem;
}

.page-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg, var(--gold) 0%, #f3dfa2 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1rem;
  letter-spacing: 2px;
  position: relative;
  text-transform: uppercase;
  animation: shimmer 3s infinite alternate;
}

@keyframes shimmer {
  0% {
    background-position: -100% center;
  }
  100% {
    background-position: 200% center;
  }
}

/* Search Section */
.search-section {
  margin-bottom: 4rem;
}

.search-hero {
  text-align: center;
  margin-bottom: 3rem;
}

.search-hero h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.search-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  font-style: italic;
}

/* Main Search Bar */
.main-search {
  position: relative;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input {
  width: 100%;
  padding: 1.25rem 4rem 1.25rem 1.5rem;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  color: var(--text-primary);
  font-weight: 500;
}

.search-input::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

.search-input:focus {
  background: white;
  outline: none;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
              0 0 0 2px rgba(212, 175, 55, 0.2);
}

.search-btn {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, var(--brown-medium) 0%, var(--brown-light) 100%);
  color: var(--primary-light);
  border: none;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 3;
}

.search-btn:hover {
  background: linear-gradient(135deg, var(--brown-medium) 0%, var(--brown-light) 100%);
  color: #fff;
  transform: translateY(-50%) translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

.search-btn i {
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.search-btn:hover i {
  transform: scale(1.1);
}

/* Main Container */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 2rem 2rem;
  position: relative;
  z-index: 2;
}

/* Header Styles */
.page-header {
  text-align: center;
  margin-bottom: 5rem;
  position: relative;
  padding: 2rem 0;
  margin-top: 50px;
}

.page-header::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.course-header-container {
  position: relative;
  display: inline-block;
  padding: 0 2.5rem;
}

.page-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg, var(--gold) 0%, #f3dfa2 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1rem;
  letter-spacing: 2px;
  position: relative;
  text-transform: uppercase;
  animation: shimmer 3s infinite alternate;
}

@keyframes shimmer {
  0% {
    background-position: -100% center;
  }
  100% {
    background-position: 200% center;
  }
}

/* Search Section */
.search-section {
  margin-bottom: 4rem;
}

.search-hero {
  text-align: center;
  margin-bottom: 3rem;
}

.search-hero h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.search-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  font-style: italic;
}

/* Main Search Bar */
.main-search {
  position: relative;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input {
  width: 100%;
  padding: 1.25rem 4rem 1.25rem 1.5rem;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  color: var(--text-primary);
  font-weight: 500;
}

.search-input::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

.search-input:focus {
  background: white;
  outline: none;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
              0 0 0 2px rgba(212, 175, 55, 0.2);
}

.search-btn {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, var(--brown-medium) 0%, var(--brown-light) 100%);
  color: var(--primary-light);
  border: none;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 3;
}

.search-btn:hover {
  background: linear-gradient(135deg, var(--brown-medium) 0%, var(--brown-light) 100%);
  color: #fff;
  transform: translateY(-50%) translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

.search-btn i {
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.search-btn:hover i {
  transform: scale(1.1);
}
/* Filters Container */
.filters-container {
  backdrop-filter: blur(10px);
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 3rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.filters-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.filters-header h3 {
  color: white;
  font-size: 1.25rem;
  font-weight: 600;
  font-family: "Playfair Display", serif;
}

.filters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  text-align: center;
}

.filter-label {
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  margin-bottom: 0.25rem;
}

.filter-label i {
  color: var(--primary-light);
  font-size: 1rem;
  background: linear-gradient(135deg, var(--brown-medium) 0%, var(--brown-light) 100%);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.filter-group:hover .filter-label i {
  background: rgba(212, 175, 55, 0.25);
  transform: scale(1.05);
}

.filter-select,
.filter-input {
  width: 100%;
  padding: 0.875rem 1rem;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  color: var(--text-primary);
  font-size: 0.9rem;
  transition: all 0.3s ease;
  text-align: center;
  backdrop-filter: blur(10px);
}

.filter-select:hover,
.filter-input:hover {
  background: white;
  border-color: rgba(255, 255, 255, 0.4);
}

.filter-select:focus,
.filter-input:focus {
  background: white;
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
  outline: none;
}

/* Price Range Inputs */
.price-range-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
}

.price-input-wrapper {
  position: relative;
  flex: 1;
  max-width: 120px;
}

.currency-symbol {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: var(--text-muted);
  font-weight: 500;
  pointer-events: none;
  transition: all 0.3s ease;
}

.price-input {
  padding: 0.875rem 0.5rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.95);
}

.price-input:focus + .currency-symbol,
.price-input:not(:placeholder-shown) + .currency-symbol {
  transform: translate(-150%, -50%);
}

/* Clear Filters Button */
.clear-filters-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.9);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.clear-filters-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
}

.clear-filters-btn i {
  font-size: 0.8rem;
}

/* Active Filters */
.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
  min-height: 2rem;
}

.filter-tag {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.filter-tag:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.filter-tag .remove-filter {
  cursor: pointer;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.filter-tag .remove-filter:hover {
  color: var(--accent-red);
  transform: scale(1.1);
}

/* Search Results */
.search-results {
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  font-style: italic;
  margin-bottom: 2rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Courses Grid */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

/* Course Card Styles */
.course-card {
  background: linear-gradient(180deg, var(--cream-darker) 0%, var(--cream-darkest) 100%);
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 400px;
  max-width: 400px; /* Increased max-width for wider cards */
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.course-image {
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Add overlay and quick actions styles */
.course-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 220px;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
  backdrop-filter: blur(2px);
}

.course-card:hover .course-overlay {
  opacity: 1;
}

.quick-actions {
  display: flex;
  gap: 15px;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.course-card:hover .quick-actions {
  transform: translateY(0);
}

.quick-action-btn {
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 3px;
  color: white;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  background: transparent;
}

.quick-action-btn:hover {
  background: var(--course-primary);
  color: white;
  transform: scale(1.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.difficulty-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.25rem 0.75rem;
  border-radius: 3px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: white;
  z-index: 3;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.difficulty-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  box-shadow: 0 0 10px currentColor;
}

.difficulty-beginner .difficulty-dot {
  background-color: rgb(16, 185, 129);
}

.difficulty-intermediate .difficulty-dot {
  background-color: rgb(245, 158, 11);
}

.difficulty-advanced .difficulty-dot {
  background-color: rgb(239, 68, 68);
}

.difficulty-text {
  color: white;
}

.availability-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.25rem 0.75rem;
  border-radius: 3px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: white;
  z-index: 3;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.availability-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  box-shadow: 0 0 10px currentColor;
}

.availability-badge.available .availability-dot {
  background-color: rgb(16, 185, 129);
}

.availability-badge.unavailable .availability-dot {
  background-color: rgb(239, 68, 68);
}

.gallery-time {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.course-rating {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, rgba(212, 196, 176, 0.95) 0%, rgba(184, 166, 144, 0.9) 100%);
  padding: 0.25rem 0.75rem;
  border-radius: 3px;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: white;
  z-index: 3;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.stars-container {
  display: flex;
  align-items: center;
  gap: px;
}

.star {
  color: #ffd700;
  font-size: 0.6rem;
}

.course-content {
  padding: 1.5rem;
  text-align: center;
  background: linear-gradient(180deg, var(--cream-darker) 0%, var(--cream-darkest) 100%);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1; /* Take up remaining space */
  position: relative;
  padding-bottom: 60px; /* Space for the button */
}

.course-title {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.course-instructor {
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 1rem;
  font-weight: 400;
}

.course-category {
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 1rem;
  font-weight: 400;
}

.course-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

.course-duration,
.course-students {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.course-price-info {
  text-align: center;
  margin-bottom: 1.5rem;
}

.course-price {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}

.price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.original-price {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: 0.5rem;
}

.enroll-btn {
  width: 80%;
  background: linear-gradient(135deg, var(--brown-medium) 0%, var(--brown-light) 100%);
  color: white;
  border: none;
  padding: 0.875rem 1.5rem;
  border-radius:3px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;

  margin: 0 auto;
  margin-bottom: 30px;
}

.enroll-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.enroll-btn:hover::before {
  left: 100%;
}

.enroll-btn:hover {
  background: linear-gradient(135deg, var(--brown-medium) 0%, var(--brown-light) 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

/* Course Count */
.course-count {
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 2rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  backdrop-filter: blur(10px);
}

/* No Results */
.no-results {
  text-align: center;
  padding: 4rem 2rem;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.no-results-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.6;
}

.no-results h3 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  margin-bottom: 1rem;
  color: white;
}

.no-results p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.8;
}


.clear-search-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

/* Filters Actions */
.filters-actions {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.apply-filters-btn {
  background: linear-gradient(135deg, var(--brown-medium) 0%, var(--brown-light) 100%);
  color: var(--primary-light);
  padding: 0.875rem 2rem;
  border: none;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.apply-filters-btn i {
  font-size: 0.9rem;
}

.apply-filters-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Quick View Modal Styles */
.quick-view-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  backdrop-filter: blur(5px);
}

.quick-view-modal {
  background: var(--cream-darker);
  border-radius: 3px;
  max-width: 900px;
  width: 90%;
  position: relative;
  animation: modalSlideIn 0.3s ease-out;
}

.quick-view-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 2rem;
}

.quick-view-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 3px;
}

.quick-view-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.quick-view-details h2 {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  color: var(--text-primary);
}

.quick-view-details .instructor {
  font-style: italic;
  color: var(--text-muted);
}

.quick-view-details .description {
  color: var(--text-secondary);
  line-height: 1.6;
}

.quick-view-details .meta-info {
  display: flex;
  gap: 1.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.quick-view-details .meta-info span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.close-modal {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.close-modal:hover {
  color: var(--text-primary);
  transform: scale(1.1);
}

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

/* Pagination Section */
.pagination-section {
  max-width: 1600px;
  margin: 0 auto;
  padding: 40px 20px;
  position: relative;
  z-index: 2;
}

.pagination-container {
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 1.5rem 2rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.pagination-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.pagination-btn {
  background: linear-gradient(135deg, var(--brown-medium) 0%, var(--brown-light) 100%);
  color: var(--primary-light);
  border: none;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 100px;
  justify-content: center;
}

.pagination-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--brown-light) 0%, var(--brown-medium) 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.pagination-btn:disabled {
  background: linear-gradient(135deg, var(--brown-medium) 0%, var(--brown-light) 100%);
  opacity: 0.5;
  color: rgba(255, 255, 255, 0.5);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.pagination-numbers {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pagination-number {
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 40px;
  height: 40px;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pagination-number:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.pagination-number.active {
  background: linear-gradient(135deg, var(--brown-medium) 0%, var(--brown-light) 100%);
  color: var(--primary-light);
  border-color: var(--brown-medium);
  font-weight: 700;
}

.pagination-dots {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
  padding: 0 0.25rem;
}

/* Responsive Pagination */
@media (max-width: 768px) {
  .pagination-container {
    padding: 1rem;
  }

  .pagination-controls {
    flex-wrap: wrap;
    justify-content: center;
  }

  .pagination-numbers {
    flex-wrap: wrap;
    justify-content: center;
  }

  .pagination-btn {
    min-width: 80px;
    padding: 0.625rem 0.75rem;
    font-size: 0.8rem;
  }

  .pagination-number {
    width: 36px;
    height: 36px;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .pagination-section {
    padding: 30px 15px;
  }

  .pagination-container {
    padding: 1rem 0.75rem;
  }

  .pagination-numbers {
    gap: 0.25rem;
  }

  .pagination-number {
    width: 32px;
    height: 32px;
    font-size: 0.75rem;
  }

  .pagination-btn {
    padding: 0.5rem;
    font-size: 0.75rem;
    min-width: 70px;
  }

  .pagination-btn span {
    display: none;
  }
}


/* Footer Styles */
.footer {
  background: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 3rem 0 1rem;
  margin-top: 4rem;
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer-section h2,
.footer-section h3 {
  font-family: "Playfair Display", serif;
  color: var(--gold);
  margin-bottom: 1rem;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--gold);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: var(--gold);
}

.social-links svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
}

.contact-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--gold);
}

.footer-bottom {
  max-width: 1400px;
  margin: 2rem auto 0;
  padding: 2rem 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--gold);
}

/* Responsive Design */
@media (max-width: 768px) {
  .navMenu {
    display: none;
  }

  .navToggle {
    display: flex;
  }

  .container {
    padding: 2rem 1rem;
  }

  .filters-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .courses-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .page-title {
    font-size: 2rem;
  }

  .search-hero h2 {
    font-size: 1.5rem;
  }

  .search-input {
    padding: 1rem 3rem 1rem 2.5rem;
  }

  .filters-container {
    padding: 1.5rem 1rem;
  }
}

/* Doctor Info Modal Styles */
.doctor-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  backdrop-filter: blur(5px);
}

.doctor-modal {
  background: var(--cream-darker);
  border-radius: 3px;
  max-width: 800px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: modalSlideIn 0.3s ease-out;
}

.close-doctor-modal {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(107, 68, 35, 0.1);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1001;
}

.close-doctor-modal:hover {
  background: rgba(107, 68, 35, 0.2);
  transform: scale(1.1);
}

.modal-header {
  padding: 2rem;
  border-bottom: 1px solid rgba(107, 68, 35, 0.1);
}

.workshop-header-info {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.workshop-title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  flex: 1;
}

.doctor-avatar-container {
  flex-shrink: 0;
}

.doctor-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--brown-medium);
}

.modal-body {
  padding: 2rem;
}

.workshop-info {
  display: grid;
  gap: 2rem;
}

.doctor-info-section,
.workshop-details-section {
  background: rgba(107, 68, 35, 0.05);
  padding: 1.5rem;
  border-radius: 3px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 1rem 0;
  border-bottom: 2px solid var(--brown-medium);
  padding-bottom: 0.5rem;
}

.doctor-credentials,
.workshop-details-grid {
  display: grid;
  gap: 1rem;
}

.credential-item,
.detail-item {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.credential-label,
.detail-label {
  font-weight: 600;
  color: var(--brown-medium);
  min-width: 120px;
}

.credential-value,
.detail-value {
  color: var(--text-primary);
  flex: 1;
}

.doctor-experience {
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 3px;
  border-left: 4px solid var(--brown-medium);
}

.workshop-description {
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 3px;
  line-height: 1.6;
}

.modal-footer {
  padding: 2rem;
  border-top: 1px solid rgba(107, 68, 35, 0.1);
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.book-visit-btn {
  background: linear-gradient(135deg, var(--brown-medium), var(--brown-light));
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 3px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.book-visit-btn:hover {
  background: linear-gradient(135deg, var(--brown-light), var(--brown-medium));
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(107, 68, 35, 0.3);
}

/* Responsive design for doctor modal */
@media (max-width: 768px) {
  .doctor-modal {
    width: 95%;
    margin: 1rem;
  }
  
  .workshop-header-info {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .workshop-title {
    font-size: 1.5rem;
  }
  
  .modal-header,
  .modal-body,
  .modal-footer {
    padding: 1.5rem;
  }
  
  .credential-item,
  .detail-item {
    flex-direction: column;
    gap: 0.25rem;
  }
  
  .credential-label,
  .detail-label {
    min-width: auto;
  }
}

 .swal2-container {
            z-index: 99999 !important;
        }
        
        .doctor-modal-overlay {
            position: fixed;
            top: 0; 
            left: 0; 
            right: 0; 
            bottom: 0;
            background: rgba(0, 0, 0, 0.5);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 9999;
            animation: fadeIn 0.3s ease-out;
        }

        .doctor-modal {
            background: #ffffff;
            border-radius: 3px;
            width: 90%;
            max-width: 600px;
            overflow: hidden;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
            position: relative;
            animation: modalSlideIn 0.3s ease-out;
        }

        .close-doctor-modal {
            position: absolute;
            top: 15px;
            right: 15px;
            background: rgba(255, 255, 255, 0.9);
            border: none;
            width: 35px;
            height: 35px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 10;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            transition: all 0.2s ease;
        }

        .close-doctor-modal:hover {
            background: #f3f4f6;
            transform: scale(1.05);
        }

        .close-doctor-modal i {
            font-size: 14px;
            color: #6b7280;
        }

        .modal-header {
            padding: 30px 30px 20px;
            text-align: center;
            background: linear-gradient(135deg, #6b4423 0%, #8b5a2b 100%);
            position: relative;
            color: white;
        }

        .workshop-header-info {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 15px;
        }

        .workshop-title {
            font-size: 20px;
            font-weight: 700;
            margin: 0;
            text-align: center;
            color: white;
        }

        .doctor-avatar-container {
            position: relative;
            display: inline-block;
        }

        .doctor-avatar {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            object-fit: cover;
            border: 3px solid rgba(255, 255, 255, 1);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
        }

        .avatar-border {
            display: none;
        }

        .modal-body {
            padding: 25px 30px;
            background: #ffffff;
            max-height: 60vh;
            overflow-y: auto;
        }

        .workshop-info {
            text-align: left;
        }

        .section-title {
            font-size: 18px;
            font-weight: 700;
            color: #6b4423;
            margin: 0 0 15px 0;
            padding-bottom: 8px;
            border-bottom: 2px solid #d4a574;
        }

        .doctor-info-section, .workshop-details-section {
            margin-bottom: 25px;
        }

        .doctor-credentials, .workshop-details {
            margin-top: 0;
            text-align: left;
        }

        .credential-item, .detail-item {
            margin-bottom: 16px;
            text-align: left;
            padding: 16px;
            background: #f8fafc;
            border-radius: 3px;
            border-left: 4px solid #d4a574;
        }

        .credential-item:hover, .detail-item:hover {
            background: #f1f5f9;
        }

        .credential-label, .detail-label {
            display: block;
            font-size: 12px;
            font-weight: 600;
            color: #6b4423;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 4px;
        }

        .credential-value, .detail-value {
            display: block;
            font-size: 15px;
            font-weight: 400;
            color: #374151;
            line-height: 1.5;
        }

        .experience-text, .description-text {
            white-space: pre-line;
            line-height: 1.6;
        }

        .detail-row {
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        .workshop-description {
            margin-top: 16px;
            padding: 16px;
            background: #f8fafc;
            border-radius: 3px;
            border-left: 4px solid #d4a574;
        }

        .modal-footer {
            padding: 20px 30px 30px;
            background: #ffffff;
            text-align: center;
        }

        .book-visit-btn {
            background: #5a4d3b;
            color: white;
            border: none;
            padding: 12px 30px;
            border-radius: 3px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }

        .book-visit-btn:hover {
            background: #6b4423;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        }

        .book-visit-btn i {
            margin-right: 8px;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        @keyframes modalSlideIn {
            from { 
                opacity: 0;
                transform: translateY(-50px) scale(0.95);
            }
            to { 
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .doctor-modal {
                width: 95%;
                margin: 10px;
            }
            
            .modal-header {
                padding: 20px 20px 15px;
            }
            
            .modal-body {
                padding: 20px;
            }
            
            .modal-footer {
                padding: 15px 20px 20px;
            }
            
            .workshop-title {
                font-size: 18px;
            }
            
            .doctor-avatar {
                width: 60px;
                height: 60px;
            }
        }