/* Photodyne Technologies - Modern Website Styles */
/* Color Palette from Logo: Navy Blue (#001F5B), Cyan (#00A8E1), White */

:root {
  --primary-navy: #001F5B;
  --primary-cyan: #00A8E1;
  --accent-light: #E3F2FD;
  --text-dark: #1A1A1A;
  --text-gray: #555555;
  --text-light: #777777;
  --white: #FFFFFF;
  --bg-light: #F8F9FA;
  --border-color: #E0E0E0;
  --shadow: 0 2px 15px rgba(0, 31, 91, 0.1);
  --shadow-hover: 0 4px 25px rgba(0, 31, 91, 0.15);
  --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--primary-navy);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
}

p {
  margin-bottom: 1rem;
  color: var(--text-gray);
  font-size: 1.0625rem;
}

a {
  color: var(--primary-cyan);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-navy);
}

/* Header & Navigation */
header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-container a {
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.logo-container a:hover {
  opacity: 0.8;
  transform: scale(1.02);
}

.logo-container img {
  height: 65px;
  width: auto;
  display: block;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-navy);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

nav a {
  color: var(--text-dark);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: var(--transition);
  position: relative;
}

nav a:hover,
nav a.active {
  color: var(--primary-cyan);
  background: var(--accent-light);
}

/* Dropdown Navigation */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > a {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-dropdown > a::after {
  content: '▼';
  font-size: 0.6rem;
  transition: var(--transition);
}

.nav-dropdown:hover > a::after {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 200px;
  box-shadow: var(--shadow-hover);
  border-radius: 8px;
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 1001;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu a {
  display: block;
  padding: 0.75rem 1.25rem;
  color: var(--text-dark);
  font-weight: 500;
  border-radius: 0;
  white-space: nowrap;
}

.dropdown-menu a:hover {
  background: var(--accent-light);
  color: var(--primary-cyan);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.75rem;
  color: var(--primary-navy);
  cursor: pointer;
  padding: 0.5rem;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-navy) 0%, #003D8F 100%);
  color: var(--white);
  padding: 3rem 2rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.5;
  pointer-events: none;
}

.hero-content-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-content-wrapper .hero-content {
  text-align: left;
}

.hero-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image img {
  width: 100%;
  max-width: 600px;
  height: auto;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.95);
  max-width: 700px;
  margin: 0 auto 2rem;
}

.hero-content-wrapper .hero-content p {
  max-width: 600px;
  margin: 0 0 2rem;
}

.hero .subtitle {
  font-size: 1.125rem;
  color: var(--primary-cyan);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  font-size: 1rem;
}

.btn-primary {
  background: var(--primary-cyan);
  color: var(--white);
}

.btn-primary:hover {
  background: #0096CC;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 168, 225, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--primary-navy);
}

.btn-outline {
  background: transparent;
  color: var(--primary-cyan);
  border-color: var(--primary-cyan);
}

.btn-outline:hover {
  background: var(--primary-cyan);
  color: var(--white);
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.hero-content .cta-buttons {
  justify-content: center;
}

.hero-content-wrapper .hero-content .cta-buttons {
  justify-content: flex-start;
}

/* Container */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
}

.container-narrow {
  max-width: 900px;
}

.container-slider {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.container-slider .section-header {
  padding-left: 2rem;
  padding-right: 2rem;
}

/* Section Styles */
section {
  padding: 2.5rem 0;
}

.section-light {
  background: var(--white);
}

.section-gray {
  background: var(--bg-light);
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--text-light);
}

/* Grid Layouts */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Cards */
.card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.card-icon {
  font-size: 3rem;
  color: var(--primary-cyan);
  margin-bottom: 1rem;
}

.card h3 {
  margin-bottom: 1rem;
  color: var(--primary-navy);
}

.card p {
  color: var(--text-gray);
  font-size: 1rem;
}

.card-image {
  width: 100%;
  height: 250px;
  object-fit: contain;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  background: var(--white);
}

/* Feature List */
.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  padding: 1rem 0;
  padding-left: 2rem;
  position: relative;
  color: var(--text-gray);
  border-bottom: 1px solid var(--border-color);
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-cyan);
  font-weight: bold;
  font-size: 1.25rem;
}

/* Stats Section */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  text-align: center;
  padding: 1.5rem 0;
}

.stats-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  text-align: center;
}

