/* ==========================================================================
   SOUTH INDIA CORPORATION (MADRAS) - MASTER STYLESHEET
   Industrial Steel & Metal Trading Portal | Chennai, India
   Established 1984 | ISO 9001:2015 Standards
   ========================================================================== */

/* --- CSS Variables & Design System --- */
:root {
  --primary: #0b192c;
  /* Deep Industrial Navy */
  --primary-light: #1e3e62;
  /* Slate Navy */
  --primary-dark: #070f1b;
  /* Deep Abyssal Blue */
  --accent: #f59e0b;
  /* Industrial Amber Gold */
  --accent-hover: #d97706;
  /* Deep Gold */
  --accent-light: #fbbf24;
  /* Bright Molten Gold */
  --accent-glow: rgba(245, 158, 11, 0.25);

  --secondary: #e65100;
  /* Molten Steel Orange */
  --steel-100: #f8fafc;
  --steel-200: #e2e8f0;
  --steel-300: #cbd5e1;
  --steel-400: #94a3b8;
  --steel-600: #475569;
  --steel-800: #1e293b;
  --steel-900: #0f172a;

  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #f8fafc;
  --text-white: #ffffff;

  --white: #ffffff;
  --card-bg: #ffffff;
  --card-border: rgba(226, 232, 240, 0.8);
  --shadow-sm: 0 2px 4px rgba(11, 25, 44, 0.05);
  --shadow-md: 0 8px 24px rgba(11, 25, 44, 0.08);
  --shadow-lg: 0 16px 40px rgba(11, 25, 44, 0.12);
  --shadow-xl: 0 24px 60px rgba(11, 25, 44, 0.18);
  --shadow-glow: 0 0 30px rgba(245, 158, 11, 0.35);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition-fast: 0.2s ease;
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--steel-100);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

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

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

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul,
ol {
  list-style: none;
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container-narrow {
  max-width: 1040px;
}

.container-fluid {
  max-width: 1440px;
}

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

h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
}

h2 {
  font-size: clamp(1.8rem, 3.8vw, 2.75rem);
}

h3 {
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1.1rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent-hover);
  background: rgba(245, 158, 11, 0.12);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.section-tag::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

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

.section-header.text-left {
  text-align: left;
  margin-left: 0;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-top: 0.75rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  color: var(--primary-dark);
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #fbbf24 0%, var(--accent) 100%);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.5);
  transform: translateY(-2px);
  color: #000;
}

.btn-secondary {
  background: var(--primary);
  color: var(--text-white);
  border: 1px solid var(--primary-light);
  box-shadow: 0 6px 18px rgba(11, 25, 44, 0.2);
}

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

.btn-outline-white {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
}

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

.btn-outline-primary {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

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

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

.btn-lg {
  padding: 1.1rem 2.25rem;
  font-size: 1.05rem;
}

.btn svg {
  transition: transform var(--transition-fast);
}

.btn:hover svg {
  transform: translateX(4px);
}

/* --- Top Utility Bar --- */
.top-bar {
  background-color: var(--primary-dark);
  color: var(--steel-300);
  font-size: 0.825rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.5rem 0;
  position: relative;
  z-index: 101;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.top-bar-left,
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.top-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--steel-300);
  transition: color var(--transition-fast);
}

.top-item:hover {
  color: var(--accent-light);
}

.top-item svg {
  color: var(--accent);
  flex-shrink: 0;
}

.top-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid rgba(74, 222, 128, 0.3);
}

/* ==========================================================================
   MASTER HEADER (TIERED BRANDING, DISTRIBUTOR LOGOS & STICKY NAV)
   ========================================================================== */

.master-header {
  position: relative;
  width: 100%;
  background: #ffffff;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

/* --- Top Tier: Branding, Partners, Contact & Social --- */
.header-top-tier {
  background: #ffffff;
  border-bottom: 1px solid #eef2f6;
  /* padding: 0.85rem 0; */
  transition: all 0.3s ease;
}

.header-top-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Left: Brand Identity */
.brand-block {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  flex-shrink: 0;
}

.header-logo-img {
  height: 62px;
  width: auto;
  max-width: 115px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(11, 67, 156, 0.12));
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.35s ease;
}

.brand-block:hover .header-logo-img {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 14px rgba(11, 67, 156, 0.22));
}

.header-brand-logo {
  height: 130px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(11, 67, 156, 0.08));
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.35s ease;
}

