/**
 * Zubair CNC Laser Cutting - Premium Industrial Theme Stylesheet
 * Gujranwala, Pakistan
 */

/* ==========================================================================
   1. CSS Variables & Theme Foundations
   ========================================================================== */
:root {
  --color-industrial-black: #101418;
  --color-deep-charcoal: #1C232B;
  --color-charcoal-card: #222B35;
  --color-charcoal-light: #2A3644;
  --color-safety-yellow: #FFC400;
  --color-yellow-hover: #E0AC00;
  --color-yellow-light: rgba(255, 196, 0, 0.12);
  --color-metallic-grey: #858F98;
  --color-steel-light: #E8EDF0;
  --color-steel-border: #2F3A46;
  --color-white: #FFFFFF;
  --color-danger: #EF4444;
  --color-success: #10B981;
  --color-whatsapp: #25D366;

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

  --header-height: 80px;
  --topbar-height: 38px;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-bounce: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.45);
  --shadow-yellow: 0 4px 20px rgba(255, 196, 0, 0.25);
}

/* ==========================================================================
   2. Reset & Global Styles
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--color-industrial-black);
  color: var(--color-steel-light);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

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

ul, ol {
  list-style: none;
}

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

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

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-white);
  line-height: 1.15;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.text-yellow { color: var(--color-safety-yellow) !important; }
.text-muted { color: var(--color-metallic-grey) !important; }
.text-white { color: var(--color-white) !important; }
.text-center { text-align: center; }
.text-left { text-align: left; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--color-safety-yellow);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-tag::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 3px;
  background-color: var(--color-safety-yellow);
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-metallic-grey);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

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

/* ==========================================================================
   3. Buttons & Interactive Elements
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 12px 26px;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-align: center;
  white-space: nowrap;
}

.btn-icon {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
}

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

.btn-primary {
  background-color: var(--color-safety-yellow);
  color: var(--color-industrial-black);
  border-color: var(--color-safety-yellow);
  box-shadow: 0 4px 15px rgba(255, 196, 0, 0.2);
}

.btn-primary:hover {
  background-color: var(--color-yellow-hover);
  border-color: var(--color-yellow-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 196, 0, 0.35);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-steel-light);
  border-color: var(--color-metallic-grey);
}

.btn-secondary:hover {
  background-color: var(--color-deep-charcoal);
  color: var(--color-white);
  border-color: var(--color-safety-yellow);
}

.btn-whatsapp {
  background-color: #128C7E;
  color: var(--color-white);
  border-color: #128C7E;
}

.btn-whatsapp:hover {
  background-color: #075E54;
  border-color: #075E54;
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   4. Top Bar & Fixed Sticky Header
   ========================================================================== */
.topbar {
  background-color: #0c0f12;
  border-bottom: 1px solid #1c232b;
  font-size: 0.85rem;
  color: var(--color-metallic-grey);
  height: var(--topbar-height);
  display: flex;
  align-items: center;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.topbar-item:hover {
  color: var(--color-safety-yellow);
}

.topbar-icon {
  width: 14px;
  height: 14px;
  color: var(--color-safety-yellow);
}

.topbar-separator {
  color: #2F3A46;
}

/* Main Fixed Header */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--color-deep-charcoal);
  border-bottom: 1px solid var(--color-steel-border);
  z-index: 1000;
  transition: all var(--transition-normal);
  height: var(--header-height);
}

.site-header.scrolled {
  background-color: rgba(28, 35, 43, 0.98);
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
  border-bottom-color: rgba(255, 196, 0, 0.2);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 20px;
}

/* Left Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  height: 52px;
  width: auto;
  max-width: 270px;
}

/* Center Desktop Navigation */
.desktop-nav {
  display: flex;
  align-items: center;
  flex-grow: 1;
  justify-content: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 24px);
  white-space: nowrap;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--color-steel-light);
  padding: 8px 4px;
  position: relative;
  display: inline-block;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--color-safety-yellow);
  transition: width var(--transition-normal);
}

.nav-link:hover {
  color: var(--color-safety-yellow);
}

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

.nav-link.active {
  color: var(--color-safety-yellow);
}

/* Header Actions & CTA */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.header-cta-btn {
  padding: 10px 20px;
  font-size: 0.95rem;
}

