/* ==========================================================================
   GREENPLACE DESIGN & DRAFTING - PROJECTS PAGE STYLESHEET
   Exact Match to Client Project Page Design Mockup
   ========================================================================== */

/* --- CSS Variables & Design Tokens --- */
:root {
  --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Playfair Display', serif;

  --color-primary-green: #00c874;
  --color-accent-green: #00e68a;
  --color-dark-green: #275d38;
  --color-deep-forest: #081a10;
  --color-dark-bg: #0b1419;

  --color-text-dark: #111827;
  --color-text-body: #4b5563;
  --color-text-muted: #6b7280;
  --color-white: #ffffff;
  --color-offwhite: #f9fafb;
  --color-card-border: #f0f2f5;

  --header-height: 86px;
  --border-radius-pill: 9999px;
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  background-color: #0b1419;
}

body.projects-page {
  font-family: var(--font-body);
  color: var(--color-text-dark);
  background-color: #ffffff;
  overflow-x: hidden;
  line-height: 1.6;
  position: relative;
  width: 100%;
  max-width: 100vw;
}

/* ==========================================================================
   SITE HEADER & NAVIGATION (Matching Home & Services)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: transparent;
  z-index: 1000;
  transition: background 0.35s ease, box-shadow 0.35s ease, height 0.35s ease;
}

.site-header.scrolled {
  background: rgba(8, 18, 12, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.45);
  border-bottom: 1px solid rgba(0, 210, 122, 0.15);
}

.header-container {
  max-width: 1440px;
  height: 100%;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #ffffff;
}

.brand-logo-mark {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-logo-mark svg {
  width: 100%;
  height: 100%;
}

.brand-logo-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.3px;
  line-height: 1.1;
}

.brand-tagline {
  font-family: var(--font-heading);
  font-size: 8.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

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

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

.nav-link {
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  letter-spacing: 0.8px;
  padding: 6px 0;
  position: relative;
  transition: color var(--transition-fast);
}

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

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background-color: var(--color-accent-green);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(0, 230, 138, 0.6);
}

/* Header Contact CTA Button */
.header-cta-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-contact-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background-color: #00c874;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.9px;
  padding: 10px 22px;
  border-radius: var(--border-radius-pill);
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 3px 14px rgba(0, 200, 116, 0.4);
  transition: all var(--transition-normal);
}

.header-contact-cta-btn:hover {
  background-color: #00e68a;
  box-shadow: 0 6px 20px rgba(0, 230, 138, 0.55);
  transform: translateY(-2px);
}

.cta-msg-icon {
  width: 16px;
  height: 16px;
}

.cta-arrow {
  transition: transform var(--transition-fast);
}

.header-contact-cta-btn:hover .cta-arrow {
  transform: translateX(4px);
}

/* Mobile Toggle Button */
.mobile-toggle-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1002;
}

.mobile-toggle-btn .bar {
  width: 100%;
  height: 2.5px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: all var(--transition-normal);
}

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

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

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

/* Mobile Navigation Drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  background: rgba(6, 16, 11, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 30px 24px 40px;
  z-index: 999;
  border-bottom: 2px solid rgba(0, 210, 122, 0.25);
  transform: translateY(-110%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer.open {
  transform: translateY(0);
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #ffffff;
  text-decoration: none;
  display: block;
  padding: 6px 0;
  transition: color var(--transition-fast);
}

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

.mobile-cta-item {
  margin-top: 10px;
}

.mobile-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #00c874;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.9px;
  padding: 12px 28px;
  border-radius: var(--border-radius-pill);
  text-decoration: none;
}

/* Social Sidebar */
.social-sidebar {
  position: fixed;
  left: 0;
  top: 200px;
  display: flex;
  flex-direction: column;
  z-index: 990;
  box-shadow: 2px 4px 16px rgba(0, 0, 0, 0.35);
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  overflow: hidden;
}

.social-link {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  transition: transform var(--transition-fast);
}

.social-link svg {
  width: 17px;
  height: 17px;
}

.social-link.facebook { background-color: #3b5998; }
.social-link.instagram { background-color: #222222; }
.social-link.youtube { background-color: #e62117; }

.social-link:hover {
  transform: translateX(4px);
  filter: brightness(1.15);
}

/* ==========================================================================
   PROJECTS HERO SECTION
   ========================================================================== */
.projects-hero-section {
  position: relative;
  width: 100%;
  min-height: 560px;
  height: 82vh;
  max-height: 800px;
  overflow: hidden;
  display: flex;
  align-items: center;
  background-color: var(--color-dark-bg);
}

.projects-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: url('hero1.webp');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 1;
}

.projects-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, 
      rgba(6, 16, 11, 0.94) 0%, 
      rgba(6, 16, 11, 0.88) 36%, 
      rgba(6, 16, 11, 0.5) 65%, 
      rgba(6, 16, 11, 0.15) 100%),
    linear-gradient(180deg, rgba(4, 12, 8, 0.7) 0%, transparent 25%);
}