@media (max-width: 968px) {
  .stats-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .stats-grid-3 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.stat-item h3 {
  font-size: 3rem;
  color: var(--primary-cyan);
  margin-bottom: 0.5rem;
}

.stat-item p {
  color: var(--text-gray);
  font-weight: 500;
}

/* Testimonials */
.testimonial {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  border-left: 4px solid var(--primary-cyan);
  box-shadow: var(--shadow);
}

.testimonial-text {
  font-style: italic;
  color: var(--text-gray);
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-navy);
}

.testimonial-company {
  color: var(--text-light);
  font-size: 0.9375rem;
}

/* Contact Form */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info {
  background: var(--bg-light);
  padding: 2.5rem;
  border-radius: 12px;
}

.contact-item {
  display: flex;
  align-items: start;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-item-icon {
  font-size: 1.5rem;
  color: var(--primary-cyan);
  min-width: 30px;
}

.contact-item h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.contact-item p,
.contact-item a {
  color: var(--text-gray);
  font-size: 1rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.875rem;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-cyan);
  box-shadow: 0 0 0 3px rgba(0, 168, 225, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

/* Footer */
footer {
  background: var(--primary-navy);
  color: var(--white);
  padding: 3rem 2rem 1.5rem;
}

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

.footer-section h3 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.footer-section p,
.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9375rem;
}

.footer-section a:hover {
  color: var(--primary-cyan);
}

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

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

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

/* Image Placeholder */
.img-placeholder {
  background: linear-gradient(135deg, var(--bg-light) 0%, #E0E0E0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 0.875rem;
  text-align: center;
  padding: 2rem;
}

/* Responsive Design */
@media (max-width: 968px) {
  .header-container {
    padding: 1rem;
  }

  .hero-content-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-content-wrapper .hero-content {
    text-align: center;
  }

  .hero-content-wrapper .hero-content .cta-buttons {
    justify-content: center;
  }

  .hero-content-wrapper .hero-content p {
    margin: 0 auto 2rem;
  }

  .hero-image {
    order: -1;
  }

  .hero-image img {
    max-width: 400px;
  }

  nav {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    background: var(--white);
    box-shadow: var(--shadow);
    transition: left 0.3s ease;
    z-index: 999;
  }

  nav.active {
    left: 0;
  }

  nav ul {
    flex-direction: column;
    padding: 2rem;
    gap: 0;
  }

  nav li {
    width: 100%;
    border-bottom: 1px solid var(--border-color);
  }

  nav a {
    display: block;
    padding: 1rem;
  }

  /* Mobile dropdown styles */
  .nav-dropdown > a::after {
    content: '▼';
    margin-left: 0.5rem;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: var(--bg-light);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-dropdown.open .dropdown-menu {
    max-height: 200px;
  }

  .nav-dropdown.open > a::after {
    transform: rotate(180deg);
  }

  .dropdown-menu a {
    padding-left: 2rem;
    font-size: 0.9375rem;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero {
    padding: 2rem 1.5rem;
  }

  .container {
    padding: 2rem 1rem;
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    align-items: start;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    align-items: start;
  }

  /* Ensure cards display full content on mobile */
  .card {
    padding: 1.25rem;
    height: auto !important;
    min-height: unset !important;
    max-height: none !important;
    overflow: visible !important;
  }

  .card p {
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: normal !important;
    -webkit-line-clamp: unset !important;
    display: block !important;
    font-size: 0.875rem;
    line-height: 1.5;
  }

  .card h3 {
    font-size: 1.125rem;
  }

  /* Mobile horizontal scroll for product cards on homepage */
  .section-gray .grid-2 {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
  }

  .section-gray .grid-2 .card {
    flex: 0 0 85%;
    scroll-snap-align: center;
  }

  /* Hide scrollbar but keep functionality */
  .section-gray .grid-2::-webkit-scrollbar {
    height: 8px;
  }

  .section-gray .grid-2::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
  }

  .section-gray .grid-2::-webkit-scrollbar-thumb {
    background: var(--primary-cyan);
    border-radius: 10px;
  }

  /* Hide last 4 application cards on mobile (show only top 4) */
  .section-light .grid-4 .card:nth-child(n+5) {
    display: none;
  }

  /* Horizontal scroll for testimonials on mobile */
  .section-light .grid-3 {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
  }

  .section-light .grid-3 .testimonial {
    flex: 0 0 90%;
    scroll-snap-align: center;
  }

  /* Horizontal scroll for institutions on mobile */
  .section-light .grid-4:not(:has(> .card:nth-child(n+5))) {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  /* Target only the institutions grid (second grid-4 in section) */
  .section-light > .container > .grid-4 {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
  }

  .section-light > .container > .grid-4 .card {
    flex: 0 0 80%;
    scroll-snap-align: center;
    display: block !important;
  }

  /* Scrollbar styling for testimonials and institutions */
  .section-light .grid-3::-webkit-scrollbar,
  .section-light .grid-4::-webkit-scrollbar {
    height: 8px;
  }

  .section-light .grid-3::-webkit-scrollbar-track,
  .section-light .grid-4::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
  }

  .section-light .grid-3::-webkit-scrollbar-thumb,
  .section-light .grid-4::-webkit-scrollbar-thumb {
    background: var(--primary-cyan);
    border-radius: 10px;
  }
}

@media (max-width: 640px) {
  .hero-image img {
    max-width: 300px;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Loading Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

/* Photo Slider */
.slider-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
  padding: 0 1rem;
}

.slider-wrapper {
  overflow: visible;
  position: relative;
}

.slider-track {
  display: flex;
  gap: 3rem;
  animation: scroll 35s linear infinite;
  width: max-content;
}

.slider-track:hover {
  animation-play-state: paused;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.slide {
  position: relative;
  flex-shrink: 0;
  width: 320px;
  transition: var(--transition);
}

.slide:hover {
  transform: translateY(-5px);
}

.slide img {
  width: 100%;
  height: 320px;
  object-fit: contain;
  display: block;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  background: var(--white);
}

.slide:hover img {
  box-shadow: var(--shadow-hover);
}

.slide-caption {
  margin-top: 0.75rem;
  color: var(--text-dark);
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
}

/* Video Wrapper */
.video-wrapper {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  background: #000;
  transition: var(--transition);
}

.video-wrapper:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 35px rgba(0, 31, 91, 0.2);
}

.video-wrapper iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  border: none;
}

/* Responsive video adjustments */
@media (max-width: 968px) {
  .video-wrapper {
    max-width: 100%;
    border-radius: 8px;
  }
}

@media (max-width: 640px) {
  .video-wrapper iframe {
    aspect-ratio: 16 / 9;
    min-height: 250px;
  }
}

/* Sample Images on Products Page */
.sample-image-container {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: var(--shadow);
  background: var(--white);
  aspect-ratio: 1;
  transition: var(--transition);
}

.sample-image-container:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.sample-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: var(--transition);
}

.sample-image-container:hover .sample-image {
  transform: scale(1.05);
}

.sample-image-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 31, 91, 0.95), rgba(0, 31, 91, 0.7));
  color: var(--white);
  padding: 1rem;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  text-transform: capitalize;
}