/* Hamburger Button */
.hamburger-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--color-steel-border);
  border-radius: 4px;
  padding: 8px;
  cursor: pointer;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-safety-yellow);
  transition: all var(--transition-normal);
}

/* ==========================================================================
   5. Mobile Drawer Navigation
   ========================================================================== */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background-color: var(--color-deep-charcoal);
  border-left: 1px solid var(--color-steel-border);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  transition: right var(--transition-normal);
  padding: 24px;
  overflow-y: auto;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.7);
}

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

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--color-steel-border);
  padding-bottom: 16px;
  margin-bottom: 24px;
}

.mobile-drawer-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-safety-yellow);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.mobile-close-btn {
  background: transparent;
  border: none;
  color: var(--color-steel-light);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.mobile-close-btn:hover {
  color: var(--color-safety-yellow);
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-steel-light);
  display: block;
  padding: 10px 14px;
  border-radius: 4px;
  border-left: 3px solid transparent;
  transition: all var(--transition-fast);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background-color: var(--color-charcoal-card);
  color: var(--color-safety-yellow);
  border-left-color: var(--color-safety-yellow);
}

.mobile-drawer-footer {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--color-steel-border);
}

.mobile-drawer-contacts {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.9rem;
}

.mobile-contact-item {
  color: var(--color-metallic-grey);
}

.drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal);
}

.drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

/* ==========================================================================
   6. Mandatory Floating WhatsApp Button (Strictly Bottom-Left)
   ========================================================================== */
.floating-whatsapp-container {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.floating-whatsapp-btn {
  width: 58px;
  height: 58px;
  background-color: var(--color-whatsapp);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45);
  position: relative;
  transition: transform var(--transition-bounce), box-shadow var(--transition-fast);
  cursor: pointer;
}

.floating-whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.65);
}

.whatsapp-icon {
  width: 32px;
  height: 32px;
}

/* Tooltip on Hover */
.whatsapp-tooltip {
  position: absolute;
  left: 70px;
  background-color: var(--color-deep-charcoal);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 6px 14px;
  border-radius: 4px;
  border-left: 3px solid var(--color-safety-yellow);
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-8px);
  transition: all var(--transition-fast);
  pointer-events: none;
}

.floating-whatsapp-container:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.whatsapp-subdial {
  background-color: var(--color-deep-charcoal);
  border: 1px solid var(--color-steel-border);
  padding: 4px 10px;
  border-radius: 14px;
  font-size: 0.78rem;
  opacity: 0.9;
  transition: opacity var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.whatsapp-subdial:hover {
  opacity: 1;
  border-color: var(--color-safety-yellow);
}

.whatsapp-secondary-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-steel-light);
  font-weight: 500;
}

.whatsapp-secondary-link:hover {
  color: var(--color-safety-yellow);
}

.subdial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-whatsapp);
  display: inline-block;
}

/* ==========================================================================
   7. Hero Banner Section
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(16, 20, 24, 0.94) 0%, rgba(28, 35, 43, 0.88) 100%),
              url('../images/hero-laser.jpg') center/cover no-repeat;
  border-bottom: 2px solid var(--color-steel-border);
  padding: 80px 0;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 40%, rgba(255, 196, 0, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: rgba(255, 196, 0, 0.12);
  border: 1px solid rgba(255, 196, 0, 0.3);
  padding: 6px 16px;
  border-radius: 4px;
  margin-bottom: 20px;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-safety-yellow);
  box-shadow: 0 0 10px var(--color-safety-yellow);
}

.hero-badge-text {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--color-safety-yellow);
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.hero-title-sub {
  display: block;
  color: var(--color-safety-yellow);
}

.hero-desc {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--color-steel-light);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 700px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-features-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  border-top: 1px solid var(--color-steel-border);
  padding-top: 24px;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-steel-light);
}

.hero-feature-icon {
  width: 18px;
  height: 18px;
  color: var(--color-safety-yellow);
}

/* Page Hero (Sub-pages) */
.page-hero {
  background: linear-gradient(180deg, #161D24 0%, #101418 100%);
  border-bottom: 1px solid var(--color-steel-border);
  padding: 60px 0;
  position: relative;
}

.page-hero-inner {
  max-width: 850px;
}

.breadcrumb-nav {
  margin-bottom: 12px;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--color-metallic-grey);
}

