/**
 * THE ACTIVIST FOUNDATION — Design System & Stylesheet
 * Brand Colors extracted from Official Seal Logo:
 * - Primary Navy: #001c54
 * - Saffron / Orange: #ff5b00
 * - Emerald Green: #0c672a
 */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Devanagari:wght@400;500;600;700;800&family=Source+Sans+3:wght@400;500;600;700;800&family=Barlow+Condensed:wght@600;700;800&display=swap');
@import url('https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css');

:root {
  --color-primary: #001c54;
  --color-primary-dark: #001238;
  --color-primary-light: #0d2f7a;
  
  --color-secondary: #ff5b00;
  --color-secondary-hover: #e04f00;
  --color-secondary-light: #fff2eb;

  --color-accent: #0c672a;
  --color-accent-light: #eaf6ee;

  --color-dark: #07152b;
  --color-light: #f8fafc;
  --color-surface: #ffffff;
  
  --color-text: #1e293b;
  --color-text-muted: #64748b;
  --color-border: #e2e8f0;

  --font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-hindi: 'Noto Sans Devanagari', sans-serif;
  --font-heading: 'Barlow Condensed', 'Source Sans 3', sans-serif;
  
  --shadow-sm: 0 1px 3px rgba(0, 28, 84, 0.06);
  --shadow-md: 0 4px 14px rgba(0, 28, 84, 0.08);
  --shadow-lg: 0 10px 25px rgba(0, 28, 84, 0.12);
  --shadow-hover: 0 14px 30px rgba(0, 28, 84, 0.16);
  --radius: 8px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-light);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6, .display-font {
  font-family: var(--font-heading);
  color: var(--color-primary);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.font-hindi {
  font-family: var(--font-hindi) !important;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: all 0.2s ease;
}
a:hover {
  color: var(--color-secondary);
}

/* Top Utility Bar */
.top-bar {
  background: var(--color-dark);
  color: #fff;
  font-size: 0.84rem;
  padding: 0.4rem 0;
  border-bottom: 2px solid var(--color-secondary);
}
.top-bar a {
  color: rgba(255, 255, 255, 0.9);
}
.top-bar a:hover {
  color: var(--color-secondary);
}
.back-to-main {
  background: rgba(255, 91, 0, 0.2);
  color: #ff914d !important;
  border: 1px solid rgba(255, 91, 0, 0.35);
  padding: 0.2rem 0.65rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
}
.back-to-main:hover {
  background: var(--color-secondary);
  color: #fff !important;
  border-color: var(--color-secondary);
}

/* Brand Navbar */
.navbar-foundation {
  background: #ffffff;
  box-shadow: var(--shadow-md);
  padding: 0.25rem 0;
  position: sticky;
  top: 0;
  z-index: 1030;
  border-bottom: 3px solid var(--color-primary);
}

/* Enlarged Brand Logo Image + Parallel Title */
.navbar-brand-logo {
  height: 82px;
  width: 82px;
  object-fit: contain;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0, 28, 84, 0.16);
  transition: transform 0.2s ease;
}
.navbar-brand-logo:hover {
  transform: scale(1.04);
}
.brand-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: 0.03em;
  line-height: 1.1;
  white-space: nowrap;
  text-transform: uppercase;
  transition: color 0.2s ease;
}
.navbar-brand:hover .brand-title {
  color: var(--color-secondary);
}

@media (max-width: 575.98px) {
  .navbar-brand-logo {
    height: 52px;
    width: 52px;
  }
  .brand-title {
    font-size: 1.05rem;
  }
}

/* Nav Links & Dropdowns */
.navbar-nav .nav-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-dark) !important;
  padding: 0.6rem 0.58rem !important;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: all 0.15s ease;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--color-secondary) !important;
  border-bottom-color: var(--color-secondary);
}

.navbar-nav .dropdown-menu {
  border: 0;
  border-top: 3px solid var(--color-secondary);
  border-radius: 0 0 6px 6px;
  box-shadow: var(--shadow-lg);
  padding: 0.5rem 0;
  font-size: 0.9rem;
  min-width: 250px;
}
.navbar-nav .dropdown-item {
  padding: 0.5rem 1.1rem;
  font-weight: 600;
  color: var(--color-text);
  transition: all 0.15s ease;
}
.navbar-nav .dropdown-item:hover {
  background: var(--color-secondary-light);
  color: var(--color-secondary);
  padding-left: 1.35rem;
}

