/* ===================================
   HERGOM INSTRUMENT — Style Sheet
   Design inspired by Sigal Medco
   =================================== */

/* ---- Google Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@300;400;500;600;700&family=Playfair+Display:wght@400;700&family=Archivo:wght@400;500;600;700&display=swap');

/* ---- CSS Custom Properties ---- */
:root {
  --primary: #8C1515;
  --primary-dark: #6A0E0F;
  --primary-light: #B31B1B;
  --dark: #FFFFFF;
  --dark-hover: #E0E0E0;
  --text-primary: #F5F5F5;
  --text-secondary: #A0A4B0;
  --text-light: #727684;
  --bg-white: #000000;
  --bg-light: #000000;
  --bg-gray: #000000;
  --border-color: #333333;
  --border-light: #222222;
  --accent-blue: #008ADD;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 5px 30px -5px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 10px 40px -10px rgba(0, 0, 0, 0.2);
  --radius-sm: 2px;
  --radius-md: 5px;
  --radius-lg: 10px;
  --max-width: 1400px;
  --header-height: 110px;
  --topbar-height: 28px;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  --font-body: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Archivo', 'IBM Plex Sans', sans-serif;
  --font-accent: 'Playfair Display', Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-white);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  display: inline-block;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---- Utility Classes ---- */
.section-padding {
  padding: 60px 0;
}

.section-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 2px;
  background: var(--primary);
  margin-top: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  border-radius: var(--radius-sm);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

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

.btn-dark-blue {
  background: #8C1515;
  color: #fff;
}

.btn-dark-blue:hover {
  background: #5E0E0E;
  color: #fff;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.btn-danger {
  background: var(--primary);
  color: #fff;
}

.btn-danger:hover {
  background: var(--primary-dark);
  color: #fff;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: none;
}

.btn-outline:hover {
  background: var(--bg-light);
  color: var(--primary);
  transform: translateY(-2px);
}

/* ==============================
   1. TOP BAR
   ============================== */
.top-bar {
  background: var(--primary);
  height: var(--topbar-height);
  display: flex;
  align-items: center;
  font-size: 13px;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1001;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar__social {
  display: flex;
  align-items: center;
  gap: 5px;
}

.top-bar__social a {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  transition: color var(--transition-fast);
  border-radius: 50%;
}

.top-bar__social a:hover {
  color: #fff;
}

.top-bar__social a.fb:hover {
  color: #4267B2;
}

.top-bar__social a.ig:hover {
  color: #E1306C;
}

.top-bar__social a.li:hover {
  color: #0077B5;
}

.top-bar__social a.wa:hover {
  color: #25D366;
}

.top-bar__links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-bar__links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  transition: color var(--transition-fast);
}

.top-bar__links a:hover {
  color: #fff;
}

/* ==============================
   2. HEADER
   ============================== */
.header {
  background: var(--bg-white);
  height: var(--header-height);
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all var(--transition-normal);
  box-shadow: none;
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
  height: 95px;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

/* Logo */
.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header__logo-icon {
  width: 45px;
  height: 45px;
  background: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  transition: transform var(--transition-normal);
}

.header__logo:hover .header__logo-icon {
  transform: scale(1.05);
}

.header__logo-text {
  display: flex;
  flex-direction: column;
}

.header__logo-name {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.header__logo-tagline {
  font-size: 10px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* Navigation */
.header__nav {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-menu>li {
  position: relative;
}

.nav-menu>li>a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 18px;
  font-size: 17px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-primary);
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.nav-menu>li>a i.home-icon {
  font-size: 22px;
}

.nav-menu>li>a:hover,
.nav-menu>li:hover>a {
  color: var(--primary);
}

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--bg-white);
  box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--primary);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-normal);
  z-index: 100;
  padding: 10px 0;
}

.nav-menu>li:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown li a {
  display: block;
  padding: 8px 20px;
  font-size: 13px;
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.nav-dropdown li a:hover {
  background: var(--bg-light);
  color: var(--primary);
  padding-left: 25px;
}

/* Mega Menu */
.mega-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  transform: translateY(10px);
  width: 800px;
  background: var(--bg-white);
  box-shadow: var(--shadow-lg);
  border-top: 3px solid #172B4D;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 100;
  padding: 25px 30px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.nav-menu>li:hover .mega-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-col h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: var(--primary);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
}