.breadcrumb-item a:hover {
  color: var(--color-safety-yellow);
}

.breadcrumb-separator {
  color: #374351;
}

/* ==========================================================================
   8. Cards & Grids
   ========================================================================== */
/* Core Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 28px;
  margin-top: 40px;
}

.service-card {
  background-color: var(--color-charcoal-card);
  border: 1px solid var(--color-steel-border);
  border-radius: 6px;
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-safety-yellow);
  box-shadow: var(--shadow-lg);
}

.service-card-media {
  position: relative;
  height: 220px;
  background-color: #141A21;
  overflow: hidden;
}

.service-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.service-card-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background-color: rgba(16, 20, 24, 0.85);
  border: 1px solid var(--color-steel-border);
  color: var(--color-safety-yellow);
  padding: 4px 10px;
  border-radius: 3px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.service-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card-title {
  font-size: 1.45rem;
  margin-bottom: 12px;
  color: var(--color-white);
  transition: color var(--transition-fast);
}

.service-card:hover .service-card-title {
  color: var(--color-safety-yellow);
}

.service-card-desc {
  font-size: 0.95rem;
  color: var(--color-metallic-grey);
  margin-bottom: 20px;
  flex-grow: 1;
  line-height: 1.6;
}

.service-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 16px;
  margin-top: auto;
}

.service-link {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-safety-yellow);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 1px;
}

.service-link:hover {
  text-decoration: underline;
}

/* Why Choose Us Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.feature-box {
  background-color: var(--color-charcoal-card);
  border: 1px solid var(--color-steel-border);
  border-radius: 6px;
  padding: 28px;
  transition: all var(--transition-normal);
  border-left: 4px solid var(--color-safety-yellow);
}

.feature-box:hover {
  background-color: var(--color-charcoal-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-icon-wrapper {
  width: 52px;
  height: 52px;
  background-color: rgba(255, 196, 0, 0.12);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-icon {
  width: 26px;
  height: 26px;
  color: var(--color-safety-yellow);
}

.feature-title {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 0.95rem;
  color: var(--color-metallic-grey);
}

/* 4-Step Working Process */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
  position: relative;
}

.process-step {
  background-color: var(--color-charcoal-card);
  border: 1px solid var(--color-steel-border);
  border-radius: 6px;
  padding: 26px;
  position: relative;
  transition: all var(--transition-normal);
}

.process-step:hover {
  border-color: var(--color-safety-yellow);
  transform: translateY(-4px);
}

.process-number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: rgba(255, 196, 0, 0.25);
  line-height: 1;
  margin-bottom: 12px;
}

.process-title {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.process-desc {
  font-size: 0.9rem;
  color: var(--color-metallic-grey);
}

/* Two-column layout */
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.media-frame {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid var(--color-steel-border);
  box-shadow: var(--shadow-lg);
}

.media-frame::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: inset 0 0 40px rgba(16, 20, 24, 0.6);
  pointer-events: none;
}

/* Quote Callout Banner */
.quote-banner {
  background: linear-gradient(135deg, #1C232B 0%, #101418 100%);
  border: 2px solid var(--color-safety-yellow);
  border-radius: 8px;
  padding: 48px 36px;
  text-align: center;
  box-shadow: var(--shadow-yellow);
  margin: 60px 0;
  position: relative;
}

.quote-banner-title {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  margin-bottom: 12px;
}

.quote-banner-desc {
  font-size: 1.15rem;
  color: var(--color-steel-light);
  max-width: 680px;
  margin: 0 auto 28px;
}

.quote-banner-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================================
   9. Portfolio & Gallery Filter System + Lightbox
   ========================================================================== */
.gallery-filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
}

.filter-btn {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 4px;
  background-color: var(--color-charcoal-card);
  border: 1px solid var(--color-steel-border);
  color: var(--color-steel-light);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--color-safety-yellow);
  color: var(--color-industrial-black);
  border-color: var(--color-safety-yellow);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 24px;
}

.portfolio-item {
  background-color: var(--color-charcoal-card);
  border: 1px solid var(--color-steel-border);
  border-radius: 6px;
  overflow: hidden;
  transition: all var(--transition-normal);
  position: relative;
  cursor: pointer;
}