/* Responsive adjustments for slider */
@media (max-width: 768px) {
  .container-slider .section-header {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .slider-container {
    padding: 0 0.5rem;
  }

  .slider-track {
    gap: 1.5rem;
    animation: scroll 25s linear infinite;
  }

  .slide {
    width: 240px;
  }

  .slide img {
    height: 240px;
  }

  .slide-caption {
    font-size: 0.875rem;
    margin-top: 0.5rem;
  }

  .sample-image-label {
    font-size: 0.875rem;
    padding: 0.75rem;
  }
}

/* Lightbox */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  cursor: zoom-out;
}

.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-image {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s ease;
  cursor: grab;
}

.lightbox-image:active {
  cursor: grabbing;
}

.lightbox-caption {
  color: var(--white);
  font-size: 1.125rem;
  font-weight: 600;
  margin-top: 1rem;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem;
  line-height: 1;
  transition: var(--transition);
}

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

.lightbox-zoom-hint {
  position: absolute;
  bottom: -35px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  white-space: nowrap;
}

/* Make slider images clickable */
.slide {
  cursor: pointer;
}

.slide img {
  cursor: zoom-in;
}

/* Make diagram cards clickable */
.diagram-card {
  cursor: pointer;
}

.diagram-card img {
  cursor: zoom-in;
  transition: var(--transition);
}

.diagram-card:hover img {
  transform: scale(1.02);
}

/* Make sample pathology images clickable */
.sample-clickable {
  cursor: pointer;
}

.sample-clickable img {
  cursor: zoom-in;
}

/* Print Styles */
@media print {
  header,
  footer,
  .btn,
  .cta-buttons,
  .slider-btn,
  .slider-dots {
    display: none;
  }

  body {
    color: #000;
  }

  .container {
    padding: 1rem;
  }
}