/* ==========================================================================
   DIAMOND ALUMINIUM FABRICATOR - MODERN ARCHITECTURAL DESIGN SYSTEM
   Follows 60-30-10 Color Rule:
   - 60% Dominant Base: Pure White & Polished Light Aluminium (#FFFFFF / #F8FAFC / #F1F5F9)
   - 30% Secondary Structure: Deep Architectural Aluminium Teal & Graphite (#0B191B / #132E30 / #1C4144)
   - 10% Bright Accent: Radiant Electric Amber-Gold (#FF9F0A / #FFAF26)
   ========================================================================== */

:root {
  /* 60% Base Canvas & Aluminium Silvers */
  --bg-white: #ffffff;
  --bg-light: #f8fafc;
  --bg-subtle: #f1f5f9;
  --bg-silver: #eef3f7;
  --text-main: #334155;
  --text-muted: #64748b;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;

  /* 30% Structural Aluminium Teal & Deep Graphite */
  --teal-deep: #0b191b;
  --teal: #132e30;
  --teal-light: #1c4144;
  --teal-surface: #17383a;
  --teal-border: #295356;
  --text-dark: #0f2426;
  --text-light: #f1f5f9;
  --text-light-muted: #94a3b8;

  /* 10% Bright Accent: Radiant Industrial Gold / Electric Amber */
  --accent: #ff9f0a;
  --accent-hover: #f59100;
  --accent-light: #fff3df;
  --accent-glow: rgba(255, 159, 10, 0.35);
  --accent-contrast: #0b191b;

  /* Architectural Radii & Shadows */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 4px 14px rgba(11, 25, 27, 0.05);
  --shadow-md: 0 10px 30px rgba(11, 25, 27, 0.08);
  --shadow-lg: 0 20px 50px rgba(11, 25, 27, 0.12);
  --shadow-glow: 0 8px 24px var(--accent-glow);
  --header-height: 82px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  overflow-x: hidden;
  overflow-y: scroll;
}

