/* 
  ETIHAD INDUSTRIES - Master Styling System (Public Corporate Site & Admin)
  Palette: Primary Navy (#0B192C), Deep Slate (#1E3E62), Accent Amber (#F59E0B), Vibrant Orange (#EA580C), Cyan (#00ADB5), Light Surface (#F8FAFC)
*/
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --primary-navy: #0B192C;
  --secondary-navy: #1E3E62;
  --accent-amber: #F59E0B;
  --accent-orange: #EA580C;
  --accent-cyan: #00ADB5;
  --dark-bg: #061224;
  --light-bg: #F8FAFC;
  --card-bg: #FFFFFF;
  --text-dark: #0F172A;
  --text-muted: #64748B;
  --text-light: #F1F5F9;
  --border-color: #E2E8F0;
  --border-focus: #3B82F6;
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;
  --shadow-sm: 0 2px 8px rgba(11, 25, 44, 0.04);
  --shadow-md: 0 12px 30px -5px rgba(11, 25, 44, 0.08);
  --shadow-lg: 0 24px 48px -12px rgba(11, 25, 44, 0.15);
  --shadow-glow: 0 0 25px rgba(245, 158, 11, 0.3);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-dark);
  background-color: var(--light-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--primary-navy);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

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

/* Base Container */
.container {
  width: 90%;
  max-width: 1240px;
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-amber), #D97706);
  color: #FFFFFF;
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5);
  color: #FFFFFF;
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1.5px solid var(--accent-amber);
  color: var(--accent-amber);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background-color: var(--accent-amber);
  color: var(--primary-navy);
  transform: translateY(-2px);
}

.btn-dark {
  background-color: var(--primary-navy);
  color: #FFFFFF;
  box-shadow: var(--shadow-sm);
}

.btn-dark:hover {
  background-color: var(--secondary-navy);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1rem 2.2rem;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

/* Topbar */
.header-topbar {
  background-color: var(--dark-bg);
  color: #94A3B8;
  font-size: 0.85rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.topbar-info span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-right: 1.25rem;
}

/* Main Sticky Navigation Bar */
.main-navbar {
  background-color: rgba(11, 25, 44, 0.96);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 1.45rem;
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: -0.5px;
  font-family: 'Outfit', sans-serif;
}

.brand-logo img, .main-brand-logo-img {
  height: 70px;
  max-height: 85px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.2));
  transition: transform 0.3s ease;
}

.brand-logo img:hover, .main-brand-logo-img:hover {
  transform: scale(1.04);
}

.brand-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--accent-amber), var(--accent-orange));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
  font-weight: 900;
  font-size: 1.3rem;
  box-shadow: var(--shadow-glow);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
}

.nav-links a {
  color: #CBD5E1;
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  padding: 0.4rem 0;
}

.nav-links a:hover, .nav-links a.active {
  color: #FFFFFF;
}

.nav-links a.active::after, .nav-links a:hover::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-amber), var(--accent-orange));
  border-radius: 2px;
}

.nav-toggle-btn {
  display: none;
  background: none;
  border: none;
  color: #FFF;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* Mobile Drawer Overlay */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100vh;
  background: var(--primary-navy);
  z-index: 2000;
  box-shadow: -10px 0 30px rgba(0,0,0,0.5);
  transition: right 0.35s ease;
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.mobile-nav-drawer.open {
  right: 0;
}

.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 1999;
  display: none;
}

.mobile-nav-overlay.open {
  display: block;
}

.mobile-nav-links {
  list-style: none;
  margin-top: 2rem;
}

.mobile-nav-links li {
  margin-bottom: 1.25rem;
}

.mobile-nav-links a {
  color: #E2E8F0;
  font-size: 1.1rem;
  font-weight: 600;
  display: block;
}

.mobile-nav-links a.active, .mobile-nav-links a:hover {
  color: var(--accent-amber);
}

/* Hero Section */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, rgba(6, 18, 36, 0.96), rgba(11, 25, 44, 0.92)), url('https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?auto=format&fit=crop&w=1800&q=80') center/cover no-repeat;
  color: #FFFFFF;
  padding: 6.5rem 0 7rem 0;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid var(--accent-amber);
  color: var(--accent-amber);
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(4px);
}

