/* Nirmalya Portrait Academy - Custom Premium Stylesheet */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --color-parchment: #f6f6f6;
  --color-canvas-light: #ffffff;
  --color-charcoal: #111111;
  --color-espresso: #1a1a1a;
  --color-clay: #555555;
  --color-clay-light: #888888;
  --color-gold: #111111;
  --color-gold-hover: #333333;
  --color-gold-light: #eaeaea;
  
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

/* Base resets & typography definitions */
body {
  font-family: var(--font-sans);
  background-color: var(--color-parchment);
  color: var(--color-charcoal);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  /* padding-top: 150px; */
}

html {
  scroll-behavior: smooth;
}

h1, h2, h3, h4, .font-serif {
  font-family: var(--font-serif);
}

.font-mono {
  font-family: var(--font-mono);
}

/* Elegant custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--color-parchment);
}
::-webkit-scrollbar-thumb {
  background: var(--color-clay-light);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-gold);
}

/* Paper texture effect background */
.paper-texture {
  background-color: var(--color-parchment);
  position: relative;
}
.paper-texture::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.015;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  z-index: 1;
}

/* Dark studio mode style background */
.dark-studio {
  background-color: #111111 !important;
  color: #f5f5f5 !important;
}

/* Logo image custom aspect and fit styling */
.navbar-logo {
  height: 100px;
  width: 100px;
  object-fit: cover;
  border-radius: 12px;
  border: 4px solid #ffffff;
  box-shadow: 0 12px 30px rgba(28, 20, 15, 0.16);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: absolute;
  top: -12px;
  left: 0;
  z-index: 1100;
  background-color: #ffffff;
}
.navbar-logo:hover {
  transform: translateY(5px) scale(1.05);
  box-shadow: 0 16px 35px rgba(17, 17, 17, 0.25);
}

/* Header style enhancements */
.navbar-custom {
  background-color: rgba(245, 245, 245, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(17, 17, 17, 0.1);
  transition: all 0.3s ease;
}
.navbar-custom.scrolled {
  box-shadow: 0 4px 20px rgba(28, 20, 15, 0.05);
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.nav-link-custom {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-charcoal);
  position: relative;
  transition: color 0.3s ease;
  padding: 0.5rem 1rem !important;
}
.nav-link-custom:hover {
  color: var(--color-gold);
}
.nav-link-custom::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--color-gold);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}
.nav-link-custom:hover::after {
  width: 80%;
}

.btn-gold {
  background-color: var(--color-gold);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.8rem 1.6rem;
  border-radius: 50px;
  border: none;
  box-shadow: 0 4px 14px rgba(17, 17, 17, 0.15);
  transition: all 0.3s ease;
}
.btn-gold:hover, .btn-gold:focus {
  background-color: var(--color-gold-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(17, 17, 17, 0.25);
}

.btn-charcoal {
  background-color: var(--color-espresso);
  color: #faf8f5;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.8rem 1.6rem;
  border-radius: 50px;
  border: none;
  transition: all 0.3s ease;
}
.btn-charcoal:hover {
  background-color: var(--color-gold);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Badge tags style */
.badge-curated {
  font-family: var(--font-sans);
  background-color: var(--color-gold-light);
  color: var(--color-gold-hover);
  border: 1px solid rgba(17, 17, 17, 0.15);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 0.8rem;
  border-radius: 50px;
}

/* Giant visual illustration layout in Hero */
.sketch-stages-frame {
  position: relative;
  background-color: #f6f6f6;
  border: 1px solid rgba(17, 17, 17, 0.15);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(28, 20, 15, 0.1);
  aspect-ratio: 4 / 3;
}
.sketch-stages-img {
  width: 100%;
  height: 100%;
  object-cover: cover;
  transition: filter 0.5s ease;
}
.stage-tab-btn {
  background-color: transparent;
  color: var(--color-clay);
  border: none;
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  position: relative;
  transition: all 0.3s ease;
}
.stage-tab-btn.active {
  color: var(--color-gold-hover);
}
.stage-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-gold);
}