body {
  margin: 0;
  color: var(--text-main);
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.68;
  background-color: var(--bg-white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Manrope", sans-serif;
  line-height: 1.2;
  color: var(--text-dark);
  margin: 0 0 16px;
  font-weight: 800;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  letter-spacing: -0.03em;
}

h3 {
  font-size: 1.35rem;
}

h4 {
  font-size: 1.1rem;
}

p {
  margin: 0 0 16px;
  color: var(--text-muted);
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: inherit;
  transition: color 0.2s ease;
}

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

.container {
  width: min(1180px, calc(100% - 44px));
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   TOPBAR & HEADER NAVIGATION
   ========================================================================== */
.topbar {
  background: var(--teal-deep);
  color: #e2e8f0;
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-inner {
  display: flex;
  gap: 24px;
  align-items: center;
  min-height: 40px;
}

.topbar a {
  color: #f8fafc;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

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

.top-phones {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.top-phones .sep {
  opacity: 0.5;
  margin: 0 2px;
}

.top-note {
  margin-left: auto;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-note::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(19, 46, 48, 0.08);
  transition: all 0.3s ease;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.brand img {
  width: 220px;
  max-width: 58vw;
  height: auto;
  max-height: 56px;
  object-fit: contain;
  transition: transform 0.2s;
}

.brand:hover img {
  transform: scale(1.02);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.main-nav a {
  color: var(--teal);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  position: relative;
  padding: 8px 0;
  transition: color 0.2s;
}

.main-nav a:hover {
  color: var(--text-dark);
}

.main-nav a.active::after,
.main-nav a:hover::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent);
  border-radius: 4px;
}

.main-nav .nav-cta {
  background: var(--accent);
  color: var(--accent-contrast);
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 16px var(--accent-glow);
  transition: all 0.25s ease;
}

.main-nav .nav-cta::after {
  display: none !important;
}

.main-nav .nav-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--accent-glow);
  color: var(--accent-contrast);
}

.menu-toggle {
  display: none;
  border: 1px solid rgba(19, 46, 48, 0.15);
  background: var(--teal);
  color: #fff;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s;
}

.menu-toggle:hover {
  background: var(--teal-light);
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.btn:hover {
  transform: translateY(-2px);
}

/* Bright 10% Accent Button */
.btn-lime,
.btn-accent {
  background: var(--accent);
  color: var(--accent-contrast) !important;
  box-shadow: 0 6px 20px var(--accent-glow);
  border-color: var(--accent);
}

.btn-lime:hover,
.btn-accent:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  box-shadow: 0 8px 24px rgba(255, 159, 10, 0.45);
}

/* Structural Dark 30% Button */
.btn-dark {
  background: var(--teal);
  color: #ffffff !important;
  border-color: var(--teal);
  box-shadow: 0 4px 16px rgba(11, 25, 27, 0.15);
}

.btn-dark:hover {
  background: var(--teal-light);
  border-color: var(--teal-light);
  box-shadow: 0 8px 22px rgba(11, 25, 27, 0.22);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.65);
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(6px);
}

.btn-outline:hover {
  background: #ffffff;
  color: var(--teal-deep) !important;
  border-color: #ffffff;
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff !important;
  background: transparent;
}

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

.text-link {
  font-weight: 800;
  color: var(--teal);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s;
}

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

/* Eyebrows / Architectural Spec Tags */
.eyebrow {
  display: inline-flex;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 800;
  font-size: 0.74rem;
  color: var(--teal);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 3px;
  background: var(--accent);
  margin-right: 10px;
  border-radius: 2px;
}

.eyebrow.light {
  color: var(--accent);
}

.eyebrow.light::before {
  background: var(--accent);
}

/* ==========================================================================
   SECTIONS & PARALLAX BACKGROUNDS
   Alternate sections with transparent architectural patterns & parallax
   ========================================================================== */
.section {
  padding: 95px 0;
  position: relative;
}

.section-sm {
  padding: 65px 0;
}

/* 60% Clean Light Architectural Canvas */
.section-cream,
.section-light-alt {
  background-color: var(--bg-light);
  /* Transparent Architectural CAD Diamond Grid Pattern */
  background-image: 
    radial-gradient(circle, rgba(19, 46, 48, 0.07) 1.2px, transparent 1.2px),
    linear-gradient(135deg, rgba(248, 250, 252, 0.95), rgba(241, 245, 249, 0.95));
  background-size: 32px 32px, 100% 100%;
  border-top: 1px solid rgba(19, 46, 48, 0.05);
  border-bottom: 1px solid rgba(19, 46, 48, 0.05);
}

/* 30% Structural Dark Aluminium Section */
.section-dark {
  background-color: var(--teal-deep);
  color: #ffffff;
  position: relative;
  overflow: hidden;
  /* Transparent Blueprint Grid Pattern */
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(ellipse at 80% 20%, rgba(28, 65, 68, 0.6) 0%, transparent 60%);
  background-size: 40px 40px, 40px 40px, 100% 100%;
}

.section-dark h1,
.section-dark h2,
.section-dark h3 {
  color: #ffffff;
}

.section-dark p {
  color: #cbd5e1;
}

/* Parallax Photography Sections */
.cta-banner,
.page-hero,
.parallax-section {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #ffffff;
  overflow: hidden;
}

.cta-banner {
  padding: 85px 0;
  background-image: 
    linear-gradient(115deg, rgba(11, 25, 27, 0.94) 0%, rgba(19, 46, 48, 0.88) 55%, rgba(19, 46, 48, 0.7) 100%),
    url('../images/projects/diamond-aluminium-fabricator (18).jpeg');
  border-top: 2px solid rgba(255, 159, 10, 0.25);
  border-bottom: 2px solid rgba(255, 159, 10, 0.25);
}

.page-hero {
  padding: 95px 0;
  background-image: 
    linear-gradient(115deg, rgba(11, 25, 27, 0.95) 0%, rgba(19, 46, 48, 0.85) 60%, rgba(19, 46, 48, 0.65) 100%),
    url('../images/projects/diamond-aluminium-fabricator (12).jpeg');
}

.page-hero h1 {
  color: #ffffff;
  font-size: clamp(2.2rem, 4.2vw, 3.6rem);
}

.page-hero p {
  color: #e2e8f0;
}

.breadcrumbs {
  color: #cbd5e1;
  font-size: 0.9rem;
  margin-top: 14px;
}

.breadcrumbs a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

/* Section Headings */
.section-heading {
  max-width: 740px;
  margin-bottom: 46px;
}

.section-heading.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-heading.center .eyebrow::before {
  display: none;
}

/* ==========================================================================
   HERO SLIDER
   ========================================================================== */
.hero {
  min-height: 640px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--teal-deep);
  color: #ffffff;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1s ease-in-out, transform 7s ease-out;
}

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

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 25, 27, 0.94) 0%, rgba(19, 46, 48, 0.78) 50%, rgba(19, 46, 48, 0.25) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  max-width: 740px;
  padding: 100px 0;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  font-weight: 800;
  margin-bottom: 14px;
  background: rgba(255, 159, 10, 0.12);
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 159, 10, 0.3);
}