.mega-col ul li a {
  display: block;
  padding: 4px 0;
  font-size: 13px;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.mega-col ul li a:hover {
  color: var(--primary);
  padding-left: 5px;
}

/* Header Actions */
.header__actions {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
}

.header__search {
  position: relative;
}

.header__search-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  color: var(--text-primary);
  transition: color var(--transition-fast);
  border-radius: 50%;
}

.header__search-btn:hover {
  color: var(--primary);
}

.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.search-overlay.active {
  opacity: 1;
  visibility: visible;
}

.search-overlay__inner {
  width: 100%;
  max-width: 600px;
  padding: 20px;
}

.search-overlay__input {
  width: 100%;
  padding: 15px 20px;
  font-size: 18px;
  font-family: var(--font-body);
  border: none;
  border-bottom: 2px solid var(--primary);
  background: transparent;
  color: #fff;
  outline: none;
}

.search-overlay__input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.search-overlay__close {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.search-overlay__close:hover {
  color: var(--primary);
}

.btn-quote {
  background: var(--primary);
  color: #fff;
  padding: 10px 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  white-space: nowrap;
  border-radius: var(--radius-sm);
}

.btn-quote:hover {
  background: var(--dark);
  color: #fff;
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all var(--transition-normal);
  border-radius: 2px;
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translateY(5px) translateX(5px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-5px) translateX(5px);
}

/* ==============================
   3. HERO SLIDER
   ============================== */
.hero-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #000;
}

.hero-slider__track {
  display: flex;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.hero-slide {
  min-width: 100%;
  position: relative;
  aspect-ratio: 16 / 6;
}

.hero-slide__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-slide__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(41, 41, 43, 0.7) 0%, rgba(41, 41, 43, 0.2) 50%, transparent 100%);
  display: flex;
  align-items: center;
  padding-left: 8%;
}

.hero-slide__content {
  max-width: 550px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.hero-slide.active .hero-slide__content {
  opacity: 1;
  transform: translateY(0);
}

.hero-slide__subtitle {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #8C1515;
  margin-bottom: 10px;
}

.hero-slide__title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 15px;
}

.hero-slide__desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 25px;
  line-height: 1.6;
}

/* Slider Controls */
.hero-slider__dots {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.hero-slider__dot {
  width: 30px;
  height: 4px;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  border-radius: 2px;
}

.hero-slider__dot.active {
  background: #8C1515;
  width: 45px;
}

.hero-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  background: rgba(41, 41, 43, 0.6);
  border: none;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  transition: all var(--transition-normal);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
}

.hero-slider__arrow:hover {
  background: var(--primary);
}

.hero-slider__arrow--prev {
  left: 20px;
}

.hero-slider__arrow--next {
  right: 20px;
}

/* Timebar */
.hero-slider__timebar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 10;
}

.hero-slider__timebar-progress {
  height: 100%;
  background: var(--primary);
  width: 0%;
  transition: width linear;
}

/* ==============================
   4. CATEGORY BANNERS
   ============================== */
.categories {
  padding: 40px 0;
  background: var(--bg-white);
}

.categories__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.category-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  aspect-ratio: 325 / 220;
  cursor: pointer;
}

.category-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: all var(--transition-slow);
  transform: scale(1);
}

.category-card:hover .category-card__image {
  filter: grayscale(0%);
  transform: scale(1.12);
}

.category-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.1) 60%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  transition: background var(--transition-normal);
}

.category-card:hover .category-card__overlay {
  background: linear-gradient(to top, rgba(208, 30, 36, 0.8) 0%, rgba(208, 30, 36, 0.1) 60%, transparent 100%);
}

.category-card__title {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transform: translateY(0);
  transition: transform var(--transition-normal);
}

.category-card:hover .category-card__title {
  transform: translateY(-5px);
}

/* ==============================
   5. FEATURED PRODUCTS
   ============================== */
.featured-products {
  padding: 60px 0;
  background: var(--bg-light);
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 30px;
}

