
:root {
  --primary: #2563EB;
  --primary-light: #3B82F6;
  --secondary: #1E40AF;
  --bg: #F8FAFC;
  --dark: #0F172A;
  --dark-mid: #1E293B;
  --text: #1E293B;
  --text-muted: #64748B;
  --text-light: #E2E8F0;
  --text-light-muted: #94A3B8;
  --border: #E2E8F0;
  --border-dark: rgba(226, 232, 240, 0.12);
  --glass-bg: rgba(255, 255, 255, 0.92);
  --glass-bg-dark: rgba(15, 23, 42, 0.75);
  --glass-border: rgba(226, 232, 240, 0.8);
  --glass-border-dark: rgba(226, 232, 240, 0.1);
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.12);
  --shadow-blue: 0 8px 24px rgba(37, 99, 235, 0.25);
  --shadow-blue-hover: 0 12px 32px rgba(37, 99, 235, 0.35);
  --primary-glow: rgba(37, 99, 235, 0.25);
  --font-display: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0;
}

.bg-dark-section h1,
.bg-dark-section h2,
.bg-dark-section h3,
.bg-dark-section h4,
.bg-dark-section h5,
.bg-dark-section h6,
.hero h1,
.hero h2,
.hero h3,
.page-header h1,
.footer-forge h5 {
  color: var(--text-light);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover { color: var(--secondary); }

img { max-width: 100%; height: auto; display: block; }

::selection {
  background: var(--primary);
  color: #fff;
}

/* ---- Typography ---- */
.section-label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
  line-height: 1.2;
  font-weight: 600;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
}

.bg-dark-section .section-subtitle,
.hero .section-subtitle,
.page-header .section-subtitle {
  color: var(--text-light-muted);
}

/* ---- Navbar ---- */
.navbar-forge {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
  transition: background var(--transition), box-shadow var(--transition);
  z-index: 1050;
}

.navbar-forge.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow-md);
}

.navbar-brand-forge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--dark) !important;
  letter-spacing: 0;
  min-width: 0;
  padding: 0;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 46px;
  background: #fff;
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: var(--radius-sm);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.brand-mark img {
  width: 39px;
  height: 39px;
  object-fit: contain;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  line-height: 1;
}

.brand-name {
  color: var(--dark);
  font-size: 1rem;
  font-weight: 700;
}

.brand-subtitle {
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 600;
  margin-top: 0.25rem;
}

.navbar-forge .nav-link {
  color: var(--text-muted) !important;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 1rem !important;
  position: relative;
  transition: color var(--transition);
}

.navbar-forge .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: width var(--transition), left var(--transition);
}

.navbar-forge .nav-link:hover,
.navbar-forge .nav-link.active {
  color: var(--primary) !important;
}

.navbar-forge .nav-link:hover::after,
.navbar-forge .nav-link.active::after {
  width: 60%;
  left: 20%;
}

.navbar-toggler {
  border-color: var(--border) !important;
  padding: 0.4rem 0.6rem;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2837, 99, 235, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* ---- Buttons ---- */
.btn-forge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.85rem 1.75rem;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-forge-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  box-shadow: var(--shadow-blue);
}

.btn-forge-primary:hover {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: #fff;
  transform: translateY(-3px);
  box-shadow: var(--shadow-blue-hover);
}

.btn-forge-outline {
  background: transparent;
  color: var(--text-light);
  border: 2px solid rgba(226, 232, 240, 0.35);
}

.btn-forge-outline:hover {
  border-color: var(--primary);
  color: #fff;
  background: rgba(37, 99, 235, 0.12);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.2);
}

.bg-dark-section .btn-forge-outline,
.section-padding:not(.bg-dark-section) .btn-forge-outline {
  color: var(--primary);
  border-color: var(--primary);
}

.bg-dark-section .btn-forge-outline:hover,
.section-padding:not(.bg-dark-section) .btn-forge-outline:hover {
  color: #fff;
  background: var(--primary);
}

.btn-forge-sm {
  padding: 0.6rem 1.25rem;
  font-size: 0.8125rem;
  border-radius: var(--radius-sm);
}

/* ---- Cards ---- */
.glass-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.glass-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37, 99, 235, 0.2);
}

.bg-dark-section .glass-card {
  background: var(--glass-bg-dark);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-color: var(--glass-border-dark);
  box-shadow: none;
}

.bg-dark-section .glass-card:hover {
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--dark);
}