.hero h1 {
  color: #ffffff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.15rem;
  color: #f1f5f9;
  text-shadow: 0 2px 12px rgba(11, 25, 27, 0.8);
  max-width: 600px;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-dots {
  position: absolute;
  z-index: 4;
  bottom: 28px;
  left: 50%;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.hero-dots button {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  background: #cbd5e1;
  opacity: 0.6;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-dots button.active {
  width: 32px;
  border-radius: 6px;
  background: var(--accent);
  opacity: 1;
}

.hero-arrow {
  position: absolute;
  z-index: 4;
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(11, 25, 27, 0.6);
  backdrop-filter: blur(8px);
  color: #fff;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.2s;
}

.hero-arrow:hover {
  background: var(--accent);
  color: var(--accent-contrast);
  border-color: var(--accent);
}

.hero-arrow.prev { left: 24px; }
.hero-arrow.next { right: 24px; }

/* ==========================================================================
   SPLIT LAYOUT & ROBUST IMAGE STACK (FIXES IMAGE 1 COLLISION)
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.image-stack {
  position: relative;
  min-height: 460px;
  width: 100%;
}

.image-stack img {
  position: absolute;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
}

.image-stack .img-a {
  width: 72%;
  height: 330px;
  left: 0;
  top: 0;
  z-index: 1;
  border: 1px solid rgba(19, 46, 48, 0.1);
}

.image-stack .img-b {
  width: 60%;
  height: 250px;
  right: 0;
  bottom: 0;
  z-index: 2;
  border: 8px solid var(--bg-white);
}

.image-stack .img-c {
  width: 135px;
  height: 135px;
  right: 6%;
  top: 4%;
  z-index: 3;
  border: 6px solid var(--bg-white);
}

.experience-badge {
  position: absolute;
  left: 45%;
  top: 45%;
  transform: translate(-50%, -50%);
  width: 116px;
  height: 116px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  text-align: center;
  background: var(--teal-deep);
  border: 4px solid var(--accent);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.78rem;
  line-height: 1.25;
  box-shadow: var(--shadow-lg), 0 0 20px var(--accent-glow);
  z-index: 4;
}

.experience-badge strong {
  font-size: 1.7rem;
  color: var(--accent);
  line-height: 1;
  display: block;
}

.feature-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.88rem;
  background: var(--bg-white);
  padding: 8px 16px;
  border-radius: 99px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  color: var(--text-dark);
}

.feature-pill b {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  background: var(--accent-light);
  border-radius: 50%;
  color: var(--accent-contrast);
  font-size: 0.8rem;
}

/* ==========================================================================
   CARDS & GRID SYSTEM
   ========================================================================== */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.card {
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 159, 10, 0.4);
}

.card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.card:hover img {
  transform: scale(1.04);
}

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

.card-body h3 {
  margin-bottom: 10px;
}

.card-body p {
  font-size: 0.94rem;
  line-height: 1.6;
  flex: 1;
}

.card-body .text-link {
  margin-top: 16px;
}

/* Home Page Gallery Card Preview */
.gallery-card-preview {
  display: flex;
  flex-direction: column;
}

.gallery-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 11;
  background: var(--teal-deep);
}

.gallery-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.gallery-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(11, 25, 27, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--accent);
  border: 1px solid rgba(255, 159, 10, 0.35);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  z-index: 2;
}

