/* 
 * Kismat Industries - Modern CNC Jobworks Web Stylesheet (Premium Dark Theme)
 * Custom designed with a premium, state-of-the-art dark engineering brand identity.
 */

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

/* ==========================================================================
   1. Design System & Variables
   ========================================================================== */
:root {
  /* Color Palette (HSL Tailored to Brand Logo in Dark Mode) */
  --bg-primary: hsl(220, 44%, 6%);         /* Deep space slate-950 - #090e17 */
  --bg-secondary: hsl(220, 39%, 10%);     /* Slate-900 surface */
  --bg-tertiary: hsl(215, 28%, 17%);      /* Slate-800 highlight */
  
  --accent-orange: hsl(38, 90%, 50%);     /* Kismat Orange - #F39C12 */
  --accent-orange-rgb: 243, 156, 18;
  --accent-gray: hsl(200, 5%, 55%);       /* Kismat Charcoal Gray (Brightened for dark contrast) */
  --accent-gray-rgb: 140, 145, 148;
  --accent-blue: hsl(199, 89%, 48%);      /* Steel engineering blue */
  
  --text-primary: hsl(210, 40%, 98%);    /* Off-white crisp text */
  --text-secondary: hsl(215, 25%, 80%);  /* Muted slate-300 for paragraphs */
  --text-muted: hsl(215, 16%, 57%);      /* Light slate-500 for labels */
  
  /* Borders and Shadows */
  --border-light: rgba(255, 255, 255, 0.08);
  --border-orange: rgba(243, 156, 18, 0.25);
  --border-gray: rgba(140, 145, 148, 0.25);
  
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 15px 35px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 30px 60px rgba(0, 0, 0, 0.65);
  --glow-orange: 0 10px 25px rgba(243, 156, 18, 0.2);
  
  /* Fonts */
  --font-headings: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Shared Defaults */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-secondary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

p {
  margin-bottom: 1rem;
}

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

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

ul {
  list-style: none;
}

/* Common Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 6rem 0;
}

/* Highlight Text */
.text-gradient-orange {
  background: linear-gradient(135deg, var(--text-primary) 30%, var(--accent-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-orange {
  color: var(--accent-orange);
}

.text-gray {
  color: var(--accent-gray);
}

.text-blue {
  color: var(--accent-blue);
}

/* Section Header Component */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem auto;
}

.section-header .sub-badge {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  background: rgba(243, 156, 18, 0.1);
  border: 1px solid var(--border-orange);
  color: var(--accent-orange);
  font-family: var(--font-headings);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: var(--radius-sm);
  border: 2px solid var(--bg-primary);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-orange);
}

/* ==========================================================================
   3. Header & Navigation
   ========================================================================== */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(9, 14, 23, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition-smooth);
}

.main-header.scrolled {
  padding: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  background: rgba(9, 14, 23, 0.95);
}

.header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 95px;
  transition: var(--transition-smooth);
}

.main-header.scrolled .header-wrapper {
  height: 75px;
}

/* Logo Design using real image (Applied a subtle bright filter for perfect dark backdrop contrast) */
.logo-container img {
  height: 54px;
  width: auto;
  transition: var(--transition-smooth);
  filter: drop-shadow(0 0 4px rgba(255,255,255,0.1));
}

.main-header.scrolled .logo-container img {
  height: 44px;
}

/* Nav Links */
.nav-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  font-family: var(--font-headings);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.5rem 0;
  position: relative;
  color: var(--text-secondary);
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-orange);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-orange);
  transition: var(--transition-smooth);
}

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

.cta-header-btn {
  padding: 0.6rem 1.4rem;
  background: transparent;
  border: 2px solid var(--accent-orange);
  color: var(--accent-orange);
  font-family: var(--font-headings);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.cta-header-btn:hover {
  background: var(--accent-orange);
  color: var(--bg-primary);
  box-shadow: var(--glow-orange);
  transform: translateY(-2px);
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
  z-index: 1001;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  position: absolute;
  left: 0;
  transition: var(--transition-smooth);
}

.mobile-menu-toggle span:nth-child(1) { top: 0; }
.mobile-menu-toggle span:nth-child(2) { top: 11px; }
.mobile-menu-toggle span:nth-child(3) { top: 22px; }

.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}
.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