.hero-bg img,
.hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  filter: brightness(1.18) contrast(1.06) saturate(1.04);
  transform: scale(1.01);
  transition: opacity 0.8s ease, transform 4s ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.68) 0%,
    rgba(15, 23, 42, 0.42) 52%,
    rgba(30, 64, 175, 0.36) 100%
  );
  z-index: 1;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 2;
  pointer-events: none;
}

.hero-slider-controls {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  pointer-events: none;
}

.hero-slider-btn {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(226, 232, 240, 0.45);
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.28);
  color: #fff;
  font-size: 1.35rem;
  cursor: pointer;
  pointer-events: auto;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.hero-slider-btn:hover {
  background: rgba(37, 99, 235, 0.85);
  border-color: rgba(255, 255, 255, 0.75);
  transform: scale(1.06);
}

.hero-content {
  position: relative;
  z-index: 5;
  padding: 8rem 0 4rem;
}

.hero-title {
  font-size: clamp(2.25rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

.hero-title .accent {
  color: var(--primary-light);
  display: block;
}

.hero-desc {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-light-muted);
  max-width: 540px;
  margin-bottom: 2.5rem;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-light-muted);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

.hero-scroll i {
  color: var(--primary-light);
  font-size: 1.25rem;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ---- Placeholder Images ---- */
.placeholder-img {
  background: linear-gradient(145deg, #E2E8F0, #F1F5F9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94A3B8;
  position: relative;
  overflow: hidden;
}

.bg-dark-section .placeholder-img,
.hero .placeholder-img {
  background: linear-gradient(145deg, var(--dark-mid), var(--dark));
}

.placeholder-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 10px,
    rgba(37, 99, 235, 0.04) 10px,
    rgba(37, 99, 235, 0.04) 20px
  );
}

.placeholder-img i {
  font-size: 3rem;
  color: #94A3B8;
  z-index: 1;
  transition: transform var(--transition), color var(--transition);
}

.bg-dark-section .placeholder-img i,
.hero .placeholder-img i {
  color: #475569;
}

/* ---- Stats ---- */
.stats-section {
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 4rem 0;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
}

.stat-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: var(--radius-md);
  color: var(--primary);
  font-size: 1.5rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

.stat-item:hover .stat-icon {
  transform: scale(1.08);
  box-shadow: var(--shadow-blue);
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1;
}

.stat-number .suffix {
  color: var(--primary);
  font-size: 0.6em;
}

.stat-highlight {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 600;
  color: var(--dark);
  margin-top: 0.25rem;
  line-height: 1.35;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  margin-top: 0.5rem;
}

/* ---- Product Cards ---- */
.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37, 99, 235, 0.25);
}

.product-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.product-card-img .placeholder-img {
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease;
}

.product-card:hover .product-card-img .placeholder-img,
.product-card:hover .product-card-img img {
  transform: scale(1.06);
}