/* Desktop Multi-Level Dropdowns */
.dropdown-submenu {
  position: relative;
}
.dropdown-submenu > .dropdown-menu {
  top: 0;
  right: 100%;
  left: auto;
  margin-top: -6px;
  margin-right: 2px;
  display: none;
}
.dropdown-submenu.show > .dropdown-menu {
  display: block;
}
.submenu-arrow {
  font-size: 0.72rem;
  transition: transform 0.2s ease;
  color: var(--color-secondary);
}

@media (min-width: 1200px) {
  .navbar-foundation .dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 0;
  }
  .navbar-foundation .dropdown-submenu:hover > .dropdown-menu {
    display: block;
  }
}

/* Navbar CTA Buttons */
.btn-nav-join {
  background: var(--color-primary);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.42rem 0.85rem;
  border-radius: 4px;
  border: 1px solid var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.btn-nav-join:hover {
  background: var(--color-primary-dark);
  box-shadow: 0 4px 12px rgba(0, 28, 84, 0.25);
  transform: translateY(-1px);
}
.btn-nav-donate {
  background: var(--color-secondary);
  color: #fff !important;
  font-weight: 800;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.42rem 0.95rem;
  border-radius: 4px;
  border: 1px solid var(--color-secondary);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(255, 91, 0, 0.28);
  transition: all 0.2s ease;
}
.btn-nav-donate:hover {
  background: var(--color-secondary-hover);
  border-color: var(--color-secondary-hover);
  box-shadow: 0 4px 14px rgba(255, 91, 0, 0.4);
  transform: translateY(-1px);
}

/* Mobile Offcanvas Navigation (Clear dropdown icons & full multi-level) */
.offcanvas-foundation {
  background: var(--color-dark);
  color: #fff;
  width: min(340px, 88vw);
}
.offcanvas-foundation .btn-close {
  filter: invert(1);
}
.mobile-brand-img {
  height: 52px;
  width: 52px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  padding: 2px;
}

.mobile-nav-tree {
  display: flex;
  flex-direction: column;
}
.mobile-nav-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.mobile-direct-link {
  display: flex;
  align-items: center;
  padding: 0.85rem 1.15rem;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  transition: all 0.2s ease;
}
.mobile-direct-link:hover,
.mobile-direct-link.active {
  background: rgba(255, 91, 0, 0.15);
  color: var(--color-secondary);
}

/* Explicit toggle button with chevron down */
.mobile-nav-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.85rem 1.15rem;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
  font-size: 0.92rem;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav-toggle:hover,
.mobile-nav-toggle.open,
.mobile-nav-toggle[aria-expanded="true"] {
  background: rgba(255, 91, 0, 0.15);
  color: var(--color-secondary);
}
.mobile-chevron {
  font-size: 0.85rem;
  color: #ff914d;
  transition: transform 0.25s ease;
}
.mobile-nav-toggle.open .mobile-chevron,
.mobile-nav-toggle[aria-expanded="true"] .mobile-chevron {
  transform: rotate(180deg);
  color: var(--color-secondary);
}

.mobile-submenu {
  background: rgba(0, 0, 0, 0.28);
  padding: 0.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.mobile-sub-link {
  display: block;
  padding: 0.6rem 1.15rem 0.6rem 2.2rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.87rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  text-decoration: none;
  transition: all 0.15s ease;
}
.mobile-sub-link:hover {
  color: var(--color-secondary);
  background: rgba(255, 255, 255, 0.04);
  padding-left: 2.45rem;
}

/* Multi-level nested menus on mobile */
.mobile-nested-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.mobile-nested-toggle {
  padding-left: 2.2rem !important;
  font-size: 0.88rem !important;
}
.mobile-nested-menu {
  background: rgba(0, 0, 0, 0.45);
  padding: 0.25rem 0;
}
.mobile-nested-link {
  display: block;
  padding: 0.55rem 1.15rem 0.55rem 3.2rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.84rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
  text-decoration: none;
  transition: all 0.15s ease;
}
.mobile-nested-link:hover {
  color: var(--color-secondary);
  background: rgba(255, 255, 255, 0.05);
  padding-left: 3.45rem;
}

/* Cards & Components */
.card-atv {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card-atv:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(255, 91, 0, 0.3);
}

/* Section Header */
.section-kicker {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--color-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.4rem;
  display: inline-block;
}

/* Footer Styling */
.footer-foundation {
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.92rem;
  padding: 3.5rem 0 1.5rem;
  border-top: 4px solid var(--color-secondary);
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.footer-logo {
  height: 105px;
  width: 105px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  padding: 3px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease;
}
.footer-logo:hover {
  transform: scale(1.04);
}
.footer-brand-title {
  font-family: var(--font-heading);
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.2;
  margin-top: 0.5rem;
}
.footer-brand-legal {
  font-size: 0.82rem;
  color: #ff914d;
  font-weight: 600;
  line-height: 1.35;
  margin-top: 0.25rem;
}

.footer-title {
  font-family: var(--font-heading);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: 0.55rem;
}
.footer-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 34px;
  height: 2px;
  background: var(--color-secondary);
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 0.55rem;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.footer-links a:hover {
  color: var(--color-secondary);
  padding-left: 0.35rem;
}
.footer-social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.2s ease;
}
.footer-social-icon:hover {
  background: var(--color-secondary);
  color: #fff;
  transform: translateY(-2px);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.5rem;
  margin-top: 2.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}
.hover-text-warning:hover {
  color: #ff914d !important;
}

/* Page Header / Breadcrumb Hero Icon - Guaranteed Strict 1:1 Geometric Circle */
.page-header-icon {
  width: 64px !important;
  height: 64px !important;
  min-width: 64px !important;
  min-height: 64px !important;
  max-width: 64px !important;
  max-height: 64px !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  aspect-ratio: 1 / 1 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.page-header-icon i {
  line-height: 1 !important;
  font-size: 1.85rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Contact Details Icon Circle */
.contact-icon-circle {
  width: 52px !important;
  height: 52px !important;
  min-width: 52px !important;
  min-height: 52px !important;
  max-width: 52px !important;
  max-height: 52px !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  aspect-ratio: 1 / 1 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

.contact-icon-circle i {
  line-height: 1 !important;
  font-size: 1.25rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Page Header & Breadcrumb Banner (#f3f3f3 Light Theme) */
.page-banner {
  background-color: #f3f3f3 !important;
  border-bottom: 1px solid #e2e8f0 !important;
  padding: 1.5rem 0 !important;
  margin-top: 0 !important;
  margin-bottom: 2rem !important;
}

main > .page-banner:first-child {
  margin-top: 0 !important;
}

.page-banner .breadcrumb {
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
}

.page-banner .breadcrumb-item,
.page-banner .breadcrumb-item a,
.page-banner .breadcrumb-item.text-white-50,
.page-banner .breadcrumb-item a.text-white-50 {
  color: #64748b !important;
  text-decoration: none;
  transition: color 0.15s ease;
}

.page-banner .breadcrumb-item a:hover {
  color: var(--color-secondary) !important;
  text-decoration: underline;
}

.page-banner .breadcrumb-item.active,
.page-banner .breadcrumb-item.active.text-warning {
  color: var(--color-primary) !important;
  font-weight: 700;
}

.page-banner .breadcrumb-item + .breadcrumb-item::before {
  color: #94a3b8 !important;
  content: "/" !important;
}

.page-banner h1,
.page-banner h2,
.page-banner .page-title,
.page-banner h1.text-white,
.page-banner h2.text-white {
  color: var(--color-primary) !important;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 0.25rem;
}

.page-banner .page-subtitle,
.page-banner .font-hindi {
  color: #d9531e !important;
  font-weight: 600;
}

.page-banner .page-desc,
.page-banner p,
.page-banner p.text-muted,
.page-banner p.text-white-50,
.page-banner .text-white-50 {
  color: #475569 !important;
  font-size: 0.95rem;
  margin-bottom: 0;
}

.page-banner i.text-warning,
.page-banner .bi.text-warning {
  color: var(--color-secondary) !important;
}

.page-banner .page-header-icon {
  width: 60px !important;
  height: 60px !important;
  min-width: 60px !important;
  min-height: 60px !important;
  border-radius: 50% !important;
  background-color: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 2px 8px rgba(0, 28, 84, 0.08) !important;
  color: var(--color-secondary) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.page-banner .page-header-icon i {
  color: var(--color-secondary) !important;
  line-height: 1 !important;
}

/* Multi-Step Form Stepper */
.form-stepper {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 2.25rem;
  padding: 0 1rem;
}
.form-stepper::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 25%;
  right: 25%;
  height: 3px;
  background: #e2e8f0;
  z-index: 1;
}
.form-stepper.step-2-active::before {
  background: var(--color-secondary);
}
.form-step-item {
  position: relative;
  z-index: 2;
  text-align: center;
  flex: 1;
  text-decoration: none !important;
}
.step-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #cbd5e1;
  color: #64748b;
  font-weight: 800;
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.45rem;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
.form-step-item.active .step-circle {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 0 0 4px rgba(0, 28, 84, 0.15);
}
.form-step-item.completed .step-circle {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  color: #ffffff;
}
.step-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #475569;
  display: block;
  line-height: 1.25;
}
.form-step-item.active .step-title {
  color: var(--color-primary);
}
.form-step-item.completed .step-title {
  color: var(--color-secondary);
}
.step-subtitle {
  font-size: 0.75rem;
  color: #94a3b8;
  display: block;
}

/* Rich text article content / TinyMCE styles (Responsive & Centered Images) */
.article-body,
.page-article-content {
  overflow-wrap: break-word;
  word-wrap: break-word;
}
.article-body img,
.page-article-content img {
  max-width: 100%;
  height: auto;
}
.article-body figure,
.page-article-content figure {
  margin: 1.5rem auto;
  text-align: center;
  max-width: 100%;
}
.article-body figure img,
.page-article-content figure img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  height: auto;
}
.article-body figcaption,
.page-article-content figcaption {
  font-size: 0.9rem;
  color: #64748b;
  margin-top: 0.5rem;
  font-style: italic;
  text-align: center;
}
.article-body .article-embed,
.article-body .ratio,
.page-article-content .article-embed,
.page-article-content .ratio {
  width: 100%;
  max-width: 100%;
  margin: 1.25rem 0;
}

/* Member Card & Story Profile Styles */
.member-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 31, 63, 0.12) !important;
  border-color: rgba(224, 86, 36, 0.4) !important;
}
.member-story-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #334155;
}
.member-story-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
.member-story-content figure {
  margin: 1.75rem auto;
  text-align: center;
}
.member-story-content figcaption {
  font-size: 0.9rem;
  color: #64748b;
  font-style: italic;
  margin-top: 0.5rem;
}

/* ============================================================
   Interactive Gallery Lightbox & Carousel Overlay
   ============================================================ */
.gallery-lightbox-trigger {
  cursor: pointer;
  overflow: hidden;
  display: block;
  position: relative;
}
.gallery-lightbox-trigger .gallery-thumb-img {
  transition: transform 0.35s cubic-bezier(0.2, 0, 0.2, 1);
}
.gallery-lightbox-trigger:hover .gallery-thumb-img {
  transform: scale(1.07);
}
.gallery-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 15, 30, 0.45);
  opacity: 0;
  transition: opacity 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.gallery-lightbox-trigger:hover .gallery-hover-overlay {
  opacity: 1;
}
.gallery-hover-overlay .btn {
  transform: scale(0.8);
  transition: transform 0.2s ease;
}
.gallery-lightbox-trigger:hover .gallery-hover-overlay .btn {
  transform: scale(1);
}

/* Lightbox Modal Overlay */
.glb-modal {
  position: fixed;
  inset: 0;
  z-index: 105000;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transition: opacity 0.25s cubic-bezier(0.2, 0, 0.2, 1);
  user-select: none;
}
.glb-modal.active {
  opacity: 1;
}
.glb-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 10, 20, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1;
  cursor: pointer;
}
.glb-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
  gap: 15px;
}
.glb-info {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.glb-title {
  font-size: 0.95rem;
  max-width: 400px;
}
.glb-counter {
  font-size: 0.85rem;
  white-space: nowrap;
}
.glb-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
}
.glb-tool-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}
.glb-tool-btn:hover {
  background: var(--color-secondary, #e05624);
  border-color: var(--color-secondary, #e05624);
  color: #fff;
  transform: scale(1.08);
}
.glb-viewport {
  position: relative;
  z-index: 5;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  padding: 0;
}
.glb-nav-btn {
  position: absolute;
  z-index: 20;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.2, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}
.glb-nav-btn:hover {
  background: var(--color-secondary, #e05624);
  border-color: var(--color-secondary, #e05624);
  color: #fff;
  transform: translateY(-50%) scale(1.12);
}
.glb-prev {
  left: 20px;
}
.glb-next {
  right: 20px;
}
.glb-stage {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  padding: 10px 80px;
}
.glb-img-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 90vw;
  max-height: 80vh;
}
.glb-img {
  max-width: 88vw;
  max-height: 78vh;
  object-fit: contain;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.9);
  border-radius: 6px;
  transition: transform 0.15s ease-out, opacity 0.2s ease;
  transform-origin: center center;
}
.glb-loader {
  position: absolute;
  z-index: 3;
}
.glb-footer {
  position: relative;
  z-index: 10;
  padding: 12px 20px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
  min-height: 45px;
}

@media (max-width: 768px) {
  .glb-header {
    padding: 10px 14px;
  }
  .glb-title {
    max-width: 160px;
    font-size: 0.85rem;
  }
  .glb-nav-btn {
    width: 42px;
    height: 42px;
    font-size: 1.25rem;
  }
  .glb-prev {
    left: 8px;
  }
  .glb-next {
    right: 8px;
  }
  .glb-stage {
    padding: 10px 50px;
  }
  .glb-img {
    max-width: 94vw;
    max-height: 74vh;
  }
}