.projects-hero-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: calc(var(--header-height) + 20px) 48px 30px;
}

.projects-hero-content {
  max-width: 640px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  animation: fadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-tagline-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.hero-accent-bar {
  width: 32px;
  height: 3px;
  background-color: #00d27a;
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(0, 210, 122, 0.7);
}

.hero-tagline-text {
  font-family: var(--font-heading);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #00e68a;
  text-transform: uppercase;
  text-shadow: 0 0 12px rgba(0, 230, 138, 0.5);
}

.projects-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4.4vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.6px;
  margin-bottom: 18px;
}

.projects-hero-title .title-white {
  display: block;
  color: #ffffff;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.6);
}

.projects-hero-title .title-green {
  display: block;
  color: #00e68a;
  text-shadow: 0 0 24px rgba(0, 230, 138, 0.4), 0 3px 16px rgba(0, 0, 0, 0.6);
}

.projects-hero-desc {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.2vw, 16.5px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 28px;
  max-width: 520px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.btn-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #00c874;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 13px 30px;
  border-radius: var(--border-radius-pill);
  box-shadow: 0 4px 22px rgba(0, 200, 116, 0.45);
  transition: all var(--transition-normal);
}

.btn-hero-pill:hover {
  background-color: #00e68a;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 230, 138, 0.55);
}

.btn-hero-pill .arrow {
  transition: transform var(--transition-fast);
}

.btn-hero-pill:hover .arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   RECENT PROJECTS GALLERY SECTION
   ========================================================================== */
.recent-projects-section {
  position: relative;
  padding: 90px 48px 100px;
  background: #ffffff;
}

.recent-projects-container {
  max-width: 1320px;
  margin: 0 auto;
}

/* Header Flex: Title on Left, Filter Tabs on Right */
.projects-header-flex {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.projects-title-col {
  display: flex;
  flex-direction: column;
}

.section-tagline-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.section-accent-bar {
  width: 26px;
  height: 3px;
  background-color: #00c874;
  border-radius: 2px;
}

.section-tagline-text {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.8px;
  color: #00c874;
  text-transform: uppercase;
}

.projects-main-heading {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.projects-main-heading .text-dark {
  color: var(--color-text-dark);
}

.projects-main-heading .text-green {
  color: #00c874;
}

/* Filter Tabs */
.project-filters-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f4f6f8;
  padding: 6px;
  border-radius: var(--border-radius-pill);
  flex-wrap: wrap;
}

.filter-btn {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: #4b5563;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px 18px;
  border-radius: var(--border-radius-pill);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.filter-btn:hover {
  color: #111827;
  background-color: rgba(255, 255, 255, 0.7);
}

.filter-btn.active {
  background-color: #0f3d26;
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(15, 61, 38, 0.28);
}

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

/* Individual Project Card */
.project-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background-color: #f1f3f5;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), opacity 0.4s ease;
  height: 280px;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.15);
}

.card-media-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.project-card:hover .card-image {
  transform: scale(1.08);
}

/* Hover Overlay with Zoom Icon & Category Pill */
.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 14, 9, 0.1) 0%, rgba(5, 14, 9, 0.75) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  transition: opacity var(--transition-fast);
  padding: 20px;
  z-index: 2;
}

.project-card:hover .card-overlay {
  opacity: 1;
}

.zoom-badge {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(0, 200, 116, 0.95);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  transform: scale(0.85);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.project-card:hover .zoom-badge {
  transform: scale(1);
}

.zoom-badge svg {
  width: 22px;
  height: 22px;
}

.card-cat-pill {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 6px 14px;
  border-radius: var(--border-radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Filter Hide/Show Animation Classes */
.project-card.is-hidden {
  display: none !important;
}

/* Extra Project Cards (Revealed by Load More) */
.project-card.extra-project {
  display: none;
}

.project-card.extra-project.is-visible {
  display: block;
  animation: cardFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Load More Projects Button */
.load-more-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 54px;
}

.btn-load-more {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: transparent;
  border: 1.5px solid #d1d5db;
  color: #1f2937;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 13px 32px;
  border-radius: var(--border-radius-pill);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.btn-load-more:hover {
  border-color: #00c874;
  color: #00a862;
  background-color: rgba(0, 200, 116, 0.05);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 200, 116, 0.15);
}

.btn-load-more .plus-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00c874;
  transition: transform var(--transition-fast);
}

.btn-load-more:hover .plus-icon {
  transform: rotate(90deg);
}

.btn-load-more.all-loaded {
  opacity: 0.6;
  cursor: default;
  pointer-events: none;
}

/* ==========================================================================
   HAVE A PROJECT IN MIND? (CTA BANNER)
   ========================================================================== */
.projects-cta-section {
  position: relative;
  width: 100%;
  min-height: 380px;
  overflow: hidden;
  display: flex;
  align-items: center;
  background-color: #08140e;
}

.projects-cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: url('hero1.webp');
  background-position: center 65%;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 1;
}

.projects-cta-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, 
      rgba(4, 16, 10, 0.96) 0%, 
      rgba(4, 16, 10, 0.92) 48%, 
      rgba(4, 16, 10, 0.5) 75%, 
      rgba(4, 16, 10, 0.15) 100%);
}

