/* ==========================================================================
   FriendsEdge / Friends Steel - Styling System
   Brand: Dark Industrial, High Contrast, Spark Orange Accents, Clean Geometric
   ========================================================================== */

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

:root {
  /* Color System */
  --bg-primary: #0a0a0c;
  --bg-secondary: #121216;
  --bg-tertiary: #181820;
  
  --accent-color: #ff5500;
  --accent-hover: #ff7722;
  --accent-glow: rgba(255, 85, 0, 0.15);
  
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #64748b;
  
  --border-light: rgba(248, 248, 252, 0.08);
  --border-medium: rgba(248, 248, 252, 0.15);
  --border-orange: rgba(255, 85, 0, 0.3);
  
  --card-shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.7);
  --glow-shadow: 0 0 20px rgba(255, 85, 0, 0.2);
  
  /* Layout */
  --header-height: 80px;
  --max-width: 1280px;
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: all 0.2s ease;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1.2;
}

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

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

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

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

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

.section {
  padding: 8rem 0;
  position: relative;
}

.section-dark {
  background-color: var(--bg-primary);
}

.section-grey {
  background-color: var(--bg-secondary);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition-smooth);
  font-family: 'Outfit', sans-serif;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background-color: var(--accent-color);
  color: #fff;
  border: 1px solid var(--accent-color);
}

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

.btn-outline {
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  backdrop-filter: blur(5px);
}

.btn-outline:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
  transform: translateY(-2px);
}

.badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  background-color: rgba(255, 85, 0, 0.1);
  border: 1px solid var(--border-orange);
  color: var(--accent-color);
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  border-radius: 2px;
}

.section-title-wrapper {
  margin-bottom: 4.5rem;
  max-width: 650px;
}

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

.section-title {
  font-size: 2.75rem;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* ==========================================================================
   Header / Sticky Navigation
   ========================================================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: var(--transition-smooth);
  background-color: rgba(10, 10, 12, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border-light);
}

.header-scrolled {
  background-color: rgba(10, 10, 12, 0.98);
  height: 70px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

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

/* Block 1 (Left): Brand/Logo */
.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  height: 100%;
  flex-shrink: 0;
  position: relative;
}

.logo-img {
  height: 50px;
  width: auto;
  max-width: 220px;
  max-height: 50px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.header-scrolled .logo-img {
  height: 40px;
  max-height: 40px;
}

.logo-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  display: flex;
  flex-direction: column;
  line-height: 1;
  color: var(--text-primary);
  flex-shrink: 0;
}

.logo-text span {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

@media (max-width: 768px) {
  .logo-text {
    font-size: 1.15rem;
  }
}

@media (max-width: 480px) {
  .logo-text span {
    display: none;
  }
}

/* Block 2 (Center): Navigation Menu links */
.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.75rem, 1.4vw, 1.75rem);
  flex-shrink: 1;
  position: relative;
}

@media (max-width: 1200px) {
  .nav {
    gap: 1rem;
  }
}

.nav-link {
  font-size: clamp(0.82rem, 0.9vw, 0.9rem);
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  position: relative;
  padding: 0.5rem 0;
  white-space: nowrap;
}

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

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

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

/* Block 3 (Right): "GET A QUOTE" button & Toggle */
.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
  position: relative;
}

.nav-cta {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  width: 30px;
  height: 24px;
  justify-content: center;
  z-index: 1100;
  flex-shrink: 0;
  position: relative;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  transition: var(--transition-smooth);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  background-color: var(--bg-primary);
  overflow: hidden;
  padding-top: var(--header-height);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transform: scale(1.05);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 70% 50%, rgba(10, 10, 12, 0.3) 0%, rgba(10, 10, 12, 0.95) 80%);
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3;
}

.hero-content {
  max-width: 680px;
}