.hero-title {
  font-size: 3.5rem;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.hero-title span {
  background: linear-gradient(135deg, #FFFFFF, var(--accent-amber));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: #94A3B8;
  margin-bottom: 2.25rem;
  max-width: 620px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* Glassmorphic Quote Calculator Widget */
.quote-calc-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
}

.calc-title {
  color: #FFFFFF;
  font-size: 1.35rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 0.85rem;
}

.calc-form-group {
  margin-bottom: 1.1rem;
}

.calc-label {
  display: block;
  font-size: 0.825rem;
  color: #CBD5E1;
  font-weight: 600;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.calc-input-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.calc-input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  color: #FFF;
  font-size: 0.9rem;
}

.calc-input:focus {
  outline: none;
  border-color: var(--accent-amber);
  background: rgba(15, 23, 42, 0.9);
}

.calc-select {
  width: 100%;
  padding: 0.65rem 0.85rem;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  color: #FFF;
  font-size: 0.9rem;
}

.calc-result-box {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(234, 88, 12, 0.15));
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  margin-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.calc-price-text {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent-amber);
  font-family: 'Outfit', sans-serif;
}

/* Sections */
.section-padding {
  padding: 5.5rem 0;
}

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

.section-subtitle {
  color: var(--accent-orange);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  margin-bottom: 0.6rem;
  display: inline-block;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 2.25rem;
}

/* Feature & Product Cards */
.feature-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  position: relative;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-cyan);
}

.card-icon {
  width: 64px;
  height: 64px;
  background: #F0F9FF;
  color: var(--primary-navy);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  margin-bottom: 1.5rem;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.02);
}

.product-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.product-img-box {
  height: 230px;
  background: #E2E8F0;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-img-box img {
  transform: scale(1.08);
}

.badge-cat {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(11, 25, 44, 0.85);
  color: #FFF;
  font-size: 0.75rem;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.15);
}

.product-content {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
  color: var(--primary-navy);
}

