.gallery-thumb {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s ease;
  box-shadow: var(--shadow);
}

.gallery-thumb:hover {
  transform: scale(1.03);
}

.viewer-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  flex-direction: column;
  padding: 20px;
}

.viewer-image {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  z-index: 10000;
}

.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--accent);
  border: none;
  color: white;
  font-size: 24px;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10000;
}

.nav-btn.prev {
  left: 30px;
}

.nav-btn.next {
  right: 30px;
}

@media (max-width: 768px) {
  .gallery-thumb {
    height: 160px;
  }
}



/* Custom additions for physio theme */
.testimonial-card {
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.fa-procedures {
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
}




/* Plumbing-specific additions */
.gallery-thumb {
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease;
  height: 200px;
  width: 100%;
  object-fit: cover;
}

.gallery-thumb:hover {
  transform: scale(1.03);
}

.viewer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.viewer-image {
  max-height: 80vh;
  max-width: 90vw;
}

.close-btn {
  position: absolute;
  top: 30px;
  right: 30px;
  color: white;
  font-size: 40px;
  cursor: pointer;
}

.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.2);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
}

.nav-btn.prev {
  left: 30px;
}

.nav-btn.next {
  right: 30px;
}

.fa-tools {
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
}

/* Education-specific additions */
.course-list {
  list-style: none;
  padding-left: 0;
}

.course-list li {
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.5rem;
}

.course-list li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--primary);
}

.feature-card {
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.branch-card {
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.branch-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.branch-icon {
  font-size: 2rem;
  color: var(--primary);
}

.fa-book {
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
}



/* Pricing Table Styles */
.price-card {
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.price-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.price-card h3 {
  color: var(--primary);
  font-weight: 700;
}

.table-responsive {
  overflow-x: auto;
}

.table-hover tbody tr:hover {
  background-color: rgba(0, 0, 0, 0.02);
}

.table-primary {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: white;
}

.table th {
  font-weight: 600;
  white-space: nowrap;
}

.table td, .table th {
  padding: 0.75rem 1rem;
  vertical-align: middle;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  color: var(--primary);
}
.hero h1 {
  color: white !important;
}

a {
  color: var(--primary);
  text-decoration: none;
}


/* Branch Cards */
.branch-card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  margin-bottom: 20px;
  border: 1px solid rgba(0,0,0,0.1);
}

.branch-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.branch-header {
  border-bottom: 2px solid rgba(255,255,255,0.2);
}

.branch-body {
  background: white;
}

/* Map Tabs */
.map-tabs .nav-tabs {
  border-bottom: 2px solid var(--primary);
}

.map-tabs .nav-link {
  color: var(--dark);
  font-weight: 600;
  border: none;
  padding: 12px 20px;
}

.map-tabs .nav-link.active {
  color: white;
  background: var(--primary);
  border: none;
}

.map-tabs .nav-link:hover:not(.active) {
  color: var(--primary);
}