@media (max-width: 1024px) {
  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.product-row {
  display: flex;
  align-items: center;
  gap: 30px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  border: none;
}

.product-row:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.product-row.reverse {
  flex-direction: row-reverse;
}

.product-row__image {
  flex: 0 0 auto;
  max-width: 50%;
  background: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-row__image img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 350px;
  display: block;
  object-fit: contain;
  transition: transform var(--transition-slow);
}

.product-row:hover .product-row__image img {
  transform: scale(1.05);
}

.product-row__text {
  flex: 1;
  padding: 30px;
}

.product-category {
  display: inline-block;
  font-size: 14px;
  color: var(--primary);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.product-title {
  font-size: 28px;
  font-family: var(--font-heading);
  color: var(--text-primary);
  margin-bottom: 15px;
  line-height: 1.3;
}

.product-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

@media (max-width: 992px) {

  .product-row,
  .product-row.reverse {
    flex-direction: column;
    text-align: center;
  }

  .product-row__image {
    max-width: 100%;
    width: 100%;
  }

  .product-row__text {
    padding: 30px 20px;
  }
}

/* ==============================
   6. CTA BANNER
   ============================== */
.cta-banner {
  background: #172B4D;
  padding: 50px 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 50%;
}

.cta-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.cta-banner__content {
  max-width: 600px;
}

.cta-banner__title {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.cta-banner__text {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

.cta-banner__actions {
  display: flex;
  gap: 15px;
  flex-shrink: 0;
}

/* ==============================
   7. MORE CATEGORIES
   ============================== */
.more-categories {
  padding: 60px 0;
  background: var(--bg-white);
}

.more-categories__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 15px;
}

.more-cat-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  aspect-ratio: 1 / 1;
  cursor: pointer;
}

.more-cat-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(80%);
  transition: all var(--transition-slow);
}

.more-cat-card:hover .more-cat-card__image {
  filter: grayscale(0%);
  transform: scale(1.15);
}

.more-cat-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 15px;
}

.more-cat-card__name {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==============================
   8. QUALITY / ABOUT SECTION
   ============================== */
.quality-section {
  padding: 70px 0;
  background: var(--bg-light);
}

.quality-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.quality__content h2 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.quality__content h2 span {
  color: #8C1515;
}

.quality__content p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 15px;
}

.quality__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.quality-feature {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.quality-feature__icon {
  width: 50px;
  height: 50px;
  background: #8C1515;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  font-size: 20px;
  flex-shrink: 0;
}

.quality-feature__text h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}

.quality-feature__text p {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 0;
}

.quality__certifications {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 30px;
}

.cert-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
  transition: all var(--transition-normal);
}

.cert-badge:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.cert-badge i {
  color: #172B4D;
  font-size: 16px;
}

.quality__image-wrap {
  position: relative;
}

.quality__image {
  width: 100%;
}

.quality__image-accent {
  position: absolute;
  bottom: -15px;
  right: -15px;
  width: 150px;
  height: 150px;
  background: #172B4D;
  border-radius: var(--radius-md);
  z-index: -1;
  opacity: 0.15;
}

.quality__stats {
  position: absolute;
  bottom: 25px;
  left: -30px;
  background: var(--dark);
  color: #fff;
  padding: 20px 25px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.quality__stats-number {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.quality__stats-text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* ==============================
   9. EXHIBITION GALLERY
   ============================== */
.gallery-section {
  padding: 60px 0;
  background: var(--bg-white);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1 / 1;
}

.gallery-item__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: all var(--transition-slow);
}

.gallery-item:hover .gallery-item__image {
  filter: grayscale(0%);
  transform: scale(1.16);
}

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(208, 30, 36, 0.0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
}

.gallery-item:hover .gallery-item__overlay {
  background: rgba(208, 30, 36, 0.3);
}

.gallery-item__icon {
  color: #fff;
  font-size: 28px;
  opacity: 0;
  transform: scale(0.5);
  transition: all var(--transition-normal);
}

.gallery-item:hover .gallery-item__icon {
  opacity: 1;
  transform: scale(1);
}

/* ==============================
   10. TESTIMONIALS
   ============================== */
.testimonials {
  padding: 70px 0;
  background: var(--bg-light);
}

.testimonials__slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.testimonials__track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
  min-width: 100%;
  padding: 0 20px;
}