.hero-title {
  font-size: 4.25rem;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-text {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.hero-buttons {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 4rem;
}

.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  opacity: 0.8;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.scroll-indicator:hover {
  color: var(--accent-color);
  opacity: 1;
}

.scroll-indicator-mouse {
  width: 22px;
  height: 38px;
  border: 2px solid var(--text-muted);
  border-radius: 12px;
  position: relative;
}

.scroll-indicator-mouse::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background-color: var(--accent-color);
  border-radius: 2px;
  animation: scrollMouse 1.5s infinite;
}

@keyframes scrollMouse {
  0% { top: 6px; opacity: 1; }
  100% { top: 18px; opacity: 0; }
}

/* ==========================================================================
   About Section
   ========================================================================== */

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

.about-image-wrapper {
  position: relative;
}

.about-image {
  border-radius: 4px;
  border: 1px solid var(--border-light);
  width: 100%;
  box-shadow: var(--card-shadow);
}

.about-accent-box {
  position: absolute;
  bottom: -2rem;
  right: -2rem;
  background-color: var(--bg-tertiary);
  border-left: 4px solid var(--accent-color);
  padding: 1.75rem 2.5rem;
  box-shadow: var(--card-shadow);
  border-radius: 2px;
  z-index: 2;
}

.about-accent-box .num {
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-color);
  line-height: 1;
}

.about-accent-box .txt {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}

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

.about-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 2.25rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  margin-bottom: 2.5rem;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.about-feature-icon {
  color: var(--accent-color);
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.about-feature-text h4 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.about-feature-text p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Services Section
   ========================================================================== */

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

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

.service-card-img-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
}

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

.service-card-icon-box {
  position: absolute;
  bottom: 1rem;
  left: 1.5rem;
  background-color: var(--accent-color);
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(255, 85, 0, 0.4);
}

.service-card-body {
  padding: 2rem 1.75rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-card-title {
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
  transition: var(--transition-fast);
}

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

.service-card-link {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--accent-color);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
}

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

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

/* Hover effects */
.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-orange);
  box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.8);
}

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

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

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

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

/* ==========================================================================
   Process Section
   ========================================================================== */

.process-timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-top: 4rem;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 35px;
  left: 5%;
  width: 90%;
  height: 2px;
  background-color: var(--border-light);
  z-index: 1;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
  flex: 1;
  padding: 0 1rem;
}

.process-step-num {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background-color: var(--bg-secondary);
  border: 2px solid var(--border-light);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.75rem;
  transition: var(--transition-smooth);
  box-shadow: var(--card-shadow);
}

.process-step-title {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.process-step-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
  max-width: 160px;
}

.process-step:hover .process-step-num {
  border-color: var(--accent-color);
  color: var(--accent-color);
  box-shadow: 0 0 15px rgba(255, 85, 0, 0.4);
  transform: scale(1.05);
  background-color: var(--bg-tertiary);
}

/* ==========================================================================
   Projects Bento Section
   ========================================================================== */

.projects-bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

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

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

.project-item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(10, 10, 12, 0.95) 0%, rgba(10, 10, 12, 0.4) 60%, transparent 100%);
  opacity: 0;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
}

.project-item-category {
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--accent-color);
  letter-spacing: 0.1em;
  margin-bottom: 0.35rem;
}

.project-item-title {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.project-item-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.project-item-link {
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Bento Sizing Rules - Overridden for Stable 3-Column Layout */
.project-wide,
.project-tall,
.project-square,
.project-large,
.project-full {
  grid-column: span 1 !important;
  grid-row: span 1 !important;
}

/* Hover effects */
.project-item:hover .project-item-img {
  transform: scale(1.06);
}

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

/* ==========================================================================
   Why Choose Us Section
   ========================================================================== */

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

.why-card {
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  padding: 2.5rem 2.25rem;
  border-radius: 4px;
  transition: var(--transition-smooth);
}

.why-card-icon {
  color: var(--accent-color);
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
}

.why-card-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.why-card-desc {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.5;
}

.why-card:hover {
  border-color: var(--border-orange);
  transform: translateY(-5px);
  box-shadow: var(--glow-shadow);
}

/* ==========================================================================
   Stats Strip Section
   ========================================================================== */

.stats-strip {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 3.5rem 0;
}

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

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: 3.25rem;
  font-weight: 800;
  color: var(--accent-color);
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.stat-txt {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
}

/* ==========================================================================
   Testimonial Section
   ========================================================================== */

.testimonials-slider {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  padding: 1.5rem 0;
}

.testimonials-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  width: 100%;
}

.testimonial-slide {
  flex-shrink: 0;
  width: 100%;
  padding: 0 1rem;
}

.testimonial-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-light);
  padding: 4rem 3.5rem;
  border-radius: 4px;
  position: relative;
  box-shadow: var(--card-shadow);
}