.gallery-card-title {
  font-size: 1.15rem;
  line-height: 1.35;
  margin-bottom: 8px;
}

.gallery-card-desc {
  font-size: 0.92rem;
  line-height: 1.55;
  color: #cbd5e1;
  margin-bottom: 0;
}

/* Glassmorphism Dark Cards (30% secondary structure) */
.dark-cards .card {
  background: rgba(23, 56, 58, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.dark-cards .card:hover {
  background: rgba(23, 56, 58, 0.9);
  border-color: rgba(255, 159, 10, 0.5);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.dark-cards .card h3 {
  color: #ffffff;
}

.dark-cards .card p {
  color: #cbd5e1;
}

.icon-circle {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  display: grid;
  place-items: center;
  color: var(--accent-contrast);
  font-size: 1.35rem;
  margin-bottom: 18px;
  box-shadow: 0 6px 18px var(--accent-glow);
}

/* ==========================================================================
   WORKFLOW / PROCESS SECTION (FIXES IMAGE 2 & IMAGE 3 BUGS)
   Generous full-width 4-step workflow, no squishing, no clipping
   ========================================================================== */
.process-section {
  position: relative;
}

.process-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px;
}

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

.step-card {
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px 22px;
  position: relative;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
  scroll-margin-top: 100px;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 159, 10, 0.45);
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--teal-deep);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 20px;
  border: 2px solid rgba(255, 159, 10, 0.35);
  box-shadow: 0 4px 14px rgba(11, 25, 27, 0.15);
}

.step-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-muted);
  flex: 1;
}

/* Legacy .process & .step backwards-compatible styling with fix */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
}

.step {
  padding: 26px 20px;
  border-radius: var(--radius-md);
  background: var(--bg-white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
  scroll-margin-top: 100px;
  transition: all 0.3s ease;
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 159, 10, 0.4);
}

.step-num {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--teal-deep);
  color: var(--accent);
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 18px;
  border: 1.5px solid var(--accent);
}

.step h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.step p {
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ==========================================================================
   STATS, FORMS, GALLERY & MAP
   ========================================================================== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.stat {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  text-align: center;
}

.stat strong {
  display: block;
  font: 800 2.2rem "Manrope", sans-serif;
  color: var(--accent);
  margin-bottom: 4px;
}

.stat span {
  font-size: 0.88rem;
  color: #cbd5e1;
}

/* Form Card */
.form-card {
  padding: 38px;
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--teal);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid #d1d5db;
  border-radius: var(--radius-sm);
  font: inherit;
  background: #fbfcfd;
  color: var(--text-dark);
  transition: all 0.2s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #ffffff;
  box-shadow: 0 0 0 3px var(--accent-glow);
}

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

.testimonial-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: block;
  margin-top: 10px;
}

/* Contact Layout */
.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 36px;
  align-items: flex-start;
}

.contact-info {
  padding: 38px;
  border-radius: var(--radius-lg);
  background: var(--teal-deep);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-lg);
}

.contact-info h2,
.contact-info h3 {
  color: #ffffff;
}

.contact-info h3 {
  font-size: 1.15rem;
  margin-top: 24px;
  margin-bottom: 8px;
  color: var(--accent);
}

.contact-info p,
.contact-info a {
  color: #cbd5e1;
  font-size: 0.95rem;
}

.contact-info a {
  display: inline-block;
  text-decoration: none;
  transition: color 0.2s;
}

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

