/* ==========================================================================
   S.K ENGINEERING AND MANUFACTURING (SKEM) - OFFICIAL WEBSITE STYLESHEET
   Industrial Corporate Design System - Phase 2 Polish
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS & VARIABLES
   -------------------------------------------------------------------------- */
:root {
  /* Surface & Background */
  --bg-main: #0a0d14;
  --bg-surface: #0f1520;
  --bg-surface-elevated: #141c2b;
  --bg-card: #121926;
  --bg-card-hover: #182335;
  --bg-card-active: #1c2a40;
  --bg-glass: rgba(15, 21, 32, 0.88);

  /* Metallic & Industrial Borders */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-steel: rgba(148, 163, 184, 0.2);
  --border-steel-light: rgba(203, 213, 225, 0.35);
  --border-focus: #0077ff;

  /* SKEM Brand Colors (Inspired by official logo) */
  --skem-blue: #0062cc;
  --skem-blue-hover: #0052ad;
  --skem-blue-bright: #007bff;
  --skem-blue-glow: rgba(0, 114, 238, 0.35);
  --skem-cyan: #00bcd4;
  --skem-steel-accent: #94a3b8;
  --skem-steel-dark: #334155;
  --safety-yellow: #f59e0b;
  --safety-yellow-bg: rgba(245, 158, 11, 0.12);
  --safety-green: #10b981;
  --whatsapp-green: #25d366;
  --whatsapp-hover: #20ba59;

  /* Typography Colors */
  --text-primary: #ffffff;
  --text-secondary: #cbd5e1;
  --text-muted: #8292a6;
  --text-dark: #0a0d14;

  /* Typography Families */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Roboto Mono', monospace;

  /* Radii & Shadows */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 30px rgba(0, 102, 204, 0.25);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout Containers */
  --container-max: 1280px;
  --header-height: 80px;
  --mobile-bar-height: 64px;
}