.testimonial-card__inner {
  background: var(--bg-white);
  padding: 40px;
  box-shadow: var(--shadow-md);
  text-align: center;
  border-radius: var(--radius-md);
  position: relative;
}

.testimonial-card__quote-icon {
  color: #8C1515;
  font-size: 40px;
  margin-bottom: 20px;
  opacity: 0.3;
}

.testimonial-card__text {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 25px;
  font-style: italic;
}

.testimonial-card__author {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  font-style: italic;
}

.testimonial-card__role {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.testimonials__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}

.testimonials__dot {
  width: 20px;
  height: 5px;
  background: var(--dark);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  border-radius: 2px;
  opacity: 0.3;
}

.testimonials__dot.active {
  background: #8C1515;
  opacity: 1;
  width: 30px;
}

/* ==============================
   11. CONTACT CTA SECTION
   ============================== */
.contact-cta {
  padding: 60px 0;
  background: var(--dark);
  color: #fff;
  text-align: center;
}

.contact-cta h2 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.contact-cta p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 30px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.contact-cta__actions {
  display: flex;
  justify-content: center;
  gap: 15px;
}

/* ==============================
   12. FOOTER
   ============================== */
footer {
  background: #0F1C36;
  /* Premium Dark Blue */
  color: #B3C0D1;
}

.footer__main {
  padding: 50px 0 30px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 40px;
}

.footer__brand p {
  font-size: 14px;
  color: #B3C0D1;
  line-height: 1.7;
  margin-bottom: 20px;
  margin-top: 15px;
}

.footer__social {
  display: flex;
  gap: 10px;
}

.footer__social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
  transition: all var(--transition-normal);
}

.footer__social a:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.footer__col-title {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 20px;
  position: relative;
}

.footer__links li {
  margin-bottom: 6px;
}

.footer__links li a {
  font-size: 14px;
  color: #B3C0D1;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer__links li a::before {
  content: '›';
  font-size: 16px;
  color: #8F9FBA;
  transition: color var(--transition-fast);
}

.footer__links li a:hover {
  color: #fff;
  padding-left: 5px;
}

.footer__links li a:hover::before {
  color: var(--primary);
}

.footer__contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 15px;
  align-items: flex-start;
}

.footer__contact-item i {
  color: #fff;
  font-size: 16px;
  margin-top: 3px;
  flex-shrink: 0;
}

.footer__contact-item span {
  font-size: 14px;
  color: #B3C0D1;
  line-height: 1.5;
}

/* Footer Bottom */
.footer__bottom {
  background: #0A1428;
  padding: 10px 0;
}

.footer__bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__copyright {
  font-size: 13px;
  color: rgba(187, 198, 221, 1);
}

.footer__bottom-links {
  display: flex;
  gap: 15px;
}

.footer__bottom-links a {
  font-size: 13px;
  color: rgba(187, 198, 221, 1);
}

.footer__bottom-links a:hover {
  color: #fff;
}

/* ==============================
   SCROLL TO TOP
   ============================== */
.scroll-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 45px;
  height: 45px;
  background: #172B4D;
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-normal);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--dark);
  transform: translateY(-3px);
}

/* ==============================
   NOTIFICATION BAR
   ============================== */
.notification-bar {
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 500;
  position: relative;
  z-index: 1002;
}

.notification-bar a {
  color: #fff;
  text-decoration: underline;
  font-weight: 700;
}

.notification-bar__close {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  font-size: 16px;
}

/* ==============================
   ANIMATIONS
   ============================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.animate-on-scroll {
  opacity: 1 !important;
  transform: translateY(0) !important;
  transition: none !important;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll.slide-left {
  transform: translateX(0) !important;
}

.animate-on-scroll.slide-right {
  transform: translateX(0) !important;
}

.animate-on-scroll.slide-left.visible,
.animate-on-scroll.slide-right.visible {
  transform: translateX(0);
}

/* ==============================
   RESPONSIVE — TABLET
   ============================== */