.map-frame {
  width: 100%;
  height: 380px;
  border: 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-top: 24px;
}

/* ==========================================================================
   ENHANCED GALLERY & LIGHTBOX IMAGE VIEWER MODAL
   ========================================================================== */
.filters-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 38px;
}

.filters {
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  background: var(--bg-subtle);
  padding: 6px;
  border-radius: 99px;
  border: 1px solid var(--line);
}

.filter-btn {
  border: 1px solid transparent;
  background: transparent;
  padding: 8px 18px;
  border-radius: 99px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--teal);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.22s ease;
}

.filter-btn:hover {
  background: rgba(255, 255, 255, 0.8);
  color: var(--text-dark);
}

.filter-btn.active {
  background: var(--accent);
  color: var(--accent-contrast);
  border-color: var(--accent);
  box-shadow: 0 4px 14px var(--accent-glow);
}

.filter-count {
  background: rgba(11, 25, 27, 0.1);
  color: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 99px;
  min-width: 20px;
  text-align: center;
}

.filter-btn.active .filter-count {
  background: rgba(11, 25, 27, 0.2);
  color: var(--accent-contrast);
}

/* Gallery Masonry Layout */
.gallery-grid {
  columns: 3;
  column-gap: 22px;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 22px;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(19, 46, 48, 0.1);
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 159, 10, 0.5);
}

.gallery-link {
  display: block;
  position: relative;
  text-decoration: none;
  overflow: hidden;
}

.gallery-link img {
  width: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Gallery Hover Card Overlay */
.gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  background: linear-gradient(180deg, rgba(11, 25, 27, 0.15) 0%, rgba(11, 25, 27, 0.4) 45%, rgba(11, 25, 27, 0.94) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

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

.gallery-overlay-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  transform: translateY(-8px);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay-top {
  transform: translateY(0);
}

.gallery-tag {
  background: var(--accent);
  color: var(--accent-contrast);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
  box-shadow: 0 2px 8px var(--accent-glow);
}

.gallery-zoom-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.gallery-item:hover .gallery-zoom-icon {
  background: var(--accent);
  color: var(--accent-contrast);
  border-color: var(--accent);
  transform: scale(1.08);
}

.gallery-overlay-bottom {
  transform: translateY(10px);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay-bottom {
  transform: translateY(0);
}

.gallery-title {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 4px;
  line-height: 1.3;
}

.gallery-sub {
  color: #cbd5e1;
  font-size: 0.8rem;
  margin: 0;
}

/* ==========================================================================
   IMAGE VIEWER MODAL / LIGHTBOX WITH SLIDER & NAV BUTTONS
   ========================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(11, 25, 27, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  user-select: none;
  animation: lbFadeIn 0.25s ease-out;
}

@keyframes lbFadeIn {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

.lightbox.open {
  display: flex;
}

/* Lightbox Header Bar */
.lb-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(11, 25, 27, 0.5);
  z-index: 10;
}

.lb-info-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.lb-counter {
  background: rgba(255, 255, 255, 0.12);
  color: #f1f5f9;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.lb-category {
  background: var(--accent);
  color: var(--accent-contrast);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 6px;
}

.lb-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lb-btn-enquire {
  background: var(--accent);
  color: var(--accent-contrast);
  font-weight: 800;
  font-size: 0.84rem;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px var(--accent-glow);
}

.lb-btn-enquire:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  color: var(--accent-contrast);
}

.lb-close {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.25rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lb-close:hover {
  background: #ef4444;
  border-color: #ef4444;
  color: #ffffff;
  transform: rotate(90deg);
}

/* Lightbox Stage & Navigation Arrows */
.lb-stage {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 80px;
  overflow: hidden;
  min-height: 260px;
}

.lb-img-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  max-height: calc(75vh - 120px);
}

#lb-main-image {
  max-width: 100%;
  max-height: calc(75vh - 120px);
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

#lb-main-image.fade {
  opacity: 0.3;
  transform: scale(0.98);
}