/* --------------------------------------------------------------------------
   2. GLOBAL RESET & BASE STYLES
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  height: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.01em;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, p, a, span {
  overflow-wrap: break-word;
  word-break: break-word;
}

@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;
  }
}

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  background: none;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--skem-blue-bright);
  outline-offset: 3px;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

@media (max-width: 768px) {
  .container {
    padding-left: 18px;
    padding-right: 18px;
  }
}

.section {
  padding-top: 100px;
  padding-bottom: 100px;
  position: relative;
}

@media (max-width: 768px) {
  .section {
    padding-top: 64px;
    padding-bottom: 64px;
  }
}

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

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 60px auto;
}

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--skem-cyan);
  background: rgba(0, 188, 212, 0.08);
  border: 1px solid rgba(0, 188, 212, 0.25);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.section-tag.yellow {
  color: var(--safety-yellow);
  background: var(--safety-yellow-bg);
  border-color: rgba(245, 158, 11, 0.3);
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: 18px;
}

.section-subtitle {
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  color: var(--text-secondary);
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   3. BUTTONS & INTERACTIVE ELEMENTS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--radius-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  user-select: none;
  transform-style: preserve-3d;
}

.btn:active {
  transform: translateY(1px) scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, var(--skem-blue-bright) 0%, var(--skem-blue) 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 18px rgba(0, 98, 204, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #2196f3 0%, var(--skem-blue-hover) 100%);
  box-shadow: 0 10px 28px -4px rgba(0, 98, 204, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transform: translateY(-3px) translateZ(4px);
  color: #ffffff;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  border: 1px solid var(--border-steel);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--border-steel-light);
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.5);
  transform: translateY(-3px) translateZ(4px);
  color: #ffffff;
}

.btn-call {
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-call:hover {
  background: #ffffff;
  color: var(--text-dark);
  border-color: #ffffff;
  box-shadow: 0 8px 24px -4px rgba(255, 255, 255, 0.4);
  transform: translateY(-3px) translateZ(4px);
}

.btn-whatsapp {
  background: var(--whatsapp-green);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-whatsapp:hover {
  background: var(--whatsapp-hover);
  box-shadow: 0 10px 28px -4px rgba(37, 211, 102, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transform: translateY(-3px) translateZ(4px);
  color: #ffffff;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
}

/* --------------------------------------------------------------------------
   4. NAVIGATION BAR
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(var(--header-height) + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px);
  z-index: 1000;
  transition: all var(--transition-fast);
  background: linear-gradient(180deg, rgba(10, 13, 20, 0.95) 0%, rgba(10, 13, 20, 0.8) 70%, transparent 100%);
}

.site-header.scrolled {
  background: rgba(10, 13, 20, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  height: calc(72px + env(safe-area-inset-top, 0px));
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

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

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 48px;
  width: auto;
  max-width: 105px;
  object-fit: contain;
  display: block;
  transition: transform var(--transition-fast);
}

.site-header.scrolled .brand-logo-img {
  height: 38px;
  max-width: 82px;
}

.brand-text-block {
  display: flex;
  flex-direction: column;
  white-space: nowrap;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #ffffff;
  line-height: 1.1;
  text-transform: uppercase;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

.brand-sub {
  font-size: 0.68rem;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  color: var(--skem-cyan);
  text-transform: uppercase;
  margin-top: 3px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.nav-menu-wrapper {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: center;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
}

.nav-link {
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
  padding: 8px 0;
  position: relative;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-link.highlight-link {
  color: #ffffff;
  font-weight: 700;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--skem-blue-bright);
  transition: width var(--transition-fast);
}

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.nav-contact-link:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: var(--border-steel);
}

.nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-steel);
  border-radius: var(--radius-sm);
  width: 44px;
  height: 44px;
  color: #ffffff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--skem-cyan);
}

/* Mobile Nav Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 380px;
  height: 100vh;
  height: 100dvh;
  background: var(--bg-surface);
  border-left: 1px solid var(--border-steel);
  z-index: 1100;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: right var(--transition-normal);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.7);
  overflow-y: auto;
}

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

.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
}

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

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.drawer-close-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.mobile-nav-list {
  list-style: none;
  margin: 30px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-secondary);
  display: block;
  padding: 6px 0;
}

.mobile-nav-link.active,
.mobile-nav-link:hover {
  color: var(--skem-blue-bright);
}

.mobile-drawer-footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

/* --------------------------------------------------------------------------
   5. CINEMATIC HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 80px;
  overflow: hidden;
  background-color: var(--bg-main);
}

.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.62) contrast(1.12);
  transform: scale(1.02);
  pointer-events: none;
}

.hero-image-fallback {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.4) contrast(1.15);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: 
    linear-gradient(180deg, rgba(10, 13, 20, 0.88) 0%, rgba(10, 13, 20, 0.48) 50%, rgba(10, 13, 20, 0.96) 100%),
    radial-gradient(circle at 25% 50%, rgba(0, 98, 204, 0.22) 0%, transparent 65%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 940px;
}

.hero-brand-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(0, 188, 212, 0.4);
  backdrop-filter: blur(10px);
  margin-bottom: 24px;
}

.hero-brand-logo-small {
  height: 24px;
  width: auto;
  object-fit: contain;
}

.hero-brand-tag-text {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #ffffff;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(2.3rem, 5.2vw, 4.2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: #ffffff;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.85);
}

.hero-title .highlight {
  background: linear-gradient(135deg, #ffffff 20%, var(--skem-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 800px;
  margin-bottom: 38px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

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

.hero-trust-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.trust-icon {
  width: 24px;
  height: 24px;
  color: var(--skem-cyan);
  flex-shrink: 0;
  margin-top: 2px;
}

.trust-text-title {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
}

.trust-text-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   6. BUSINESS INTRODUCTION / ABOUT PREVIEW
   -------------------------------------------------------------------------- */
.about-section {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

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

.about-media-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-steel);
  box-shadow: var(--shadow-lg);
}