/* ==========================================================================
   4. Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-top: 110px;
  overflow: hidden;
  background-color: var(--bg-primary);
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-image: linear-gradient(135deg, rgba(9, 14, 23, 0.94) 20%, rgba(17, 24, 39, 0.72) 100%), 
                    url('../assets/cnc_machine.png');
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  animation: zoomSlow 20s infinite alternate ease-in-out;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 3rem;
}

.hero-content {
  text-align: left;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.2rem;
  background: rgba(243, 156, 18, 0.1);
  border: 1px solid var(--border-orange);
  color: var(--accent-orange);
  font-family: var(--font-headings);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.hero-badge .ping-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-orange);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px var(--accent-orange);
  animation: pulse 1.8s infinite;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

/* Buttons */
.btn-primary {
  padding: 1rem 2.2rem;
  background: linear-gradient(135deg, var(--accent-orange) 0%, #d38107 100%);
  color: var(--bg-primary);
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--glow-orange);
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(243, 156, 18, 0.45);
}

.btn-secondary {
  padding: 1rem 2.2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 2px solid var(--border-light);
  color: var(--text-primary);
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  transition: var(--transition-smooth);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--text-primary);
  transform: translateY(-3px);
}

/* Floating High-tech Widget */
.hero-widget {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.hero-widget::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-orange), var(--accent-gray));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.widget-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--border-light);
}

.widget-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.widget-item:first-child {
  padding-top: 0;
}

.widget-icon {
  width: 44px;
  height: 44px;
  background: rgba(243, 156, 18, 0.1);
  border: 1px solid var(--border-orange);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-orange);
  font-size: 1.25rem;
}

.widget-icon.blue {
  background: rgba(140, 145, 148, 0.1);
  border-color: var(--border-gray);
  color: var(--accent-gray);
}

.widget-text h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.widget-text p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 0;
}

/* ==========================================================================
   5. Floating Quick Action Banner (Call to Action)
   ========================================================================== */
.quick-action-banner {
  background: linear-gradient(90deg, #d38107 0%, var(--accent-orange) 100%);
  padding: 2rem 0;
  box-shadow: var(--glow-orange);
}

.quick-action-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--bg-primary);
}

.quick-action-text h3 {
  font-size: 1.6rem;
  margin-bottom: 0.25rem;
  color: var(--bg-primary);
}

.quick-action-text p {
  margin-bottom: 0;
  font-size: 1rem;
  opacity: 0.95;
}

.quick-action-banner .btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: var(--text-primary);
}

.quick-action-banner .btn-secondary:hover {
  background: var(--text-primary);
  color: var(--accent-orange);
  border-color: var(--text-primary);
}

/* ==========================================================================
   6. Statistics Counter Section
   ========================================================================== */
.stats-section {
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-light);
  padding: 4rem 0;
}

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

.stat-card {
  padding: 1.5rem;
}

.stat-number {
  font-family: var(--font-headings);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--text-primary) 30%, var(--accent-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}

/* ==========================================================================
   7. Expertise / Services Cards
   ========================================================================== */
.expertise-section {
  position: relative;
  background-color: var(--bg-primary);
}

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

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

.service-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-orange);
  background-color: var(--bg-tertiary);
  box-shadow: var(--shadow-md);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon-wrapper {
  width: 60px;
  height: 60px;
  background: rgba(243, 156, 18, 0.08);
  border: 1px solid var(--border-orange);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-orange);
  font-size: 1.75rem;
  margin-bottom: 2rem;
  transition: var(--transition-smooth);
}

.service-card:hover .service-icon-wrapper {
  background: var(--accent-orange);
  color: var(--bg-primary);
  box-shadow: var(--glow-orange);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-specs {
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.service-specs li {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.4rem;
}

.service-specs li:last-child {
  margin-bottom: 0;
}

.service-specs strong {
  color: var(--text-primary);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-headings);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-orange);
  margin-top: 1.5rem;
  text-transform: uppercase;
}