/* Previous & Next Navigation Buttons */
.lb-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(11, 25, 27, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-size: 2rem;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.22s ease;
  z-index: 10;
}

.lb-nav-btn:hover {
  background: var(--accent);
  color: var(--accent-contrast);
  border-color: var(--accent);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 24px var(--accent-glow);
}

.lb-prev { left: 20px; }
.lb-next { right: 20px; }

/* Lightbox Caption Bar */
.lb-caption-bar {
  text-align: center;
  padding: 10px 24px 4px;
  max-width: 780px;
  margin: 0 auto;
}

.lb-title {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 4px;
}

.lb-desc {
  color: #94a3b8;
  font-size: 0.88rem;
  margin: 0;
}

/* Bottom Thumbnail Slider Strip */
.lb-thumbnails-strip {
  display: flex;
  gap: 10px;
  padding: 12px 24px 18px;
  overflow-x: auto;
  max-width: 100%;
  justify-content: flex-start;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) rgba(255, 255, 255, 0.1);
  background: rgba(11, 25, 27, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.lb-thumb {
  width: 64px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.45;
  border: 2px solid transparent;
  transition: all 0.2s ease;
}

.lb-thumb:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

.lb-thumb.active {
  opacity: 1;
  border-color: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
  transform: translateY(-2px) scale(1.08);
}

.lb-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* FAQs */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--teal);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  color: var(--accent);
  font-size: 1.4rem;
  font-weight: 700;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  padding: 16px 20px 0 0;
  font-size: 0.96rem;
}

/* ==========================================================================
   FOOTER CTA & MAIN FOOTER
   ========================================================================== */
