.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;
}


/* Enhanced Features Section Styles */
.feature-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  border-left: 4px solid var(--primary);
  text-align: center;
}

/* .feature-card h4 {
  font-size: 1.25rem;
  margin-top: 1rem;
  color: var(--primary);
} */

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.2);
  color: var(--secondary);
}

/* Custom Icons */
.fa-users-class:before {
  content: "\f0c0";
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
}

.fa-brain:before {
  content: "\f5dc";
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
}

.fa-user-graduate:before {
  content: "\f501";
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
}

.fa-hands-helping:before {
  content: "\f4c4";
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
}

.fa-chess:before {
  content: "\f439";
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
}





/* YouTube Video Gallery Styles */
.video-gallery {
  padding: 4rem 0;
  background-color: #f8f9fa;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-container:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.video-title {
  margin-top: 1rem;
  font-weight: 600;
  color: var(--dark);
  text-align: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .video-grid {
    grid-template-columns: 1fr;
  }
}