.service-link i {
  transition: var(--transition-smooth);
}

.service-card:hover .service-link i {
  transform: translateX(5px);
}

/* Specialized full-row turning card */
.service-card.full-row {
  grid-column: span 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 3rem;
}

.service-row-content {
  display: flex;
  flex-direction: column;
}

.service-row-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

.service-row-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.service-card.full-row:hover .service-row-image img {
  transform: scale(1.03);
}

/* ==========================================================================
   8. Split Feature / Company Highlights
   ========================================================================== */
.about-split-section {
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-light);
}

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

.split-image-container {
  position: relative;
}

.split-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.split-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.floating-badge {
  position: absolute;
  bottom: 2rem;
  right: -2rem;
  background: var(--bg-secondary);
  border: 1px solid var(--accent-orange);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-md);
}

.floating-badge .number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-orange);
  font-family: var(--font-headings);
  line-height: 1;
}

.floating-badge .text {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

.split-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.split-content p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

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

.feature-check {
  width: 24px;
  height: 24px;
  background: rgba(243, 156, 18, 0.15);
  border: 1px solid var(--border-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-orange);
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-text h4 {
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
  color: var(--text-primary);
}

.feature-text p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 0;
}

/* ==========================================================================
   9. Page Headers & Pages Inner Sections
   ========================================================================== */
.page-hero {
  position: relative;
  padding: 11rem 0 5rem 0;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  border-bottom: 1px solid var(--border-light);
  text-align: center;
}

.page-hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.breadcrumbs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.breadcrumbs a {
  color: var(--accent-orange);
}

.breadcrumbs span {
  color: var(--text-muted);
}

/* Company details layout */
.about-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 4rem;
}

.about-info-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  text-align: center;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
}

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

.about-card-icon {
  width: 60px;
  height: 60px;
  background: rgba(243, 156, 18, 0.08);
  border: 1px solid var(--border-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-orange);
  font-size: 1.5rem;
  margin: 0 auto 1.5rem auto;
  transition: var(--transition-smooth);
}

.about-info-card:hover .about-card-icon {
  background: var(--accent-orange);
  color: var(--bg-primary);
  box-shadow: var(--glow-orange);
}

/* ==========================================================================
   10. Gallery Grid & Lightbox
   ========================================================================== */
.gallery-filter {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.6rem 1.6rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--accent-orange);
  color: var(--bg-primary);
  border-color: var(--accent-orange);
  box-shadow: var(--glow-orange);
}

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

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

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.gallery-item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(9, 14, 23, 0) 30%, rgba(9, 14, 23, 0.98) 100%);
  opacity: 0;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
}

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

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

.gallery-item-tag {
  color: var(--accent-orange);
  font-family: var(--font-headings);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.25rem;
}