.footer-cta {
  background: linear-gradient(115deg, var(--teal-deep) 0%, var(--teal) 100%);
  padding: 70px 0;
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-cta h2 {
  color: #ffffff;
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
}

.footer-cta p {
  color: #cbd5e1;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.footer {
  background: var(--teal-deep);
  color: #cbd5e1;
  padding: 75px 0 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

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

.footer h3 {
  color: var(--accent);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.footer p,
.footer a {
  color: #cbd5e1;
  font-size: 0.9rem;
}

.footer a {
  display: block;
  text-decoration: none;
  margin: 10px 0;
  transition: all 0.2s;
}

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

.footer-logo {
  width: 220px;
  max-width: 100%;
  height: auto;
  background: #ffffff;
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  margin-bottom: 18px;
  object-fit: contain;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 48px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.82rem;
  color: #94a3b8;
}

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

/* ==========================================================================
   FLOATING ACTION BUTTONS (CALL & WHATSAPP)
   ========================================================================== */
.floating-actions {
  position: fixed;
  z-index: 1000;
  right: 24px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.floating-actions a {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-decoration: none;
  font-size: 1.4rem;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  transition: transform 0.25s, box-shadow 0.25s;
}

.floating-actions a svg {
  display: block;
  fill: currentColor;
  transition: transform 0.2s ease;
}

.floating-actions a:hover svg {
  transform: scale(1.08);
}

.float-call {
  background: var(--teal);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.float-call:hover {
  box-shadow: 0 10px 28px rgba(19, 46, 48, 0.5);
}

.float-wa {
  background: #25d366;
  border: 2px solid rgba(255, 255, 255, 0.35);
}

.float-wa:hover {
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
}

/* ==========================================================================
   RESPONSIVE DESIGN & MOBILE OVERFLOW FIXES
   ========================================================================== */
@media (max-width: 991px) {
  .split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

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

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

@media (max-width: 768px) {
  :root {
    --header-height: 72px;
  }

  .container {
    width: min(100% - 32px, 600px);
  }

  .topbar-inner {
    gap: 14px;
    font-size: 0.74rem;
  }

  .top-note {
    display: none;
  }

  .brand img {
    width: 175px;
    max-width: 58vw;
    max-height: 48px;
    object-fit: contain;
  }

  .menu-toggle {
    display: block;
  }

  /* Smooth mobile navigation drawer */
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 20px 24px 26px;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.12);
    border-bottom: 2px solid var(--accent);
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.96rem;
  }

  .main-nav a:hover,
  .main-nav a.active {
    background: var(--bg-subtle);
  }

  .main-nav a::after {
    display: none !important;
  }

  .main-nav .nav-cta {
    text-align: center;
    justify-content: center;
    margin-top: 10px;
    padding: 13px;
  }

  .section {
    padding: 70px 0;
  }

  .section-sm {
    padding: 50px 0;
  }

  .hero {
    min-height: 580px;
  }

  .hero-content {
    padding: 75px 0;
  }

  .hero-arrow {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
  }

  .hero-arrow.prev { left: 12px; }
  .hero-arrow.next { right: 12px; }

  /* Mobile Image Stack: Clean Non-Overlapping Proportions (Fix Image 1) */
  .image-stack {
    min-height: 350px;
    margin-top: 20px;
  }

  .image-stack .img-a {
    width: 74%;
    height: 250px;
  }

  .image-stack .img-b {
    width: 58%;
    height: 190px;
    border-width: 6px;
  }

  .image-stack .img-c {
    width: 105px;
    height: 105px;
    right: 3%;
    top: 3%;
    border-width: 4px;
  }

  .experience-badge {
    left: 42%;
    top: 50%;
    width: 96px;
    height: 96px;
    border-width: 3px;
    font-size: 0.72rem;
  }

  .experience-badge strong {
    font-size: 1.35rem;
  }

  /* Cards on Mobile */
  .cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Workflow & Process on Mobile (Fix Image 2 & 3) */
  .process-grid,
  .process {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .step-card,
  .step {
    padding: 22px 18px;
  }

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

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .cta-actions {
    width: 100%;
  }

  .cta-actions .btn {
    flex: 1;
    min-width: 140px;
  }

  .form-card {
    padding: 26px 20px;
  }

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

  .field.full {
    grid-column: auto;
  }

  .gallery-grid {
    columns: 2;
    column-gap: 14px;
  }

  .gallery-item {
    margin-bottom: 14px;
  }

  /* Gallery Overlay permanently readable on touch mobile */
  .gallery-overlay {
    opacity: 1;
    background: linear-gradient(180deg, rgba(11,25,27,0) 0%, rgba(11,25,27,0.3) 40%, rgba(11,25,27,0.85) 100%);
  }

  .gallery-overlay-top,
  .gallery-overlay-bottom {
    transform: none;
  }

  /* Lightbox Mobile Optimization */
  .lb-header {
    padding: 10px 14px;
  }

  .lb-info-pill {
    gap: 8px;
  }

  .lb-counter {
    font-size: 0.75rem;
    padding: 3px 8px;
  }

  .lb-category {
    font-size: 0.7rem;
    padding: 3px 8px;
  }

  .lb-btn-enquire {
    font-size: 0.76rem;
    padding: 6px 12px;
  }

  .lb-close {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
    margin-left: 6px;
  }

  .lb-stage {
    padding: 10px 44px;
    min-height: 200px;
  }

  .lb-nav-btn {
    width: 40px;
    height: 40px;
    font-size: 1.6rem;
  }

  .lb-prev { left: 6px; }
  .lb-next { right: 6px; }

  #lb-main-image {
    max-height: calc(60vh - 80px);
  }

  .lb-caption-bar {
    padding: 6px 14px 2px;
  }

  .lb-title {
    font-size: 1rem;
  }

  .lb-desc {
    font-size: 0.78rem;
  }

  .lb-thumbnails-strip {
    padding: 8px 12px 14px;
    gap: 8px;
  }

  .lb-thumb {
    width: 50px;
    height: 36px;
  }

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

  .floating-actions {
    right: 16px;
    bottom: 16px;
  }

  .floating-actions a {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
  }
}

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

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

  .hero h1 {
    font-size: 2.2rem;
  }

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