.brand-block:hover .header-brand-logo {
  transform: translateY(-1px);
  filter: drop-shadow(0 4px 12px rgba(11, 67, 156, 0.16));
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.brand-naming {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
}

.brand-main-title {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.2;
  text-transform: uppercase;
  text-align: center;
}

.brand-exclusive-tag {
  font-size: 0.74rem;
  font-weight: 600;
  color: #64748b;
  margin-top: 4px;
  letter-spacing: 0.02em;
  text-align: center;
  line-height: 1.35;
}

.brand-since-tag {
  color: #0b439c;
  font-weight: 500;
}

/* Center: Authorized Distributors */
.header-distributors {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
}

.distributor-label {
  font-size: 0.74rem;
  font-weight: 600;
  color: #64748b;
  letter-spacing: 0.03em;
  margin-bottom: 6px;
  text-align: center;
}

.distributor-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.dist-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.35s ease;
  cursor: pointer;
}

.dist-logo-item:hover {
  transform: translateY(-3px) scale(1.08);
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.12));
}

.partner-logo-svg {
  height: 38px;
  width: auto;
  display: block;
}

/* Right: Contact Desk & Social Media */
.header-contact-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
  flex-shrink: 0;
}

.contact-info-columns {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.header-info-col {
  display: flex;
  flex-direction: column;
}

.info-label {
  font-size: 0.68rem;
  font-weight: 800;
  color: #0b439c;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.info-value {
  font-size: 0.88rem;
  font-weight: 700;
  color: #1e293b;
  text-decoration: none;
  transition: color 0.25s ease, transform 0.25s ease;
  display: inline-block;
}

.info-value:hover {
  color: #0b439c;
  transform: translateX(2px);
}

.header-social-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.social-circle-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #0b439c;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(11, 67, 156, 0.18);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.social-circle-btn.btn-fb {
  background: #1877f2;
}

.social-circle-btn.btn-insta {
  background: linear-gradient(135deg, #405de6 0%, #833ab4 50%, #e1306c 100%);
}

.social-circle-btn:hover {
  transform: translateY(-3px) scale(1.12);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(11, 67, 156, 0.32);
}

.social-circle-btn svg {
  transition: transform 0.3s ease;
}

.social-circle-btn:hover svg {
  transform: scale(1.15);
}

/* --- Bottom Tier: Sticky Horizontal Navigation Bar --- */
.header-nav-bar.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  border-bottom: 2px solid #edf2f7;
  z-index: 999;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

.header-nav-bar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(11, 67, 156, 0.08);
  border-bottom-color: rgba(11, 67, 156, 0.15);
}

.nav-bar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.15rem;
  padding-bottom: 0.15rem;
}

/* Legacy Support - hide old brand elements inside sticky header navbar only */
.site-header .brand-link,
.site-header .brand-logo-img {
  display: none;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #334155;
  position: relative;
  padding: 1rem 0;
  display: inline-block;
  transition: color 0.25s ease;
  text-decoration: none;
}

/* Smooth Gradient Sliding Indicator */
.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, #0b439c 0%, #3b82f6 100%);
  border-radius: 3px 3px 0 0;
  transition: width 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.nav-link:hover,
.nav-link.active {
  color: #0b439c;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-bar-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Mobile Toggle Hamburger */
.nav-close-btn {
  display: none;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 32px;
  height: 28px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 2px;
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #0b439c;
  border-radius: 3px;
  transition: all var(--transition-normal);
}

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

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

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

/* --- HERO SLIDER COMPONENT --- */
.hero-slider-section {
  position: relative;
  width: 100%;
  height: 85vh;
  min-height: 580px;
  max-height: 820px;
  overflow: hidden;
  background-color: var(--primary-dark);
}

.slider-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), visibility 1s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  transition: transform 7s ease-out;
}

.slide.active .slide-bg {
  transform: scale(1);
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg,
      rgba(7, 15, 27, 0.72) 0%,
      rgba(11, 25, 44, 0.8) 50%,
      rgba(7, 15, 27, 0.88) 100%);
  backdrop-filter: blur(2px);
}

/* Industrial Grid overlay pattern */
.slide-overlay::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(245, 158, 11, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 158, 11, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.slide-content {
  position: relative;
  z-index: 5;
  text-align: center;
  max-width: 900px;
  padding: 2rem 1.5rem;
  color: var(--white);
}

.slide-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid var(--accent);
  color: var(--accent-light);
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.2);
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.6s ease 0.2s;
}

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

.slide-title {
  color: var(--white);
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
  transform: translateY(25px);
  opacity: 0;
  transition: all 0.7s ease 0.35s;
}

.slide-title span {
  color: var(--accent);
  background: linear-gradient(135deg, #fbbf24 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.slide-desc {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  color: var(--steel-200);
  max-width: 720px;
  margin: 0 auto 2rem auto;
  line-height: 1.6;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.8s ease 0.5s;
}

.slide-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  transform: translateY(35px);
  opacity: 0;
  transition: all 0.8s ease 0.65s;
}

.slide.active .slide-title,
.slide.active .slide-desc,
.slide.active .slide-actions {
  transform: translateY(0);
  opacity: 1;
}