.portfolio-item:hover {
  border-color: var(--color-safety-yellow);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.portfolio-item.hidden {
  display: none;
}

.portfolio-thumb-wrapper {
  position: relative;
  height: 250px;
  background-color: #141920;
  overflow: hidden;
}

.portfolio-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.portfolio-item:hover .portfolio-thumb {
  transform: scale(1.06);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(16, 20, 24, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

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

.zoom-icon-wrapper {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--color-safety-yellow);
  color: var(--color-industrial-black);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  transform: scale(0.8);
  transition: transform var(--transition-fast);
}

.portfolio-item:hover .zoom-icon-wrapper {
  transform: scale(1);
}

.portfolio-info {
  padding: 18px 20px;
}

.portfolio-category-tag {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-safety-yellow);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.portfolio-title {
  font-size: 1.25rem;
  margin-bottom: 6px;
  color: var(--color-white);
}

.portfolio-specs {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--color-metallic-grey);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 10px;
  margin-top: 10px;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(10, 14, 18, 0.94);
  backdrop-filter: blur(8px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  padding: 20px;
}

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

.lightbox-container {
  max-width: 960px;
  width: 100%;
  max-height: 90vh;
  background-color: var(--color-deep-charcoal);
  border: 1px solid var(--color-steel-border);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.lightbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--color-steel-border);
}

.lightbox-title {
  font-size: 1.25rem;
  color: var(--color-white);
}

.lightbox-close-btn {
  background: transparent;
  border: none;
  color: var(--color-steel-light);
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
}

.lightbox-close-btn:hover {
  color: var(--color-safety-yellow);
}

.lightbox-body {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #0b0e12;
  min-height: 380px;
  max-height: 60vh;
  overflow: hidden;
}

.lightbox-img {
  max-width: 100%;
  max-height: 60vh;
  object-fit: contain;
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(28, 35, 43, 0.8);
  border: 1px solid var(--color-steel-border);
  color: var(--color-white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lightbox-nav-btn:hover {
  background-color: var(--color-safety-yellow);
  color: var(--color-industrial-black);
}

.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

.lightbox-footer {
  padding: 14px 20px;
  border-top: 1px solid var(--color-steel-border);
  font-size: 0.95rem;
  color: var(--color-metallic-grey);
}

/* ==========================================================================
   10. Forms & Input Elements
   ========================================================================== */
.form-card {
  background-color: var(--color-charcoal-card);
  border: 1px solid var(--color-steel-border);
  border-radius: 8px;
  padding: 36px;
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 22px;
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-steel-light);
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.form-label .required {
  color: var(--color-safety-yellow);
}

.form-control {
  width: 100%;
  background-color: #13181F;
  border: 1px solid var(--color-steel-border);
  border-radius: 4px;
  color: var(--color-white);
  padding: 12px 16px;
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-safety-yellow);
  box-shadow: 0 0 0 3px rgba(255, 196, 0, 0.2);
}

.form-control::placeholder {
  color: #5A6572;
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-help {
  font-size: 0.85rem;
  color: var(--color-metallic-grey);
  margin-top: 6px;
}

/* Status Alerts */
.alert {
  padding: 16px 20px;
  border-radius: 6px;
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.alert-success {
  background-color: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--color-success);
  color: #6EE7B7;
}

.alert-warning {
  background-color: rgba(255, 196, 0, 0.15);
  border: 1px solid var(--color-safety-yellow);
  color: #FDE047;
}

.alert-error {
  background-color: rgba(239, 68, 68, 0.15);
  border: 1px solid var(--color-danger);
  color: #FCA5A5;
}

/* ==========================================================================
   11. Contact Page & Map Cards
   ========================================================================== */
.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.contact-card {
  background-color: var(--color-charcoal-card);
  border: 1px solid var(--color-steel-border);
  border-radius: 6px;
  padding: 28px;
  text-align: center;
  transition: all var(--transition-normal);
}

.contact-card:hover {
  border-color: var(--color-safety-yellow);
  transform: translateY(-4px);
}

.contact-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: rgba(255, 196, 0, 0.12);
  color: var(--color-safety-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.contact-card-icon svg {
  width: 28px;
  height: 28px;
}

.contact-card-title {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.contact-card-detail {
  font-size: 0.95rem;
  color: var(--color-steel-light);
  margin-bottom: 14px;
}

.map-wrapper {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--color-steel-border);
  box-shadow: var(--shadow-lg);
  height: 420px;
}

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

/* ==========================================================================
   12. Footer Components
   ========================================================================== */
.site-footer {
  background-color: #0c0f12;
  border-top: 2px solid var(--color-steel-border);
  margin-top: auto;
}

.footer-top {
  padding: 60px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr 1.6fr;
  gap: 40px;
}

.footer-logo-link {
  display: inline-block;
  margin-bottom: 16px;
}

.footer-logo-img {
  height: 48px;
  width: auto;
}

.footer-tagline {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-safety-yellow);
  margin-bottom: 12px;
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--color-metallic-grey);
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--color-deep-charcoal);
  border: 1px solid var(--color-steel-border);
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 0.8rem;
  color: var(--color-steel-light);
}

.badge-status {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-success);
}