/* Beautiful custom card design */
.curriculum-card {
  background-color: var(--color-canvas-light);
  border: 1px solid rgba(195, 154, 102, 0.2);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(28, 20, 15, 0.03);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.curriculum-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(28, 20, 15, 0.1);
  border-color: var(--color-gold);
}
.curriculum-card .card-img-container {
  height: 220px;
  position: relative;
  overflow: hidden;
}
.curriculum-card .card-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.curriculum-card:hover .card-img-container img {
  transform: scale(1.05);
}
.curriculum-card .card-category {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: rgba(28, 20, 15, 0.9);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 5px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* AboutUs core metric indicators */
.counter-box {
  border-right: 1px solid rgba(195, 154, 102, 0.2);
  padding: 10px 0;
}
.counter-box:last-child {
  border-right: none;
}
@media (max-width: 767px) {
  .counter-box {
    border-right: none;
    border-bottom: 1px solid rgba(195, 154, 102, 0.2);
  }
  .counter-box:last-child {
    border-bottom: none;
  }
}

/* Custom testimonial slider CSS */
.testimonial-carousel-inner {
  min-height: 200px;
}
.indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-clay-light);
  border: none;
  margin: 0 4px;
  transition: all 0.3s ease;
}
.indicator-dot.active {
  width: 24px;
  background-color: var(--color-gold);
}

/* Masterpiece Gallery Thumbnail scroller styles */
.thumbnail-scroller {
  overflow-x: auto;
  white-space: nowrap;
  padding-bottom: 1rem;
}
.thumbnail-scroller::-webkit-scrollbar {
  height: 6px;
}
.thumbnail-item {
  width: 240px;
  aspect-ratio: 16/10;
  display: inline-block;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  margin-right: 1rem;
  position: relative;
  transition: all 0.3s ease;
  opacity: 0.6;
}
.thumbnail-item.active {
  opacity: 1;
  box-shadow: 0 0 0 2px var(--color-gold), 0 5px 15px rgba(0,0,0,0.3);
  transform: scale(0.97);
}
.thumbnail-item:hover {
  opacity: 1;
}
.thumbnail-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.thumbnail-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(17,13,10,0.85) 0%, rgba(17,13,10,0.1) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 10px;
  color: #fff;
}

/* Lightbox styles */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(17, 13, 10, 0.98);
  backdrop-filter: blur(8px);
  z-index: 1050;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.lightbox-content {
  max-width: 900px;
  width: 100%;
  text-align: center;
}
.lightbox-img-frame {
  max-height: 70vh;
  margin-bottom: 1.5rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  background-color: #000;
}
.lightbox-img-frame img {
  max-height: 70vh;
  width: 100%;
  object-fit: contain;
}

/* FAQ item transitions */
.faq-header-btn {
  text-align: left;
  background: none;
  border: none;
  width: 100%;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-charcoal);
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s ease;
}
.faq-header-btn:hover {
  color: var(--color-gold-hover);
}
.faq-body-content {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #5c4c3e;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(195, 154, 102, 0.15);
}

/* Toast notification styling */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1100;
}
.sketch-toast {
  background-color: var(--color-espresso);
  color: #faf8f5;
  border-left: 4px solid var(--color-gold);
  border-radius: 8px;
  padding: 1rem 1.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  display: none;
  animation: slideInRight 0.3s ease;
}

/* Animations declarations */
@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Active course segment button tabs style from reference image */
#tab-container-row {
  max-width: 100%;
  overflow-x: auto;
}
#tab-container-row button {
  background: transparent;
  color: var(--color-clay);
  cursor: pointer;
  border-radius: 8px !important;
  font-family: var(--font-sans);
  border: none;
}
#tab-container-row button:hover {
  color: var(--color-espresso);
  background-color: #eaeaea;
}
#tab-container-row button.active-filter {
  background-color: #111111 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  border: 2px solid var(--color-gold) !important;
  box-shadow: 0 6px 20px rgba(17, 17, 17, 0.3), inset 0 0 0 1px var(--color-gold) !important;
  transform: translateY(-2px) !important;
  letter-spacing: 0.05em !important;
}

/* Hero Media Center and Floating Cards */
.hero-media-container {
  position: relative;
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Semi-transparent outer halo */
.hero-outer-halo {
  position: absolute;
  width: 90%;
  height: 90%;
  border-radius: 50%;
  background-color: rgba(17, 17, 17, 0.05); /* Faint graphite circle */
  animation: pulse-halo 4s infinite ease-in-out;
  z-index: 1;
}

/* Solid inner golden-brown circle */
.hero-inner-circle {
  position: absolute;
  width: 75%;
  height: 75%;
  border-radius: 50%;
  background-color: #333333; /* Dark Matt Charcoal */
  z-index: 2;
}

/* Overlapping main drawing/studying image */
.hero-main-banner-img {
  position: absolute;
  width: 74%;
  height: 55%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  z-index: 3;
  transition: transform 0.3s ease;
}
.hero-main-banner-img:hover {
  transform: scale(1.02);
}

/* Floating top-right card */
.hero-floating-card-rating {
  position: absolute;
  top: 8%;
  right: 2%;
  background-color: #ffffff;
  border-radius: 16px;
  padding: 1.2rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.05);
  z-index: 4;
  text-align: center;
  min-width: 155px;
}