/* Slider Controls */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(11, 25, 44, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all var(--transition-normal);
  backdrop-filter: blur(8px);
}

.slider-arrow:hover {
  background: var(--accent);
  color: var(--primary-dark);
  border-color: var(--accent);
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.5);
  transform: translateY(-50%) scale(1.1);
}

.slider-prev {
  left: 2rem;
}

.slider-next {
  right: 2rem;
}

.slider-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 10;
}

.slider-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.slider-dot.active {
  width: 36px;
  border-radius: var(--radius-full);
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}

/* Slider Progress Bar */
.slider-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  background: var(--accent);
  width: 0%;
  z-index: 11;
  box-shadow: 0 0 10px var(--accent);
}

/* Floating Particles Canvas */
.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
}

/* --- STATS RIBBON / TICKER --- */
.stats-ribbon {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 3px solid var(--accent);
  padding: 2.2rem 0;
  position: relative;
  z-index: 20;
  box-shadow: var(--shadow-lg);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-item:last-child {
  border-right: none;
}

.stat-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.stat-data {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
}

.stat-number span {
  color: var(--accent);
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--steel-300);
}

/* --- PRODUCT CARDS & SERVICES SECTION --- */
.section-products {
  padding: 6rem 0;
  background-color: var(--steel-100);
  position: relative;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--steel-200);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent);
}

.product-image-wrap {
  position: relative;
  height: 240px;
  overflow: hidden;
  background-color: var(--steel-800);
}

.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--primary);
  color: var(--accent-light);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(245, 158, 11, 0.4);
  backdrop-filter: blur(6px);
  z-index: 2;
}

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

.product-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--primary);
}

.product-desc {
  color: var(--text-muted);
  font-size: 0.925rem;
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.product-specs {
  background: var(--steel-100);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--steel-200);
}

.spec-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.825rem;
  padding: 0.25rem 0;
  border-bottom: 1px dashed var(--steel-300);
}

.spec-row:last-child {
  border-bottom: none;
}

.spec-name {
  color: var(--steel-600);
  font-weight: 500;
}

.spec-val {
  color: var(--primary);
  font-weight: 700;
}

.product-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--steel-200);
}

.product-price-est {
  font-size: 0.8rem;
  color: var(--steel-600);
}

.product-price-est span {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--secondary);
}

/* --- INTERACTIVE METAL WEIGHT CALCULATOR --- */
.section-calc {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.section-calc::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.calc-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-xl);
  margin-top: 2rem;
}

.calc-tabs {
  display: flex;
  gap: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 1.25rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.calc-tab-btn {
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  color: var(--steel-300);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
}

.calc-tab-btn.active,
.calc-tab-btn:hover {
  background: var(--accent);
  color: var(--primary-dark);
  font-weight: 700;
  border-color: var(--accent);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.calc-content {
  display: none;
}

.calc-content.active {
  display: block;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.form-group-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--steel-200);
  display: flex;
  justify-content: space-between;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  transition: all var(--transition-fast);
}

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

.calc-result-box {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(11, 25, 44, 0.4) 100%);
  border: 1.5px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  position: relative;
}

.calc-result-title {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-light);
  margin-bottom: 0.5rem;
}

.calc-weight-display {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.calc-weight-display span {
  font-size: 1.5rem;
  color: var(--accent);
  font-weight: 600;
}

.calc-meta-details {
  font-size: 0.9rem;
  color: var(--steel-300);
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

/* --- ABOUT & ADVANTAGE SECTION --- */
.section-about {
  padding: 6rem 0;
  background-color: var(--white);
}

.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--steel-200);
}

.about-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-badge-floating {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--primary-dark);
  color: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 260px;
}

.about-badge-floating .years {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.about-badge-floating .desc {
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.3;
}

.features-list {
  margin: 1.75rem 0 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.feature-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.15);
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.feature-text strong {
  color: var(--primary);
  font-weight: 700;
}

.feature-text p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* --- TRUST BADGES & INDIA MART HIGHLIGHTS --- */
.section-trust {
  padding: 4.5rem 0;
  background-color: var(--steel-100);
  border-top: 1px solid var(--steel-200);
  border-bottom: 1px solid var(--steel-200);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.trust-card {
  background: var(--white);
  padding: 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--steel-200);
  text-align: center;
  transition: all var(--transition-normal);
}

.trust-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.trust-card-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem auto;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.12);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-card h4 {
  margin-bottom: 0.4rem;
  color: var(--primary);
}

.trust-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* --- FILTERABLE GALLERY SECTION --- */
.section-gallery {
  padding: 6rem 0;
  background-color: var(--white);
}

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  background: var(--steel-100);
  color: var(--steel-800);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid var(--steel-200);
  transition: all var(--transition-fast);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--primary);
  color: var(--accent-light);
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(11, 25, 44, 0.2);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 40%, rgba(7, 15, 27, 0.92) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-title {
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 700;
}