.about-main-image {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.about-media-wrapper:hover .about-main-image {
  transform: scale(1.03);
}

.about-floating-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(10, 13, 20, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-steel-light);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.badge-caption-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

.badge-caption-sub {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.about-content-wrapper {
  display: flex;
  flex-direction: column;
}

.about-lead-text {
  font-size: 1.15rem;
  font-weight: 500;
  color: #ffffff;
  line-height: 1.6;
  margin-bottom: 20px;
}

.about-body-text {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 30px;
}

.about-pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 36px;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
  transition: all var(--transition-fast);
}

.pillar-card:hover {
  border-color: var(--border-steel);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.pillar-icon {
  width: 28px;
  height: 28px;
  color: var(--skem-blue-bright);
  margin-bottom: 12px;
}

.pillar-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.pillar-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.about-cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   7. SERVICES SECTION
   -------------------------------------------------------------------------- */
.services-section {
  background-color: var(--bg-main);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  perspective: 1200px;
}

.service-card {
  background: linear-gradient(145deg, #131b29 0%, #0d131f 100%);
  border: 1px solid var(--border-steel);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  transform-style: preserve-3d;
}

.service-card:hover {
  border-color: rgba(0, 188, 212, 0.5);
  box-shadow:
    0 22px 46px -10px rgba(0, 0, 0, 0.8),
    0 0 24px rgba(0, 98, 204, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transform: translateY(-8px) rotateX(1.8deg) translateZ(8px);
}

.service-img-wrapper {
  position: relative;
  height: 240px;
  overflow: hidden;
  transform-style: preserve-3d;
}

.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.service-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(10, 13, 20, 0.88);
  border: 1px solid var(--border-steel);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--skem-cyan);
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  transform: translateZ(20px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.service-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-title {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: #ffffff;
}

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

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}

.service-list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.service-list-item svg {
  color: var(--skem-blue-bright);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   8. REAL PROJECTS SECTION (PHASE 2 REAL IDENTITIES)
   -------------------------------------------------------------------------- */
.projects-section {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
}

.projects-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 30px;
  perspective: 1400px;
}

/* Project Card Layouts */
.project-card-featured {
  grid-column: span 6;
  background: linear-gradient(145deg, #141c2b 0%, #0e1420 100%);
  border: 1px solid var(--border-steel);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  position: relative;
  transform-style: preserve-3d;
}

.project-card-featured:hover {
  border-color: rgba(0, 188, 212, 0.55);
  transform: translateY(-8px) rotateX(2deg) rotateY(-1deg) translateZ(10px);
  box-shadow:
    0 26px 54px -12px rgba(0, 0, 0, 0.85),
    0 0 32px rgba(0, 119, 255, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.project-card-featured.span-full {
  grid-column: span 12;
}

.project-card-featured.span-4 {
  grid-column: span 4;
}

.project-hero-media {
  position: relative;
  height: 320px;
  overflow: hidden;
  background-color: #05070a;
  transform-style: preserve-3d;
}

.project-hero-media.tall {
  height: 380px;
}

.project-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.project-card-featured:hover .project-card-img {
  transform: scale(1.06);
}

.project-card-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(10, 13, 20, 0.92);
  border: 1px solid var(--border-steel);
  border-radius: var(--radius-sm);
  padding: 6px 14px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--skem-cyan);
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  transform: translateZ(24px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
}

.project-video-indicator {
  position: absolute;
  bottom: 18px;
  right: 18px;
  background: rgba(0, 98, 204, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(6px);
}

.project-info-body {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-real-title {
  font-size: 1.6rem;
  margin-bottom: 12px;
  color: #ffffff;
  line-height: 1.25;
}

.project-real-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 24px;
  flex-grow: 1;
}

.project-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.project-spec-tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 4px 12px;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.project-footer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

.view-project-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--skem-blue-bright);
  transition: all var(--transition-fast);
}

.project-card-featured:hover .view-project-btn {
  color: #ffffff;
  gap: 12px;
}

/* --------------------------------------------------------------------------
   9. WORK IN ACTION / VIDEO SHOWCASE SECTION
   -------------------------------------------------------------------------- */
.video-showcase-section {
  background-color: var(--bg-main);
  border-top: 1px solid var(--border-subtle);
  position: relative;
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.video-showcase-card {
  background: var(--bg-card);
  border: 1px solid var(--border-steel);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.video-player-container {
  position: relative;
  height: 280px;
  background-color: #000000;
}

.video-player-element {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-color: #000000;
}

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

.video-tag {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--skem-cyan);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.video-title {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: #ffffff;
}

.video-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   10. INTERACTIVE GALLERY & MEDIA CENTER
   -------------------------------------------------------------------------- */
.gallery-section {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
}

.gallery-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  color: #ffffff;
  border-color: var(--border-steel);
  background: rgba(255, 255, 255, 0.08);
}

.filter-btn.active {
  color: #ffffff;
  background: var(--skem-blue);
  border-color: var(--skem-blue-bright);
  box-shadow: 0 4px 14px rgba(0, 98, 204, 0.4);
}

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

.gallery-item {
  position: relative;
  height: 260px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--border-subtle);
  background: #000000;
  transition: all var(--transition-fast);
}

.gallery-item:hover {
  border-color: var(--skem-blue-bright);
  transform: scale(1.02);
  z-index: 2;
  box-shadow: var(--shadow-md);
}

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

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 13, 20, 0.95) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

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

.gallery-caption-title {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
}

.gallery-caption-cat {
  font-size: 0.75rem;
  color: var(--skem-cyan);
  font-family: var(--font-mono);
  margin-top: 2px;
}

.gallery-media-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(10, 13, 20, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 4px 8px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  color: #ffffff;
  backdrop-filter: blur(4px);
}

/* --------------------------------------------------------------------------
   11. WHY SKEM (TRUST & CREDIBILITY SECTION)
   -------------------------------------------------------------------------- */
.why-section {
  background-color: var(--bg-main);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border-subtle);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: all var(--transition-fast);
  position: relative;
}

.why-card:hover {
  border-color: var(--border-steel);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
}

.why-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(0, 98, 204, 0.1);
  border: 1px solid rgba(0, 98, 204, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--skem-blue-bright);
  margin-bottom: 20px;
}

.why-card-title {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: #ffffff;
}

.why-card-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   12. ENQUIRY / CONTACT / GET A QUOTE SECTION
   -------------------------------------------------------------------------- */
.contact-section {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  position: relative;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-steel);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
}

