/* ============================================================
   KosForm Metals — Main Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Montserrat:wght@700;800;900&display=swap');

/* ── Root Variables ── */
:root {
  --primary:      #E53E1A;
  --primary-dark: #b52e0f;
  --secondary:    #1A1A2E;
  --dark:         #0d0d1a;
  --accent:       #FF6B35;
  --gray-100:     #f8f9fa;
  --gray-200:     #e9ecef;
  --gray-500:     #6c757d;
  --gray-800:     #343a40;
  --white:        #ffffff;
  --text:         #222222;
  --text-light:   #555555;
  --border:       rgba(0,0,0,0.08);
  --shadow:       0 4px 24px rgba(0,0,0,0.10);
  --shadow-lg:    0 12px 48px rgba(0,0,0,0.18);
  --radius:       12px;
  --radius-sm:    6px;
  --transition:   all 0.3s ease;
  --font:         'Inter', sans-serif;
  --font-heading: 'Montserrat', sans-serif;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.2;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ── Utility ── */
.section-pad { padding: 90px 0; }
.section-pad-sm { padding: 60px 0; }

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  margin-bottom: 0.4rem;
}
.section-subtitle {
  color: var(--text-light);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
}
.section-label {
  display: inline-block;
  background: #c8ccd1;
  color: var(--gray-800);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
}

/* ── Buttons ── */
.btn-primary-custom {
  background: rgba(45, 77, 160, 0.7);
  color: #fff;
  padding: 13px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid rgba(45, 77, 160, 0.5);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  backdrop-filter: blur(6px);
}
.btn-primary-custom:hover {
  background: #2d4da0;
  color: #fff;
  border-color: #2d4da0;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(45, 77, 160, 0.4);
}
.btn-outline-custom {
  background: rgba(45, 77, 160, 0.35);
  color: var(--white);
  padding: 13px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid rgba(255,255,255,0.4);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  backdrop-filter: blur(6px);
}
.btn-outline-custom:hover {
  background: #2d4da0;
  color: #fff;
  border-color: #2d4da0;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(45, 77, 160, 0.4);
}

/* ── Navbar ── */
#main-navbar {
  background: transparent;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: var(--transition);
  padding: 16px 0;
}
#main-navbar.scrolled {
  background: var(--secondary);
  padding: 10px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
.navbar-brand img { height: 44px; }
.navbar-brand .brand-text {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.4rem;
  color: #fff;
  letter-spacing: -0.5px;
}
.navbar-brand .brand-text span { color: var(--primary); }

.nav-link-custom {
  color: rgba(255,255,255,0.85) !important;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 16px !important;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.nav-link-custom:hover,
.nav-link-custom.active {
  color: var(--white) !important;
  background: #2D4DA0;
}
.nav-link-custom.active::after {
  display: none;
}

.lang-btn {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: var(--transition);
}
.lang-btn:hover { background: var(--primary); border-color: var(--primary); }
.lang-btn.active-lang { background: var(--primary); border-color: var(--primary); }

.navbar-toggler { border: none; padding: 6px; background: none; cursor: pointer; }
.navbar-toggler:focus { outline: none; box-shadow: none; }
.navbar-toggler i { transition: var(--transition); }
.navbar-toggler-icon { filter: invert(1); }

/* ── Mobile Menu ── */
.mobile-menu {
  display: none;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.3s ease;
  opacity: 0;
}
.mobile-menu.show {
  display: block;
  max-height: 500px;
  opacity: 1;
  background: #2D4DA0;
  border-radius: var(--radius);
  padding: 8px 0;
  margin-top: 10px;
}
.mobile-menu .nav-link-custom {
  display: block;
  padding: 12px 16px !important;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 0.95rem;
}
.mobile-menu .nav-link-custom:last-child { border-bottom: none; }
.mobile-menu .lang-btn { margin-top: 4px; }

/* ── Hero Slider ── */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 0.9s ease, transform 6s ease;
}
.hero-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,13,26,0.85) 0%, rgba(229,62,26,0.2) 100%);
  z-index: 2;
}
.hero-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 80px;
}
.hero-label {
  display: inline-block;
  background: transparent;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  padding: 6px 18px;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease both;
}
.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 20px;
  animation: fadeInUp 0.9s 0.15s ease both;
}
.hero-title span { color: var(--primary); }
.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  margin-bottom: 36px;
  animation: fadeInUp 1s 0.3s ease both;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 1s 0.45s ease both;
}