.testimonial-quote-icon {
  position: absolute;
  top: 2rem;
  left: 2.5rem;
  font-size: 4rem;
  color: rgba(255, 85, 0, 0.08);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-rating {
  color: #ffaa00;
  display: flex;
  gap: 4px;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.testimonial-heading {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  color: var(--accent-color);
}

.testimonial-text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--border-orange);
  background-color: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--accent-color);
}

.testimonial-meta h4 {
  font-size: 1.05rem;
  margin-bottom: 0.15rem;
}

.testimonial-meta p {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.testimonials-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-top: 3rem;
}

.test-nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.test-nav-btn:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
  background-color: rgba(255, 85, 0, 0.05);
}

.test-dots {
  display: flex;
  gap: 8px;
}

.test-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--border-light);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.test-dot.active {
  background-color: var(--accent-color);
  width: 24px;
  border-radius: 4px;
}

/* ==========================================================================
   Image Gallery Section
   ========================================================================== */

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

.gallery-item {
  position: relative;
  height: 100%;
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  cursor: pointer;
}

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

.gallery-item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 10, 12, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  opacity: 0;
  transition: var(--transition-smooth);
  color: #fff;
  padding: 1.5rem;
  text-align: center;
}

.gallery-item-icon {
  font-size: 1.75rem;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
  transform: translateY(-10px);
  transition: var(--transition-smooth);
}

.gallery-item-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  transform: translateY(10px);
  transition: var(--transition-smooth);
  text-transform: uppercase;
}

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

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

.gallery-item:hover .gallery-item-icon,
.gallery-item:hover .gallery-item-text {
  transform: translateY(0);
}

/* Custom Lightbox Styles */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(6, 6, 8, 0.97);
  z-index: 10000;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-content-wrapper {
  position: relative;
  max-width: 85%;
  max-height: 80%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 2px;
  border: 1px solid var(--border-medium);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.lightbox.active .lightbox-img {
  transform: scale(1);
}

.lightbox-caption {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-top: 1.25rem;
  text-align: center;
  font-weight: 500;
}

.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2.5rem;
  font-size: 2.25rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
}

.lightbox-close:hover {
  color: var(--accent-color);
  transform: rotate(90deg);
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: rgba(18, 18, 22, 0.6);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  color: var(--text-secondary);
}

.lightbox-nav-btn:hover {
  background-color: var(--accent-color);
  color: #fff;
  border-color: var(--accent-color);
}

.lightbox-prev {
  left: 2.5rem;
}

.lightbox-next {
  right: 2.5rem;
}

/* ==========================================================================
   Full Width Call-to-Action
   ========================================================================== */

.cta {
  padding: 10rem 0;
  position: relative;
  background-color: var(--bg-primary);
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(10, 10, 12, 0.95) 30%, rgba(10, 10, 12, 0.75) 100%);
  z-index: 2;
}

.cta .container {
  position: relative;
  z-index: 3;
  text-align: left;
}

.cta-content {
  max-width: 600px;
}

.cta h2 {
  font-size: 3.25rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.cta p {
  color: var(--text-secondary);
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
}

.cta-buttons {
  display: flex;
  gap: 1.25rem;
}

/* ==========================================================================
   Contact & Quote Request Section
   ========================================================================== */

.contact-layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 4.5rem;
  align-items: start;
}

.contact-info-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.contact-info-title {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.contact-info-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-method-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.contact-method-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.contact-method-icon {
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  color: var(--accent-color);
  width: 52px;
  height: 52px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-method-details h4 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.contact-method-details p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.contact-method-details .contact-person {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  display: block;
}

.map-container {
  width: 100%;
  height: 240px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  margin-top: 1rem;
}

.map-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.9) invert(0.9) contrast(1.2);
}