.hero-floating-card-rating .rating-num {
  font-family: var(--font-sans);
  font-size: 1.6rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 0.15rem;
  line-height: 1.2;
}

.hero-floating-card-rating .rating-stars {
  font-size: 0.85rem;
  color: #f59e0b;
  margin-bottom: 0.4rem;
}

.hero-floating-card-rating .rating-text {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  color: #6b7280;
  line-height: 1.4;
  margin: 0;
}

/* Floating bottom-left card */
.hero-floating-card-students {
  position: absolute;
  bottom: 12%;
  left: -5%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 0.75rem 1.2rem;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(195, 154, 102, 0.1);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  z-index: 5;
}

.hero-floating-card-students .student-avatars {
  display: flex;
  align-items: center;
}

.hero-floating-card-students .student-avatars img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  margin-right: -10px;
  object-fit: cover;
}

.hero-floating-card-students .student-avatars img:last-child {
  margin-right: 0;
}

.hero-floating-card-students .student-info {
  display: flex;
  flex-direction: column;
}

.hero-floating-card-students .student-info .students-count {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 800;
  color: #111827;
  line-height: 1.1;
  margin: 0;
}

.hero-floating-card-students .student-info .students-lbl {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  color: #6b7280;
  margin: 0;
}

/* Floating dots matching image */
.hero-decor-dot {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
}

.hero-decor-dot.dot-medium-blue {
  width: 22px;
  height: 22px;
  background-color: #111111; /* Sleek Matt Carbon */
  top: 10%;
  left: 17%;
}

.hero-decor-dot.dot-small-blue {
  width: 10px;
  height: 10px;
  background-color: #555555; /* Mid-tone Graphite */
  top: 12%;
  left: 45%;
}

.hero-decor-dot.dot-tiny-blue {
  width: 14px;
  height: 14px;
  background-color: #888888; /* Silver graphite wash */
  top: 32%;
  left: 4%;
}

.hero-decor-dot.dot-medium-yellow {
  width: 16px;
  height: 16px;
  background-color: #222222; /* Pure carbon graphite */
  top: 25%;
  right: -2%;
}

.hero-decor-dot.dot-tiny-yellow {
  width: 10px;
  height: 10px;
  background-color: #777777; /* Pencil guide shade */
  top: 15%;
  right: 22%;
}

@keyframes pulse-halo {
  0%, 100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
}