@media (max-width: 1024px) {
  .categories__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .products__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .more-categories__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .quality-section .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .quality__image-wrap {
    max-width: 500px;
    margin: 0 auto;
  }

  .gallery__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mega-dropdown {
    display: none !important;
  }

  .nav-dropdown {
    display: none !important;
  }

  .mobile-toggle {
    display: flex;
  }

  .header__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--bg-white);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 25px 25px;
    box-shadow: var(--shadow-lg);
    transition: right var(--transition-normal);
    z-index: 1100;
    overflow-y: auto;
  }

  .header__nav.open {
    right: 0;
  }

  .nav-menu {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }

  .nav-menu>li>a {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
    width: 100%;
  }

  .mobile-nav-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--text-primary);
  }

  .mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
  }

  .mobile-overlay.active {
    opacity: 1;
    visibility: visible;
  }
}

/* ==============================
   RESPONSIVE — PHONE
   ============================== */
@media (max-width: 768px) {
  .top-bar__links {
    display: none;
  }

  .hero-slide {
    aspect-ratio: 16 / 9;
  }

  .hero-slide__title {
    font-size: 24px;
  }

  .hero-slide__desc {
    display: none;
  }

  .hero-slider__arrow {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }

  .categories__grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .products__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .more-categories__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .quality__features {
    grid-template-columns: 1fr;
  }

  .gallery__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .cta-banner .container {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer__bottom .container {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .contact-cta__actions {
    flex-direction: column;
    align-items: center;
  }

  .section-padding {
    padding: 40px 0;
  }
}

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

  .products__grid {
    grid-template-columns: 1fr;
  }

  .more-categories__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .quality-section .container {
    gap: 30px;
  }

  .quality__stats {
    position: relative;
    bottom: auto;
    left: auto;
    margin-top: 15px;
    display: inline-block;
  }

  .btn-quote {
    display: none;
  }
}

/* ==============================
   PRODUCTS PAGE STYLES
   ============================== */
.page-header {
  background: #f8f9fa;
  padding: 30px 0;
  border-bottom: 1px solid #eaeaea;
}

.breadcrumb {
  display: flex;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0 0 15px 0;
  font-size: 13px;
  color: var(--text-secondary);
}

.breadcrumb li {
  display: flex;
  align-items: center;
}

.breadcrumb li a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumb li a:hover {
  color: #172B4D;
}

.breadcrumb li i {
  margin: 0 10px;
  font-size: 10px;
}

.breadcrumb li.active {
  color: #172B4D;
  font-weight: 600;
}

.page-title {
  font-size: 28px;
  color: #172B4D;
  margin-bottom: 5px;
  font-weight: 700;
}

.page-subtitle {
  color: var(--text-secondary);
  font-size: 15px;
}

.products-page {
  padding: 60px 0;
  background: var(--bg-light);
}

.products-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 40px;
}

.products-sidebar {
  background: var(--bg-light);
  padding: 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  align-self: start;
}

.products-sidebar h3 {
  font-size: 20px;
  color: #FFFFFF;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 10px;
}

.products-sidebar ul {
  list-style: none;
  padding: 0;
}

.products-sidebar ul li {
  margin-bottom: 15px;
}

.products-sidebar ul li a {
  color: var(--text-secondary);
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s;
  display: block;
}

.products-sidebar ul li a:hover,
.products-sidebar ul li a.active {
  color: #4DA8DA;
  padding-left: 10px;
  font-weight: 700;
}

.products-grid-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.product-card {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.product-card__image {
  width: 100%;
  aspect-ratio: 4/3;
  position: relative;
}

.product-card__image::after {
  content: '';
  position: absolute;
  top: 15px;
  right: 15px;
  width: 120px;
  height: 80px;
  background-image: url('public/logo.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: top right;
  opacity: 0.8;
  z-index: 5;
  pointer-events: none;
}

#featured-grid .product-card__image::after {
  display: none;
}

.product-card__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.3s;
  display: block;
}

.products-grid-layout .product-card:not([data-category="surgical"]) .product-card__image img {
  object-fit: contain;
  object-position: center;
  background-color: #ffffff;
  padding: 15px;
}