.contact-header-title {
  font-size: 1.8rem;
  margin-bottom: 12px;
  color: #ffffff;
}

.contact-header-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 28px;
}

.contact-channels-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.channel-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.channel-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(0, 98, 204, 0.12);
  border: 1px solid rgba(0, 98, 204, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--skem-blue-bright);
  flex-shrink: 0;
}

.channel-details-label {
  font-size: 0.78rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.channel-details-val {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.channel-details-val a {
  word-break: break-all;
  overflow-wrap: anywhere;
}

.channel-details-val a:hover {
  color: var(--skem-cyan);
}

.channel-details-sub {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

.direct-actions-row {
  display: flex;
  gap: 12px;
  margin-top: 30px;
  flex-wrap: wrap;
}

/* Quote Form Container */
.quote-form-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-steel);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.form-title {
  font-size: 1.7rem;
  margin-bottom: 8px;
  color: #ffffff;
}

.form-sub {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
}

.form-label .req {
  color: var(--skem-cyan);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 13px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-size: 16px; /* Exactly 16px to prevent iOS Safari auto-zoom viewport distortion */
  -webkit-appearance: none;
  appearance: none;
  transition: all var(--transition-fast);
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238fa0b5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
  cursor: pointer;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--skem-blue-bright);
  background: var(--bg-card-hover);
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2);
  outline: none;
}

.form-select option {
  background-color: var(--bg-surface);
  color: #ffffff;
}

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

.honeypot-field {
  display: none !important;
  visibility: hidden;
}

.form-notice {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 14px;
}

.form-status-msg {
  padding: 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-top: 16px;
  display: none;
}

.form-status-msg.success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--safety-green);
  color: #6ee7b7;
  display: block;
}

.form-status-msg.error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid #ef4444;
  color: #fca5a5;
  display: block;
}

/* --------------------------------------------------------------------------
   13. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background: #06080d;
  border-top: 1px solid var(--border-steel);
  padding-top: 80px;
  padding-bottom: 50px;
  position: relative;
}

.footer-main-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 50px;
}

.footer-brand-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-logo {
  height: 48px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
  display: block;
}

.footer-brand-title {
  font-family: var(--font-heading);
  font-size: clamp(0.95rem, 4vw, 1.05rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.02em;
  line-height: 1.35;
  word-break: break-word;
}

.footer-positioning-tag {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--skem-cyan);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.45;
  word-break: break-word;
}

.footer-tagline {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 100%;
}

.footer-action-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.footer-gstin-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-steel);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--skem-cyan);
  max-width: 100%;
  word-break: break-all;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  display: inline-block;
  padding: 2px 0;
}

.footer-link:hover {
  color: var(--skem-blue-bright);
}

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

.footer-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  word-break: break-word;
}

.footer-contact-row svg {
  color: var(--skem-cyan);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact-row a {
  word-break: break-all;
  overflow-wrap: anywhere;
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 30px;
  padding-bottom: 20px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 16px;
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   14. LIGHTBOX & MODALS
   -------------------------------------------------------------------------- */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 2500;
  background: rgba(5, 7, 10, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  padding: 20px;
}

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