.projects-cta-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 70px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.projects-cta-content {
  max-width: 580px;
}

.cta-tagline-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.cta-accent-bar {
  width: 24px;
  height: 3px;
  background-color: #00d27a;
}

.cta-tagline-text {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  color: #00e68a;
  text-transform: uppercase;
}

.projects-cta-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: -0.4px;
  margin-bottom: 14px;
}

.projects-cta-title .title-green {
  color: #00e68a;
  text-shadow: 0 0 24px rgba(0, 230, 138, 0.35);
}

.projects-cta-desc {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 24px;
}

.btn-cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #00c874;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 13px 30px;
  border-radius: var(--border-radius-pill);
  box-shadow: 0 4px 22px rgba(0, 200, 116, 0.45);
  transition: all var(--transition-normal);
}

.btn-cta-pill:hover {
  background-color: #00e68a;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 230, 138, 0.55);
}

/* Right 3 Trust Badges on CTA */
.projects-cta-badges {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.cta-trust-badge {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cta-badge-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(0, 210, 122, 0.15);
  border: 1.5px solid rgba(0, 210, 122, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cta-badge-icon svg {
  width: 20px;
  height: 20px;
  stroke: #00e68a;
}

.cta-badge-text-group {
  display: flex;
  flex-direction: column;
}

.cta-badge-title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.3px;
  line-height: 1.25;
}

.cta-badge-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

/* ==========================================================================
   INTERACTIVE LIGHTBOX MODAL
   ========================================================================== */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(5, 14, 9, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

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

.lightbox-image-wrapper {
  max-width: 100%;
  max-height: 75vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
  font-family: var(--font-heading);
  font-size: 14.5px;
  font-weight: 600;
  color: #ffffff;
  margin-top: 14px;
  text-align: center;
  max-width: 600px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  z-index: 20;
}

.lightbox-close {
  top: -46px;
  right: 0;
  width: 38px;
  height: 38px;
  font-size: 22px;
}

.lightbox-prev {
  left: -58px;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  font-size: 20px;
}

.lightbox-next {
  right: -58px;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  font-size: 20px;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: #00c874;
  border-color: #00c874;
}

/* ==========================================================================
   SITE FOOTER SECTION
   Clean Editorial 4-Column Layout with Soft Grey Background & Serif Headings
   (Exact Match to Home Page)
   ========================================================================== */
.site-footer {
  position: relative;
  width: 100%;
  background-color: #e5e5e5;
  color: #2c3035;
  padding: 85px 32px 95px 32px;
  z-index: 5;
  overflow: hidden;
}

.footer-container {
  max-width: 1220px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1.25fr 1.05fr;
  gap: 52px;
  align-items: start;
}

/* Column 1: Brand */
.footer-col-brand {
  display: flex;
  flex-direction: column;
}

.footer-logo-link {
  display: inline-block;
  margin-bottom: 22px;
  transition: transform var(--transition-fast);
}

.footer-logo-link:hover {
  transform: scale(1.03);
}

.footer-logo-img {
  width: 205px;
  height: auto;
  display: block;
}

.footer-specialisation-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.9px;
  line-height: 1.72;
  color: #26292d;
  max-width: 260px;
  text-transform: uppercase;
}

/* Headings in Columns 2, 3, 4 */
.footer-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 23px;
  font-weight: 500;
  color: #17191c;
  margin: 0 0 24px 0;
  letter-spacing: 0.2px;
  line-height: 1.2;
}

/* Column 2: Navigation Links */
.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-nav-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.8px;
  color: #2c3035;
  text-decoration: none;
  display: inline-block;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.footer-nav-link:hover,
.footer-nav-link.active-footer-link {
  color: #24733b;
  transform: translateX(4px);
}

/* Column 3: Contact Us Details */
.footer-contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact-item {
  font-family: 'Montserrat', sans-serif;
  font-size: 13.5px;
  color: #31363c;
  line-height: 1.55;
  font-weight: 400;
  margin: 0;
}

.footer-address {
  color: #31363c;
}

.footer-contact-link {
  color: #31363c;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-contact-link:hover {
  color: #24733b;
}

/* Column 4: Get Connected */
.footer-social-icons {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 2px;
}

.footer-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #17191c;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.2s ease;
  text-decoration: none;
}