.gallery-item-title {
  color: var(--text-primary);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.gallery-item-zoom {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  background: rgba(9, 14, 23, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  opacity: 0;
  transform: translateY(-10px);
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
}

.gallery-item:hover .gallery-item-zoom {
  opacity: 1;
  transform: translateY(0);
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(9, 14, 23, 0.97);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox-modal.active {
  display: flex;
  animation: fadeIn 0.3s ease-out forwards;
}

.lightbox-content {
  position: relative;
  max-width: 900px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
}

.lightbox-image {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
}

.lightbox-caption {
  color: var(--text-primary);
  text-align: center;
  margin-top: 1rem;
  font-size: 1.1rem;
  font-family: var(--font-headings);
  font-weight: 700;
}

.lightbox-close {
  position: absolute;
  top: -3rem;
  right: 0;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 2rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

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

/* ==========================================================================
   11. Contact Layout & Form
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4rem;
}

.contact-info-panel {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 3rem 2.2rem;
  height: fit-content;
  box-shadow: var(--shadow-sm);
}

.contact-info-panel h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.contact-method {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 2.2rem;
}

.contact-method:last-child {
  margin-bottom: 0;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(243, 156, 18, 0.08);
  border: 1px solid var(--border-orange);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-orange);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-text h4 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
}

.contact-text p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.contact-text a {
  font-weight: 700;
  color: var(--text-primary);
}

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

.map-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-family: var(--font-headings);
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 0.5rem;
}

.map-link-btn:hover {
  color: var(--accent-orange);
}

/* Contact Form */
.contact-form-panel {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.contact-form-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent-orange);
}

.contact-form-panel h3 {
  font-size: 2rem;
  margin-bottom: 2.5rem;
  color: var(--text-primary);
}

.form-group {
  margin-bottom: 1.8rem;
}

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

.form-label {
  display: block;
  font-family: var(--font-headings);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
}

.form-input {
  width: 100%;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.2rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.98rem;
  transition: var(--transition-smooth);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-orange);
  box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.15);
  background-color: var(--bg-tertiary);
}

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

.form-submit-btn {
  width: 100%;
  justify-content: center;
  padding: 1.1rem 2rem;
}

/* Dynamic Map Section */
.map-section {
  padding-top: 0;
}

.map-container {
  width: 100%;
  height: 450px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(1) invert(0.92) contrast(1.2); /* Invert for perfectly dark integrated maps style */
}

/* ==========================================================================
   12. Footer
   ========================================================================== */
.main-footer {
  background-color: hsl(220, 44%, 4%);
  border-top: 1px solid var(--border-light);
  padding: 5rem 0 2rem 0;
  color: var(--text-secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-about img {
  height: 52px;
  width: auto;
  margin-bottom: 1.5rem;
}

.footer-about p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.footer-links h4 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
}

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

.footer-link-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-link-item i {
  color: var(--accent-orange);
  font-size: 0.75rem;
}

.footer-link-item a {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
}

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

.footer-contact h4 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.footer-contact-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.footer-contact-item i {
  color: var(--accent-orange);
  font-size: 1rem;
  margin-top: 3px;
}

.footer-contact-item p {
  margin-bottom: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.footer-contact-item a {
  color: var(--text-primary);
  font-weight: 600;
}

.footer-contact-item a:hover {
  color: var(--accent-orange);
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-copy a {
  color: var(--accent-orange);
  font-weight: 600;
}

.footer-copy a:hover {
  color: var(--text-primary);
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 36px;
  height: 36px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gray);
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
}

.social-icon:hover {
  background: var(--accent-orange);
  color: var(--bg-primary);
  border-color: var(--accent-orange);
  box-shadow: var(--glow-orange);
  transform: translateY(-3px);
}

/* ==========================================================================
   13. Custom Keyframe Animations
   ========================================================================== */
@keyframes shine {
  0% { left: -100%; }
  100% { left: 100%; }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(243, 156, 18, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(243, 156, 18, 0); }
  100% { box-shadow: 0 0 0 0 rgba(243, 156, 18, 0); }
}

@keyframes zoomSlow {
  0% { transform: scale(1.01); }
  100% { transform: scale(1.05); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ==========================================================================
   14. Mobile Responsive Layouts
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .hero-content {
    text-align: center;
  }
  .hero-badge {
    margin: 0 auto 1.5rem auto;
  }
  .hero-description {
    margin: 0 auto 2.5rem auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-widget {
    max-width: 600px;
    margin: 0 auto;
  }
  .split-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .split-image-container {
    order: 2;
  }
  .split-image img {
    height: 380px;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-card.full-row {
    grid-column: span 2;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  .section-padding {
    padding: 4rem 0;
  }
  .hero-title {
    font-size: 2.8rem;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .service-card.full-row {
    grid-column: span 1;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2.5rem 2rem;
  }
  .service-row-image img {
    height: 220px;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .about-cards-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .feature-list {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .quick-action-wrapper {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  
  /* Mobile Hamburger Nav Bar */
  .mobile-menu-toggle {
    display: block;
  }
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background-color: var(--bg-secondary);
    border-left: 1px solid var(--border-light);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  }
  .nav-menu.active {
    right: 0;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .contact-form-panel {
    padding: 2.5rem 1.8rem;
  }
}