.lightbox-container {
  position: relative;
  max-width: 1000px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-media-wrapper {
  position: relative;
  width: 100%;
  max-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000000;
  border: 1px solid var(--border-steel);
}

.lightbox-media-wrapper img,
.lightbox-media-wrapper video {
  max-height: 75vh;
  max-width: 100%;
  object-fit: contain;
}

.lightbox-caption-box {
  margin-top: 16px;
  text-align: center;
  color: #ffffff;
}

.lightbox-caption-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
}

.lightbox-caption-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.lightbox-close-btn {
  position: absolute;
  top: -48px;
  right: 0;
  color: #ffffff;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
}

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

.lightbox-nav-btn:hover {
  background: var(--skem-blue);
}

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

/* --------------------------------------------------------------------------
   15. FULLSCREEN PROJECT DETAIL MODAL (PHASE 2)
   -------------------------------------------------------------------------- */
.project-detail-modal {
  position: fixed;
  inset: 0;
  z-index: 2200;
  background: rgba(5, 7, 10, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  padding: 30px 20px;
  overflow-y: auto;
}

.project-detail-modal.open {
  opacity: 1;
  visibility: visible;
}

.project-detail-wrapper {
  position: relative;
  width: 100%;
  max-width: 1080px;
  background: var(--bg-surface);
  border: 1px solid var(--border-steel-light);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-lg);
  margin: auto;
}

.project-detail-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.project-modal-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-steel);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.project-modal-back-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
}

.project-detail-close-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-steel);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
}

.project-detail-close-btn:hover {
  color: #ffffff;
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.project-detail-tag {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--skem-cyan);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.project-detail-title {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  color: #ffffff;
  margin-bottom: 12px;
}

.project-detail-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 860px;
  margin-bottom: 32px;
}

.project-detail-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 36px;
}

.project-detail-gallery-thumb {
  position: relative;
  height: 220px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-steel);
  background: #000000;
  cursor: pointer;
}

.project-detail-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-fast);
}

.project-detail-gallery-thumb:hover img {
  transform: scale(1.06);
}

.project-detail-video-container {
  margin-bottom: 36px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-steel);
  background-color: #000000;
}

.project-detail-video-container video {
  width: 100%;
  max-height: 480px;
  object-fit: contain;
}

.project-detail-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.project-action-buttons-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Quote Modal */
.quote-modal {
  position: fixed;
  inset: 0;
  z-index: 2300;
  background: rgba(5, 7, 10, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  padding: 16px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.quote-modal.open {
  opacity: 1;
  visibility: visible;
}

.quote-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 650px;
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--bg-surface);
  border: 1px solid var(--border-steel-light);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
  margin: auto;
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  color: #ffffff;
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

/* --------------------------------------------------------------------------
   16. MOBILE STICKY BOTTOM ACTION BAR (OPTIMIZED FOR ALL IPHONES & ANDROIDS)
   -------------------------------------------------------------------------- */
/* Suppress Netlify injected badge from covering mobile action buttons */
[id*="netlify"],
[class*="netlify"],
div[data-netlify-deploy-id],
.netlify-badge,
#netlify-badge,
a[href*="netlify.com"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
  z-index: -9999 !important;
}

.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  height: calc(var(--mobile-bar-height) + env(safe-area-inset-bottom, 0px));
  min-height: var(--mobile-bar-height);
  background: rgba(10, 13, 20, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-steel);
  z-index: 99999 !important;
  padding: 8px 14px;
  padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
}

.mobile-sticky-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  height: 48px;
  width: 100%;
  max-width: 100%;
}

.sticky-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  height: 48px;
  min-height: 48px;
  transition: transform var(--transition-fast), filter var(--transition-fast);
  white-space: nowrap;
}

.sticky-action-btn:active {
  transform: scale(0.98);
}

.sticky-action-btn.call {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-steel-light);
  color: #ffffff;
}