.gallery-sub {
  color: var(--accent-light);
  font-size: 0.85rem;
  margin-top: 0.2rem;
}

/* --- LIGHTBOX MODAL --- */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 15, 27, 0.94);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

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

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-xl);
}

.lightbox-caption {
  color: var(--white);
  margin-top: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: -2.5rem;
  right: -1rem;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.lightbox-close:hover {
  color: var(--accent);
}

/* --- CONTACT & RFQ SECTION --- */
.section-contact {
  padding: 6rem 0;
  background-color: var(--steel-100);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3.5rem;
}

.contact-info-panel {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 3rem 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-top: 4px solid var(--accent);
}

.contact-method-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin: 2rem 0;
}

.contact-method-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon-box {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-details h5 {
  color: var(--accent-light);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.contact-details p,
.contact-details a {
  color: var(--steel-200);
  font-size: 0.95rem;
  line-height: 1.5;
  display: block;
}

.contact-details a:hover {
  color: var(--accent);
}

.contact-form-panel {
  background: var(--white);
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--steel-200);
}

.contact-form-panel h3 {
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.contact-form-panel p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--steel-300);
  background: var(--steel-100);
  color: var(--steel-900);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--accent-hover);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

/* Interactive Map Box */
.map-embed-wrapper {
  margin-top: 3.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--steel-200);
  height: 380px;
  background-color: var(--steel-200);
}

.map-embed-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* --- FOOTER --- */
.site-footer {
  background-color: var(--primary-dark);
  color: var(--steel-300);
  border-top: 3px solid var(--accent);
  padding-top: 5rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-about .brand-block,
.footer-about .brand-link {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  /* margin-bottom: 1.25rem; */
  flex-wrap: nowrap;
  background: #fff;
}

.footer-about .brand-block:hover .header-logo-img,
.footer-about .brand-block:hover .footer-logo-img {
  transform: scale(1.04);
}

.footer-about .brand-block:hover .header-brand-logo,
.footer-about .brand-block:hover .footer-brand-logo {
  transform: translateY(-1px);
}

.footer-about .footer-logo-img,
.footer-about .header-logo-img {
  height: 52px;
  width: auto;
  max-width: 105px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45));
  transition: transform 0.35s ease;
}

.footer-about .footer-brand-logo,
.footer-about .header-brand-logo {
  height: 72px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
  transition: transform 0.35s ease;
}

.footer-about p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 1.25rem 0 1.5rem 0;
  color: var(--steel-400);
}

.footer-trust-strip {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.footer-trust-tag {
  background: rgba(255, 255, 255, 0.06);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  color: var(--accent-light);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background-color: var(--accent);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  color: var(--steel-400);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-link:hover {
  color: var(--accent);
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--steel-400);
}

.footer-contact-item svg {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.footer-bottom {
  padding: 1.75rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--steel-400);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom a {
  color: var(--accent-light);
}

/* Floating Action Bar for Mobile & Quick Contact */
.floating-actions {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 99;
}

.floating-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: var(--shadow-xl);
  transition: all var(--transition-normal);
}

.btn-whatsapp {
  background: #25d366;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.btn-call {
  background: var(--accent);
  color: var(--primary-dark);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.btn-call:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.6);
}

/* Toast Notification */
.toast-notice {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--primary-dark);
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-xl);
  border: 1.5px solid var(--accent);
  z-index: 3000;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.toast-notice.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Modal Popup */
.rfq-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 15, 27, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.rfq-modal.active {
  display: flex;
}

.rfq-modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
  box-shadow: var(--shadow-xl);
  border-top: 5px solid var(--accent);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--steel-100);
  color: var(--steel-800);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--secondary);
  color: var(--white);
}

/* --- ANIMATION UTILITIES --- */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-up.appear {
  opacity: 1;
  transform: translateY(0);
}

/* Pulse animation for CTA buttons */
@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.6);
  }

  70% {
    box-shadow: 0 0 0 16px rgba(245, 158, 11, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
  }
}