.product-card-body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card-title {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.product-card-specs {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  flex: 1;
}

.product-card-specs li {
  padding: 0.2rem 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.product-card-specs li i {
  color: var(--primary);
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* ---- Why Choose Us ---- */
.feature-card {
  text-align: center;
  padding: 2.5rem 1.75rem;
}

.feature-card h4 {
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
  color: var(--text-light);
}

.feature-card p {
  color: var(--text-light-muted);
  font-size: 0.9rem;
  margin: 0;
}

.feature-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: var(--radius-lg);
  font-size: 1.75rem;
  color: var(--primary-light);
  transition: transform var(--transition), box-shadow var(--transition);
}

.feature-card:hover .feature-icon {
  transform: scale(1.08);
  box-shadow: var(--shadow-blue);
}

/* Light section feature icons */
.section-padding:not(.bg-dark-section) .feature-icon {
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.15);
  color: var(--primary);
}

/* ---- Gallery Grid ---- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.gallery-item .placeholder-img {
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease;
}

.gallery-item:hover .placeholder-img,
.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.88), transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover .gallery-item-overlay { opacity: 1; }

.gallery-item-overlay span {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-light);
}

/* ---- Testimonials ---- */
.testimonial-card {
  padding: 2.5rem;
  text-align: center;
}

.testimonial-quote {
  font-size: 1.05rem;
  color: var(--text-light-muted);
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  position: relative;
}

.testimonial-quote::before {
  content: '\201C';
  font-size: 4rem;
  color: var(--primary);
  opacity: 0.25;
  position: absolute;
  top: -1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-author {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text-light);
  font-size: 0.95rem;
}

.testimonial-role {
  color: var(--text-light-muted);
  font-size: 0.8125rem;
}

.swiper-pagination-bullet {
  background: #475569 !important;
  opacity: 1 !important;
  width: 10px !important;
  height: 10px !important;
}

.swiper-pagination-bullet-active {
  background: var(--primary) !important;
  width: 28px !important;
  border-radius: 5px !important;
}

/* ---- Contact ---- */
.contact-form .form-control,
.contact-form .form-select {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.bg-dark-section .contact-form .form-control,
.bg-dark-section .contact-form .form-select,
.glass-card.contact-form .form-control,
.glass-card.contact-form .form-select {
  background: rgba(15, 23, 42, 0.4);
  border-color: var(--glass-border-dark);
  color: var(--text-light);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
  outline: none;
}

.bg-dark-section .contact-form .form-control:focus,
.bg-dark-section .contact-form .form-select:focus,
.glass-card.contact-form .form-control:focus,
.glass-card.contact-form .form-select:focus {
  background: rgba(15, 23, 42, 0.5);
  color: var(--text-light);
}

.contact-form .form-control::placeholder { color: #94A3B8; }

.contact-form label {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.bg-dark-section .contact-form label,
.glass-card.contact-form label {
  color: var(--text-light-muted);
}

.map-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 100%;
  min-height: 350px;
  box-shadow: var(--shadow-sm);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  min-height: 350px;
  border: 0;
  filter: grayscale(30%) contrast(1.05);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
}

.contact-info-item i {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.1);
  border-radius: var(--radius-sm);
  color: var(--primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.bg-dark-section .contact-info-item i {
  background: rgba(37, 99, 235, 0.15);
  color: var(--primary-light);
}

.bg-dark-section .contact-info-item span,
.bg-dark-section .contact-info-item strong {
  color: var(--text-light-muted);
}

.contact-info-item strong {
  color: var(--text);
  font-weight: 600;
}

.bg-dark-section .contact-info-item strong {
  color: var(--text-light);
}

/* ---- Page Header ---- */
.page-header {
  position: relative;
  padding: 10rem 0 5rem;
  background: var(--dark);
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), transparent);
}

.page-header .breadcrumb {
  background: none;
  padding: 0;
  margin-bottom: 1rem;
}

.page-header .breadcrumb-item a { color: var(--text-light-muted); }
.page-header .breadcrumb-item.active { color: var(--primary-light); }
.page-header .breadcrumb-item + .breadcrumb-item::before { color: #475569; }

.page-header-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--text-light);
}

/* ---- About Page ---- */
.timeline-item {
  position: relative;
  padding-left: 2.5rem;
  padding-bottom: 2rem;
  border-left: 2px solid var(--border);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -7px;
  top: 0;
  width: 12px;
  height: 12px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--primary-glow);
}

.timeline-year {
  font-family: var(--font-display);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
}

.team-card {
  text-align: center;
  overflow: hidden;
}

.team-card .placeholder-img {
  width: 100%;
  height: 260px;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.team-card-body { padding: 1.5rem; }

.team-card h5 {
  margin-bottom: 0.25rem;
  color: var(--text-light);
}

.team-card .role {
  color: var(--primary-light);
  font-size: 0.875rem;
}

/* ---- Product Detail ---- */
.product-detail-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.product-detail-img .placeholder-img {
  width: 100%;
  height: 400px;
}

.spec-table {
  width: 100%;
}

.spec-table tr {
  border-bottom: 1px solid var(--glass-border-dark);
}

.spec-table td {
  padding: 0.85rem 0;
  font-size: 0.9rem;
}

.spec-table td:first-child {
  color: var(--text-light-muted);
  width: 40%;
}

.spec-table td:last-child {
  color: var(--text-light);
}

.thumbnail-grid {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.thumbnail-grid .placeholder-img {
  width: 80px;
  height: 60px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.thumbnail-grid .placeholder-img.active,
.thumbnail-grid .placeholder-img:hover {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary-glow);
}

.thumbnail-grid .placeholder-img i { font-size: 1.25rem; }

/* ---- Footer ---- */
.footer-forge {
  background: var(--dark);
  border-top: 1px solid var(--border-dark);
  padding: 4rem 0 0;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.footer-brand span { color: var(--primary-light); }

.footer-desc {
  color: var(--text-light-muted);
  font-size: 0.9rem;
  max-width: 300px;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.6rem;
  color: var(--text-light-muted);
  font-size: 0.9rem;
}

.footer-links a {
  color: var(--text-light-muted);
  font-size: 0.9rem;
  transition: color var(--transition), padding-left var(--transition);
}

.footer-links a:hover {
  color: var(--primary-light);
  padding-left: 4px;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  color: var(--text-light-muted);
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: var(--shadow-blue);
}

.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding: 1.5rem 0;
  margin-top: 3rem;
  text-align: center;
  color: var(--text-light-muted);
  font-size: 0.875rem;
}

/* ---- Sections ---- */
.section-padding { padding: 6rem 0; }

.bg-dark-section {
  background: var(--dark);
  color: var(--text-light-muted);
}

.bg-dark-section p {
  color: var(--text-light-muted);
}

/* ---- Utilities ---- */
.text-primary-accent { color: var(--primary) !important; }

.text-muted {
  color: var(--text-muted) !important;
}

.bg-dark-section .text-muted {
  color: var(--text-light-muted) !important;
}

.divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), transparent);
  margin: 1rem 0 2rem;
  border-radius: 2px;
}