.sticky-action-btn.whatsapp {
  background: var(--whatsapp-green);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

/* --------------------------------------------------------------------------
   17. COMPREHENSIVE RESPONSIVE BREAKPOINTS (ALL PHONES & TABLETS)
   -------------------------------------------------------------------------- */

/* TABLETS & SMALL LAPTOPS (<= 1100px) */
@media (max-width: 1100px) {
  .project-card-featured {
    grid-column: span 12;
  }
  .project-card-featured.span-4 {
    grid-column: span 6;
  }
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-main-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
}

/* IPAD & TABLETS (<= 1024px) */
@media (max-width: 1024px) {
  /* Prevent navigation cut-off on tablets, iPad, and high-DPI displays */
  .nav-menu-wrapper {
    display: none !important;
  }
  .nav-actions .btn-primary,
  .nav-contact-link {
    display: none !important;
  }
  .nav-toggle {
    display: flex !important;
    flex-shrink: 0;
  }
  /* Hide lengthy subtitle so tablet header never overflows */
  .brand-sub {
    display: none !important;
  }
  .brand-logo-img {
    height: 40px;
    max-width: 90px;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .videos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

/* MEDIUM TABLETS & LARGE PHONES (<= 900px) */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .about-main-image {
    height: 320px;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .project-detail-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* MOBILE PHONES & PHABLETS (<= 768px) */
@media (max-width: 768px) {
  /* Layout Root Constraints */
  html, body {
    overflow-x: hidden;
    max-width: 100vw;
    width: 100%;
  }

  .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .section {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  /* Compact Zero-Overflow Mobile Header */
  .site-header {
    height: calc(64px + env(safe-area-inset-top, 0px));
    padding-top: env(safe-area-inset-top, 0px);
  }
  .site-header.scrolled {
    height: calc(58px + env(safe-area-inset-top, 0px));
  }

  .nav-container {
    gap: 10px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .brand-wrapper {
    gap: 8px;
    min-width: 0;
    flex-shrink: 1;
  }

  .brand-logo-img {
    height: 36px;
    max-width: 78px;
    flex-shrink: 0;
  }

  .site-header.scrolled .brand-logo-img {
    height: 32px;
    max-width: 70px;
  }

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

  .brand-sub {
    display: none !important;
  }

  /* WhatsApp button is safely in bottom sticky bar - hide from header on mobile so hamburger is NEVER pushed off */
  .nav-actions .btn-whatsapp {
    display: none !important;
  }

  .nav-actions {
    margin-left: auto;
    flex-shrink: 0;
    gap: 8px;
  }

  .nav-toggle {
    display: flex !important;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-steel-light);
  }

  /* Bottom Sticky Bar Display */
  .mobile-sticky-bar {
    display: block !important;
  }

  body {
    padding-bottom: 0;
  }

  /* Cinematic Hero - Mobile Optimized */
  .hero-section {
    min-height: auto;
    padding-top: calc(76px + env(safe-area-inset-top, 0px));
    padding-bottom: 40px;
  }

  .hero-brand-tag {
    padding: 6px 14px;
    gap: 8px;
    max-width: 100%;
    margin-bottom: 16px;
  }

  .hero-brand-logo-small {
    height: 18px;
  }

  .hero-brand-tag-text {
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    white-space: normal;
  }

  .hero-title {
    font-size: clamp(1.65rem, 6.2vw, 2.25rem);
    line-height: 1.15;
    margin-bottom: 16px;
  }

  .hero-lead {
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 24px;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 12px;
    margin-bottom: 28px;
  }

  .hero-cta-group .btn {
    width: 100%;
    padding: 13px 18px;
    font-size: 0.92rem;
  }

  .hero-trust-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding-top: 18px;
  }

  .trust-item {
    gap: 8px;
  }

  .trust-icon {
    width: 20px;
    height: 20px;
  }

  .trust-text-title {
    font-size: 0.82rem;
  }

  .trust-text-sub {
    font-size: 0.72rem;
  }

  /* About Section */
  .about-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .stat-card {
    padding: 16px 12px;
  }

  .stat-number {
    font-size: 1.7rem;
  }

  .stat-label {
    font-size: 0.76rem;
  }

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

  /* Services Grid */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-card {
    padding: 22px 18px;
  }

  /* Real Projects */
  .project-card-featured,
  .project-card-featured.span-4 {
    grid-column: span 12;
  }

  .project-hero-media,
  .project-hero-media.tall {
    height: 230px;
  }

  .project-card-body {
    padding: 20px 16px;
  }

  .project-action-buttons-group {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .project-action-buttons-group .btn {
    width: 100%;
    justify-content: center;
  }

  /* Work In Action Videos */
  .videos-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Work Gallery */
  .gallery-filters {
    gap: 8px;
    margin-bottom: 24px;
  }

  .filter-btn {
    padding: 6px 14px;
    font-size: 0.8rem;
  }

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

  .gallery-item {
    height: 180px;
  }

  /* Why SKEM */
  .why-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Contact Section */
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .contact-info-card,
  .quote-form-card {
    padding: 22px 16px;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .contact-header-title {
    font-size: clamp(1.35rem, 5vw, 1.65rem);
    line-height: 1.25;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .channel-item {
    gap: 12px;
  }

  .channel-icon-box {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }

  .channel-details-val {
    font-size: 0.92rem;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .direct-actions-row {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .direct-actions-row .btn {
    width: 100%;
    justify-content: center;
  }

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

  /* Modals & Dialogs on Mobile */
  .project-detail-wrapper {
    padding: 20px 14px;
    max-height: calc(100dvh - 24px);
    width: 96%;
  }

  .quote-modal-dialog {
    padding: 22px 16px;
    max-height: calc(100dvh - 24px);
    width: 96%;
  }

  .project-detail-gallery-grid {
    grid-template-columns: 1fr;
  }

  .lightbox-container {
    max-height: calc(100dvh - 24px);
  }

  .lightbox-media-wrapper {
    max-height: 60dvh;
  }

  .lightbox-close-btn {
    top: 10px;
    right: 10px;
    width: 42px;
    height: 42px;
    background: rgba(10, 13, 20, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 10;
  }

  .lightbox-nav-btn {
    width: 40px;
    height: 40px;
  }
  .lightbox-prev { left: 6px; }
  .lightbox-next { right: 6px; }

  /* Footer on Mobile */
  .site-footer {
    padding-top: 40px;
    padding-bottom: calc(var(--mobile-bar-height) + env(safe-area-inset-bottom, 0px) + 38px);
  }

  .footer-main-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 30px;
  }

  .footer-action-buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
    margin-top: 16px;
  }

  .footer-action-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .footer-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 12px;
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: 0.78rem;
    line-height: 1.6;
    border-top: 1px solid var(--border-subtle);
  }

  /* Drawer on Mobile */
  .mobile-drawer {
    width: 86%;
    max-width: 320px;
    z-index: 999999;
  }
  .mobile-drawer-backdrop {
    z-index: 999998;
  }
}

/* COMPACT SMARTPHONES (<= 480px) */
@media (max-width: 480px) {
  .brand-logo-img {
    height: 34px;
    max-width: 72px;
  }
  .brand-name {
    font-size: 0.9rem;
  }
  .hero-trust-bar {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-item {
    height: 210px;
  }
  .about-main-image {
    height: 240px;
  }
  .footer-brand-title {
    font-size: 0.95rem;
  }
  .footer-positioning-tag {
    font-size: 0.68rem;
  }
  .footer-contact-row {
    font-size: 0.84rem;
  }
  .sticky-action-btn {
    font-size: 0.86rem;
  }
}

/* EXTRA SMALL SMARTPHONES (<= 360px - iPhone SE 1st gen, Galaxy A series) */
@media (max-width: 360px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .brand-name {
    font-size: 0.82rem;
  }
  .brand-logo-img {
    height: 30px;
    max-width: 65px;
  }
  .btn {
    padding: 11px 13px;
    font-size: 0.86rem;
  }
  .btn-lg {
    padding: 12px 14px;
    font-size: 0.88rem;
  }
  .project-hero-media,
  .project-hero-media.tall {
    height: 190px;
  }
  .service-card {
    padding: 16px 12px;
  }
  .project-card-body {
    padding: 16px 12px;
  }
  .sticky-action-btn {
    font-size: 0.82rem;
    gap: 6px;
  }
  .sticky-action-btn svg {
    width: 15px;
    height: 15px;
  }
  .site-footer {
    padding-top: 36px;
    padding-bottom: calc(var(--mobile-bar-height) + env(safe-area-inset-bottom, 0px) + 36px);
  }
  .footer-bottom-bar {
    font-size: 0.74rem;
    gap: 8px;
  }
}