.hero-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  padding: 0;
}
.hero-dot.active { background: var(--primary); transform: scale(1.3); }

/* ── Stats Bar ── */
.stats-bar {
  background: var(--secondary);
  padding: 18px 0;
}
.stats-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
}
.stat-item {
  text-align: center;
  padding: 6px 28px;
  flex: 1;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--primary);
  display: block;
  line-height: 1.2;
}
.stat-label {
  color: rgba(255,255,255,0.6);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ── Cards ── */
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.product-card-img {
  height: 240px;
  overflow: hidden;
  background: var(--gray-100);
}
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-card-img img { transform: scale(1.08); }
.product-card-img .no-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--gray-200);
  background: var(--gray-100);
}
.product-card-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-card-cat {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.product-card-title {
  font-size: 1.08rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--text);
}
.product-card-desc {
  font-size: 0.9rem;
  color: var(--text-light);
  flex: 1;
  margin-bottom: 18px;
}
.product-card-link {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.product-card-link:hover { gap: 10px; }
.product-card-link svg { transition: var(--transition); }

/* ── Project Card ── */
.project-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  height: 320px;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.project-card:hover img { transform: scale(1.08); }
.project-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,13,26,0.92) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  transition: var(--transition);
}
.project-card-year {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.project-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  margin: 4px 0;
}
.project-card-loc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ── Service Cards ── */
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: var(--transition);
  height: 100%;
}
.service-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.service-icon {
  width: 60px;
  height: 60px;
  background: #c8ccd1;
  color: var(--gray-800);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 20px;
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: var(--primary);
  color: #fff;
}
.service-title {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 10px;
}
.service-desc {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ── Catalog Cards ── */
.catalog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
}
.catalog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.catalog-card-thumb {
  height: 220px;
  overflow: hidden;
  background: var(--gray-100);
  position: relative;
}
.catalog-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.catalog-card-thumb .no-thumb {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--gray-200);
}
.catalog-pdf-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  letter-spacing: 1px;
}
.catalog-card-body { padding: 22px; }
.catalog-card-title { font-size: 1.05rem; font-weight: 800; margin-bottom: 14px; }

/* ── Page Hero ── */
.page-hero {
  background: var(--secondary);
  min-height: 320px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  margin-top: 0;
  padding-top: 100px;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(229,62,26,0.25) 0%, transparent 70%);
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -40px; left: -40px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(229,62,26,0.12) 0%, transparent 70%);
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 10px;
}
.breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
}
.breadcrumb-item { color: rgba(255,255,255,0.55); font-size: 0.9rem; }
.breadcrumb-item a { color: rgba(255,255,255,0.7); }
.breadcrumb-item a:hover { color: var(--primary); }
.breadcrumb-item.active { color: var(--primary); }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.35); }

/* ── About page ── */
.about-img-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-img-wrap::after {
  content: '';
  position: absolute;
  bottom: -16px; right: -16px;
  width: 80px; height: 80px;
  background: var(--primary);
  border-radius: var(--radius);
  z-index: -1;
}
.about-badge {
  position: absolute;
  bottom: 24px; left: 24px;
  background: var(--primary);
  color: #fff;
  padding: 14px 22px;
  border-radius: var(--radius);
  text-align: center;
}
.about-badge-num { font-size: 2rem; font-weight: 900; display: block; }
.about-badge-text { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; }

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}
.value-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: #c8ccd1;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--gray-800);
}
.value-title { font-weight: 800; font-size: 1rem; margin-bottom: 4px; }
.value-text { font-size: 0.9rem; color: var(--text-light); }

/* ── About Gallery ── */
.about-gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
  height: 280px;
  transition: var(--transition);
}
.about-gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.about-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.about-gallery-item:hover img {
  transform: scale(1.06);
}
.about-gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 18px;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
}

/* ── Contact ── */
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}
.contact-info-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: #c8ccd1;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--gray-800);
}
.contact-info-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-light);
  font-weight: 700;
}
.contact-info-value { font-weight: 700; font-size: 1rem; }