.footer-heading {
  font-size: 1.25rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

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

.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-menu a {
  font-size: 0.92rem;
  color: var(--color-metallic-grey);
  transition: all var(--transition-fast);
}

.footer-menu a:hover {
  color: var(--color-safety-yellow);
  padding-left: 6px;
}

.footer-contact-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

.contact-entry {
  display: flex;
  gap: 12px;
  font-size: 0.9rem;
}

.entry-icon {
  width: 18px;
  height: 18px;
  color: var(--color-safety-yellow);
  flex-shrink: 0;
  margin-top: 3px;
}

.entry-content strong {
  display: block;
  color: var(--color-white);
  font-size: 0.88rem;
}

.entry-content span, .entry-content a {
  color: var(--color-metallic-grey);
}

.entry-content a:hover {
  color: var(--color-safety-yellow);
}

.footer-socials {
  border-top: 1px solid var(--color-steel-border);
  padding-top: 16px;
}

.socials-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.social-icons-row {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 4px;
  background-color: var(--color-deep-charcoal);
  border: 1px solid var(--color-steel-border);
  color: var(--color-steel-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.social-btn svg {
  width: 18px;
  height: 18px;
}

.social-btn:hover {
  background-color: var(--color-safety-yellow);
  color: var(--color-industrial-black);
  border-color: var(--color-safety-yellow);
  transform: translateY(-2px);
}

.footer-bottom {
  background-color: #07090b;
  border-top: 1px solid #1a222a;
  padding: 18px 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--color-metallic-grey);
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.legal-link {
  background: transparent;
  border: none;
  color: var(--color-metallic-grey);
  cursor: pointer;
  font-size: 0.85rem;
}

.legal-link:hover {
  color: var(--color-safety-yellow);
  text-decoration: underline;
}

.legal-sep {
  color: #374351;
}

/* Modals */
.static-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 3500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  padding: 20px;
}

.static-modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  max-width: 600px;
  width: 100%;
}

.modal-content {
  background-color: var(--color-deep-charcoal);
  border: 1px solid var(--color-steel-border);
  border-radius: 8px;
  overflow: hidden;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--color-steel-border);
}

.modal-close {
  background: transparent;
  border: none;
  color: var(--color-steel-light);
  font-size: 1.8rem;
  cursor: pointer;
}

.modal-body {
  padding: 24px;
  color: var(--color-steel-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

.modal-body p + p {
  margin-top: 12px;
}

.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--color-steel-border);
  text-align: right;
}

/* ==========================================================================
   13. Responsive Breakpoints
   ========================================================================== */
/* Tablets & Smaller Desktops */
@media (max-width: 1024px) {
  .desktop-nav {
    display: none; /* Switch to hamburger drawer */
  }

  .hamburger-btn {
    display: flex;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

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

  .two-col-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* Mobile Devices */
@media (max-width: 768px) {
  .topbar {
    display: none; /* Hide topbar on mobile to save vertical space */
  }

  .site-header {
    height: 70px;
  }

  .logo-img {
    height: 42px;
  }

  .header-cta-btn {
    display: none; /* Handled in drawer on small screens */
  }

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

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

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

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

  .footer-bottom-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .floating-whatsapp-container {
    bottom: 20px;
    left: 18px;
  }

  .floating-whatsapp-btn {
    width: 52px;
    height: 52px;
  }

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

  .quote-banner {
    padding: 32px 20px;
  }
}

/* 320px - 375px ultra-compact phones */
@media (max-width: 375px) {
  .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .section-title {
    font-size: 1.8rem;
  }

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

/* Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