/* Form Styling */
.quote-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-light);
  padding: 3.5rem 3rem;
  border-radius: 4px;
  box-shadow: var(--card-shadow);
  position: relative;
}

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

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

.form-label {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  padding: 0.85rem 1.15rem;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(255, 85, 0, 0.1);
  background-color: var(--bg-tertiary);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='%2364748b' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.25em;
  padding-right: 2.5rem;
}

.file-upload-wrapper {
  position: relative;
  border: 1.5px dashed var(--border-light);
  border-radius: 4px;
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.file-upload-wrapper:hover {
  border-color: var(--accent-color);
  background-color: rgba(255, 85, 0, 0.02);
}

.file-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-upload-icon {
  font-size: 1.5rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.file-upload-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.file-upload-name {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--accent-color);
  font-weight: 500;
}

/* Submission feedback states */
.form-status {
  margin-top: 1.25rem;
  padding: 0.85rem 1.25rem;
  border-radius: 4px;
  font-size: 0.9rem;
  display: none;
}

.form-status.success {
  background-color: rgba(16, 185, 129, 0.1);
  border: 1px solid rgb(16, 185, 129);
  color: rgb(52, 211, 153);
  display: block;
}

.form-status.error {
  background-color: rgba(239, 68, 68, 0.1);
  border: 1px solid rgb(239, 68, 68);
  color: rgb(248, 113, 113);
  display: block;
}

.loading-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 0.8s linear infinite;
  margin-right: 0.5rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   Footer Section
   ========================================================================== */

.footer {
  background-color: #060608;
  border-top: 1px solid var(--border-light);
  padding: 6rem 0 2rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
  gap: 4rem;
  margin-bottom: 4.5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-logo-img {
  height: 60px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
}

.footer-brand-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-col-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  color: #fff;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background-color: var(--accent-color);
}

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

.footer-link {
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.footer-link:hover {
  color: var(--accent-color);
  padding-left: 4px;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.85rem;
}

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
}

.footer-contact-item svg {
  color: var(--accent-color);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.footer-bottom {
  border-top: 1px solid rgba(248, 248, 252, 0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-meta-links {
  display: flex;
  gap: 1.5rem;
}

.footer-meta-link:hover {
  color: var(--accent-color);
}

/* ==========================================================================
   Animations & Transition Effects
   ========================================================================== */

/* Fade-Up Scroll Trigger reveals */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.fade-up.reveal {
  opacity: 1;
  transform: translateY(0);
}

/* Delay modifiers */
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

/* Parallax element styling */
.parallax-wrap {
  position: relative;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1080px) {
  :root {
    --header-height: 70px;
  }
  .about-grid {
    gap: 3rem;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .projects-bento {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-auto-rows: auto;
    gap: 1.5rem;
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }

  /* Navigation mobile behavior triggered to prevent collision with logo */
  .hamburger {
    display: flex;
    flex-shrink: 0;
  }
  
  .nav {
    position: fixed;
    top: var(--header-height);
    right: -100%;
    width: 280px;
    height: calc(100vh - var(--header-height));
    background-color: var(--bg-secondary);
    border-left: 1px solid var(--border-light);
    flex-direction: column;
    align-items: flex-start;
    padding: 3rem 2rem;
    gap: 2rem;
    z-index: 1000;
    transition: var(--transition-smooth);
    overflow-y: auto;
  }
  
  .nav.active {
    right: 0;
  }
  
  .nav-cta {
    display: none;
  }
  
  .hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

@media (max-width: 768px) {
  .section {
    padding: 5rem 0;
  }
  .section-title {
    font-size: 2.25rem;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  .hero-text {
    font-size: 1.05rem;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .about-image-wrapper {
    max-width: 500px;
    margin: 0 auto;
  }
  
  .process-timeline {
    flex-direction: column;
    gap: 2.5rem;
    margin-top: 2rem;
  }
  .process-timeline::before {
    top: 0;
    left: 36px;
    width: 2px;
    height: 90%;
  }
  .process-step {
    flex-direction: row;
    align-items: center;
    text-align: left;
    padding: 0;
  }
  .process-step-num {
    margin-bottom: 0;
    margin-right: 1.5rem;
    flex-shrink: 0;
  }
  .process-step-desc {
    max-width: 100%;
  }
  
  .projects-bento {
    grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
    display: grid !important;
    gap: 1.5rem;
  }
  .project-item {
    height: auto !important;
    aspect-ratio: 4 / 3;
  }
  .project-item-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(10, 10, 12, 0.95) 0%, rgba(10, 10, 12, 0.2) 100%);
  }
  
  .testimonial-card {
    padding: 3rem 2rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .lightbox-close {
    top: 1rem;
    right: 1.5rem;
  }
  .lightbox-nav-btn {
    width: 44px;
    height: 44px;
  }
  .lightbox-prev { left: 1rem; }
  .lightbox-next { right: 1rem; }
  
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  .quote-card {
    padding: 2.5rem 1.5rem;
  }
  .form-group-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (max-width: 500px) {
  .section-title {
    font-size: 1.85rem;
  }
  .hero-title {
    font-size: 2.35rem;
  }
  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }
  .hero-buttons .btn {
    width: 100%;
  }
  
  .services-grid, .why-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* Architectural Metalwork Grid Styles */
.architectural-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.arch-card {
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: var(--transition-smooth);
}

.arch-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-orange);
  box-shadow: var(--glow-shadow);
}

.arch-card-img-wrapper {
  position: relative;
  height: 240px;
  overflow: hidden;
}

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

.arch-card:hover .arch-card-img {
  transform: scale(1.08);
}

.arch-card-body {
  padding: 1.75rem;
}

.arch-card-body h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
  transition: var(--transition-fast);
}

.arch-card:hover .arch-card-body h3 {
  color: var(--accent-color);
}

.arch-card-body p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .architectural-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  } 
}

@media (max-width: 640px) {
  .architectural-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Lightbox Details Overlay Styling */
.lightbox-details-wrapper {
  margin-top: 1.5rem;
  text-align: left;
  max-width: 800px;
  width: 90vw;
  padding: 0.5rem 1rem;
}

.lightbox-category {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--accent-color);
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.lightbox-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.65rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.lightbox-desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Editorial Gallery Grid layout variables */
.gallery-item-featured {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item-wide {
  grid-column: span 2;
}

.gallery-item-tall {
  grid-row: span 2;
}

/* Mobile responsive resets to avoid layout breakage */
@media (max-width: 768px) {
  .gallery-item-featured, 
  .gallery-item-wide, 
  .gallery-item-tall {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
  }
  .lightbox-title {
    font-size: 1.35rem;
  }
  .lightbox-desc {
    font-size: 0.85rem;
  }
}

/* ==========================================================================
   Our Machinery Section Styles
   ========================================================================== */
.machinery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin-top: 3.5rem;
}

@media (max-width: 768px) {
  .machinery-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.machine-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.machine-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-orange);
  box-shadow: var(--card-shadow);
}

.machine-card-img-wrapper {
  position: relative;
  width: 100%;
  padding-top: 66.67%; /* 3:2 Aspect Ratio */
  overflow: hidden;
}

.machine-card-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.machine-card:hover .machine-card-img {
  transform: scale(1.08);
}

.machine-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-grow: 1;
  position: relative;
}

.machine-number {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 2.5rem;
  line-height: 1;
  color: rgba(255, 85, 0, 0.15);
  position: absolute;
  top: 1rem;
  right: 1.5rem;
}

.machine-card-title {
  font-size: 1.2rem;
  color: var(--text-primary);
  font-weight: 600;
  padding-right: 2rem;
}

.machine-card-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   Vision, Mission & Core Values Section Styles
   ========================================================================== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

@media (max-width: 900px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}

.value-card {
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  padding: 2.5rem 2rem;
  transition: var(--transition-smooth);
  text-align: center;
  height: 100%;
}

.value-card:hover {
  border-color: var(--border-orange);
  transform: translateY(-5px);
  box-shadow: var(--glow-shadow);
}

.value-icon {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
  display: inline-block;
}

.value-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.value-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