.product-card__image img.img-align-right {
  object-position: 75% 0;
}

.product-card:hover .product-card__image img {
  transform: scale(1.1);
}

.product-card__content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-card__content .btn {
  margin-top: auto !important;
}

.product-card__category {
  font-size: 13px;
  color: var(--primary);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 10px;
  display: block;
}

.product-card__title {
  font-size: 18px;
  color: #FFFFFF;
  margin-bottom: 12px;
  line-height: 1.4;
  font-weight: 700;
}

.product-card__desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.6;
}

.product-card .btn-dark-blue {
  width: 100%;
  text-align: center;
  display: block;
}

@media (max-width: 991px) {
  .products-layout {
    grid-template-columns: 1fr;
  }

  .products-grid-layout {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .products-grid-layout {
    grid-template-columns: 1fr;
  }
}

/* ==============================
   PRELOADER
   ============================== */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--bg-white, #ffffff);
  z-index: 999999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader__spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border-color);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ==============================
   CONTACT PAGE
   ============================== */
.contact-page {
  background: var(--bg-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

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

.contact-info-wrapper,
.contact-form-wrapper {
  background: var(--bg-light);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
}

.contact-heading {
  font-size: 28px;
  margin-bottom: 20px;
  color: #fff;
}

.contact-text {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 30px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(140, 21, 21, 0.1);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-info-text h4 {
  font-size: 16px;
  color: #fff;
  margin-bottom: 5px;
}

.contact-info-text p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.5;
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  background: #111111;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  transition: all var(--transition-fast);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: #000;
}

/* Hide top bar as requested */
.top-bar {
  display: none !important;
}

/* Mobile Header Responsive Settings */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1000;
}

.mobile-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-primary);
  margin: 5px 0;
  transition: 0.3s;
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}


@media (max-width: 576px) {
  .product-card__image {
    height: auto;
  }

  .product-card__image img {
    object-fit: contain;
    padding: 10px;
  }

  .product-card__content {
    padding: 12px;
  }

  .product-card__category {
    font-size: 10px;
    margin-bottom: 5px;
  }

  .product-card__title {
    font-size: 13px;
    margin-bottom: 8px;
  }

  .product-card__desc {
    font-size: 11px;
    margin-bottom: 10px;
    line-height: 1.4;
  }

  .product-card__content .btn {
    font-size: 11px;
    padding: 8px 12px;
  }
}

@media (max-width: 1024px) {
  /* Bulletproof Mobile Menu Fix */
  .mobile-toggle {
    display: block !important;
  }
  .mobile-toggle span {
    background-color: #ffffff !important;
  }
  .header__actions > span {
    display: none;
  }
  
  /* Bulletproof Mobile Menu Fix */
  .header__nav {
    position: fixed !important;
    top: 0 !important;
    right: -100% !important;
    width: 300px !important;
    height: 100vh !important;
    background-color: #000000 !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 60px 20px !important;
    z-index: 9999 !important;
    transition: right 0.3s ease !important;
    display: flex !important;
  }
  
  .header__nav.open {
    right: 0 !important;
  }

  .mobile-overlay {
    z-index: 999 !important; /* Must be lower than header's 1000 so the menu is clickable */
  }

  .nav-menu {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 15px !important;
  }

  .nav-menu > li {
    width: 100% !important;
  }

  .nav-menu > li > a {
    display: block !important;
    color: #ffffff !important;
    font-size: 18px !important;
    padding: 10px 0 !important;
    border-bottom: 1px solid #333333 !important;
    text-decoration: none !important;
  }

  /* Hide mega dropdown on mobile to save space and prevent overlap */
  .mega-dropdown {
    display: none !important;
  }
}
/* WHATSAPP FLOATING BUTTON */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 35px;
  box-shadow: 0px 4px 10px rgba(0,0,0,0.3);
  z-index: 1000;
  transition: all 0.3s ease;
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  color: white;
  box-shadow: 0px 6px 15px rgba(0,0,0,0.4);
}
@keyframes pulse-whatsapp {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
.whatsapp-float {
  animation: pulse-whatsapp 2s infinite;
}
.whatsapp-float:hover {
  animation: none;
  transform: scale(1.1);
}