.product-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.1rem;
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.product-footer {
  margin-top: auto;
  padding-top: 1.1rem;
  border-top: 1px solid #F1F5F9;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

/* Filter & Search Bar */
.search-filter-wrapper {
  background: #FFF;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  margin-bottom: 3rem;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.filter-tabs {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-full);
  background: #F8FAFC;
  border: 1px solid var(--border-color);
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn:hover, .tab-btn.active {
  background: var(--primary-navy);
  color: #FFFFFF;
  border-color: var(--primary-navy);
  box-shadow: 0 4px 14px rgba(11, 25, 44, 0.25);
}

.search-input-box {
  position: relative;
  min-width: 280px;
}

.search-input-box i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.search-input-box input {
  width: 100%;
  padding: 0.65rem 1rem 0.65rem 2.6rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  font-size: 0.9rem;
}

.search-input-box input:focus {
  outline: none;
  border-color: var(--accent-amber);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

/* Box Customizer Visualizer Widget */
.box-customizer-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  background: #FFF;
  padding: 3rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.box-preview-stage {
  width: 100%;
  height: 380px;
  background: linear-gradient(135deg, #1E293B, #0F172A);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 30px rgba(0,0,0,0.5);
}

.box-3d-mock {
  width: 220px;
  height: 160px;
  background: #D97706; /* Default Kraft Brown */
  border: 3px solid #B45309;
  border-radius: 10px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #FFF;
  font-weight: 800;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  transition: all 0.4s ease;
}

.box-3d-mock.color-kraft { background: #B45309; border-color: #78350F; }
.box-3d-mock.color-white { background: #F8FAFC; border-color: #CBD5E1; color: #0F172A; }
.box-3d-mock.color-black { background: #18181B; border-color: #3F3F46; color: #FFF; }
.box-3d-mock.color-gold { background: linear-gradient(135deg, #F59E0B, #D97706); border-color: #B45309; color: #FFF; }

.swatch-group {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.swatch-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #FFF;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.swatch-btn:hover, .swatch-btn.active {
  transform: scale(1.15);
  box-shadow: 0 0 0 3px var(--accent-amber);
}

/* Accordion FAQ */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #FFF;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.faq-header {
  padding: 1.25rem 1.5rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary-navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-header i {
  transition: transform 0.3s ease;
}

.faq-item.open .faq-header i {
  transform: rotate(180deg);
}

.faq-body {
  padding: 0 1.5rem 1.25rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  display: none;
}

.faq-item.open .faq-body {
  display: block;
}

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(6, 18, 36, 0.95);
  z-index: 3000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  backdrop-filter: blur(10px);
}

.lightbox-modal.open {
  display: flex;
}

/* Floating Elements */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 62px;
  height: 62px;
  background-color: #25D366;
  color: #FFF;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
  z-index: 1000;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.6);
}

.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 102px;
  width: 48px;
  height: 48px;
  background: var(--primary-navy);
  color: #FFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-md);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--accent-amber);
  color: var(--primary-navy);
  transform: translateY(-4px);
}

/* Form Styling */
.form-label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.45rem;
  font-size: 0.875rem;
  color: var(--text-dark);
}

.form-control {
  width: 100%;
  padding: 0.8rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  font-family: inherit;
  font-size: 0.95rem;
  background: #FFF;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-amber);
  box-shadow: 0 0 0 3.5px rgba(245, 158, 11, 0.18);
}

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

/* Footer */
.footer-main {
  background-color: var(--dark-bg);
  color: #94A3B8;
  padding: 5rem 0 2.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3.5rem;
  margin-bottom: 3.5rem;
}

.footer-col h4 {
  color: #FFFFFF;
  margin-bottom: 1.35rem;
  font-size: 1.15rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.85rem;
}

.footer-links a:hover {
  color: var(--accent-amber);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2.25rem;
  text-align: center;
  font-size: 0.9rem;
}

/* Modal Window */
.custom-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 18, 36, 0.8);
  backdrop-filter: blur(6px);
  z-index: 2500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.custom-modal-backdrop.open {
  display: flex;
}

.custom-modal-card {
  background: #FFF;
  border-radius: var(--radius-md);
  max-width: 600px;
  width: 100%;
  padding: 2.5rem;
  position: relative;
  box-shadow: var(--shadow-lg);
}

/* Responsive Rules */
@media (max-width: 992px) {
  .hero-grid, .box-customizer-container {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .nav-links {
    display: none;
  }
  .nav-toggle-btn {
    display: block;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 2.4rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .calc-input-row {
    grid-template-columns: 1fr;
  }
  .search-filter-wrapper {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ==========================================================================
   ADMIN PANEL LAYOUT & COMPONENTS STYLING
   ========================================================================== */

.admin-wrapper {
  display: flex;
  min-height: 100vh;
  background-color: #F1F5F9;
}

/* Sidebar */
.admin-sidebar {
  width: 270px;
  background-color: var(--primary-navy);
  color: #94A3B8;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  box-shadow: 4px 0 25px rgba(0,0,0,0.12);
  z-index: 100;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.15) transparent;
}

.admin-sidebar::-webkit-scrollbar {
  width: 5px;
}

.admin-sidebar::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.15);
  border-radius: 4px;
}

.sidebar-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-menu {
  list-style: none;
  padding: 1.25rem 0.85rem;
  flex: 1;
}

.menu-section-title {
  font-size: 0.68rem;
  font-weight: 800;
  color: #64748B;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin: 1.25rem 0 0.5rem 0.75rem;
}

.menu-section-title:first-child {
  margin-top: 0.25rem;
}

.sidebar-menu li {
  margin-bottom: 0.25rem;
}

.sidebar-menu a {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.7rem 0.9rem;
  color: #94A3B8;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.sidebar-menu a:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.07);
}

.sidebar-menu a:hover i {
  color: var(--accent-amber);
}

.sidebar-menu a.active {
  color: #FFFFFF;
  background: linear-gradient(135deg, rgba(30,58,138,0.7), var(--secondary-navy));
  border-left: 3.5 solid var(--accent-amber);
  border-radius: var(--radius-sm);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.sidebar-menu a.active i {
  color: var(--accent-amber);
}

.sidebar-menu a i {
  width: 20px;
  text-align: center;
  font-size: 1.05rem;
  color: #64748B;
  transition: color 0.2s ease;
}

/* Main Layout */
.admin-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.admin-topbar {
  background: #FFFFFF;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.user-profile-badge {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.user-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--secondary-navy);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

.admin-content {
  padding: 2rem;
  flex: 1;
}

/* Buttons */
.btn-secondary {
  background: #E2E8F0;
  color: #334155;
}

.btn-secondary:hover {
  background: #CBD5E1;
  color: #0F172A;
}

.btn-accent {
  background: linear-gradient(135deg, #0284C7, #0369A1);
  color: #FFFFFF;
}

.btn-accent:hover {
  background: #0369A1;
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-danger {
  background: #EF4444;
  color: #FFFFFF;
}

.btn-danger:hover {
  background: #DC2626;
  color: #FFFFFF;
}

.btn-success {
  background: #10B981;
  color: #FFFFFF;
}

.btn-success:hover {
  background: #059669;
  color: #FFFFFF;
}

/* Badges */
.badge {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: capitalize;
}

.badge-info {
  background: #E0F2FE;
  color: #0369A1;
}

.badge-danger {
  background: #FEE2E2;
  color: #991B1B;
}

.badge-success {
  background: #D1FAE5;
  color: #065F46;
}

.badge-warning {
  background: #FEF3C7;
  color: #92400E;
}

/* Dashboard Metric Grid */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.metric-card {
  background: #FFFFFF;
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
}

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

.metric-val {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-navy);
  font-family: 'Outfit', sans-serif;
  line-height: 1;
}

.metric-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.metric-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.metric-icon.blue {
  background: #E0F2FE;
  color: #0284C7;
}

.metric-icon.purple {
  background: #F3E8FF;
  color: #9333EA;
}

.metric-icon.green {
  background: #D1FAE5;
  color: #059669;
}

.metric-icon.amber {
  background: #FEF3C7;
  color: #D97706;
}

/* Table Cards */
.table-card {
  background: #FFFFFF;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  overflow: hidden;
}

.table-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  background: #F8FAFC;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.table-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
}

.custom-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.custom-table th {
  background: #F1F5F9;
  color: #475569;
  padding: 0.85rem 1.25rem;
  font-weight: 600;
  border-bottom: 1px solid var(--border-color);
}

.custom-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #F1F5F9;
  color: #334155;
  vertical-align: middle;
}

.custom-table tbody tr:hover {
  background-color: #F8FAFC;
}

/* Responsive Rules for Admin Panel */
@media (max-width: 992px) {
  .admin-wrapper {
    flex-direction: column;
  }
  .admin-sidebar {
    width: 100%;
    height: auto;
    position: relative;
  }
  .sidebar-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .sidebar-menu li {
    margin-bottom: 0;
  }
}

/* ==========================================
   PUBLIC UX & INTERACTIVE ENHANCEMENTS
   ========================================== */

/* Glassmorphism Sticky Main Navbar */
.main-navbar.sticky-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 25, 44, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: var(--transition);
}

/* Interactive Modal Backdrop & Box */
.custom-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(6, 18, 36, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.custom-modal-backdrop.show {
  opacity: 1;
  visibility: visible;
}

.custom-modal {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  width: 92%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: translateY(20px) scale(0.95);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.custom-modal-backdrop.show .custom-modal {
  transform: translateY(0) scale(1);
}

.custom-modal-header {
  background: var(--primary-navy);
  color: #FFFFFF;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 3px solid var(--accent-amber);
}

.custom-modal-header h3 {
  color: #FFFFFF;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.custom-modal-close {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #FFFFFF;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition);
}

.custom-modal-close:hover {
  background: var(--accent-amber);
  color: var(--primary-navy);
}

.custom-modal-body {
  padding: 1.75rem;
}

/* Calculator Grid & Input Groups */
.calc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media (max-width: 600px) {
  .calc-grid {
    grid-template-columns: 1fr;
  }
}

.form-group-custom {
  margin-bottom: 1.25rem;
}

.form-group-custom label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-navy);
  margin-bottom: 0.4rem;
}

.form-input-custom {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  transition: var(--transition);
  outline: none;
}

.form-input-custom:focus {
  border-color: var(--accent-amber);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

/* Interactive Calculator Output Box */
.calc-result-box {
  background: linear-gradient(135deg, var(--primary-navy), var(--secondary-navy));
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  color: #FFFFFF;
  margin: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-left: 4px solid var(--accent-amber);
}

.calc-result-val {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-amber);
  font-family: 'Outfit', sans-serif;
}

/* FAQ Accordion Styling */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--accent-amber);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  padding: 1.1rem 1.4rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary-navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  background: #FFFFFF;
  transition: background 0.2s ease;
}

.faq-question:hover {
  background: #F8FAFC;
}

.faq-question i {
  color: var(--accent-amber);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.4rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0.5rem 1.4rem 1.25rem 1.4rem;
}

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

.lightbox-modal.show {
  opacity: 1;
  visibility: visible;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-sm);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
  object-fit: contain;
}

.lightbox-caption {
  position: absolute;
  bottom: 25px;
  color: #FFFFFF;
  font-weight: 600;
  font-size: 1.1rem;
  text-align: center;
  background: rgba(0, 0, 0, 0.7);
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius-full);
}