.pulse-cta {
  animation: pulseGlow 2.5s infinite;
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1024px) {
  .hero-slider-section {
    height: 75vh;
  }

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

  .stat-item:nth-child(2) {
    border-right: none;
  }

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

  .about-split {
    grid-template-columns: 1fr;
  }

  .about-badge-floating {
    right: 1rem;
    bottom: -1rem;
  }

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

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

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

/* Tablet & Medium Screens Responsive Header */
@media (max-width: 1180px) {
  .header-top-container {
    gap: 1rem;
  }

  .header-logo-img {
    height: 56px;
    max-width: 105px;
  }

  .header-brand-logo {
    height: 100px;
  }

  .brand-main-title {
    font-size: 1.12rem;
    text-align: center;
  }

  .brand-sub-title {
    font-size: 1rem;
    text-align: center;
  }

  .brand-exclusive-tag {
    font-size: 0.72rem;
    text-align: center;
  }

  .distributor-logos {
    gap: 0.9rem;
  }

  .partner-logo-svg {
    height: 32px;
  }

  .nav-menu {
    gap: 1.4rem;
  }

  .nav-link {
    font-size: 0.82rem;
  }
}

@media (max-width: 992px) {
  .header-top-container {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .header-distributors {
    order: 3;
    width: 100%;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px dashed #e2e8f0;
  }

  .distributor-logos {
    gap: 1.8rem;
  }

  .partner-logo-svg {
    height: 34px;
  }

  .nav-menu {
    gap: 1.2rem;
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }

  .header-top-tier {
    padding: 0.6rem 0;
  }

  .header-top-container {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }

  .brand-block {
    justify-content: center;
    gap: 0.75rem;
  }

  .header-logo-img {
    height: 48px;
    max-width: 90px;
    object-fit: contain;
  }

  .header-brand-logo {
    height: 52px;
  }

  .brand-naming {
    align-items: center;
    text-align: center;
  }

  .brand-main-title {
    font-size: 0.98rem;
    text-align: center;
  }

  .brand-sub-title {
    font-size: 0.9rem;
    text-align: center;
  }

  .brand-exclusive-tag {
    font-size: 0.65rem;
    text-align: center;
  }

  .header-distributors {
    order: 2;
    padding-top: 0.4rem;
    margin-top: 0.2rem;
  }

  .distributor-label {
    font-size: 0.68rem;
    margin-bottom: 4px;
  }

  .distributor-logos {
    gap: 1.25rem;
  }

  .partner-logo-svg {
    height: 28px;
  }

  .header-contact-block {
    display: none;
    /* Contact links accessible in mobile drawer & floating call button */
  }

  .header-nav-bar.site-header {
    top: 0;
  }

  .nav-bar-container {
    padding: 0.45rem 1rem;
  }

  .mobile-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 52px;
    left: -100%;
    width: 82%;
    max-width: 320px;
    height: calc(100vh - 52px);
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 3.5rem 1.5rem 2rem;
    gap: 1.25rem;
    box-shadow: 0 10px 30px rgba(11, 67, 156, 0.18);
    transition: left var(--transition-normal);
    z-index: 1002;
    overflow-y: auto;
  }

  .nav-menu.open {
    left: 0;
  }

  /* Close (X) button inside the mobile drawer */
  .nav-close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f1f5f9;
    border: 1.5px solid #e2e8f0;
    color: #0c3c86;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1005;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  }

  .nav-close-btn:hover {
    background: #0b439c;
    color: #ffffff;
    border-color: #0b439c;
    transform: rotate(90deg) scale(1.08);
  }

  .nav-link {
    width: 100%;
    padding: 0.5rem 0;
    font-size: 0.95rem;
    border-bottom: 1px solid #f1f5f9;
  }

  .nav-bar-actions .btn {
    display: none;
  }

  .hero-slider-section {
    height: 70vh;
    min-height: 520px;
  }

  .slider-arrow {
    display: none;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
  }

  .stat-item:last-child {
    border-bottom: none;
  }

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

  .form-group-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-about .footer-logo-img,
  .footer-about .header-logo-img {
    height: 46px;
    max-width: 90px;
  }

  .footer-about .footer-brand-logo,
  .footer-about .header-brand-logo {
    height: 56px;
  }

  /* Responsive Brand & Logo on Mobile */
  .brand-link {
    gap: 0.65rem;
    max-width: calc(100% - 48px);
  }

  .brand-logo-img {
    height: 42px;
    max-width: 86px;
  }

  .brand-title {
    font-size: 1.05rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand-subtitle {
    font-size: 0.62rem;
    letter-spacing: 0.08em;
  }
}

@media (max-width: 480px) {
  .brand-link {
    gap: 0.5rem;
    max-width: calc(100% - 44px);
  }

  .brand-logo-img {
    height: 38px;
    max-width: 78px;
  }

  .header-logo-img {
    height: 38px;
    /* max-width: 72px; */
  }

  .header-brand-logo {
    height: 90px;
  }

  .footer-about .brand-block,
  .footer-about .brand-link {
    gap: 0.6rem;
  }

  .footer-about .footer-logo-img,
  .footer-about .header-logo-img {
    height: 38px;
    max-width: 76px;
  }

  .footer-about .footer-brand-logo,
  .footer-about .header-brand-logo {
    height: 48px;
  }

  .brand-main-title {
    font-size: 0.88rem;
    text-align: center;
  }

  .brand-exclusive-tag {
    font-size: 0.58rem;
    text-align: center;
    line-height: 1.3;
  }

  .brand-title {
    font-size: 0.92rem;
  }

  .brand-subtitle {
    font-size: 0.56rem;
    letter-spacing: 0.04em;
  }
}

@media (max-width: 360px) {
  .brand-link {
    gap: 0.35rem;
  }

  .brand-logo-img {
    height: 34px;
    max-width: 68px;
  }

  .header-logo-img {
    height: 32px;
    max-width: 60px;
  }

  .header-brand-logo {
    height: 36px;
  }

  .footer-about .brand-block,
  .footer-about .brand-link {
    gap: 0.4rem;
  }

  .footer-about .footer-logo-img,
  .footer-about .header-logo-img {
    height: 32px;
    max-width: 65px;
  }

  .footer-about .footer-brand-logo,
  .footer-about .header-brand-logo {
    height: 40px;
  }

  .brand-main-title {
    font-size: 0.8rem;
  }

  .brand-exclusive-tag {
    font-size: 0.54rem;
  }

  .brand-title {
    font-size: 0.82rem;
  }

  .brand-subtitle {
    display: none;
  }
}



/* ==========================================================================
   INDUSTRIES WE CATER - WEBSITE CORPORATE BLUE COLOR THEME
   ========================================================================== */

.industries-cater-section {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f8faff 50%, #f0f5fc 100%);
  padding: 85px 20px 95px;
  overflow: hidden;
}

/* Subtle ambient corporate blue glow */
.industries-cater-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 450px;
  background: radial-gradient(circle, rgba(11, 67, 156, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.industries-container {
  max-width: 1240px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Section Header */
.industries-header {
  text-align: center;
  margin-bottom: 55px;
}

.industries-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #0b439c;
  background: rgba(11, 67, 156, 0.08);
  border: 1px solid rgba(11, 67, 156, 0.15);
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 14px;
}

.industries-title {
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 800;
  color: #0c3c86;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin: 0 0 14px;
}

/* Corporate Blue Divider */
.title-underline {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 76px;
  height: 4px;
  background: linear-gradient(90deg, #0b439c 0%, #3b82f6 100%);
  margin: 0 auto 16px;
  border-radius: 4px;
}

.line-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  background: #ffffff;
  border: 3px solid #0c3c86;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(11, 67, 156, 0.3);
  animation: pulseDot 2.8s ease-in-out infinite;
}

.industries-subtitle {
  max-width: 620px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.6;
  color: #4b5563;
}

/* 13-Item Grid */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 26px 20px;
  justify-items: center;
}

/* Center the 13th item (Transmission-Towers) on wide screens */
.industry-card:nth-child(13) {
  grid-column: 3 / 5;
}

/* Individual Card Styling */
.industry-card {
  width: 100%;
  max-width: 175px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 14px 20px;
  border-radius: 18px;
  background: #ffffff;
  border: 1.5px solid rgba(11, 67, 156, 0.1);
  box-shadow: 0 8px 24px rgba(11, 67, 156, 0.04);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  cursor: pointer;

  /* Staggered entrance */
  animation: cardFadeUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: calc(var(--item-index, 1) * 0.05s);
  opacity: 0;
  transform: translateY(22px);
}

/* Hover State - Card Elevation & Blue Glow */
.industry-card:hover {
  transform: translateY(-8px);
  border-color: #0b439c;
  box-shadow: 0 18px 36px rgba(11, 67, 156, 0.16),
    0 4px 12px rgba(11, 67, 156, 0.08);
  background: #ffffff;
}

/* Icon Box - Website Corporate Blue */
.industry-icon-wrapper {
  width: 68px;
  height: 68px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(11, 67, 156, 0.08) 0%, rgba(11, 67, 156, 0.02) 100%);
  border: 1.5px solid rgba(11, 67, 156, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  color: #0b439c;
  /* Corporate Blue */
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.industry-icon {
  width: 44px;
  height: 44px;
  transition: transform 0.4s ease, filter 0.4s ease;
}

/* Hover: Icon turns pure white and box fills with solid Corporate Navy Blue */
.industry-card:hover .industry-icon-wrapper {
  background: linear-gradient(135deg, #0b439c 0%, #002b66 100%);
  color: #ffffff;
  border-color: #002b66;
  transform: scale(1.1) rotate(-3deg);
  box-shadow: 0 10px 22px rgba(11, 67, 156, 0.35);
}

.industry-card:hover .industry-icon {
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

/* Industry Label */
.industry-name {
  font-size: 14.5px;
  font-weight: 700;
  color: #0c3c86;
  line-height: 1.35;
  margin: 0;
  letter-spacing: -0.2px;
  transition: color 0.3s ease;
}

.industry-card:hover .industry-name {
  color: #0b439c;
}

/* Keyframe Animations */
@keyframes cardFadeUp {
  0% {
    opacity: 0;
    transform: translateY(22px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseDot {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 3px #ffffff, 0 0 0 5px rgba(11, 67, 156, 0.25);
  }

  50% {
    transform: scale(1.25);
    box-shadow: 0 0 0 3px #ffffff, 0 0 0 8px rgba(11, 67, 156, 0.15);
  }
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */

/* Laptops / Desktops (Under 1100px) */
@media (max-width: 1100px) {
  .industries-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 22px 16px;
  }

  .industry-card:nth-child(13) {
    grid-column: auto;
  }
}

/* Tablets (Under 820px) */
@media (max-width: 820px) {
  .industries-cater-section {
    padding: 65px 16px 75px;
  }

  .industries-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px 12px;
  }

  .industry-card:nth-child(13) {
    grid-column: 2 / 3;
    /* Center in 3-column layout */
  }

  .industry-icon-wrapper {
    width: 60px;
    height: 60px;
  }

  .industry-icon {
    width: 38px;
    height: 38px;
  }

  .industry-name {
    font-size: 13.5px;
  }
}

/* Mobile Devices (Under 540px) */
@media (max-width: 540px) {
  .industries-header {
    margin-bottom: 35px;
  }

  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 10px;
  }

  .industry-card:nth-child(13) {
    grid-column: 1 / -1;
    /* Centered full-width card on mobile */
    max-width: 200px;
    margin: 0 auto;
  }

  .industry-card {
    padding: 18px 10px 16px;
    max-width: 100%;
  }

  .industry-icon-wrapper {
    width: 54px;
    height: 54px;
    margin-bottom: 10px;
  }

  .industry-icon {
    width: 34px;
    height: 34px;
  }

  .industry-name {
    font-size: 13px;
  }
}
























/* ==========================================================================
   SPECIALITIES SECTION - CORPORATE BRAND THEME & ANIMATIONS
   ========================================================================== */

:root {
  --sic-navy-dark: #002b66;
  /* Primary corporate deep navy */
  --sic-blue: #0b439c;
  /* Primary blue */
  --sic-blue-light: #eaf1fb;
  /* Soft blue tint background */
  --sic-gold: #e59a12;
  /* Warm industrial gold accent */
  --sic-gold-light: #fef8ee;
  /* Soft gold aura */
  --sic-text-dark: #1e293b;
  /* Slate black text */
  --sic-text-muted: #526077;
  /* Slate muted text */
}

.specialities-section {
  position: relative;
  background: #ffffff;
  padding: 85px 24px 95px;
  overflow: hidden;
}

/* Background gradient wave */
.specialities-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: radial-gradient(circle at 50% 15%, rgba(11, 67, 156, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.specialities-container {
  max-width: 1220px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Section Header */
.specialities-header {
  text-align: center;
  margin-bottom: 55px;
}

.specialities-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--sic-blue);
  background: var(--sic-blue-light);
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 12px;
  border: 1px solid rgba(11, 67, 156, 0.15);
}

.specialities-title {
  font-size: clamp(28px, 3.8vw, 38px);
  font-weight: 800;
  color: var(--sic-navy-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 12px;
}

.specialities-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 70px;
  height: 4px;
  background: linear-gradient(90deg, var(--sic-blue) 0%, var(--sic-gold) 100%);
  margin: 0 auto 16px;
  border-radius: 4px;
}

.divider-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  background: #ffffff;
  border: 2.5px solid var(--sic-navy-dark);
  border-radius: 50%;
  animation: dotPulse 2.5s infinite ease-in-out;
}

.specialities-subtitle {
  font-size: 16px;
  font-weight: 500;
  color: var(--sic-text-muted);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.5;
}

/* 3-Column Specialities Grid */
.specialities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 24px;
}

/* Speciality Card */
.speciality-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 24px 22px;
  background: #ffffff;
  border-radius: 14px;
  border: 1.5px solid #edf2f7;
  box-shadow: 0 6px 20px rgba(11, 67, 156, 0.04);
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  overflow: hidden;

  /* Staggered entrance */
  animation: specFadeIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(var(--delay, 1) * 0.06s);
  opacity: 0;
  transform: translateY(20px);
}

/* Accent corner indicator */
.speciality-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(180deg, var(--sic-blue) 0%, var(--sic-gold) 100%);
  transition: height 0.35s ease;
  border-radius: 0 4px 4px 0;
}

/* Hover States */
.speciality-card:hover {
  transform: translateY(-6px);
  border-color: rgba(11, 67, 156, 0.3);
  box-shadow: 0 16px 32px rgba(11, 67, 156, 0.1), 0 4px 12px rgba(229, 154, 18, 0.08);
}

.speciality-card:hover::before {
  height: 100%;
}

/* Icon Box - Website Matching Dual-Tone Color */
.speciality-icon-box {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--sic-blue-light);
  border: 1.5px solid rgba(11, 67, 156, 0.2);
  color: var(--sic-blue);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.speciality-card:hover .speciality-icon-box {
  background: var(--sic-navy-dark);
  color: var(--sic-gold);
  border-color: var(--sic-navy-dark);
  transform: scale(1.1) rotate(4deg);
  box-shadow: 0 8px 18px rgba(0, 43, 102, 0.25);
}

.spec-icon {
  width: 32px;
  height: 32px;
  transition: transform 0.35s ease;
}

/* Content Area */
.speciality-content {
  flex: 1;
}

.speciality-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--sic-navy-dark);
  margin: 0 0 6px;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.speciality-card:hover .speciality-name {
  color: var(--sic-blue);
}

.speciality-desc {
  font-size: 14px;
  color: var(--sic-text-muted);
  line-height: 1.5;
  margin: 0;
}

/* Icon Specific Micro-Animations on Hover */
.speciality-card:hover .gear-icon {
  animation: spinSlow 3s linear infinite;
}

.speciality-card:hover .truck-clock-icon,
.speciality-card:hover .freight-icon {
  animation: truckBounce 0.6s ease infinite alternate;
}

.speciality-card:hover .bulb-icon {
  animation: bulbGlow 1.2s ease-in-out infinite alternate;
}

/* Keyframes */
@keyframes specFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes dotPulse {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(11, 67, 156, 0.4);
  }

  50% {
    transform: scale(1.3);
    box-shadow: 0 0 0 6px rgba(11, 67, 156, 0);
  }
}

@keyframes spinSlow {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes truckBounce {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(4px);
  }
}

@keyframes bulbGlow {
  from {
    filter: drop-shadow(0 0 2px var(--sic-gold));
  }

  to {
    filter: drop-shadow(0 0 8px var(--sic-gold));
  }
}

/* ==========================================================================
   RESPONSIVE LAYOUT
   ========================================================================== */

/* Medium Screens / Laptops (under 1024px) */
@media (max-width: 1024px) {
  .specialities-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* Tablets & Mobile (under 768px) */
@media (max-width: 768px) {
  .specialities-section {
    padding: 60px 18px 70px;
  }

  .specialities-header {
    margin-bottom: 40px;
  }

  .specialities-title {
    font-size: 26px;
  }

  .speciality-card {
    padding: 20px 18px;
  }

  .speciality-icon-box {
    width: 52px;
    height: 52px;
  }

  .spec-icon {
    width: 28px;
    height: 28px;
  }

  .speciality-name {
    font-size: 16px;
  }

  .speciality-desc {
    font-size: 13.5px;
  }
}

/* Small Mobiles (under 560px) */
@media (max-width: 560px) {
  .specialities-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .speciality-card {
    padding: 16px 14px;
    gap: 14px;
  }
}

/* ==========================================================================
   SERVICES & GALLERY RESPONSIVE ENHANCEMENTS
   ========================================================================== */

/* Enhanced Product / Service Detail Card */
.service-card-grid {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.service-card-grid:hover {
  box-shadow: 0 16px 36px rgba(11, 67, 156, 0.08);
}

.service-card-grid img {
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-card-grid:hover img {
  transform: scale(1.05);
}

@media (max-width: 900px) {
  .service-card-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    padding: 1.5rem !important;
  }

  .service-card-grid>div:first-child {
    height: 250px !important;
  }
}

@media (max-width: 576px) {
  .service-card-grid {
    padding: 1.15rem !important;
    gap: 1.25rem !important;
  }

  .service-card-grid>div:first-child {
    height: 210px !important;
  }

  .spec-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    padding: 0.5rem 0;
  }
}

/* Gallery Grid Responsive & Animation */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(11, 67, 156, 0.06);
  border: 1px solid rgba(226, 232, 240, 0.8);
  background-color: #0b192c;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
}

.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(11, 67, 156, 0.16);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(7, 15, 27, 0.94) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-title {
  color: #ffffff;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.2px;
  line-height: 1.3;
}

.gallery-sub {
  color: #f1ab14;
  font-size: 0.85rem;
  font-weight: 500;
  margin-top: 0.3rem;
}

@media (max-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
  }
}

@media (max-width: 540px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .gallery-item {
    aspect-ratio: 16/10;
  }

  .gallery-overlay {
    opacity: 1;
    background: linear-gradient(180deg, transparent 45%, rgba(7, 15, 27, 0.88) 100%);
    padding: 1rem;
  }

  .gallery-title {
    font-size: 1.02rem;
  }

  .gallery-sub {
    font-size: 0.8rem;
  }
}