.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px;
}
.form-control-custom {
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: 0.95rem;
  transition: var(--transition);
  background: var(--gray-100);
  width: 100%;
}
.form-control-custom:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(229,62,26,0.1);
}
.form-label-custom {
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 6px;
  color: var(--text);
}
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 380px;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ── Filter Bar ── */
.filter-bar {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 36px;
  box-shadow: var(--shadow);
}
.filter-select {
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.9rem;
  background: var(--gray-100);
  cursor: pointer;
  transition: var(--transition);
  min-width: 180px;
}
.filter-select:focus {
  outline: none;
  border-color: var(--primary);
}
.search-input-wrap { position: relative; flex: 1; }
.search-input-wrap input {
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 10px 16px 10px 42px;
  font-size: 0.9rem;
  background: var(--gray-100);
  width: 100%;
  transition: var(--transition);
}
.search-input-wrap input:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
}
.search-input-wrap .search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-500);
  font-size: 1rem;
}

/* ── Footer ── */
#main-footer {
  background: var(--dark);
  padding: 70px 0 0;
  color: rgba(255,255,255,0.75);
}
.footer-brand .brand-text {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.6rem;
  color: #fff;
}
.footer-brand .brand-text span { color: var(--primary); }
.footer-desc { font-size: 0.9rem; margin-top: 12px; max-width: 300px; color: rgba(255,255,255,0.55); }
.footer-title {
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.55); font-size: 0.9rem; transition: var(--transition); }
.footer-links a:hover { color: var(--primary); padding-left: 6px; }
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
}
.footer-contact-item i { color: var(--primary); font-size: 1rem; min-width: 16px; }
.social-links { display: flex; gap: 10px; margin-top: 10px; }
.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-size: 1rem;
}
.social-link:hover { background: var(--primary); color: #fff; transform: translateY(-3px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 20px 0;
  margin-top: 50px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.35);
}

/* ── Animations ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ── Alerts ── */
.alert-success { background: #d1fae5; color: #065f46; border-color: #6ee7b7; border-radius: var(--radius-sm); }
.alert-danger  { background: #fee2e2; color: #7f1d1d; border-color: #f87171; border-radius: var(--radius-sm); }
.alert-info    { background: #dbeafe; color: #1e3a5f; border-color: #93c5fd; border-radius: var(--radius-sm); }

/* ── Product Detail ── */
.product-detail-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 480px;
  background: var(--gray-100);
}
.product-detail-img img { width: 100%; height: 100%; object-fit: cover; }
.product-thumbnail-list { display: flex; gap: 10px; margin-top: 12px; }
.product-thumbnail {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  flex-shrink: 0;
}
.product-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.product-thumbnail.active,
.product-thumbnail:hover { border-color: var(--primary); }
.product-detail-tabs .nav-link {
  color: var(--text-light);
  font-weight: 700;
  border-radius: 0;
  border-bottom: 3px solid transparent;
  padding: 12px 20px;
}
.product-detail-tabs .nav-link.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  background: transparent;
}

/* ── Back link ── */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-light);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 20px;
  transition: var(--transition);
}
.back-link:hover { color: var(--primary); gap: 10px; }

/* ── Product Card Image Link ── */
.product-card-img-link {
  text-decoration: none;
  display: block;
  color: inherit;
}

/* ── Lazy Load Spinner ── */
.lazy-load-spinner {
  display: flex;
  align-items: center;
  justify-content: center;
}
.spinner-ring {
  width: 28px;
  height: 28px;
  border: 3px solid var(--gray-200);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spinRing 0.8s linear infinite;
}
@keyframes spinRing {
  to { transform: rotate(360deg); }
}
.lazy-load-end {
  text-align: center;
  padding: 30px 0;
  color: var(--text-light);
  font-size: 0.9rem;
  opacity: 0;
  animation: fadeInSoft 0.5s ease forwards;
}
@keyframes fadeInSoft {
  to { opacity: 1; }
}

/* ── Responsive ── */
@media (max-width: 991px) {
  .section-pad { padding: 60px 0; }
  .hero-title { font-size: 2.4rem; }
  .contact-form-wrap { padding: 24px; }
}
@media (max-width: 767px) {
  .section-pad { padding: 50px 0; }
  .page-hero { min-height: 240px; }
  .project-card { height: 250px; }
  .product-detail-img { height: 300px; }
  .filter-bar { padding: 16px; }
  .filter-bar .d-flex { flex-direction: column; }
  .stat-item { padding: 6px 12px; }
  .stat-number { font-size: 1.3rem; }
  .stat-label { font-size: 0.6rem; letter-spacing: 0.5px; }
}