/* --- COMPLETE PURGE OF TAILWIND - CUSTOM BACKUP UTILITIES --- */
/* Native utility classes supporting clean semantic structures */
.text-espresso, .text-\[\#2a1f18\], .text-\[\#1c140f\], .text-\[\#111827\] { color: #1a1a1a !important; }
.text-clay { color: #555555 !important; }
.text-clay-light { color: #888888 !important; }
.text-gold { color: #111111 !important; }
.bg-parchment, .bg-\[\#faf8f5\] { background-color: #f6f6f6 !important; }
.bg-canvas-light, .bg-\[\#fbf9f6\] { background-color: #ffffff !important; }
.bg-espresso, .bg-\[\#1c140f\] { background-color: #111111 !important; }
.border-gold-light { border-color: rgba(17, 17, 17, 0.1) !important; }
.border-gold { border-color: #111111 !important; }
.max-w-2xl { max-width: 720px; margin-left: auto; margin-right: auto; }
.max-w-xs { max-width: 320px; }
.space-y-1 > * + * { margin-top: 0.25rem !important; }
.space-y-2 > * + * { margin-top: 0.5rem !important; }
.space-y-3 > * + * { margin-top: 0.75rem !important; }
.space-y-4 > * + * { margin-top: 1rem !important; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-widest { letter-spacing: 0.15em; }
.hover-shadow-lg:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.12) !important; }
.transition-all { transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important; }
.transition-transform { transition: transform 0.3s ease !important; }
.duration-300 { transition-duration: 300ms !important; }
.object-fit-cover { object-fit: cover !important; }

/* Section entrance animation helpers */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Success Story Mockup Layout to Match Attached Image Exactly */
.story-wrapper {
  margin-top: 3rem;
  margin-bottom: 3rem;
}

/* Gold/Brown backdrop block shifted slightly bottom left */
.story-media-container {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  aspect-ratio: 1.25 / 1;
}

.story-backdrop-blue {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 90%;
  height: 85%;
  background-color: #111111; /* Elegant Charcoal Black block */
  border-radius: 4px;
  z-index: 1;
}

/* Front active image frame overlapping the blue block */
.story-front-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 90%;
  height: 85%;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
  z-index: 2;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Success story title and elements */
.story-heading {
  font-family: var(--font-serif);
  font-weight: 750;
  font-size: 2.25rem;
  color: #111827;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.story-quote-desc {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  line-height: 1.65;
  color: #5c4c3e;
  margin-bottom: 1.25rem;
  font-weight: 400;
}

.story-subtitle-tag {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.95rem;
  color: #111827;
  text-transform: capitalize;
  margin-bottom: 1.5rem;
  display: block;
}

/* Mini side-by-side interactive thumbnails */
.story-thumbs-row {
  display: flex;
  gap: 1.25rem;
  margin-top: 1rem;
}

.story-thumb-card {
  width: 120px;
  aspect-ratio: 1.5 / 1;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.story-thumb-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.story-thumb-card.active-thumb {
  border-color: #111111;
  box-shadow: 0 4px 12px rgba(17, 17, 17, 0.3);
}

.story-thumb-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Elegant general CSS transitions and page animation classes */
.hover-zoom-img {
  transition: transform 0.5s ease;
}
.hover-zoom-img:hover {
  transform: scale(1.04);
}

/* Professional Studio Blog Styles */
.blog-card {
  background-color: var(--color-canvas-light);
  border: 1px solid rgba(195, 154, 102, 0.2);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(28, 20, 15, 0.03);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 30px rgba(28, 20, 15, 0.08);
  border-color: var(--color-gold);
}
.blog-card .blog-img-container {
  height: 200px;
  overflow: hidden;
  position: relative;
}
.blog-card .blog-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.blog-card:hover .blog-img-container img {
  transform: scale(1.05);
}
.blog-link-hover {
  color: var(--color-espresso);
  font-family: var(--font-serif);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.3s ease;
}
.blog-link-hover:hover {
  color: var(--color-gold);
}
.read-more-btn {
  color: var(--color-gold);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.3s ease, color 0.3s ease;
}
.read-more-btn:hover {
  gap: 0.8rem;
  color: var(--color-gold-hover);
}

/* Gallery Section Custom Styles */
.gallery-item-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  aspect-ratio: 1 / 1;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.gallery-item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery-item-wrapper:hover .gallery-item-img {
  transform: scale(1.08);
}
.gallery-item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(17, 17, 17, 0.85) 0%, rgba(17, 17, 17, 0.2) 60%, rgba(17, 17, 17, 0) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  z-index: 2;
}
.gallery-item-wrapper:hover .gallery-item-overlay {
  opacity: 1;
}
.gallery-item-title {
  color: #ffffff;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  transform: translateY(10px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery-item-category {
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transform: translateY(10px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.05s;
}
.gallery-item-wrapper:hover .gallery-item-title,
.gallery-item-wrapper:hover .gallery-item-category {
  transform: translateY(0);
}

/* Lightbox Modal CSS */
.gallery-lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 10, 10, 0.94);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 10000;
  animation: fadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  align-items: center;
  justify-content: center;
}
.lightbox-content-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 2rem;
  position: relative;
}
.lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.1);
  animation: zoomIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: transform 0.3s ease;
}
.lightbox-details {
  margin-top: 1.5rem;
  text-align: center;
  color: #ffffff;
  animation: fadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.lightbox-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.35rem;
}
.lightbox-category {
  font-size: 0.85rem;
  color: #bcaba0 !important;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-family: var(--font-mono);
}

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

@keyframes zoomIn {
   from { transform: scale(0.95); opacity: 0; }
   to { transform: scale(1); opacity: 1; }
}

/* Ensure all sections are properly visible */
/* header#home {
  display: block !important;
  visibility: visible !important;
  min-height: auto !important;
  height: auto !important;
}

section {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  margin-top: 20px !important;
  margin-bottom: 20px !important;
}

section#courses,
section#blog,
section#gallery,
section#support {
  min-height: auto !important;
  background-color: transparent !important;
} */

/* Ensure containers display properly */
/* .container {
  display: block !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
} */

/* Ensure rows display */
/* .row {
  display: flex !important;
  flex-wrap: wrap !important;
  width: 100% !important;
} */