.lightbox-close {
  position: absolute;
  top: 25px;
  right: 25px;
  color: #FFFFFF;
  font-size: 2.2rem;
  cursor: pointer;
  background: none;
  border: none;
}

/* Live Search Filter Pills & Search Highlight */
.search-box-wrap {
  position: relative;
  max-width: 480px;
  margin: 0 auto 2rem auto;
}

.search-box-input {
  width: 100%;
  padding: 0.9rem 1.25rem 0.9rem 3rem;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-family: inherit;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  outline: none;
}

.search-box-input:focus {
  border-color: var(--accent-amber);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.2);
}

.search-box-icon {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Spec Pills */
.spec-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  background: #EFF6FF;
  color: #1E40AF;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
}

.spec-pill-badge.amber {
  background: #FEF3C7;
  color: #92400E;
}

.spec-pill-badge.green {
  background: #D1FAE5;
  color: #065F46;
}

/* Interactive Card Elevate */
.interactive-hover-card {
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

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

/* Quick Action Floating Bar */
.floating-quick-actions {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1500;
}

.btn-floating-quote {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-amber), var(--accent-orange));
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45);
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-floating-quote:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.6);
}

/* ==========================================
   ADMIN PANEL FUNCTIONALITY STYLES
   ========================================== */

/* Sidebar Notification Badges */
.sidebar-badge {
  margin-left: auto;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sidebar-badge.danger {
  background: #EF4444;
  color: #FFFFFF;
}

.sidebar-badge.warning {
  background: #F59E0B;
  color: #0F172A;
}

.sidebar-badge.success {
  background: #10B981;
  color: #FFFFFF;
}

/* Admin Table Instant Search Box */
.admin-table-search-wrap {
  position: relative;
  min-width: 280px;
}

.admin-table-search-input {
  width: 100%;
  padding: 0.55rem 1rem 0.55rem 2.4rem;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  outline: none;
  transition: var(--transition);
}

.admin-table-search-input:focus {
  border-color: var(--accent-amber);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

.admin-table-search-icon {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Status Badges for Admin Tables */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: capitalize;
}

.status-pill.pending {
  background: #FEF3C7;
  color: #92400E;
}

.status-pill.in-production {
  background: #E0F2FE;
  color: #0369A1;
}

.status-pill.completed {
  background: #D1FAE5;
  color: #065F46;
}

.status-pill.cancelled {
  background: #FEE2E2;
  color: #991B1B;
}

/* Print Media Styles */
@media print {
  body {
    background: #FFFFFF !important;
    color: #000000 !important;
  }

  .admin-sidebar, .admin-topbar, .btn, .no-print {
    display: none !important;
  }

  .admin-main {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
  }

  .table-card {
    box-shadow: none !important;
    border: none !important;
  }

  .custom-table th, .custom-table td {
    border-bottom: 1px solid #CBD5E1 !important;
  }

  .print-only-header {
    display: block !important;
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #000;
  }
}

.print-only-header {
  display: none;
}

/* ==========================================
   CIRCULAR CATEGORY SHOWCASE STYLES
   ========================================== */
.category-circle-grid {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 0.5rem 0;
}

.category-circle-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
  width: 140px;
  transition: transform 0.3s ease;
}

.category-circle-avatar-wrap {
  position: relative;
  width: 115px;
  height: 115px;
  border-radius: 50%;
  padding: 4px;
  background: #FFFFFF;
  border: 2px dashed #CBD5E1;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.category-circle-avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transition: transform 0.4s ease;
}

.category-circle-item:hover .category-circle-avatar-wrap {
  transform: scale(1.08) translateY(-4px);
  border: 2px solid var(--accent-amber);
  border-style: solid;
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.3);
}