.footer-social-btn:hover {
  transform: translateY(-3px) scale(1.18);
  color: #24733b;
}

/* ==========================================================================
   RESPONSIVE DESIGN (Tablets & Mobile)
   ========================================================================== */
@media (max-width: 1080px) {
  .header-container,
  .projects-hero-container,
  .recent-projects-section,
  .site-footer {
    padding-left: 28px;
    padding-right: 28px;
  }

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

@media (max-width: 920px) {
  :root {
    --header-height: 74px;
  }

  .main-nav {
    display: none;
  }

  .mobile-toggle-btn {
    display: flex;
  }

  .mobile-drawer {
    display: block;
  }

  .social-sidebar {
    display: none;
  }

  .header-container {
    padding-left: 18px;
    padding-right: 18px;
    width: 100%;
    box-sizing: border-box;
  }

  .header-cta-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .header-cta-wrapper .header-contact-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 13px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.6px;
    border-radius: var(--border-radius-pill);
    background-color: rgba(5, 25, 16, 0.75);
    border: 1.5px solid #00d27a;
    box-shadow: 0 0 12px rgba(0, 210, 122, 0.25);
    color: #ffffff;
    white-space: nowrap;
  }

  .header-cta-wrapper .header-contact-cta-btn:hover {
    background-color: rgba(0, 210, 122, 0.2);
    border-color: #00e68a;
    transform: none;
    box-shadow: 0 0 16px rgba(0, 230, 138, 0.4);
  }

  .header-contact-cta-btn .cta-msg-icon {
    width: 13px !important;
    height: 13px !important;
  }

  .mobile-cta-item {
    margin-top: 14px;
    padding-top: 18px;
    border-top: 1px solid rgba(0, 0, 0, 0.07);
  }

  .mobile-cta-item .header-contact-cta-btn {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    padding: 12px 24px;
  }

  /* Projects Hero on Mobile: Use hero_mobile.jpg */
  .projects-hero-section {
    min-height: 520px;
    height: 84vh;
    height: 84dvh;
    max-height: 720px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .projects-hero-bg {
    background-image: url('hero_mobile.jpg') !important;
    background-position: center bottom !important;
    background-size: cover !important;
  }

  .projects-hero-overlay {
    background:
      linear-gradient(180deg, 
        rgba(5, 14, 9, 0.82) 0%, 
        rgba(5, 14, 9, 0.5) 30%, 
        rgba(5, 14, 9, 0.06) 50%, 
        rgba(5, 14, 9, 0.75) 100%) !important;
  }

  .projects-hero-container {
    padding-top: calc(var(--header-height) + 12px);
    padding-bottom: 24px;
    padding-left: 18px;
    padding-right: 18px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .projects-hero-title {
    font-size: clamp(2.1rem, 7.8vw, 2.85rem);
  }

  /* Filter Tabs on Mobile */
  .projects-header-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 34px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  .project-filters-nav {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 6px;
  }

  .project-filters-nav::-webkit-scrollbar {
    display: none;
  }

  .projects-gallery-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .project-card {
    height: 250px;
  }

  /* CTA Banner */
  .projects-cta-container {
    flex-direction: column;
    align-items: flex-start;
    padding: 60px 24px;
    gap: 36px;
  }

  .projects-cta-bg {
    background-image: url('hero_mobile.jpg') !important;
    background-position: center bottom !important;
  }

  /* Footer tablet (Exact Match to Home Page) */
  .site-footer {
    padding: 70px 24px 80px 24px;
  }

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

  .footer-specialisation-text {
    max-width: 300px;
  }

  .lightbox-prev,
  .lightbox-next {
    display: none;
  }
}

/* Mobile Footer: max-width 768px (Exact Match to Home Page) */
@media (max-width: 768px) {
  .site-footer {
    padding: 60px 18px 70px 18px;
  }

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

  .footer-logo-img {
    width: 180px;
  }

  .footer-specialisation-text {
    max-width: 100%;
  }

  .footer-heading {
    font-size: 21px;
    margin-bottom: 18px;
  }

  .footer-social-icons {
    gap: 20px;
  }
}

@media (max-width: 540px) {
  .header-container,
  .projects-hero-container,
  .recent-projects-section,
  .site-footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .project-card {
    height: 220px;
  }
}