/* ---- Filter Buttons ---- */
.filter-btn {
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-blue);
  transform: translateY(-2px);
}

/* ---- Responsive ---- */
@media (max-width: 1199.98px) {
  .navbar-forge .nav-link {
    padding: 0.5rem 0.7rem !important;
  }

  .hero-title {
    max-width: 760px;
  }

  .product-card-img {
    height: 200px;
  }
}

@media (max-width: 991.98px) {
  html { scroll-padding-top: 72px; }

  body {
    font-size: 0.97rem;
  }

  .navbar-forge {
    padding: 0.55rem 0;
  }

  .navbar-forge > .container {
    align-items: center;
  }

  .navbar-brand-forge {
    max-width: calc(100vw - 96px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    gap: 0.55rem;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .brand-mark img {
    width: 35px;
    height: 35px;
  }

  .brand-name {
    font-size: 0.94rem;
  }

  .brand-subtitle {
    font-size: 0.66rem;
  }

  .navbar-collapse {
    background: #fff;
    padding: 1rem;
    border-radius: var(--radius-sm);
    margin-top: 0.5rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    max-height: calc(100vh - 88px);
    overflow-y: auto;
  }

  .navbar-forge .navbar-nav {
    align-items: stretch !important;
    gap: 0.25rem;
  }

  .navbar-forge .nav-link {
    padding: 0.75rem 0.85rem !important;
    border-radius: var(--radius-sm);
  }

  .navbar-forge .nav-link::after {
    display: none;
  }

  .navbar-forge .nav-link:hover,
  .navbar-forge .nav-link.active {
    background: rgba(37, 99, 235, 0.08);
  }

  .navbar-forge .btn-forge {
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 8rem 0 5rem;
  }

  .hero-slider-controls {
    padding: 0 1rem;
  }

  .hero-slider-btn {
    width: 42px;
    height: 42px;
    font-size: 1.15rem;
  }

  .hero-title {
    font-size: clamp(2.1rem, 7vw, 3.25rem);
    max-width: 680px;
  }

  .hero-desc {
    max-width: 620px;
  }

  .section-padding {
    padding: 4.5rem 0;
  }

  .page-header {
    padding: 8rem 0 4rem;
  }

  .glass-card,
  .testimonial-card {
    padding: 1.6rem;
  }

  .feature-card {
    padding: 2rem 1.4rem;
  }

  .stats-section {
    padding: 3rem 0;
  }

  .stat-item {
    padding: 1rem;
  }

  .product-detail-img .placeholder-img {
    height: 340px;
  }

  .map-container,
  .map-container iframe {
    min-height: 320px;
  }

  .footer-forge {
    padding-top: 3rem;
  }
}

@media (max-width: 767.98px) {
  .container {
    --bs-gutter-x: 1.25rem;
  }

  .section-label,
  .footer-heading {
    letter-spacing: 0;
  }

  .section-title {
    font-size: clamp(1.65rem, 7vw, 2.25rem);
  }

  .section-subtitle {
    font-size: 0.98rem;
  }

  .page-header {
    padding: 7rem 0 3rem;
  }

  .page-header .breadcrumb {
    font-size: 0.86rem;
    row-gap: 0.25rem;
  }

  .page-header-title {
    font-size: clamp(1.8rem, 9vw, 2.35rem);
    line-height: 1.15;
  }

  .hero-content {
    padding: 7rem 0 4.5rem;
  }

  .hero-slider-controls {
    align-items: flex-end;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 0 1.25rem 1.35rem;
  }

  .hero-title {
    margin-bottom: 1rem;
  }

  .hero-desc {
    margin-bottom: 1.75rem;
  }

  .hero-scroll {
    display: none;
  }

  .section-padding {
    padding: 3.5rem 0;
  }

  .glass-card,
  .testimonial-card {
    padding: 1.35rem;
  }

  .feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
    font-size: 1.4rem;
  }

  .product-card-img {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .product-card-body {
    padding: 1.35rem;
  }

  .product-card-title {
    font-size: 1rem;
    line-height: 1.35;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .filter-btn {
    flex: 1 1 calc(50% - 0.5rem);
    min-width: 128px;
    padding: 0.65rem 0.75rem;
  }

  .contact-info-item {
    gap: 0.75rem;
  }

  .product-detail-img .placeholder-img {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .thumbnail-grid {
    overflow-x: auto;
    padding-bottom: 0.25rem;
  }

  .thumbnail-grid .placeholder-img {
    flex: 0 0 76px;
  }

  .spec-table {
    table-layout: fixed;
  }

  .spec-table td {
    vertical-align: top;
    overflow-wrap: anywhere;
  }

  .map-container,
  .map-container iframe {
    min-height: 280px;
  }

  .footer-brand,
  .footer-desc {
    max-width: none;
  }

  .footer-bottom {
    margin-top: 2rem;
  }
}

@media (max-width: 575.98px) {
  .navbar-brand-forge {
    gap: 0.5rem;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .brand-mark img {
    width: 32px;
    height: 32px;
  }

  .brand-name {
    font-size: 0.88rem;
  }

  .brand-subtitle {
    font-size: 0.62rem;
  }

  .navbar-toggler {
    padding: 0.32rem 0.48rem;
  }

  .hero {
    text-align: left;
  }

  .hero-content {
    padding: 6.75rem 0 3.5rem;
  }

  .hero-overlay {
    background: linear-gradient(
      135deg,
      rgba(15, 23, 42, 0.72) 0%,
      rgba(15, 23, 42, 0.48) 58%,
      rgba(30, 64, 175, 0.35) 100%
    );
  }

  .hero-title {
    font-size: clamp(2rem, 11vw, 2.65rem);
    line-height: 1.08;
  }

  .hero-btns {
    flex-direction: column;
  }

  .hero-btns .btn-forge,
  .section-padding.text-center .btn-forge,
  .bg-dark-section.text-center .btn-forge,
  .contact-form .btn-forge {
    width: 100%;
    justify-content: center;
  }

  .btn-forge {
    min-height: 46px;
    padding: 0.75rem 1rem;
  }

  .stats-section {
    padding: 2.25rem 0;
  }

  .stat-icon {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
  }

  .stat-highlight {
    font-size: 0.95rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item-overlay {
    opacity: 1;
    padding: 1rem;
  }

  .timeline-item {
    padding-left: 1.5rem;
    padding-bottom: 1.6rem;
  }

  .team-card .placeholder-img,
  .section-padding .placeholder-img.rounded-3 {
    height: 280px !important;
  }

  .spec-table,
  .spec-table tbody,
  .spec-table tr,
  .spec-table td {
    display: block;
    width: 100% !important;
  }

  .spec-table tr {
    padding: 0.75rem 0;
  }

  .spec-table td {
    padding: 0.15rem 0;
  }

  .spec-table td:first-child {
    font-size: 0.8rem;
  }

  .footer-forge {
    text-align: left;
  }

  .footer-social {
    flex-wrap: wrap;
  }
}

@media (max-width: 389.98px) {
  .navbar-brand-forge {
    gap: 0.42rem;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .brand-mark img {
    width: 29px;
    height: 29px;
  }

  .brand-name {
    font-size: 0.8rem;
  }

  .brand-subtitle {
    display: none;
  }

  .hero-title {
    font-size: 1.85rem;
  }

  .glass-card,
  .testimonial-card,
  .product-card-body {
    padding: 1.1rem;
  }

  .filter-btn {
    flex-basis: 100%;
  }
}