.category-circle-item:hover .category-circle-avatar-wrap img {
  transform: scale(1.06);
}

.category-circle-count-badge {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-navy);
  color: var(--accent-amber);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  border: 1.5px solid #FFFFFF;
}

.category-circle-title {
  font-size: 0.925rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-top: 1rem;
  text-align: center;
  line-height: 1.25;
  transition: color 0.2s ease;
}

.category-circle-item:hover .category-circle-title {
  color: var(--accent-orange);
}

.category-compact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.25rem;
}

.category-compact-card {
  background: #FFFFFF;
  border-radius: 14px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  text-decoration: none;
  color: inherit;
}

.category-compact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.1);
  border-color: var(--accent-amber);
}

.category-compact-img-wrap {
  position: relative;
  height: 125px;
  overflow: hidden;
  background: var(--dark-bg);
}

.category-compact-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.category-compact-card:hover .category-compact-img-wrap img {
  transform: scale(1.08);
}

.category-compact-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,23,42,0.1) 0%, rgba(15,23,42,0.65) 100%);
}

.category-compact-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary-navy);
  backdrop-filter: blur(4px);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.category-compact-body {
  padding: 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.category-compact-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 0.35rem;
  line-height: 1.3;
  transition: color 0.2s ease;
}

.category-compact-card:hover .category-compact-title {
  color: var(--accent-orange);
}

.category-compact-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 0.85rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.category-compact-action {
  margin-top: auto;
  font-size: 0.825rem;
  font-weight: 800;
  color: var(--accent-amber);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: transform 0.2s ease;
}

.category-compact-card:hover .category-compact-action {
  transform: translateX(4px);
}



